From 113c2bd0c03583e0e3b275fbfabc3f4e8f5812aa Mon Sep 17 00:00:00 2001 From: Papoteur Date: Thu, 20 Dec 2018 10:54:00 +0100 Subject: Translate all buttons Add comments for some strings to translate --- qml/mw-ui.qml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index 66ae2ea..0109e22 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -37,6 +37,7 @@ Rectangle { // Welcome page Rectangle { + //: the button in buttons bar property var title: qsTr("Welcome") width: view.width; height: view.height LinearGradient { @@ -53,6 +54,7 @@ Rectangle { anchors.centerIn: parent Label { + //: the %1 will be replaced with the user name text: qsTr("Welcome to Mageia, %1").arg(user)+'\n\n' font.bold: true } @@ -265,7 +267,8 @@ It is highly recommended that you update your system regularly. An Update icon w } // MCC Page Rectangle { - property var title: "MCC" + //: The button in the buttons bar, shortcut for Mageia Control Center + property var title: qsTr("MCC") width: view.width; height: view.height LinearGradient { anchors.fill: parent @@ -332,7 +335,7 @@ It is highly recommended that you update your system regularly. An Update icon w } // Install software page Rectangle { - property var title: "Install software" + property var title: qsTr("Install software") width: view.width; height: view.height LinearGradient { anchors.fill: parent @@ -420,7 +423,7 @@ It is highly recommended that you update your system regularly. An Update icon w } // Applications page Rectangle { - property var title: "Applications" + property var title: qsTr("Applications") width: view.width; height: view.height LinearGradient { anchors.fill: parent @@ -635,7 +638,7 @@ It is highly recommended that you update your system regularly. An Update icon w } // Configuration summary Page Rectangle { - property var title: "Your configuration" + property var title: qsTr("Your configuration") width: view.width; height: view.height LinearGradient { anchors.fill: parent @@ -661,7 +664,7 @@ It is highly recommended that you update your system regularly. An Update icon w } // Links page Rectangle { - property var title: "More information" + property var title: qsTr("More information") width: view.width; height: view.height LinearGradient { anchors.fill: parent -- cgit v1.2.1