[Kst] extragear/graphics/kst/src/libkstapp
Andrew Walker
arwalker at sumusltd.com
Tue Mar 28 20:50:08 CEST 2006
SVN commit 523654 by arwalker:
be consistent with existing naming convention for copied objects
M +3 -3 kst2dplot.cpp
--- trunk/extragear/graphics/kst/src/libkstapp/kst2dplot.cpp #523653:523654
@@ -435,7 +435,7 @@
_type = "Plot";
if (name.isEmpty()) {
- plotName = i18n("Copy-%1").arg(plot.tagName());
+ plotName = i18n("%1-copy").arg(plot.tagName());
} else {
plotName = name;
}
@@ -455,7 +455,7 @@
if (viewwindow) {
if (viewwindow->view()->findChild(plotName)) {
++last;
- plotName = i18n("Copy%1-%2").arg(last).arg(plot.tagName());
+ plotName = i18n("%1-copy%2").arg(last).arg(plot.tagName());
duplicate = true;
break;
}
@@ -3284,7 +3284,7 @@
QString plotName;
if (name.isEmpty()) {
- plotName = i18n("Copy-%1").arg(tagName());
+ plotName = i18n("%1-copy").arg(tagName());
} else {
plotName = name;
}
More information about the Kst
mailing list