From: vsv Date: Thu, 3 Oct 2019 08:57:52 +0000 (+0300) Subject: Issue #3035: Translations for buttons tooltips X-Git-Tag: V9_4_0a2~4^2~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bab22a22f9a60d8e78d6589af5ce77d84fa600cf;p=modules%2Fshaper.git Issue #3035: Translations for buttons tooltips --- diff --git a/src/XGUI/XGUI_ActionsMgr.cpp b/src/XGUI/XGUI_ActionsMgr.cpp index 644027633..2c2b87f4c 100644 --- a/src/XGUI/XGUI_ActionsMgr.cpp +++ b/src/XGUI/XGUI_ActionsMgr.cpp @@ -251,28 +251,28 @@ QAction* XGUI_ActionsMgr::operationStateAction(OperationStateActionId theId) case Accept: case AcceptAll: { aResult = ModuleBase_Tools::createAction(QIcon(":pictures/button_ok.png"), - "Apply" /*empty to show error*/, aParent); + tr("Apply"), aParent); } break; case AcceptPlus: { aResult = ModuleBase_Tools::createAction(QIcon(":pictures/button_ok-plus.png"), - "Apply and continue" /*empty to show error*/, aParent); + tr("Apply and continue"), aParent); } break; case Abort: case AbortAll: { - aResult = ModuleBase_Tools::createAction(QIcon(":pictures/button_cancel.png"), "Cancel", + aResult = ModuleBase_Tools::createAction(QIcon(":pictures/button_cancel.png"), tr("Cancel"), aParent); } break; case Help: { - aResult = ModuleBase_Tools::createAction(QIcon(":pictures/button_help.png"), "Help", + aResult = ModuleBase_Tools::createAction(QIcon(":pictures/button_help.png"), tr("Help"), aParent); } break; case Preview: { aResult = ModuleBase_Tools::createAction(QIcon(), tr("See preview"), - aParent, 0, 0, "Compute preview"); + aParent, 0, 0, tr("Compute preview")); aResult->setStatusTip(aResult->toolTip()); } break; diff --git a/src/XGUI/XGUI_msg_fr.ts b/src/XGUI/XGUI_msg_fr.ts index 7eaaaf252..26863da83 100644 --- a/src/XGUI/XGUI_msg_fr.ts +++ b/src/XGUI/XGUI_msg_fr.ts @@ -56,11 +56,36 @@ Shortcut %1 is already defined. Ignore. Le raccourci %1 est déjà défini. Ignorer. + + + Apply + Appliquer + + + + Apply and continue + Appliquer et continuer + + + + Cancel + Annuler + + + + Help + Aide + See preview Voir l'aperçu + + + Compute preview + Calculer l'aperçu avant impression + XGUI_ColorDialog