summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2025-12-14 09:14:41 +0100
committerPapoteur <papoteur@mageia.org>2025-12-14 09:14:41 +0100
commit14947c9b8dc6762c052a95ef9dac71ba4a97290a (patch)
treee48b50991d196d352ebe769922c0bcff029917d7 /src
parent9f58fd632d57bfe0be0105acb2184b0b85290385 (diff)
downloadmageiawelcome-14947c9b8dc6762c052a95ef9dac71ba4a97290a.tar
mageiawelcome-14947c9b8dc6762c052a95ef9dac71ba4a97290a.tar.gz
mageiawelcome-14947c9b8dc6762c052a95ef9dac71ba4a97290a.tar.bz2
mageiawelcome-14947c9b8dc6762c052a95ef9dac71ba4a97290a.tar.xz
mageiawelcome-14947c9b8dc6762c052a95ef9dac71ba4a97290a.zip
Fix a crash when a repo is not selected for installation (mga#34847)
Diffstat (limited to 'src')
-rw-r--r--src/ui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui.py b/src/ui.py
index c0bcd91..abebf2e 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -131,7 +131,7 @@ class Commands():
QMessageBox.Icon.Warning,
_("mw-ui", "Application installation"),
#: {} will be replaced with the 'Media sources' translation
- _("mw-ui", "Tainted repositories are not enabled. See the '{}' tab.").format(_("Sources",_("Media sources"))),
+ _("mw-ui", "Tainted repositories are not enabled. See the '{}' tab.").format(_("Sources","Media sources")),
)
message.exec()
return
@@ -141,7 +141,7 @@ class Commands():
QMessageBox.Icon.Warning,
_("mw-ui", "Application installation"),
#: {} will be replaced with the 'Media sources' translation
- _("mw-ui", "Nonfree repositories are not enabled. See the '{}' tab.").format(_("Sources",_("Media sources"))),
+ _("mw-ui", "Nonfree repositories are not enabled. See the '{}' tab.").format(_("Sources","Media sources")),
)
message.exec()
return
@@ -163,7 +163,7 @@ class Commands():
QMessageBox.Icon.Warning,
_("mw-ui", "Application installation"),
#: {} will be replaced with the 'Media sources' translation
- _("mw-ui", "Core repositories are not enabled. See the '{}' tab.").format(_("Sources",_("Media sources"))),
+ _("mw-ui", "Core repositories are not enabled. See the '{}' tab.").format(_("Sources","Media sources")),
)
message.exec()
return