on xenial help sign in
Make lockscreen buttons translatable.
commit44bdd4e3588a37b01dc35331bd38af195242ddf2 authorMichał Sawicz <michal.sawicz@canonical.com> dateTue 27 May 2014, 14:54 (12 years ago) parent50e450a
2 files changed+19−11
po/unity8.pot+17−9 qml/Greeter/PinLockscreen.qml+2−2
po/unity8.pot+17−9
@@ -8,7 +8,7 @@ msgid ""
88msgstr ""
99"Project-Id-Version: unity8\n"
1010"Report-Msgid-Bugs-To: \n"
11−"POT-Creation-Date: 2014-04-10 11:13-0400\n"
11+"POT-Creation-Date: 2014-05-27 14:52+0200\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"
@@ -101,19 +101,19 @@ msgstr ""
101101msgid "Less..."
102102msgstr ""
103103
104−#: qml/Dash/Previews/PreviewRatingInput.qml:81
104+#: qml/Dash/Previews/PreviewRatingInput.qml:82
105105msgid "Rate this"
106106msgstr ""
107107
108−#: qml/Dash/Previews/PreviewRatingInput.qml:126
108+#: qml/Dash/Previews/PreviewRatingInput.qml:128
109109msgid "Add a review"
110110msgstr ""
111111
112−#: qml/Dash/Previews/PreviewRatingInput.qml:166
112+#: qml/Dash/Previews/PreviewRatingInput.qml:168
113113msgid "Send"
114114msgstr ""
115115
116−#: qml/Greeter/Greeter.qml:151
116+#: qml/Greeter/Greeter.qml:157
117117msgid "Swipe to unlock"
118118msgstr ""
119119
@@ -130,6 +130,14 @@ msgstr ""
130130msgid "Hello"
131131msgstr ""
132132
133+#: qml/Greeter/PinLockscreen.qml:180
134+msgid "CANCEL"
135+msgstr ""
136+
137+#: qml/Greeter/PinLockscreen.qml:198
138+msgid "DONE"
139+msgstr ""
140+
133141#: qml/Hud/HudParametrizedActionsPage.qml:132
134142msgid "Confirm"
135143msgstr ""
@@ -150,19 +158,19 @@ msgstr ""
150158msgid "Speaking..."
151159msgstr ""
152160
153−#: qml/Notifications/NotificationMenuItemFactory.qml:91
161+#: qml/Notifications/NotificationMenuItemFactory.qml:92
154162msgid "Show password"
155163msgstr ""
156164
157−#: qml/Notifications/NotificationMenuItemFactory.qml:103
165+#: qml/Notifications/NotificationMenuItemFactory.qml:104
158166msgid "Please enter SIM PIN"
159167msgstr ""
160168
161−#: qml/Panel/SearchIndicator.qml:27
169+#: qml/Panel/SearchIndicator.qml:27 test.qml:7
162170msgid "Search"
163171msgstr ""
164172
165−#: qml/Shell.qml:348
173+#: qml/Shell.qml:342
166174#, qt-format
167175msgid "Please enter %1"
168176msgstr ""
qml/Greeter/PinLockscreen.qml+2−2
@@ -177,7 +177,7 @@ Column {
177177 objectName: "pinPadButtonBack"
178178 width: root.padWidth / 3
179179 height: root.padHeight / 4
180− subText: "CANCEL"
180+ subText: i18n.tr("CANCEL")
181181 onClicked: root.cancel();
182182 }
183183
@@ -195,7 +195,7 @@ Column {
195195 width: root.padWidth / 3
196196 height: root.padHeight / 4
197197 iconName: root.pinLength == -1 ? "" : "erase"
198− subText: root.pinLength == -1 ? "DONE" : ""
198+ subText: root.pinLength == -1 ? i18n.tr("DONE") : ""
199199 onClicked: {
200200 if (root.pinLength !== -1) {
201201 pinentryField.text = pinentryField.text.substring(0, pinentryField.text.length-1);