[Libreoffice-commits] core.git: dtrans/source

Urs Fässler urs at bitzgi.ch
Tue Feb 26 13:09:56 PST 2013


 dtrans/source/cnttype/wbench/testcnttype.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 40421ffc4ea119943fca8acbc1760c280e1140c5
Author: Urs Fässler <urs at bitzgi.ch>
Date:   Thu Feb 21 16:43:22 2013 +0100

    Translation of messages in test program
    
    Change-Id: I8588f5bad12561b891956cde44daeb4c81f815c3

diff --git a/dtrans/source/cnttype/wbench/testcnttype.cxx b/dtrans/source/cnttype/wbench/testcnttype.cxx
index 61a91e6..e7fe844 100644
--- a/dtrans/source/cnttype/wbench/testcnttype.cxx
+++ b/dtrans/source/cnttype/wbench/testcnttype.cxx
@@ -116,7 +116,7 @@ sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& v
     {
         try
         {
-            fprintf( fstream, "Gelesen: %s\n", iter->c_str( ) );
+            fprintf( fstream, "Read: %s\n", iter->c_str( ) );
 
             Reference< XMimeContentType > xMCntTyp = cnttypeFactory->createMimeContentType( OUString::createFromAscii( iter->c_str( ) ) );
 
@@ -134,15 +134,15 @@ sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& v
         }
         catch( IllegalArgumentException& ex )
         {
-            fwprintf( fstream, OUString("Fehlerhafter Content-Type gelesen!!!\n\n") );
+            fwprintf( fstream, OUString("Read incorrect content type!\n\n") );
         }
         catch( NoSuchElementException& )
         {
-            fwprintf( fstream, OUString("Parameterwert nicht vorhanden\n") );
+            fwprintf( fstream, OUString("Value of parameter not available\n") );
         }
         catch( ... )
         {
-            fwprintf( fstream, OUString("Unbekannter Fehler!!!\n\n") );
+            fwprintf( fstream, OUString("Unknown error!\n\n") );
         }
 
         fwprintf( fstream, OUString("\n#############################################\n\n") );


More information about the Libreoffice-commits mailing list