diff --git a/sources/qetdiagrameditor.cpp b/sources/qetdiagrameditor.cpp index 0ab0a568e..f1b089133 100644 --- a/sources/qetdiagrameditor.cpp +++ b/sources/qetdiagrameditor.cpp @@ -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" - ); -} - + )); +} }