Addon Manager: Remove trailing spaces from translations

This commit is contained in:
Chris Hennes
2024-03-03 22:08:01 -06:00
parent 918bcb7f5b
commit ec5aa8f367
2 changed files with 5 additions and 3 deletions

View File

@@ -364,9 +364,10 @@ class AddonInstallerGUI(QtCore.QObject):
translate("AddonsInstaller", "Cannot execute pip"),
translate(
"AddonsInstaller",
"Failed to execute pip, which may be missing from your Python installation. Please ensure your system has pip installed and try again. The failed command was: ",
"Failed to execute pip, which may be missing from your Python installation. Please ensure your system "
"has pip installed and try again. The failed command was:",
)
+ f"\n\n{command}\n\n"
+ f" \n\n{command}\n\n"
+ translate(
"AddonsInstaller",
"Continue with installation of {} anyway?",

View File

@@ -244,8 +244,9 @@ class MacroUninstaller(QObject):
errors.append(
translate(
"AddonsInstaller",
"Error while trying to remove macro file {}: ",
"Error while trying to remove macro file {}:",
).format(full_path)
+ " "
+ str(e)
)
success = False