summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2018-12-10 22:06:00 +0100
committerPapoteur <papoteur@mageia.org>2018-12-15 15:46:34 +0100
commit5596a29b4bbf71bccb1e978ad1485d79b4545129 (patch)
tree0e1ae8d273e9ae8116958872b4f23f67cfb68aac
parent62618bcdb2d0ca42c3313698ef5a8243b69a15a3 (diff)
downloadmageiawelcome-5596a29b4bbf71bccb1e978ad1485d79b4545129.tar
mageiawelcome-5596a29b4bbf71bccb1e978ad1485d79b4545129.tar.gz
mageiawelcome-5596a29b4bbf71bccb1e978ad1485d79b4545129.tar.bz2
mageiawelcome-5596a29b4bbf71bccb1e978ad1485d79b4545129.tar.xz
mageiawelcome-5596a29b4bbf71bccb1e978ad1485d79b4545129.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):