This is an automated email from the ASF dual-hosted git repository. damjan pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push: new 91d859a211 Translate some German comments to English. 91d859a211 is described below commit 91d859a2118191e83256fdfd048d65ca60769e24 Author: Damjan Jovanovic <dam...@apache.org> AuthorDate: Mon Jun 10 19:40:22 2024 +0200 Translate some German comments to English. Patch by: me --- main/svl/source/numbers/zforfind.cxx | 56 ++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/main/svl/source/numbers/zforfind.cxx b/main/svl/source/numbers/zforfind.cxx index f70c72a4ce..0bf7c6a7c0 100644 --- a/main/svl/source/numbers/zforfind.cxx +++ b/main/svl/source/numbers/zforfind.cxx @@ -217,24 +217,24 @@ double ImpSvNumberInputScan::StringToDouble( const String& rStr, sal_Bool bForce //--------------------------------------------------------------------------- // NextNumberStringSymbol // -// Zerlegt die Eingabe in Zahlen und Strings fuer die weitere -// Verarbeitung (Turing-Maschine). +// Splits the input into numbers and strings for further processing +// (Turing-Machine). //--------------------------------------------------------------------------- -// Ausgangs Zustand = GetChar -//---------------+-------------------+-----------------------+--------------- -// Alter Zustand | gelesenes Zeichen | Aktion | Neuer Zustand -//---------------+-------------------+-----------------------+--------------- -// GetChar | Ziffer | Symbol=Zeichen | GetValue -// | Sonst | Symbol=Zeichen | GetString -//---------------|-------------------+-----------------------+--------------- -// GetValue | Ziffer | Symbol=Symbol+Zeichen | GetValue -// | Sonst | Dec(CharPos) | Stop -//---------------+-------------------+-----------------------+--------------- -// GetString | Ziffer | Dec(CharPos) | Stop -// | Sonst | Symbol=Symbol+Zeichen | GetString -//---------------+-------------------+-----------------------+--------------- - -enum ScanState // States der Turing-Maschine +// Initial State = GetChar +//---------------+-------------------+-------------------------+------------- +// Former State | Read Character | Action | New State +//---------------+-------------------+-------------------------+------------- +// GetChar | Digit | Symbol=Character | GetValue +// | Else | Symbol=Character | GetString +//---------------|-------------------+-------------------------+------------- +// GetValue | Digit | Symbol=Symbol+Character | GetValue +// | Else | Dec(CharPos) | Stop +//---------------+-------------------+-------------------------+------------- +// GetString | Digit | Dec(CharPos) | Stop +// | Else | Symbol=Symbol+Character | GetString +//---------------+-------------------+-------------------------+------------- + +enum ScanState // States of the Turing-Maschine { SsStop = 0, SsStart = 1, @@ -637,9 +637,9 @@ int ImpSvNumberInputScan::GetDayOfWeek( const String& rString, xub_StrLen& nPos //--------------------------------------------------------------------------- // GetCurrency // -// Lesen eines Waehrungssysmbols +// Reading a currency symbol // '$' => sal_True -// sonst => sal_False +// else => sal_False sal_Bool ImpSvNumberInputScan::GetCurrency( const String& rString, xub_StrLen& nPos, const SvNumberformat* pFormat ) @@ -1458,9 +1458,9 @@ input for the following reasons: //--------------------------------------------------------------------------- // ScanStartString // -// ersten String analysieren -// Alles weg => sal_True -// sonst => sal_False +// Analyze the beginning of the string +// Everything gone => sal_True +// else => sal_False sal_Bool ImpSvNumberInputScan::ScanStartString( const String& rString, const SvNumberformat* pFormat ) @@ -1561,9 +1561,9 @@ sal_Bool ImpSvNumberInputScan::ScanStartString( const String& rString, //--------------------------------------------------------------------------- // ScanMidString // -// String in der Mitte analysieren -// Alles weg => sal_True -// sonst => sal_False +// Analyze the middle of the string +// Everything gone => sal_True +// else => sal_False sal_Bool ImpSvNumberInputScan::ScanMidString( const String& rString, sal_uInt16 nStringPos, const SvNumberformat* pFormat ) @@ -1806,9 +1806,9 @@ sal_Bool ImpSvNumberInputScan::ScanMidString( const String& rString, //--------------------------------------------------------------------------- // ScanEndString // -// Schlussteil analysieren -// Alles weg => sal_True -// sonst => sal_False +// Analyze the conclusion +// Everything gone => sal_True +// else => sal_False sal_Bool ImpSvNumberInputScan::ScanEndString( const String& rString, const SvNumberformat* pFormat )