From 7b02f492fafd34c33e598d4ae793c21cb02fe509 Mon Sep 17 00:00:00 2001 From: Kuzemko Alexsandr Date: Sun, 19 Jun 2022 20:47:07 +0300 Subject: [PATCH] [Path] Add localization for PathToolBit --- src/Mod/Path/PathScripts/PathToolBitLibraryGui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathToolBitLibraryGui.py b/src/Mod/Path/PathScripts/PathToolBitLibraryGui.py index b8cca4da6c..902f6a7411 100644 --- a/src/Mod/Path/PathScripts/PathToolBitLibraryGui.py +++ b/src/Mod/Path/PathScripts/PathToolBitLibraryGui.py @@ -73,7 +73,7 @@ def checkWorkingDir(): qm = PySide.QtGui.QMessageBox ret = qm.question( - None, "", "Toolbit working directory not set up. Do that now?", qm.Yes | qm.No + None, "", translate("Path_ToolBit","Toolbit working directory not set up. Do that now?"), qm.Yes | qm.No ) if ret == qm.No: @@ -117,7 +117,7 @@ def checkWorkingDir(): ret = qm.question( None, "", - "Toolbit Working directory {} needs these sudirectories:\n {} \n Create them?".format( + translate("Path_ToolBit","Toolbit Working directory {} needs these sudirectories:\n {} \n Create them?").format( workingdir, needed ), qm.Yes | qm.No, @@ -136,7 +136,7 @@ def checkWorkingDir(): ret = qm.question( None, "", - "Copy example files to new {} directory?".format(dir), + translate("Path_ToolBit","Copy example files to new {} directory?").format(dir), qm.Yes | qm.No, ) if ret == qm.Yes: