Addon Manager: Minor translation fixes

This commit is contained in:
Chris Hennes
2022-12-27 21:04:32 -06:00
parent ff1147fbae
commit 577fb5f1ab
3 changed files with 5 additions and 3 deletions

View File

@@ -299,8 +299,9 @@ class CommandAddonManager:
FreeCAD.Console.PrintWarning(
translate(
"AddonsInstaller",
"Worker process {} is taking a long time to stop...\n",
"Worker process {} is taking a long time to stop...",
).format(worker)
+ "\n"
)
def determine_cache_update_status(self) -> None:

View File

@@ -90,7 +90,7 @@ except ImportError:
FreeCAD.Console.PrintError(
translate(
"AddonsInstaller",
'Could not import QtNetwork -- it does not appear to be installed on your system. Your provider may have a package for this dependency (often called e.g. "python3-pyside2.qtnetwork", for example)',
'Could not import QtNetwork -- it does not appear to be installed on your system. Your provider may have a package for this dependency (often called "python3-pyside2.qtnetwork")',
)
+ "\n"
)

View File

@@ -274,8 +274,9 @@ class AddonInstallerGUI(QtCore.QObject):
FreeCAD.Console.PrintWarning(
translate(
"AddonsInstaller",
"Optional dependency on {} ignored because it is not in the allow-list\n",
"Optional dependency on {} ignored because it is not in the allow-list",
).format(dep)
+ "\n"
)
missing.python_optional = good_packages