summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-09-20 13:53:59 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-09-20 13:53:59 (GMT)
commit2baf5b0b05c3837ecd8d2e738b12223ee82d9af3 (patch)
tree748c0fa1fd2534c57860c448d809120dda394040
parentda0026a35568924aaa31902ca9920c1103200d9b (diff)
Convert untranslated string into translatable string according to KDE rules.
CCBUG:369109
-rw-r--r--umbrello/uml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/uml.cpp b/umbrello/uml.cpp
index b4c0c19..3ec3831 100644
--- a/umbrello/uml.cpp
+++ b/umbrello/uml.cpp
@@ -754,7 +754,7 @@ QAction* UMLApp::createZoomAction(int zoom, int currentZoom)
//IMPORTANT: The zoom value is added to the action.
QAction* action = new QAction(this);
action->setCheckable(true);
- action->setText(QString(QLatin1String(" &%1%")).arg(zoom));
+ action->setText(i18nc("%1 percent value from 20 to 500", " &%1%", zoom));
action->setData(zoom);
if (zoom == currentZoom) {
action->setChecked(true);