Merge lp:~dpm/reminders-app/fix-1317683-update-template into lp:reminders-app

Proposed by David Planella
Status: Merged
Approved by: David Planella
Approved revision: 140
Merged at revision: 142
Proposed branch: lp:~dpm/reminders-app/fix-1317683-update-template
Merge into: lp:reminders-app
Diff against target: 372 lines (+245/-64)
3 files modified
po/com.ubuntu.reminders.pot (+186/-34)
po/po.pro (+59/-0)
po/reminders-app.pot (+0/-30)
To merge this branch: bzr merge lp:~dpm/reminders-app/fix-1317683-update-template
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Daniel Holbach (community) Approve
Review via email: mp+219669@code.launchpad.net

Commit message

Update translations template.

Description of the change

Update translations template. I've temporarily added the po/po.pro file I've used to generate it. I'll remove it as soon as I write proper CMake rules to build and update the template (in a separate MP).

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks. Good work!

review: Approve
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) :
review: Approve (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

FAILED: Autolanding.
Approved revid is not set in launchpad. This is most likely a launchpad issue and re-approve should fix it. There is also a chance (although a very small one) this is a permission problem of the ps-jenkins bot.
http://91.189.93.70:8080/job/reminders-app-autolanding/134/
Executed test runs:
    SUCCESS: http://91.189.93.70:8080/job/generic-mediumtests-trusty/2664
        deb: http://91.189.93.70:8080/job/generic-mediumtests-trusty/2664/artifact/work/output/*zip*/output.zip
    SUCCESS: http://91.189.93.70:8080/job/generic-mediumtests-utopic/201
        deb: http://91.189.93.70:8080/job/generic-mediumtests-utopic/201/artifact/work/output/*zip*/output.zip
    SUCCESS: http://91.189.93.70:8080/job/reminders-app-trusty-amd64-autolanding/134
    SUCCESS: http://91.189.93.70:8080/job/reminders-app-utopic-amd64-autolanding/26

review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'po/com.ubuntu.reminders.pot'
2--- po/com.ubuntu.reminders.pot 2014-01-28 08:38:08 +0000
3+++ po/com.ubuntu.reminders.pot 2014-05-15 09:42:23 +0000
4@@ -1,14 +1,14 @@
5-# Translations for the Reminders app
6+# reminders-app translations.
7 # Copyright (C) 2014 Canonical Ltd.
8-# This file is distributed under the same license as the reminders package.
9+# This file is distributed under the same license as the reminders-app package.
10 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
11 #
12 #, fuzzy
13 msgid ""
14 msgstr ""
15-"Project-Id-Version: \n"
16+"Project-Id-Version: com.ubuntu.reminders\n"
17 "Report-Msgid-Bugs-To: \n"
18-"POT-Creation-Date: 2014-01-28 09:36+0100\n"
19+"POT-Creation-Date: 2014-05-15 11:25+0200\n"
20 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
21 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
22 "Language-Team: LANGUAGE <LL@li.org>\n"
23@@ -16,68 +16,220 @@
24 "MIME-Version: 1.0\n"
25 "Content-Type: text/plain; charset=CHARSET\n"
26 "Content-Transfer-Encoding: 8bit\n"
27-"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
28-
29-#: src/app/qml/components/NotebooksDelegate.qml:58
30-#, qt-format
31-msgid "%1 note"
32-msgid_plural "%1 notes"
33-msgstr[0] ""
34-msgstr[1] ""
35-
36-#: src/app/qml/reminders.qml:83
37+
38+#: ../src/app/qml/reminders.qml:196
39 msgid "Notes"
40 msgstr ""
41
42-#: src/app/qml/reminders.qml:90
43+#: ../src/app/qml/reminders.qml:225
44 msgid "Notebooks"
45 msgstr ""
46
47-#: src/app/qml/reminders.qml:97
48+#: ../src/app/qml/reminders.qml:253
49+#: ../.build/com.ubuntu.reminders.desktop.js:1
50 msgid "Reminders"
51 msgstr ""
52
53-#: src/app/qml/ui/EditNotePage.qml:83 src/app/qml/ui/EditNotePage.qml:95
54+#: ../src/app/qml/reminders.qml:310
55+msgid "No account available"
56+msgstr ""
57+
58+#: ../src/app/qml/reminders.qml:311
59+msgid "Please setup an account in the system settings"
60+msgstr ""
61+
62+#: ../src/app/qml/reminders.qml:325
63+msgid "Open account settings"
64+msgstr ""
65+
66+#: ../src/app/qml/components/NotebooksDelegate.qml:66
67+#, qt-format
68+msgid "Last edited %1"
69+msgstr ""
70+
71+#: ../src/app/qml/components/NotebooksDelegate.qml:72
72+msgid "Shared"
73+msgstr ""
74+
75+#: ../src/app/qml/components/NotebooksDelegate.qml:72
76+msgid "Private"
77+msgstr ""
78+
79+#: ../src/app/qml/components/PulldownListView.qml:40
80+msgid "Release to refresh"
81+msgstr ""
82+
83+#: ../src/app/qml/components/RemindersDelegate.qml:51
84+#: ../src/app/qml/ui/SetReminderView.qml:55
85+msgid "Clear reminder"
86+msgstr ""
87+
88+#: ../src/app/qml/components/RemindersDelegate.qml:51
89+msgid "Mark as done"
90+msgstr ""
91+
92+#: ../src/app/qml/ui/CameraConfirm.qml:40
93+msgid "Back"
94+msgstr ""
95+
96+#: ../src/app/qml/ui/CameraConfirm.qml:49
97+msgid "Use it!"
98+msgstr ""
99+
100+#: ../src/app/qml/ui/EditNoteView.qml:90
101+#: ../src/app/qml/ui/EditNoteView.qml:102
102 msgid "Untitled"
103 msgstr ""
104
105-#: src/app/qml/ui/NotePage.qml:36
106+#: ../src/app/qml/ui/NotePage.qml:33 ../src/app/qml/ui/NotesPage.qml:71
107 msgid "Delete"
108 msgstr ""
109
110-#: src/app/qml/ui/NotePage.qml:53
111+#: ../src/app/qml/ui/NotePage.qml:42 ../src/app/qml/ui/NotesPage.qml:79
112+msgid "Edit reminder"
113+msgstr ""
114+
115+#: ../src/app/qml/ui/NotePage.qml:42 ../src/app/qml/ui/NotesPage.qml:79
116+#: ../src/app/qml/ui/SetReminderView.qml:66
117+msgid "Set reminder"
118+msgstr ""
119+
120+#: ../src/app/qml/ui/NotePage.qml:54 ../src/app/qml/ui/NotesPage.qml:93
121 msgid "Edit"
122 msgstr ""
123
124-#: src/app/qml/ui/NotebooksPage.qml:36 src/app/qml/ui/NotesPage.qml:39
125-#: src/app/qml/ui/RemindersPage.qml:30 src/app/qml/ui/SearchNotesPage.qml:52
126+#: ../src/app/qml/ui/NotebooksPage.qml:38 ../src/app/qml/ui/NotesPage.qml:44
127+#: ../src/app/qml/ui/RemindersPage.qml:33
128+#: ../src/app/qml/ui/SearchNotesPage.qml:56
129 msgid "Search"
130 msgstr ""
131
132-#: src/app/qml/ui/NotebooksPage.qml:46
133+#: ../src/app/qml/ui/NotebooksPage.qml:46 ../src/app/qml/ui/NotesPage.qml:52
134+msgid "Refresh"
135+msgstr ""
136+
137+#: ../src/app/qml/ui/NotebooksPage.qml:56 ../src/app/qml/ui/NotesPage.qml:60
138+#: ../src/app/qml/ui/RemindersPage.qml:43
139+msgid "Accounts"
140+msgstr ""
141+
142+#: ../src/app/qml/ui/NotebooksPage.qml:65
143 msgid "Add notebook"
144 msgstr ""
145
146-#: src/app/qml/ui/NotebooksPage.qml:104
147-msgid "Shared"
148-msgstr ""
149-
150-#: src/app/qml/ui/NotebooksPage.qml:104
151-msgid "Private"
152-msgstr ""
153-
154-#: src/app/qml/ui/NotebooksPage.qml:126
155+#: ../src/app/qml/ui/NotebooksPage.qml:164
156 msgid "Cancel"
157 msgstr ""
158
159-#: src/app/qml/ui/NotebooksPage.qml:134
160+#: ../src/app/qml/ui/NotebooksPage.qml:172
161 msgid "Save"
162 msgstr ""
163
164-#: src/app/qml/ui/NotesPage.qml:49
165+#: ../src/app/qml/ui/NotesPage.qml:103
166 msgid "Add note"
167 msgstr ""
168
169-#: src/app/qml/ui/RemindersPage.qml:40
170+#: ../src/app/qml/ui/NotesPage.qml:173
171+msgid ""
172+"No notes available. You can create new notes using the \"Add note\" button."
173+msgstr ""
174+
175+#: ../src/app/qml/ui/RemindersPage.qml:52
176 msgid "Add reminder"
177 msgstr ""
178+
179+#: ../src/app/qml/ui/RemindersPage.qml:113
180+msgid ""
181+"No reminders available. You can create new reminders using the \"Add reminder"
182+"\" button or by setting a reminder when viewing a note."
183+msgstr ""
184+
185+#: ../src/app/qml/ui/SetReminderView.qml:36
186+msgid "Select date and time for the reminder:"
187+msgstr ""
188+
189+#: ../src/plugin/Evernote/note.cpp:82 ../src/plugin/Evernote/note.cpp:239
190+msgid "Today"
191+msgstr ""
192+
193+#: ../src/plugin/Evernote/note.cpp:85
194+msgid "Yesterday"
195+msgstr ""
196+
197+#: ../src/plugin/Evernote/note.cpp:88
198+msgid "Last week"
199+msgstr ""
200+
201+#: ../src/plugin/Evernote/note.cpp:91
202+msgid "Two weeks ago"
203+msgstr ""
204+
205+#: ../src/plugin/Evernote/note.cpp:94
206+#, qt-format
207+msgid "%1 %2"
208+msgstr ""
209+
210+#: ../src/plugin/Evernote/note.cpp:227
211+msgid "Done"
212+msgstr ""
213+
214+#: ../src/plugin/Evernote/note.cpp:233
215+msgid "No date"
216+msgstr ""
217+
218+#: ../src/plugin/Evernote/note.cpp:236
219+msgid "Overdue"
220+msgstr ""
221+
222+#: ../src/plugin/Evernote/note.cpp:242
223+msgid "Tomorrow"
224+msgstr ""
225+
226+#: ../src/plugin/Evernote/note.cpp:245
227+msgid "Next week"
228+msgstr ""
229+
230+#: ../src/plugin/Evernote/note.cpp:248
231+msgid "In two weeks"
232+msgstr ""
233+
234+#: ../src/plugin/Evernote/note.cpp:250
235+msgid "Later"
236+msgstr ""
237+
238+#. TRANSLATORS: this is part of a longer string - "Last updated: today"
239+#: ../src/plugin/Evernote/notebook.cpp:99
240+msgid "today"
241+msgstr ""
242+
243+#. TRANSLATORS: this is part of a longer string - "Last updated: yesterday"
244+#: ../src/plugin/Evernote/notebook.cpp:103
245+msgid "yesterday"
246+msgstr ""
247+
248+#. TRANSLATORS: this is part of a longer string - "Last updated: last week"
249+#: ../src/plugin/Evernote/notebook.cpp:107
250+msgid "last week"
251+msgstr ""
252+
253+#. TRANSLATORS: this is part of a longer string - "Last updated: two weeks ago"
254+#: ../src/plugin/Evernote/notebook.cpp:111
255+msgid "two weeks ago"
256+msgstr ""
257+
258+#. TRANSLATORS: this is used in the notes list to group notes created on the same month
259+#. the first parameter refers to a month name and the second to a year
260+#: ../src/plugin/Evernote/notebook.cpp:115
261+#, qt-format
262+msgid "on %1 %2"
263+msgstr ""
264+
265+#: ../src/plugin/Evernote/notesstore.cpp:217
266+#, qt-format
267+msgid "Error refreshing notes: %1"
268+msgstr ""
269+
270+#: ../src/plugin/Evernote/notesstore.cpp:368
271+#, qt-format
272+msgid "Error refreshing notebooks: %1"
273+msgstr ""
274
275=== added file 'po/po.pro'
276--- po/po.pro 1970-01-01 00:00:00 +0000
277+++ po/po.pro 2014-05-15 09:42:23 +0000
278@@ -0,0 +1,59 @@
279+TEMPLATE = subdirs
280+
281+PROJECTNAME = com.ubuntu.reminders
282+
283+DESKTOPFILE = ../$${PROJECTNAME}.desktop.in
284+
285+SOURCECODE = ../src/app/qml/*.qml \
286+ ../src/app/qml/components/*.qml \
287+ ../src/app/qml/ui/CameraComponents/*.qml \
288+ ../src/app/qml/ui/*.qml \
289+ ../src/app/*.cpp \
290+ ../src/app/*.h \
291+ ../src/plugin/Evernote/*.cpp \
292+ ../src/plugin/Evernote/*.h \
293+ ../src/plugin/Evernote/jobs/*.cpp \
294+ ../src/plugin/Evernote/jobs/*.h \
295+ ../src/plugin/Evernote/jobs/*.cpp \
296+ ../src/plugin/Evernote/utils/*.h
297+
298+BUILDDIR = ../.build
299+DESKTOPFILETEMP = $${BUILDDIR}/$${PROJECTNAME}.desktop.js
300+
301+message("")
302+message(" Project Name: $$PROJECTNAME ")
303+message(" Source Code: $$SOURCECODE ")
304+message("")
305+message(" Run 'make pot' to generate the pot file from source code. ")
306+message("")
307+
308+## Generate pot file 'make pot'
309+potfile.target = pot
310+potfile.commands = xgettext \
311+ -o $${PROJECTNAME}.pot \
312+ --copyright=\"Canonical Ltd.\" \
313+ --package-name $${PROJECTNAME} \
314+ --qt --c++ --add-comments=TRANSLATORS \
315+ --keyword=tr --keyword=tr:1,2 \
316+ $${SOURCECODE} $${DESKTOPFILETEMP}
317+potfile.depends = desktopfile
318+QMAKE_EXTRA_TARGETS += potfile
319+
320+## Do not use this rule directly. It's a dependency rule to
321+## generate an intermediate .h file to extract translatable
322+## strings from the .desktop file
323+desktopfile.target = desktopfile
324+desktopfile.commands = awk \'BEGIN { FS=\"=\" }; /Name/ {print \"var s = i18n.tr(\42\" \$$2 \"\42);\"}\' $${DESKTOPFILE} > $${DESKTOPFILETEMP}
325+desktopfile.depends = makebuilddir
326+QMAKE_EXTRA_TARGETS += desktopfile
327+
328+## Dependency rule to create the temporary build dir
329+makebuilddir.target = makebuilddir
330+makebuilddir.commands = mkdir -p $${BUILDDIR}
331+QMAKE_EXTRA_TARGETS += makebuilddir
332+
333+## Rule to clean the products of the build
334+clean.target = clean
335+clean.commands = rm -Rf $${BUILDDIR}
336+QMAKE_EXTRA_TARGETS += clean
337+
338
339=== removed file 'po/reminders-app.pot'
340--- po/reminders-app.pot 2013-11-20 21:54:24 +0000
341+++ po/reminders-app.pot 1970-01-01 00:00:00 +0000
342@@ -1,30 +0,0 @@
343-# Reminders App Translations
344-# Copyright (C) 2013 Canonical Ltd.
345-# This file is distributed under the same license as the PACKAGE package.
346-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
347-#
348-#, fuzzy
349-msgid ""
350-msgstr ""
351-"Project-Id-Version: reminders-app\n"
352-"Report-Msgid-Bugs-To: \n"
353-"POT-Creation-Date: 2013-11-20 22:52+0100\n"
354-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
355-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
356-"Language-Team: LANGUAGE <LL@li.org>\n"
357-"Language: \n"
358-"MIME-Version: 1.0\n"
359-"Content-Type: text/plain; charset=CHARSET\n"
360-"Content-Transfer-Encoding: 8bit\n"
361-
362-#: reminders-app.qml:38
363-msgid "Notes"
364-msgstr ""
365-
366-#: reminders-app.qml:45
367-msgid "Notebook"
368-msgstr ""
369-
370-#: reminders-app.qml:52
371-msgid "Reminders"
372-msgstr ""

Subscribers

People subscribed via source and target branches