[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Tue Apr 5 20:36:08 CEST 2005


CVS commit by staikos: 

make translation a bit easier


  M +2 -5      kstfitdialog_i.cpp   1.57


--- kdeextragear-2/kst/kst/kstfitdialog_i.cpp  #1.56:1.57
@@ -399,11 +399,8 @@ bool KstFitDialogI::createCurve(KstPlugi
 
       // create the necessary label
-      strLabel = i18n("%2: %1\\n").
+      strLabel = i18n("curvename: pluginname\\n", "%2: %1\\n").
                  arg(_strCurve.replace( '_',  "\\_" ).remove( QRegExp( "^[C][0-9]{1,2}\\-" ) )).
                  arg(plugin->plugin()->data()._readableName);
 
-      /* FIXME: make sure translators understand how this works, perhaps
-       *        using i18n(,)
-       */
       KstVectorPtr vectorParam = plugin->outputVectors()["Parameters"];
       if (vectorParam) {
@@ -417,5 +414,5 @@ bool KstFitDialogI::createCurve(KstPlugi
 
               if (scalar) {
-                strLabel += i18n("%1: [%2]\\n").arg(strParamName).arg(scalar->tagName());
+                strLabel += i18n("parametername: [scalarname]\\n", "%1: [%2]\\n").arg(strParamName).arg(scalar->tagName());
               }
             }




More information about the Kst mailing list