diff options
author | Papoteur <papoteur@mageia.org> | 2018-12-10 22:06:00 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2018-12-15 15:46:34 +0100 |
commit | 5596a29b4bbf71bccb1e978ad1485d79b4545129 (patch) | |
tree | 0e1ae8d273e9ae8116958872b4f23f67cfb68aac | |
parent | 62618bcdb2d0ca42c3313698ef5a8243b69a15a3 (diff) | |
download | mageiawelcome-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.py | 10 |
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): |