From 06c07c0dc15348c23fe432e7f1c0243486d1e6bf Mon Sep 17 00:00:00 2001 From: Johnny_M Date: Sat, 26 Aug 2017 01:03:43 +0200 Subject: Translate German comments/debug strings (leftovers in dirs starmath to sysui) Translates leftovers found using a custom regex. Additionally translated: - One randomly found comment in /reportdesign - Test strings in /stoc/test (let's see if it works) Change-Id: I5f893c194c4b56b5365700928a3b8b63936d03e2 Reviewed-on: https://gerrit.libreoffice.org/41583 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- stoc/source/javavm/javavm.cxx | 2 +- stoc/test/testiadapter.cxx | 14 +++++++------- stoc/test/testintrosp.cxx | 2 +- stoc/test/testintrosp.idl | 4 ++-- stoc/test/testregistry.cxx | 30 +++++++++++++++--------------- 5 files changed, 26 insertions(+), 26 deletions(-) (limited to 'stoc') diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx index 5f3c7142f77a..60a0d3fc603e 100644 --- a/stoc/source/javavm/javavm.cxx +++ b/stoc/source/javavm/javavm.cxx @@ -82,7 +82,7 @@ #include // Properties of the javavm can be put -// as a komma separated list in this +// as a comma separated list in this // environment variable #ifdef UNIX #define TIMEZONE "MEZ" diff --git a/stoc/test/testiadapter.cxx b/stoc/test/testiadapter.cxx index a335939b9659..a7c209fc39f3 100644 --- a/stoc/test/testiadapter.cxx +++ b/stoc/test/testiadapter.cxx @@ -851,7 +851,7 @@ test::TestData Test_Impl::raiseException( sal_Bool& /*bBool*/, sal_Unicode& /*cC { IllegalArgumentException aExc; aExc.ArgumentPosition = 5; - aExc.Message = "dum dum dum ich tanz im kreis herum..."; + aExc.Message = "dum dum dum I dance around the circle..."; aExc.Context = *this; throw aExc; } @@ -859,7 +859,7 @@ test::TestData Test_Impl::raiseException( sal_Bool& /*bBool*/, sal_Unicode& /*cC sal_Int32 Test_Impl::getRuntimeException() throw(css::uno::RuntimeException) { RuntimeException aExc; - aExc.Message = "dum dum dum ich tanz im kreis herum..."; + aExc.Message = "dum dum dum I dance around the circle..."; aExc.Context = *this; throw aExc; } @@ -867,7 +867,7 @@ sal_Int32 Test_Impl::getRuntimeException() throw(css::uno::RuntimeException) void Test_Impl::setRuntimeException( sal_Int32 /*_runtimeexception*/ ) throw(css::uno::RuntimeException) { RuntimeException aExc; - aExc.Message = "dum dum dum ich tanz im kreis herum..."; + aExc.Message = "dum dum dum I dance around the circle..."; aExc.Context = *this; throw aExc; } @@ -891,7 +891,7 @@ sal_Bool raiseException( const Reference & xLBT ) catch (const IllegalArgumentException &aExc) { OSL_ENSURE( aExc.ArgumentPosition == 5 && - aExc.Message == "dum dum dum ich tanz im kreis herum...", + aExc.Message == "dum dum dum I dance around the circle...", "### unexpected exception content!" ); Reference xLBT2( @@ -906,7 +906,7 @@ sal_Bool raiseException( const Reference & xLBT ) } catch (const RuntimeException & rExc) { - OSL_ENSURE( rExc.Message == "dum dum dum ich tanz im kreis herum...", + OSL_ENSURE( rExc.Message == "dum dum dum I dance around the circle...", "### unexpected exception content!" ); Reference xLBT2( @@ -921,9 +921,9 @@ sal_Bool raiseException( const Reference & xLBT ) } catch (const Exception & aExc) { - OSL_ENSURE( aExc.Message == "dum dum dum ich tanz im kreis herum...", + OSL_ENSURE( aExc.Message == "dum dum dum I dance around the circle...", "### unexpected exception content!" ); - return aExc.Message == "dum dum dum ich tanz im kreis herum..."; + return aExc.Message == "dum dum dum I dance around the circle..."; } return sal_False; } diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx index f697e0c084c0..3937f7e2bb60 100644 --- a/stoc/test/testintrosp.cxx +++ b/stoc/test/testintrosp.cxx @@ -859,7 +859,7 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr, // XExactName Reference< XExactName > xExactName( xAccess, UNO_QUERY ); - OSL_ENSURE( xExactName.is(), "Introspection unterstuetzt kein ExactName" ); + OSL_ENSURE( xExactName.is(), "Introspection doesn't support ExactName" ); // loop over all concept combinations for( sal_Int32 nConcepts = 0 ; nConcepts < 16 ; nConcepts++ ) diff --git a/stoc/test/testintrosp.idl b/stoc/test/testintrosp.idl index 338ce02a8c36..d50352fe5427 100644 --- a/stoc/test/testintrosp.idl +++ b/stoc/test/testintrosp.idl @@ -81,7 +81,7 @@ interface XIntroTest: com::sun::star::uno::XInterface [attribute] com::sun::star::beans::PropertyValue SecondStruct; - /** Ausgabe-Methode + /** output method */ void writeln( [in] string Text ); @@ -91,7 +91,7 @@ interface XIntroTest: com::sun::star::uno::XInterface long getDroenk(); - /** Weitere Introspection-Test-Objekt holen + /** get further introspection test objects */ XIntroTest getIntroTest(); //com::sun::star::beans::XIntroTest getIntroTest(); diff --git a/stoc/test/testregistry.cxx b/stoc/test/testregistry.cxx index b2dd4dd7051e..95484f117522 100644 --- a/stoc/test/testregistry.cxx +++ b/stoc/test/testregistry.cxx @@ -275,9 +275,9 @@ void test_SimpleRegistry( xKey = xRootKey->createKey(OUString( "ThirdKey" )); OUString pAscii[3]; - pAscii[0] = "Hallo"; - pAscii[1] = "jetzt komm"; - pAscii[2] = "ich"; + pAscii[0] = "Hello"; + pAscii[1] = "here I"; + pAscii[2] = "come"; Sequence seqAscii(pAscii, 3); xKey->setAsciiListValue(seqAscii); @@ -285,15 +285,15 @@ void test_SimpleRegistry( Sequence seqAscii2; seqAscii2 = xKey->getAsciiListValue(); OSL_ENSURE( seqAscii2.getLength() == 3, "test_SimpleRegistry error 18" ); - OSL_ENSURE( seqAscii2.getArray()[0] == "Hallo", "test_SimpleRegistry error 19"); - OSL_ENSURE( seqAscii2.getArray()[1] == "jetzt komm", "test_SimpleRegistry error 20"); - OSL_ENSURE( seqAscii2.getArray()[2] == "ich", "test_SimpleRegistry error 21"); + OSL_ENSURE( seqAscii2.getArray()[0] == "Hello", "test_SimpleRegistry error 19"); + OSL_ENSURE( seqAscii2.getArray()[1] == "here I", "test_SimpleRegistry error 20"); + OSL_ENSURE( seqAscii2.getArray()[2] == "come", "test_SimpleRegistry error 21"); xKey = xRootKey->createKey(OUString( "FourthKey" )); OUString pUnicode[3]; - pUnicode[0] = "Hallo"; - pUnicode[1] = "jetzt komm"; - pUnicode[2] = "ich als unicode"; + pUnicode[0] = "Hello"; + pUnicode[1] = "here I"; + pUnicode[2] = "come as unicode"; Sequence seqUnicode(pUnicode, 3); xKey->setStringListValue(seqUnicode); @@ -301,9 +301,9 @@ void test_SimpleRegistry( Sequence seqUnicode2; seqUnicode2 = xKey->getStringListValue(); OSL_ENSURE( seqUnicode2.getLength() == 3, "test_SimpleRegistry error 22" ); - OSL_ENSURE( seqUnicode2.getArray()[0] == "Hallo", "test_SimpleRegistry error 23"); - OSL_ENSURE( seqUnicode2.getArray()[1] == "jetzt komm", "test_SimpleRegistry error 24"); - OSL_ENSURE( seqUnicode2.getArray()[2] == "ich als unicode", "test_SimpleRegistry error 25"); + OSL_ENSURE( seqUnicode2.getArray()[0] == "Hello", "test_SimpleRegistry error 23"); + OSL_ENSURE( seqUnicode2.getArray()[1] == "here I", "test_SimpleRegistry error 24"); + OSL_ENSURE( seqUnicode2.getArray()[2] == "come as unicode", "test_SimpleRegistry error 25"); xReg->open(testreg2, sal_False, sal_True); @@ -506,11 +506,11 @@ void test_DefaultRegistry( Sequence seqValue = xKey->getAsciiListValue(); OSL_ENSURE( seqValue.getLength() == 3, "test_DefaultRegistry error 10" ); - OSL_ENSURE( seqValue.getArray()[0] == "Hallo", + OSL_ENSURE( seqValue.getArray()[0] == "Hello", "test_DefaultRegistry error 11" ); - OSL_ENSURE( seqValue.getArray()[1] == "jetzt komm", + OSL_ENSURE( seqValue.getArray()[1] == "here I", "test_DefaultRegistry error 12" ); - OSL_ENSURE( seqValue.getArray()[2] == "ich", + OSL_ENSURE( seqValue.getArray()[2] == "come", "test_DefaultRegistry error 13" ); Sequence seqLong(3); -- cgit