on xenial help sign in
Make "Recent" translatable and update pot file

commit744ff0acb28b0706fc10f583c38bc9718601406b authorAlbert Astals <albert.astals@canonical.com> dateThu 27 Mar 2014, 12:37 (13 years ago) parent1e136024657683
2 files changed+15−29
po/unity8.pot+14−28 qml/Dash/DashApps.qml+1−1
po/unity8.pot+14−28
@@ -8,7 +8,7 @@ msgid ""
88msgstr ""
99"Project-Id-Version: unity8\n"
1010"Report-Msgid-Bugs-To: \n"
11−"POT-Creation-Date: 2014-02-13 18:37+0000\n"
11+"POT-Creation-Date: 2014-03-25 16:48+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"
@@ -16,7 +16,6 @@ msgstr ""
1616"MIME-Version: 1.0\n"
1717"Content-Type: text/plain; charset=CHARSET\n"
1818"Content-Transfer-Encoding: 8bit\n"
19−"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
2019
2120#: plugins/Unity/Launcher/launcheritem.cpp:43
2221#: plugins/Unity/Launcher/launcheritem.cpp:73
@@ -73,7 +72,7 @@ msgid ""
7372"phone<br><br>Tap on the screen to start"
7473msgstr ""
7574
76−#: qml/Components/PageHeader.qml:340
75+#: qml/Components/PageHeader.qml:365
7776msgid "Recent searches"
7877msgstr ""
7978
@@ -81,28 +80,19 @@ msgstr ""
8180msgid "See more"
8281msgstr ""
8382
84−#: qml/Components/SeeMore.qml:57
83+#: qml/Components/SeeMore.qml:58
8584msgid "See less"
8685msgstr ""
8786
88−#: qml/Dash/Apps/AppPreview.qml:136 qml/Dash/Previews/PreviewRating.qml:70
89−msgid "Rate this"
87+#: qml/Dash/DashApps.qml:38
88+msgid "Recent"
9089msgstr ""
9190
92−#. TRANSLATORS: Number of persons who rated this app/video/whatever
93−#: qml/Dash/Previews/Header.qml:93
91+#: qml/Dash/PreviewListView.qml:52
9492#, qt-format
95−msgid "(%1)"
93+msgid "%1 Preview"
9694msgstr ""
9795
98−#. TRANSLATORS: Number of persons who wrote reviews for this app/video/whatever
99−#: qml/Dash/Previews/Header.qml:105
100−#, qt-format
101−msgid "%1 review"
102−msgid_plural "%1 reviews"
103−msgstr[0] ""
104−msgstr[1] ""
105−
10696#: qml/Dash/Previews/PreviewActionCombo.qml:34
10797msgid "More..."
10898msgstr ""
@@ -111,20 +101,16 @@ msgstr ""
111101msgid "Less..."
112102msgstr ""
113103
114−#: qml/Dash/Previews/PreviewRating.qml:114 qml/Dash/Previews/Reviews.qml:74
115−msgid "Add a review"
116−msgstr ""
117−
118−#: qml/Dash/Previews/PreviewRating.qml:153 qml/Dash/Previews/Reviews.qml:121
119−msgid "Send"
104+#: qml/Dash/Previews/PreviewRatingInput.qml:81
105+msgid "Rate this"
120106msgstr ""
121107
122−#: qml/Dash/Previews/Reviews.qml:86
123−msgid "Review"
108+#: qml/Dash/Previews/PreviewRatingInput.qml:126
109+msgid "Add a review"
124110msgstr ""
125111
126−#: qml/Dash/Previews/Reviews.qml:139
127−msgid "Comments:"
112+#: qml/Dash/Previews/PreviewRatingInput.qml:166
113+msgid "Send"
128114msgstr ""
129115
130116#: qml/Greeter/Lockscreen.qml:149
@@ -172,7 +158,7 @@ msgstr ""
172158msgid "Search"
173159msgstr ""
174160
175−#: qml/Shell.qml:440
161+#: qml/Shell.qml:417
176162#, qt-format
177163msgid "Please enter %1"
178164msgstr ""
qml/Dash/DashApps.qml+1−1
@@ -35,7 +35,7 @@ GenericScopeView {
3535 }
3636
3737 onScopeChanged: {
38− scopeView.scope.categories.addSpecialCategory("running.apps.category", "Recent", "", "{ \"template\": { \"category-layout\": \"running-apps\" } }", countObject);
38+ scopeView.scope.categories.addSpecialCategory("running.apps.category", i18n.tr("Recent"), "", "{ \"template\": { \"category-layout\": \"running-apps\" } }", countObject);
3939 enableHeightBehaviorOnNextCreation = (mainStageApplicationsModel.count + sideStageApplicationModel.count == 0)
4040 }
4141}