on xenial help sign in
more context
commit213ee3041ab2a33318ddc2e649eb04f1a9745fc3 authorAlbert Astals Cid <albert.astals@canonical.com> dateFri 13 Mar 2015, 11:07 (12 years ago) parente1d9463
7 files changed+50−40
po/unity8.pot+28−18 qml/Components/Dialogs.qml+10−10 qml/Dash/GenericScopeView.qml+1−1 qml/Dash/PageHeader.qml+3−3 qml/Panel/Indicators/MessageMenuItemFactory.qml+1−1 qml/Wizard/Page.qml+1−1 qml/Wizard/Pages/30-passwd-type.qml+6−6
po/unity8.pot+28−18
@@ -8,7 +8,7 @@ msgid ""
88msgstr ""
99"Project-Id-Version: unity8\n"
1010"Report-Msgid-Bugs-To: \n"
11−"POT-Creation-Date: 2015-03-13 10:44+0100\n"
11+"POT-Creation-Date: 2015-03-13 11:06+0100\n"
1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -51,6 +51,7 @@ msgstr[0] ""
5151msgstr[1] ""
5252
5353#: qml/Components/Dialogs.qml:67
54+msgctxt "Title: Lock/Log out dialog"
5455msgid "Log out"
5556msgstr ""
5657
@@ -59,11 +60,12 @@ msgid "Are you sure you want to log out?"
5960msgstr ""
6061
6162#: qml/Components/Dialogs.qml:70
62−msgctxt "Lock the system"
63+msgctxt "Button: Lock the system"
6364msgid "Lock"
6465msgstr ""
6566
6667#: qml/Components/Dialogs.qml:77
68+msgctxt "Button: Log out from the system"
6769msgid "Log Out"
6870msgstr ""
6971
@@ -73,6 +75,7 @@ msgid "Cancel"
7375msgstr ""
7476
7577#: qml/Components/Dialogs.qml:96
78+msgctxt "Title: Reboot/Shut down dialog"
7679msgid "Shut down"
7780msgstr ""
7881
@@ -80,13 +83,19 @@ msgstr ""
8083msgid "Are you sure you want to shut down?"
8184msgstr ""
8285
83−#: qml/Components/Dialogs.qml:99 qml/Components/Dialogs.qml:127
86+#: qml/Components/Dialogs.qml:99
87+msgctxt "Button: Reboot the system"
8488msgid "Reboot"
8589msgstr ""
8690
8791#: qml/Components/Dialogs.qml:107
88−msgctxt "Shutdown the system"
89−msgid "Shutdown"
92+msgctxt "Button: Shut down the system"
93+msgid "Shut down"
94+msgstr ""
95+
96+#: qml/Components/Dialogs.qml:127
97+msgctxt "Title: Reboot dialog"
98+msgid "Reboot"
9099msgstr ""
91100
92101#: qml/Components/Dialogs.qml:128
@@ -102,6 +111,7 @@ msgid "Yes"
102111msgstr ""
103112
104113#: qml/Components/Dialogs.qml:150
114+msgctxt "Title: Power off/Restart dialog"
105115msgid "Power"
106116msgstr ""
107117
@@ -112,10 +122,12 @@ msgid ""
112122msgstr ""
113123
114124#: qml/Components/Dialogs.qml:153
125+msgctxt "Button: Power off the system"
115126msgid "Power off"
116127msgstr ""
117128
118129#: qml/Components/Dialogs.qml:162
130+msgctxt "Button: Restart the system"
119131msgid "Restart"
120132msgstr ""
121133
@@ -140,17 +152,17 @@ msgid "See all"
140152msgstr ""
141153
142154#: qml/Dash/GenericScopeView.qml:595
143−msgctxt "Hint for search line edit"
155+msgctxt "Label: Hint for dash search line edit"
144156msgid "Search"
145157msgstr ""
146158
147159#: qml/Dash/PageHeader.qml:269
148−msgctxt "The Ubuntu Store"
160+msgctxt "Button: The Ubuntu Store"
149161msgid "Store"
150162msgstr ""
151163
152164#: qml/Dash/PageHeader.qml:276
153−msgctxt "Shown in Page Header Menu"
165+msgctxt "Button: Shown in Page Header Menu"
154166msgid "Search"
155167msgstr ""
156168
@@ -317,9 +329,7 @@ msgid "Failed, tap to retry"
317329msgstr ""
318330
319331#: qml/Panel/Indicators/MessageMenuItemFactory.qml:149
320−msgctxt ""
321−"Text that is shown as hint where you have to type the Reply, most probably "
322−"noun works better than verb here"
332+msgctxt "Label: Hint in message indicator line edit"
323333msgid "Reply"
324334msgstr ""
325335
@@ -384,7 +394,7 @@ msgid "View all your running tasks."
384394msgstr ""
385395
386396#: qml/Wizard/Page.qml:89
387−msgctxt "Goes one page back in the Wizard"
397+msgctxt "Button: Go back one page in the Wizard"
388398msgid "Back"
389399msgstr ""
390400
@@ -428,32 +438,32 @@ msgid "Please select how you’d like to unlock your phone."
428438msgstr ""
429439
430440#: qml/Wizard/Pages/30-passwd-type.qml:97
431−msgctxt "Type of security method"
441+msgctxt "Label: Type of security method"
432442msgid "Swipe"
433443msgstr ""
434444
435445#: qml/Wizard/Pages/30-passwd-type.qml:98
436−msgctxt "Description of security method"
446+msgctxt "Label: Description of security method"
437447msgid "No security"
438448msgstr ""
439449
440450#: qml/Wizard/Pages/30-passwd-type.qml:100
441−msgctxt "Type of security method"
451+msgctxt "Label: Type of security method"
442452msgid "Passcode"
443453msgstr ""
444454
445455#: qml/Wizard/Pages/30-passwd-type.qml:101
446−msgctxt "Description of security method"
456+msgctxt "Label: Description of security method"
447457msgid "4 digits only"
448458msgstr ""
449459
450460#: qml/Wizard/Pages/30-passwd-type.qml:103
451−msgctxt "Type of security method"
461+msgctxt "Label: Type of security method"
452462msgid "Passphrase"
453463msgstr ""
454464
455465#: qml/Wizard/Pages/30-passwd-type.qml:104
456−msgctxt "Description of security method"
466+msgctxt "Label: Description of security method"
457467msgid "Numbers and letters"
458468msgstr ""
459469
qml/Components/Dialogs.qml+10−10
@@ -64,17 +64,17 @@ Item {
6464 id: logoutDialogComponent
6565 ShellDialog {
6666 id: logoutDialog
67− title: i18n.tr("Log out")
67+ title: i18n.ctr("Title: Lock/Log out dialog", "Log out")
6868 text: i18n.tr("Are you sure you want to log out?")
6969 Button {
70− text: i18n.ctr("Lock the system", "Lock")
70+ text: i18n.ctr("Button: Lock the system", "Lock")
7171 onClicked: {
7272 LightDM.Greeter.showGreeter()
7373 logoutDialog.hide();
7474 }
7575 }
7676 Button {
77− text: i18n.tr("Log Out")
77+ text: i18n.ctr("Button: Log out from the system", "Log Out")
7878 onClicked: {
7979 unitySessionService.logout();
8080 logoutDialog.hide();
@@ -93,10 +93,10 @@ Item {
9393 id: shutdownDialogComponent
9494 ShellDialog {
9595 id: shutdownDialog
96− title: i18n.tr("Shut down")
96+ title: i18n.ctr("Title: Reboot/Shut down dialog", "Shut down")
9797 text: i18n.tr("Are you sure you want to shut down?")
9898 Button {
99− text: i18n.tr("Reboot")
99+ text: i18n.ctr("Button: Reboot the system", "Reboot")
100100 onClicked: {
101101 root.closeAllApps();
102102 unitySessionService.reboot();
@@ -104,7 +104,7 @@ Item {
104104 }
105105 }
106106 Button {
107− text: i18n.ctr("Shutdown the system", "Shutdown")
107+ text: i18n.ctr("Button: Shut down the system", "Shut down")
108108 onClicked: {
109109 root.closeAllApps();
110110 unitySessionService.shutdown();
@@ -124,7 +124,7 @@ Item {
124124 id: rebootDialogComponent
125125 ShellDialog {
126126 id: rebootDialog
127− title: i18n.tr("Reboot")
127+ title: i18n.ctr("Title: Reboot dialog", "Reboot")
128128 text: i18n.tr("Are you sure you want to reboot?")
129129 Button {
130130 text: i18n.tr("No")
@@ -147,10 +147,10 @@ Item {
147147 id: powerDialogComponent
148148 ShellDialog {
149149 id: powerDialog
150− title: i18n.tr("Power")
150+ title: i18n.ctr("Title: Power off/Restart dialog", "Power")
151151 text: i18n.tr("Are you sure you would like\nto power off?")
152152 Button {
153− text: i18n.tr("Power off")
153+ text: i18n.ctr("Button: Power off the system", "Power off")
154154 onClicked: {
155155 root.closeAllApps();
156156 powerDialog.hide();
@@ -159,7 +159,7 @@ Item {
159159 color: UbuntuColors.red
160160 }
161161 Button {
162− text: i18n.tr("Restart")
162+ text: i18n.ctr("Button: Restart the system", "Restart")
163163 onClicked: {
164164 root.closeAllApps();
165165 unitySessionService.reboot();
qml/Dash/GenericScopeView.qml+1−1
@@ -592,7 +592,7 @@ FocusScope {
592592 objectName: "scopePageHeader"
593593 width: parent.width
594594 title: scopeView.scope ? scopeView.scope.name : ""
595− searchHint: scopeView.scope && scopeView.scope.searchHint || i18n.ctr("Hint for search line edit", "Search")
595+ searchHint: scopeView.scope && scopeView.scope.searchHint || i18n.ctr("Label: Hint for dash search line edit", "Search")
596596 showBackButton: scopeView.hasBackAction
597597 searchEntryEnabled: true
598598 settingsEnabled: scopeView.scope && scopeView.scope.settings && scopeView.scope.settings.count > 0 || false
qml/Dash/PageHeader.qml+3−3
@@ -266,14 +266,14 @@ Item {
266266 actions: [
267267 Action {
268268 objectName: "store"
269− text: i18n.ctr("The Ubuntu Store", "Store")
269+ text: i18n.ctr("Button: Open the Ubuntu Store", "Store")
270270 iconName: "ubuntu-store-symbolic"
271271 visible: root.storeEntryEnabled
272272 onTriggered: root.storeClicked();
273273 },
274274 Action {
275275 objectName: "search"
276− text: i18n.ctr("Shown in Page Header Menu", "Search")
276+ text: i18n.ctr("Button: Start a search in the current dash scope", "Search")
277277 iconName: "search"
278278 visible: root.searchEntryEnabled
279279 onTriggered: {
@@ -283,7 +283,7 @@ Item {
283283 },
284284 Action {
285285 objectName: "settings"
286− text: i18n.tr("Settings")
286+ text: i18n.ctr("Button: Show the current dash scope settings", "Settings")
287287 iconName: "settings"
288288 visible: root.settingsEnabled
289289 onTriggered: root.settingsClicked()
qml/Panel/Indicators/MessageMenuItemFactory.qml+1−1
@@ -146,7 +146,7 @@ Loader {
146146 time: timeFormatter.timeString
147147 body: getExtendedProperty(extendedData, "xCanonicalText", "")
148148 replyButtonText: getExtendedProperty(replyActionDescription, "label", "Send")
149− replyHintText: i18n.ctr("Text that is shown as hint where you have to type the Reply, most probably noun works better than verb here", "Reply")
149+ replyHintText: i18n.ctr("Label: Hint in message indicator line edit", "Reply")
150150 // icons
151151 avatar: getExtendedProperty(extendedData, "icon", "image://theme/contact")
152152 icon: getExtendedProperty(extendedData, "xCanonicalAppIcon", "image://theme/message")
qml/Wizard/Page.qml+1−1
@@ -86,7 +86,7 @@ Item {
8686 bottomMargin: buttonMargin
8787 }
8888 z: 1
89− text: i18n.ctr("Goes one page back in the Wizard", "Back")
89+ text: i18n.ctr("Button: Go back one page in the Wizard", "Back")
9090 visible: pageStack.depth > 1 && hasBackButton
9191 backArrow: true
9292
qml/Wizard/Pages/30-passwd-type.qml+6−6
@@ -94,14 +94,14 @@ LocalComponents.Page {
9494 var name = ""
9595 var desc = ""
9696 if (method === UbuntuSecurityPrivacyPanel.Swipe) {
97− name = i18n.ctr("Type of security method", "Swipe")
98− desc = i18n.ctr("Description of security method", "No security")
97+ name = i18n.ctr("Label: Type of security method", "Swipe")
98+ desc = i18n.ctr("Label: Description of security method", "No security")
9999 } else if (method === UbuntuSecurityPrivacyPanel.Passcode) {
100− name = i18n.ctr("Type of security method", "Passcode")
101− desc = i18n.ctr("Description of security method", "4 digits only")
100+ name = i18n.ctr("Label: Type of security method", "Passcode")
101+ desc = i18n.ctr("Label: Description of security method", "4 digits only")
102102 } else {
103− name = i18n.ctr("Type of security method", "Passphrase")
104− desc = i18n.ctr("Description of security method", "Numbers and letters")
103+ name = i18n.ctr("Label: Type of security method", "Passphrase")
104+ desc = i18n.ctr("Label: Description of security method", "Numbers and letters")
105105 }
106106 return "<b>%1</b> (%2)".arg(name).arg(desc)
107107 }