From 930a3499a2e80787498796569f40a36877c46dd5 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Fri, 4 Jan 2019 22:41:31 +0100 Subject: Add comments for translation, clean bad links in po files --- qml/mw-ui.qml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) (limited to 'qml/mw-ui.qml') diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index 74fa7ba..e51f318 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -423,6 +423,7 @@ Rectangle { id: listApplicationsWiki x: 10 objectName: "link" + //: Translate only if the link is to a specific page for your language onClicked: { link.weblink(qsTr("https://wiki.mageia.org/en/List_of_applications"))} style: ButtonStyle { label: Label { @@ -754,14 +755,26 @@ Rectangle { color: "white" } Repeater{ - model: [{'name': qsTr("Release notes"), 'url': qsTr("https://wiki.mageia.org/en/Mageia_7_Release_Notes")}, - {'name': qsTr("Forums"),'url': qsTr("https://forums.mageia.org/en/")}, + model: [{'name': qsTr("Release notes"), 'url': + //: Translate only if the link is to a specific page for your language + qsTr("https://wiki.mageia.org/en/Mageia_7_Release_Notes")}, + {'name': qsTr("Forums"),'url': + //: Translate only if the link is to a specific page for your language + qsTr("https://forums.mageia.org/en/")}, {'name': qsTr("Community Center"),'url': "https://www.mageia.org/community/"}, - {'name': qsTr("Errata"), 'url': qsTr("https://wiki.mageia.org/en/Mageia_7_Errata")}, - {'name': qsTr("Wiki"), 'url': qsTr("https://wiki.mageia.org/en/Documentation")}, + {'name': qsTr("Errata"), 'url': + //: Translate only if the link is to a specific page for your language + qsTr("https://wiki.mageia.org/en/Mageia_7_Errata")}, + {'name': qsTr("Wiki"), 'url': + //: Translate only if the link is to a specific page for your language + qsTr("https://wiki.mageia.org/en/Documentation")}, {'name': qsTr("Contribute"),'url': "https://www.mageia.org/contribute/"}, - {'name': qsTr("Newcomers Howto"),'url': qsTr("https://wiki.mageia.org/en/Newcomers_start_here")}, - {'name': qsTr("Chat Room"),'url': qsTr("irc://irc.freenode.net/#mageia")}, + {'name': qsTr("Newcomers Howto"),'url': + //: Translate only if the link is to a specific page for your language + qsTr("https://wiki.mageia.org/en/Newcomers_start_here")}, + {'name': qsTr("Chat Room"), + //: Translate only if the link is to a specific page for your language + 'url': qsTr("irc://irc.freenode.net/#mageia")}, {'name': qsTr("Donations"),'url': "https://www.mageia.org/donate/"}, {'name': qsTr("Documentation"),'url': "https://www.mageia.org/doc/"}, {'name': qsTr("Bugs tracker"),'url': "https://bugs.mageia.org/"}, -- cgit v1.2.1