branches/KDE/4.5/kdeutils/kcalc trunk/KDE/kdeutils/kcalc

Rolf Eike Beer kde at opensource.sf-tec.de
Tue Jul 13 20:50:10 CEST 2010


SVN commit 1149588 by dakon:

make previously untranslatable strings available for translation

CCMAIL:kde-i18n-doc at kde.org
CCMAIL:kde-utils-devel at kde.org


 M  +3 -3      branches/KDE/4.5/kdeutils/kcalc/kcalc.cpp  
 M  +3 -3      trunk/KDE/kdeutils/kcalc/kcalc.cpp  


--- branches/KDE/4.5/kdeutils/kcalc/kcalc.cpp #1149587:1149588
@@ -892,10 +892,10 @@
     emit switchMode(ModeShift, flag);
 
     if (shift_mode) {
-        statusBar()->changeItem("SHIFT", ShiftField);
-        calc_display->setStatusText(ShiftField, "Shift");
+        statusBar()->changeItem(i18nc("Second button functions are active", "SHIFT"), ShiftField);
+        calc_display->setStatusText(ShiftField, i18n("Shift"));
     } else {
-        statusBar()->changeItem("NORM", ShiftField);
+        statusBar()->changeItem(i18nc("Normal button functions are active", "NORM"), ShiftField);
         calc_display->setStatusText(ShiftField, QString());
     }
 }
--- trunk/KDE/kdeutils/kcalc/kcalc.cpp #1149587:1149588
@@ -892,10 +892,10 @@
     emit switchMode(ModeShift, flag);
 
     if (shift_mode) {
-        statusBar()->changeItem("SHIFT", ShiftField);
-        calc_display->setStatusText(ShiftField, "Shift");
+        statusBar()->changeItem(i18nc("Second button functions are active", "SHIFT"), ShiftField);
+        calc_display->setStatusText(ShiftField, i18n("Shift"));
     } else {
-        statusBar()->changeItem("NORM", ShiftField);
+        statusBar()->changeItem(i18nc("Normal button functions are active", "NORM"), ShiftField);
         calc_display->setStatusText(ShiftField, QString());
     }
 }


More information about the Kde-utils-devel mailing list