summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2018-12-10 22:06:00 +0100
committerPapoteur <papoteur@mageia.org>2018-12-17 10:19:29 +0100
commit274ac56f62b0227aa1dbb0ca77d0c9707334d1da (patch)
tree80e1b05044a547a72f468c7a4140cc111d89b6cc
parent36031548012051e1314652e1f7e4de5ddf43d9c2 (diff)
downloadmageiawelcome-274ac56f62b0227aa1dbb0ca77d0c9707334d1da.tar
mageiawelcome-274ac56f62b0227aa1dbb0ca77d0c9707334d1da.tar.gz
mageiawelcome-274ac56f62b0227aa1dbb0ca77d0c9707334d1da.tar.bz2
mageiawelcome-274ac56f62b0227aa1dbb0ca77d0c9707334d1da.tar.xz
mageiawelcome-274ac56f62b0227aa1dbb0ca77d0c9707334d1da.zip
Use Qt translation function
-rw-r--r--qml/mageiawelcome.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py
index b0b4258..0303a1c 100644
--- a/qml/mageiawelcome.py
+++ b/qml/mageiawelcome.py
@@ -44,11 +44,11 @@ class ConfList(QAbstractListModel):
desktop = os.getenv("XDG_CURRENT_DESKTOP")
self.configuration = [
- {'name': _("Congratulations! You have completed the installation of {}").format(release)},
- {'name': _("You are using linux kernel: {}").format(kernel)},
- {'name': _("Your system architecture is: {}").format(arch)},
- {'name': _("You are now using the Desktop: {}").format(desktop)},
- {'name': _("Your user's id is: {}").format(os.getuid())},
+ {'name': self.tr("Congratulations! You have completed the installation of {}").format(release)},
+ {'name': self.tr("You are using linux kernel: {}").format(kernel)},
+ {'name': self.tr("Your system architecture is: {}").format(arch)},
+ {'name': self.tr("You are now using the Desktop: {}").format(desktop)},
+ {'name': self.tr("Your user's id is: {}").format(os.getuid())},
]
def data(self, index, role=Qt.DisplayRole):