[Kst] extragear/graphics/kst/kst

Barth Netterfield netterfield at astro.utoronto.ca
Tue Nov 15 22:44:38 CET 2005


SVN commit 480641 by netterfield:

Don't excape the [] in offset ticks.



 M  +3 -3      kst2dplot.cpp  


--- trunk/extragear/graphics/kst/kst/kst2dplot.cpp #480640:480641
@@ -1587,11 +1587,11 @@
   }
 
   if (zdiff > 0.0) {
-    label = i18n("+[numeric value]", "+\\[%1\\]").arg(zdiff, 0, 'g', DIFFERENCE_PRECISION);
+    label = i18n("+[numeric value]", "+[%1]").arg(zdiff, 0, 'g', DIFFERENCE_PRECISION);
   } else if (zdiff < 0.0) {
-    label = i18n("-[numeric value]", "-\\[%1\\]").arg(-zdiff, 0, 'g', DIFFERENCE_PRECISION);
+    label = i18n("-[numeric value]", "-[%1]").arg(-zdiff, 0, 'g', DIFFERENCE_PRECISION);
   } else {
-    label = i18n("\\[0\\]");
+    label = i18n("[0]");
   }
 }
 


More information about the Kst mailing list