on xenial help sign in
Make lockscreen buttons translatable.
44bdd4eMichał Sawicz
po/unity8.pot+17−9
@@ -8,7 +8,7 @@ msgid ""
8msgstr ""
8msgstr ""
9"Project-Id-Version: unity8\n"
9"Project-Id-Version: unity8\n"
10"Report-Msgid-Bugs-To: \n"
10"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"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -101,19 +101,19 @@ msgstr ""
101msgid "Less..."
101msgid "Less..."
102msgstr ""
102msgstr ""
103
103
104−#: qml/Dash/Previews/PreviewRatingInput.qml:81
104+#: qml/Dash/Previews/PreviewRatingInput.qml:82
105msgid "Rate this"
105msgid "Rate this"
106msgstr ""
106msgstr ""
107
107
108−#: qml/Dash/Previews/PreviewRatingInput.qml:126
108+#: qml/Dash/Previews/PreviewRatingInput.qml:128
109msgid "Add a review"
109msgid "Add a review"
110msgstr ""
110msgstr ""
111
111
112−#: qml/Dash/Previews/PreviewRatingInput.qml:166
112+#: qml/Dash/Previews/PreviewRatingInput.qml:168
113msgid "Send"
113msgid "Send"
114msgstr ""
114msgstr ""
115
115
116−#: qml/Greeter/Greeter.qml:151
116+#: qml/Greeter/Greeter.qml:157
117msgid "Swipe to unlock"
117msgid "Swipe to unlock"
118msgstr ""
118msgstr ""
119
119
@@ -130,6 +130,14 @@ msgstr ""
130msgid "Hello"
130msgid "Hello"
131msgstr ""
131msgstr ""
132
132
133+#: qml/Greeter/PinLockscreen.qml:180
134+msgid "CANCEL"
135+msgstr ""
136+
137+#: qml/Greeter/PinLockscreen.qml:198
138+msgid "DONE"
139+msgstr ""
140+
133#: qml/Hud/HudParametrizedActionsPage.qml:132
141#: qml/Hud/HudParametrizedActionsPage.qml:132
134msgid "Confirm"
142msgid "Confirm"
135msgstr ""
143msgstr ""
@@ -150,19 +158,19 @@ msgstr ""
150msgid "Speaking..."
158msgid "Speaking..."
151msgstr ""
159msgstr ""
152
160
153−#: qml/Notifications/NotificationMenuItemFactory.qml:91
161+#: qml/Notifications/NotificationMenuItemFactory.qml:92
154msgid "Show password"
162msgid "Show password"
155msgstr ""
163msgstr ""
156
164
157−#: qml/Notifications/NotificationMenuItemFactory.qml:103
165+#: qml/Notifications/NotificationMenuItemFactory.qml:104
158msgid "Please enter SIM PIN"
166msgid "Please enter SIM PIN"
159msgstr ""
167msgstr ""
160
168
161−#: qml/Panel/SearchIndicator.qml:27
169+#: qml/Panel/SearchIndicator.qml:27 test.qml:7
162msgid "Search"
170msgid "Search"
163msgstr ""
171msgstr ""
164
172
165−#: qml/Shell.qml:348
173+#: qml/Shell.qml:342
166#, qt-format
174#, qt-format
167msgid "Please enter %1"
175msgid "Please enter %1"
168msgstr ""
176msgstr ""
qml/Greeter/PinLockscreen.qml+2−2
@@ -177,7 +177,7 @@ Column {
177 objectName: "pinPadButtonBack"
177 objectName: "pinPadButtonBack"
178 width: root.padWidth / 3
178 width: root.padWidth / 3
179 height: root.padHeight / 4
179 height: root.padHeight / 4
180− subText: "CANCEL"
180+ subText: i18n.tr("CANCEL")
181 onClicked: root.cancel();
181 onClicked: root.cancel();
182 }
182 }
183
183
@@ -195,7 +195,7 @@ Column {
195 width: root.padWidth / 3
195 width: root.padWidth / 3
196 height: root.padHeight / 4
196 height: root.padHeight / 4
197 iconName: root.pinLength == -1 ? "" : "erase"
197 iconName: root.pinLength == -1 ? "" : "erase"
198− subText: root.pinLength == -1 ? "DONE" : ""
198+ subText: root.pinLength == -1 ? i18n.tr("DONE") : ""
199 onClicked: {
199 onClicked: {
200 if (root.pinLength !== -1) {
200 if (root.pinLength !== -1) {
201 pinentryField.text = pinentryField.text.substring(0, pinentryField.text.length-1);
201 pinentryField.text = pinentryField.text.substring(0, pinentryField.text.length-1);