[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/konsolekalendar
From:       Malcolm Hunter <malcolm.hunter () gmx ! co ! uk>
Date:       2004-04-08 16:06:58
Message-ID: 20040408160658.0871C9A13 () office ! kde ! org
[Download RAW message or body]

CVS commit by mhunter: 

i18n fixes


  M +2 -6      konsolekalendarchange.cpp   1.14
  M +1 -3      konsolekalendardelete.cpp   1.15


--- kdepim/konsolekalendar/konsolekalendarchange.cpp  #1.13:1.14
@@ -96,7 +96,5 @@ bool KonsoleKalendarChange::changeEvent(
 
       if ( m_variables->getCalendar()->addEvent( event ) ) {
-        cout << i18n("Success: \"").local8Bit()
-             << event->summary().local8Bit()
-             << i18n("\" changed").local8Bit()
+        cout << i18n("Success: \"%1\" changed").arg(event->summary().local8Bit()).local8Bit()
              << endl;
 
@@ -109,7 +107,5 @@ bool KonsoleKalendarChange::changeEvent(
         }
       } else {
-        cout << i18n("Failure: \"").local8Bit()
-             << event->summary().local8Bit()
-             << i18n("\" not changed").local8Bit()
+        cout << i18n("Failure: \"%1\" not changed").arg(event->summary().local8Bit()).local8Bit()
              << endl;
       }

--- kdepim/konsolekalendar/konsolekalendardelete.cpp  #1.14:1.15
@@ -67,7 +67,5 @@ bool KonsoleKalendarDelete::deleteEvent(
 
       m_variables->getCalendar()->deleteEvent( event );
-      cout << i18n("Success: \"").local8Bit()
-           << event->summary().local8Bit()
-           << i18n("\" deleted").local8Bit()
+      cout << i18n("Success: \"%1\" deleted").arg(event->summary().local8Bit()).local8Bit()
            << endl;
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic