Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hello,
patch with a translation of the German messages in the test program
dtrans/source/cnttype/wbench/testcnttype.cxx.

Regards
Urs

From 70527240a96872b0035b62e8dca77f9f05666b3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Urs=20F=C3=A4ssler?= <urs@bitzgi.ch>
Date: Thu, 21 Feb 2013 16:43:22 +0100
Subject: [PATCH] Translation of messages in test program

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

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") );
-- 
1.7.10.4


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.