Add translation for message box "Error launching plugin"

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5196 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2017-12-31 00:31:14 +00:00
parent 1b18b980a9
commit ac1afe60b9

View File

@@ -2211,8 +2211,8 @@ success = process->startDetached("qet_tb_generator");
#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 @@ QMessageBox::warning(nullptr,
"2. pip3 install qet_tb_generator \n"
">> Update on macOSX \n"
" pip3 install --upgrade qet_tb_generator \n"
);
}
));
}
}