[qet] qet/qet: [5196] Add translation for message box "Error launching plugin" |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5196
Author: scorpio810
Date: 2017-12-31 01:31:14 +0100 (Sun, 31 Dec 2017)
Log Message:
-----------
Add translation for message box "Error launching plugin"
Modified Paths:
--------------
trunk/sources/qetdiagrameditor.cpp
Modified: trunk/sources/qetdiagrameditor.cpp
===================================================================
--- trunk/sources/qetdiagrameditor.cpp 2017-12-30 14:41:25 UTC (rev 5195)
+++ trunk/sources/qetdiagrameditor.cpp 2017-12-31 00:31:14 UTC (rev 5196)
@@ -2211,8 +2211,8 @@
#endif
if ( !success ) {
QMessageBox::warning(nullptr,
-"Error launching plugin",
-"To install the plugin qet_tb_generator\nVisit https://pypi.python.org/pypi/qet-tb-generator/\n"
+tr("Error launching plugin"),
+tr("To install the plugin qet_tb_generator\nVisit https://pypi.python.org/pypi/qet-tb-generator/\n"
"\n"
"Requires python 3.5 or above.\n"
">> First install on Linux\n"
@@ -2238,8 +2238,7 @@
"2. pip3 install qet_tb_generator \n"
">> Update on macOSX \n"
" pip3 install --upgrade qet_tb_generator \n"
- );
+ ));
}
-
}