From ac1afe60b91a53f0afe6308fafe2fd9ee566c336 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sun, 31 Dec 2017 00:31:14 +0000 Subject: [PATCH] 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 --- sources/qetdiagrameditor.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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" - ); -} - + )); +} }