Merge lp:~verzegnassi-stefano/ubuntu-docviewer-app/plugins-renaming into lp:ubuntu-docviewer-app/trunk

Proposed by Stefano Verzegnassi
Status: Merged
Approved by: Stefano Verzegnassi
Approved revision: 137
Merged at revision: 143
Proposed branch: lp:~verzegnassi-stefano/ubuntu-docviewer-app/plugins-renaming
Merge into: lp:ubuntu-docviewer-app/trunk
Diff against target: 5183 lines (+1090/-1540)
62 files modified
po/am.po (+13/-28)
po/ast.po (+13/-28)
po/br.po (+27/-42)
po/ca.po (+13/-28)
po/com.ubuntu.docviewer.pot (+11/-11)
po/cs.po (+13/-28)
po/da.po (+13/-28)
po/de.po (+44/-65)
po/el.po (+13/-28)
po/en_AU.po (+13/-28)
po/en_GB.po (+24/-39)
po/eo.po (+13/-28)
po/es.po (+13/-28)
po/eu.po (+13/-28)
po/fi.po (+13/-28)
po/fr.po (+26/-41)
po/gd.po (+13/-28)
po/gl.po (+14/-29)
po/hu.po (+25/-40)
po/it.po (+13/-28)
po/lo.po (+13/-28)
po/lv.po (+13/-28)
po/nb.po (+13/-28)
po/nl.po (+13/-28)
po/ny.po (+13/-28)
po/pa.po (+25/-40)
po/pl.po (+41/-58)
po/pt.po (+13/-28)
po/pt_BR.po (+13/-28)
po/ru.po (+13/-28)
po/sl.po (+13/-28)
po/tr.po (+13/-28)
po/uk.po (+13/-28)
po/zh_CN.po (+13/-28)
po/zh_TW.po (+13/-28)
src/app/CMakeLists.txt (+0/-1)
src/app/command-line-parser.cpp (+25/-1)
src/app/command-line-parser.h (+2/-0)
src/app/docviewer-application.cpp (+10/-3)
src/app/docviewer-application.h (+2/-0)
src/app/qml/common/DetailsPage.qml (+4/-4)
src/app/qml/documentPage/DeleteFileDialog.qml (+2/-2)
src/app/qml/documentPage/DocumentGridView.qml (+1/-1)
src/app/qml/documentPage/DocumentListView.qml (+6/-5)
src/app/qml/pdfView/PdfView.qml (+2/-2)
src/app/qml/textView/TextViewDefaultHeader.qml (+1/-1)
src/app/qml/ubuntu-docviewer-app.qml (+22/-3)
src/plugin/file-qml-plugin/CMakeLists.txt (+4/-3)
src/plugin/file-qml-plugin/backend.cpp (+6/-7)
src/plugin/file-qml-plugin/backend.h (+2/-2)
src/plugin/file-qml-plugin/documentmodel.cpp (+127/-114)
src/plugin/file-qml-plugin/documentmodel.h (+32/-28)
src/plugin/file-qml-plugin/docviewerfile.cpp (+70/-71)
src/plugin/file-qml-plugin/docviewerfile.h (+22/-39)
src/plugin/file-qml-plugin/fileReader.cpp (+0/-99)
src/plugin/file-qml-plugin/fileReader.h (+0/-56)
src/plugin/file-qml-plugin/fswatcher.cpp (+118/-0)
src/plugin/file-qml-plugin/fswatcher.h (+52/-0)
src/plugin/file-qml-plugin/qmldir (+1/-1)
src/plugin/poppler-qml-plugin/CMakeLists.txt (+1/-1)
src/plugin/poppler-qml-plugin/plugin.cpp (+2/-2)
src/plugin/poppler-qml-plugin/qmldir (+1/-1)
To merge this branch: bzr merge lp:~verzegnassi-stefano/ubuntu-docviewer-app/plugins-renaming
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Alan Pope 🍺🐧🐱 🦄 (community) Approve
Review via email: mp+256353@code.launchpad.net

Commit message

- Moved DocumentsModel class in the DocumentViewer module.
- Refactored DocviewerFile class
- Refactored DocumentsModel class
- Use SortFilterModel from Ubuntu.Components, instead of QSortFilterProxyModel
- Renamed com.ubuntu.popplerqmlplugin module in DocumentViewer.PDF
- Renamed com.ubuntu.fileqmlplugin module in DocumentViewer
- Removed FileReader class
- Added support for testing DocumentsModel class through Autopilot

Description of the change

First 3169 lines of diff are about translations.
We really need to stop this, by removing automatic update of the template.

I say sorry to any victim that will review this MP. :-)

*** List of changes:
* Refactored DocviewerFile class
This solves a long standing issue that used to make PDF plugin to load pages twice. No more need for workaround it.

* Renamed com.ubuntu.popplerqmlplugin module in DocumentViewer.PDF
I just don't like the old name.

* Renamed com.ubuntu.fileqmlplugin module in DocumentViewer
Same as above.

* Moved DocumentsModel class in the DocumentViewer module.
As pointed out in the second last DocViewer meeting, we should move the ContentHub code (and so all the code that currently handles arguments parsing) on the "dark side" of QML.
This is a first step toward this goal.

* Also, there's no more a usage of QSortFilterProxyModel, but SortFilterModel from Ubuntu.Components is used to sort entries by date.

* Refactored DocumentsModel class
The current implementation of this class was pretty poor.
Now the FileSystemWatcher lives in a separate class and provide all the signals to track any change in a folder.
This will make things a lot easier, when we start working on SD card support.

* FileReader class has been deleted.
It has been never used during all the time we had it in the code.
We have another branch that will introduce a brand-new advanced text editor.

* Added a new argument (--documents-dir) for the application, when running it from command line.
That's supposed to be useful when we'll have to write some Autopilot test for the DocumentsModel class.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

LGTM!

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

pot updated

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

Top-approving a second time.. \o/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'po/am.po'
2--- po/am.po 2015-05-16 05:39:21 +0000
3+++ po/am.po 2015-05-18 14:00:46 +0000
4@@ -7,7 +7,7 @@
5 msgstr ""
6 "Project-Id-Version: ubuntu-docviewer-app\n"
7 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
8-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
9+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
10 "PO-Revision-Date: 2015-03-08 19:28+0000\n"
11 "Last-Translator: samson <Unknown>\n"
12 "Language-Team: Amharic <am@li.org>\n"
13@@ -15,28 +15,8 @@
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=n > 1;\n"
17-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
18-"X-Generator: Launchpad (build 17493)\n"
19-
20-#. TRANSLATORS: This string is used for renaming a copied file,
21-#. when a file with the same name already exists in user's
22-#. Documents folder.
23-#.
24-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
25-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
26-#.
27-#. where "2" is given by the argument "%1"
28-#.
29-#: ../src/app/content-communicator.cpp:105
30-#, qt-format
31-msgid "copy %1"
32-msgstr ""
33-
34-#: ../src/app/docviewer-application.cpp:164
35-#: ../src/app/qml/documentPage/DocumentPage.qml:25
36-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
37-msgid "Document Viewer"
38-msgstr "ሰነድ መመልከቻ"
39+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
40+"X-Generator: Launchpad (build 17423)\n"
41
42 #: ../src/app/qml/common/DetailsPage.qml:27
43 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
44@@ -234,6 +214,11 @@
45 msgid "Even earlier..."
46 msgstr "ከዚያ ቀደም ብሎ..."
47
48+#: ../src/app/qml/documentPage/DocumentPage.qml:25
49+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
50+msgid "Document Viewer"
51+msgstr "ሰነድ መመልከቻ"
52+
53 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
54 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
55 msgid "Switch to single column list"
56@@ -257,12 +242,12 @@
57 msgstr "ሁሉንም መምረጫ"
58
59 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
60-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
61+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
62 #: ../src/app/qml/pdfView/PdfView.qml:37
63 msgid "Contents"
64 msgstr "ይዞታዎች"
65
66-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
67+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
68 msgid "Hide table of contents"
69 msgstr ""
70
71@@ -309,16 +294,16 @@
72 msgid "Loading..."
73 msgstr "በመጫን ላይ..."
74
75-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
76+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
77 msgid "Document successfully imported!"
78 msgid_plural "Documents successfully imported!"
79 msgstr[0] ""
80 msgstr[1] ""
81
82-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
83+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
84 msgid "Open"
85 msgstr ""
86
87-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
88+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
89 msgid "documents;viewer;pdf;reader;"
90 msgstr "ሰነዶች: መመልከቻ: pdf: ማንበቢያ:"
91
92=== modified file 'po/ast.po'
93--- po/ast.po 2015-05-16 05:39:21 +0000
94+++ po/ast.po 2015-05-18 14:00:46 +0000
95@@ -7,7 +7,7 @@
96 msgstr ""
97 "Project-Id-Version: ubuntu-docviewer-app\n"
98 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
99-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
100+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
101 "PO-Revision-Date: 2015-02-11 21:00+0000\n"
102 "Last-Translator: ivarela <ivarela@ubuntu.com>\n"
103 "Language-Team: Asturian <ast@li.org>\n"
104@@ -15,28 +15,8 @@
105 "Content-Type: text/plain; charset=UTF-8\n"
106 "Content-Transfer-Encoding: 8bit\n"
107 "Plural-Forms: nplurals=2; plural=n != 1;\n"
108-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
109-"X-Generator: Launchpad (build 17493)\n"
110-
111-#. TRANSLATORS: This string is used for renaming a copied file,
112-#. when a file with the same name already exists in user's
113-#. Documents folder.
114-#.
115-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
116-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
117-#.
118-#. where "2" is given by the argument "%1"
119-#.
120-#: ../src/app/content-communicator.cpp:105
121-#, qt-format
122-msgid "copy %1"
123-msgstr ""
124-
125-#: ../src/app/docviewer-application.cpp:164
126-#: ../src/app/qml/documentPage/DocumentPage.qml:25
127-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
128-msgid "Document Viewer"
129-msgstr "Visor de documentos"
130+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
131+"X-Generator: Launchpad (build 17423)\n"
132
133 #: ../src/app/qml/common/DetailsPage.qml:27
134 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
135@@ -236,6 +216,11 @@
136 msgid "Even earlier..."
137 msgstr ""
138
139+#: ../src/app/qml/documentPage/DocumentPage.qml:25
140+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
141+msgid "Document Viewer"
142+msgstr "Visor de documentos"
143+
144 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
145 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
146 msgid "Switch to single column list"
147@@ -259,12 +244,12 @@
148 msgstr ""
149
150 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
151-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
152+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
153 #: ../src/app/qml/pdfView/PdfView.qml:37
154 msgid "Contents"
155 msgstr "Conteníos"
156
157-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
158+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
159 msgid "Hide table of contents"
160 msgstr ""
161
162@@ -311,16 +296,16 @@
163 msgid "Loading..."
164 msgstr "Cargando..."
165
166-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
167+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
168 msgid "Document successfully imported!"
169 msgid_plural "Documents successfully imported!"
170 msgstr[0] ""
171 msgstr[1] ""
172
173-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
174+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
175 msgid "Open"
176 msgstr ""
177
178-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
179+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
180 msgid "documents;viewer;pdf;reader;"
181 msgstr "documentos;visor;pdf;llector;"
182
183=== modified file 'po/br.po'
184--- po/br.po 2015-05-16 05:39:21 +0000
185+++ po/br.po 2015-05-18 14:00:46 +0000
186@@ -7,36 +7,16 @@
187 msgstr ""
188 "Project-Id-Version: ubuntu-docviewer-app\n"
189 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
190-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
191-"PO-Revision-Date: 2015-04-28 08:02+0000\n"
192+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
193+"PO-Revision-Date: 2015-03-13 10:02+0000\n"
194 "Last-Translator: Fohanno Thierry <thierry.fohanno@ofis-bzh.org>\n"
195 "Language-Team: Breton <br@li.org>\n"
196 "MIME-Version: 1.0\n"
197 "Content-Type: text/plain; charset=UTF-8\n"
198 "Content-Transfer-Encoding: 8bit\n"
199 "Plural-Forms: nplurals=2; plural=n > 1;\n"
200-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
201-"X-Generator: Launchpad (build 17493)\n"
202-
203-#. TRANSLATORS: This string is used for renaming a copied file,
204-#. when a file with the same name already exists in user's
205-#. Documents folder.
206-#.
207-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
208-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
209-#.
210-#. where "2" is given by the argument "%1"
211-#.
212-#: ../src/app/content-communicator.cpp:105
213-#, qt-format
214-msgid "copy %1"
215-msgstr "eilañ %1"
216-
217-#: ../src/app/docviewer-application.cpp:164
218-#: ../src/app/qml/documentPage/DocumentPage.qml:25
219-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
220-msgid "Document Viewer"
221-msgstr "Lenner teulioù"
222+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
223+"X-Generator: Launchpad (build 17423)\n"
224
225 #: ../src/app/qml/common/DetailsPage.qml:27
226 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
227@@ -83,27 +63,27 @@
228
229 #: ../src/app/qml/common/PickImportedDialog.qml:29
230 msgid "Multiple documents imported"
231-msgstr "Meur a deul enporzhiet"
232+msgstr ""
233
234 #: ../src/app/qml/common/PickImportedDialog.qml:30
235 msgid "Choose which one to open:"
236-msgstr "Choaz pehini digeriñ :"
237+msgstr ""
238
239 #: ../src/app/qml/common/RejectedImportDialog.qml:28
240 msgid "File not supported"
241 msgid_plural "Files not supported"
242-msgstr[0] "Restr ne c'haller ket ober ganti"
243-msgstr[1] "Restroù ne c'haller ket ober ganto"
244+msgstr[0] ""
245+msgstr[1] ""
246
247 #: ../src/app/qml/common/RejectedImportDialog.qml:29
248 msgid "Following document has not been imported:"
249 msgid_plural "Following documents have not been imported:"
250-msgstr[0] "N'eo ket bet enporzhiet an teul-mañ :"
251-msgstr[1] "N'eo ket bet enporzhiet an teulioù-mañ :"
252+msgstr[0] ""
253+msgstr[1] ""
254
255 #: ../src/app/qml/common/ToastWithAction.qml:97
256 msgid "Dismiss"
257-msgstr "Disteurel"
258+msgstr ""
259
260 #: ../src/app/qml/common/UnknownTypeDialog.qml:26
261 msgid "Unknown file type"
262@@ -238,6 +218,11 @@
263 msgid "Even earlier..."
264 msgstr "Abretoc'h c'hoazh..."
265
266+#: ../src/app/qml/documentPage/DocumentPage.qml:25
267+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
268+msgid "Document Viewer"
269+msgstr "Lenner teulioù"
270+
271 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
272 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
273 msgid "Switch to single column list"
274@@ -261,14 +246,14 @@
275 msgstr "Diuzañ pep tra"
276
277 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
278-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
279+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
280 #: ../src/app/qml/pdfView/PdfView.qml:37
281 msgid "Contents"
282 msgstr "Taolenn"
283
284-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
285+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
286 msgid "Hide table of contents"
287-msgstr "Kuzhat an daolenn"
288+msgstr ""
289
290 #. TRANSLATORS: the first argument (%1) refers to the page currently shown on the screen,
291 #. while the second one (%2) refers to the total pages count.
292@@ -289,12 +274,12 @@
293 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:91
294 #: ../src/app/qml/textView/TextViewDefaultHeader.qml:77
295 msgid "Disable night mode"
296-msgstr "diweredekaat ar mod noz"
297+msgstr ""
298
299 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:91
300 #: ../src/app/qml/textView/TextViewDefaultHeader.qml:77
301 msgid "Enable night mode"
302-msgstr "Gweredekaat ar mod noz"
303+msgstr ""
304
305 #: ../src/app/qml/pdfView/PdfViewGotoDialog.qml:25
306 msgid "Go to page"
307@@ -313,16 +298,16 @@
308 msgid "Loading..."
309 msgstr "O kargañ..."
310
311-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
312+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
313 msgid "Document successfully imported!"
314 msgid_plural "Documents successfully imported!"
315-msgstr[0] "Teul enporzhiet evel ma oa dleet !"
316-msgstr[1] "Teulioù enporzhiet evel ma oa dleet !"
317+msgstr[0] ""
318+msgstr[1] ""
319
320-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
321+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
322 msgid "Open"
323-msgstr "Digeriñ"
324+msgstr ""
325
326-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
327+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
328 msgid "documents;viewer;pdf;reader;"
329 msgstr "teulioù;diskouezer;pdf;lenner"
330
331=== modified file 'po/ca.po'
332--- po/ca.po 2015-05-16 05:39:21 +0000
333+++ po/ca.po 2015-05-18 14:00:46 +0000
334@@ -7,7 +7,7 @@
335 msgstr ""
336 "Project-Id-Version: ubuntu-docviewer-app\n"
337 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
338-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
339+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
340 "PO-Revision-Date: 2015-03-04 11:20+0000\n"
341 "Last-Translator: David Planella <david.planella@ubuntu.com>\n"
342 "Language-Team: Catalan <ca@li.org>\n"
343@@ -15,28 +15,8 @@
344 "Content-Type: text/plain; charset=UTF-8\n"
345 "Content-Transfer-Encoding: 8bit\n"
346 "Plural-Forms: nplurals=2; plural=n != 1;\n"
347-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
348-"X-Generator: Launchpad (build 17493)\n"
349-
350-#. TRANSLATORS: This string is used for renaming a copied file,
351-#. when a file with the same name already exists in user's
352-#. Documents folder.
353-#.
354-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
355-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
356-#.
357-#. where "2" is given by the argument "%1"
358-#.
359-#: ../src/app/content-communicator.cpp:105
360-#, qt-format
361-msgid "copy %1"
362-msgstr ""
363-
364-#: ../src/app/docviewer-application.cpp:164
365-#: ../src/app/qml/documentPage/DocumentPage.qml:25
366-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
367-msgid "Document Viewer"
368-msgstr "Visualitzador de documents"
369+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
370+"X-Generator: Launchpad (build 17423)\n"
371
372 #: ../src/app/qml/common/DetailsPage.qml:27
373 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
374@@ -234,6 +214,11 @@
375 msgid "Even earlier..."
376 msgstr ""
377
378+#: ../src/app/qml/documentPage/DocumentPage.qml:25
379+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
380+msgid "Document Viewer"
381+msgstr "Visualitzador de documents"
382+
383 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
384 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
385 msgid "Switch to single column list"
386@@ -257,12 +242,12 @@
387 msgstr "Selecciona-ho tot"
388
389 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
390-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
391+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
392 #: ../src/app/qml/pdfView/PdfView.qml:37
393 msgid "Contents"
394 msgstr "Contingut"
395
396-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
397+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
398 msgid "Hide table of contents"
399 msgstr ""
400
401@@ -309,16 +294,16 @@
402 msgid "Loading..."
403 msgstr ""
404
405-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
406+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
407 msgid "Document successfully imported!"
408 msgid_plural "Documents successfully imported!"
409 msgstr[0] ""
410 msgstr[1] ""
411
412-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
413+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
414 msgid "Open"
415 msgstr ""
416
417-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
418+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
419 msgid "documents;viewer;pdf;reader;"
420 msgstr ""
421
422=== modified file 'po/com.ubuntu.docviewer.pot'
423--- po/com.ubuntu.docviewer.pot 2015-05-04 20:14:41 +0000
424+++ po/com.ubuntu.docviewer.pot 2015-05-18 14:00:46 +0000
425@@ -8,7 +8,7 @@
426 msgstr ""
427 "Project-Id-Version: \n"
428 "Report-Msgid-Bugs-To: \n"
429-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
430+"POT-Creation-Date: 2015-05-18 15:59+0200\n"
431 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
432 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
433 "Language-Team: LANGUAGE <LL@li.org>\n"
434@@ -32,9 +32,9 @@
435 msgid "copy %1"
436 msgstr ""
437
438-#: ../src/app/docviewer-application.cpp:164
439+#: ../src/app/docviewer-application.cpp:171
440 #: ../src/app/qml/documentPage/DocumentPage.qml:25
441-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
442+#: /home/stefano/tmp/build-plugins-renaming-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
443 msgid "Document Viewer"
444 msgstr ""
445
446@@ -214,23 +214,23 @@
447 msgid "dd-MM-yyyy hh:mm"
448 msgstr ""
449
450-#: ../src/app/qml/documentPage/DocumentListView.qml:135
451+#: ../src/app/qml/documentPage/DocumentListView.qml:136
452 msgid "Today"
453 msgstr ""
454
455-#: ../src/app/qml/documentPage/DocumentListView.qml:138
456+#: ../src/app/qml/documentPage/DocumentListView.qml:139
457 msgid "Yesterday"
458 msgstr ""
459
460-#: ../src/app/qml/documentPage/DocumentListView.qml:141
461+#: ../src/app/qml/documentPage/DocumentListView.qml:142
462 msgid "Earlier this week"
463 msgstr ""
464
465-#: ../src/app/qml/documentPage/DocumentListView.qml:144
466+#: ../src/app/qml/documentPage/DocumentListView.qml:145
467 msgid "Earlier this month"
468 msgstr ""
469
470-#: ../src/app/qml/documentPage/DocumentListView.qml:146
471+#: ../src/app/qml/documentPage/DocumentListView.qml:147
472 msgid "Even earlier..."
473 msgstr ""
474
475@@ -309,16 +309,16 @@
476 msgid "Loading..."
477 msgstr ""
478
479-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
480+#: ../src/app/qml/ubuntu-docviewer-app.qml:202
481 msgid "Document successfully imported!"
482 msgid_plural "Documents successfully imported!"
483 msgstr[0] ""
484 msgstr[1] ""
485
486-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
487+#: ../src/app/qml/ubuntu-docviewer-app.qml:205
488 msgid "Open"
489 msgstr ""
490
491-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
492+#: /home/stefano/tmp/build-plugins-renaming-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
493 msgid "documents;viewer;pdf;reader;"
494 msgstr ""
495
496=== modified file 'po/cs.po'
497--- po/cs.po 2015-05-16 05:39:21 +0000
498+++ po/cs.po 2015-05-18 14:00:46 +0000
499@@ -7,7 +7,7 @@
500 msgstr ""
501 "Project-Id-Version: ubuntu-docviewer-app\n"
502 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
503-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
504+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
505 "PO-Revision-Date: 2015-03-04 13:53+0000\n"
506 "Last-Translator: Vojtěch Daněk <vdanek@outlook.com>\n"
507 "Language-Team: Czech <cs@li.org>\n"
508@@ -15,28 +15,8 @@
509 "Content-Type: text/plain; charset=UTF-8\n"
510 "Content-Transfer-Encoding: 8bit\n"
511 "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
512-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
513-"X-Generator: Launchpad (build 17493)\n"
514-
515-#. TRANSLATORS: This string is used for renaming a copied file,
516-#. when a file with the same name already exists in user's
517-#. Documents folder.
518-#.
519-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
520-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
521-#.
522-#. where "2" is given by the argument "%1"
523-#.
524-#: ../src/app/content-communicator.cpp:105
525-#, qt-format
526-msgid "copy %1"
527-msgstr ""
528-
529-#: ../src/app/docviewer-application.cpp:164
530-#: ../src/app/qml/documentPage/DocumentPage.qml:25
531-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
532-msgid "Document Viewer"
533-msgstr ""
534+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
535+"X-Generator: Launchpad (build 17423)\n"
536
537 #: ../src/app/qml/common/DetailsPage.qml:27
538 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
539@@ -234,6 +214,11 @@
540 msgid "Even earlier..."
541 msgstr ""
542
543+#: ../src/app/qml/documentPage/DocumentPage.qml:25
544+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
545+msgid "Document Viewer"
546+msgstr ""
547+
548 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
549 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
550 msgid "Switch to single column list"
551@@ -257,12 +242,12 @@
552 msgstr ""
553
554 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
555-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
556+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
557 #: ../src/app/qml/pdfView/PdfView.qml:37
558 msgid "Contents"
559 msgstr ""
560
561-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
562+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
563 msgid "Hide table of contents"
564 msgstr ""
565
566@@ -309,16 +294,16 @@
567 msgid "Loading..."
568 msgstr ""
569
570-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
571+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
572 msgid "Document successfully imported!"
573 msgid_plural "Documents successfully imported!"
574 msgstr[0] ""
575 msgstr[1] ""
576
577-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
578+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
579 msgid "Open"
580 msgstr ""
581
582-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
583+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
584 msgid "documents;viewer;pdf;reader;"
585 msgstr ""
586
587=== modified file 'po/da.po'
588--- po/da.po 2015-05-16 05:39:21 +0000
589+++ po/da.po 2015-05-18 14:00:46 +0000
590@@ -7,7 +7,7 @@
591 msgstr ""
592 "Project-Id-Version: ubuntu-docviewer-app\n"
593 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
594-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
595+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
596 "PO-Revision-Date: 2015-03-26 14:46+0000\n"
597 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
598 "Language-Team: Danish <da@li.org>\n"
599@@ -15,28 +15,8 @@
600 "Content-Type: text/plain; charset=UTF-8\n"
601 "Content-Transfer-Encoding: 8bit\n"
602 "Plural-Forms: nplurals=2; plural=n != 1;\n"
603-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
604-"X-Generator: Launchpad (build 17493)\n"
605-
606-#. TRANSLATORS: This string is used for renaming a copied file,
607-#. when a file with the same name already exists in user's
608-#. Documents folder.
609-#.
610-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
611-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
612-#.
613-#. where "2" is given by the argument "%1"
614-#.
615-#: ../src/app/content-communicator.cpp:105
616-#, qt-format
617-msgid "copy %1"
618-msgstr ""
619-
620-#: ../src/app/docviewer-application.cpp:164
621-#: ../src/app/qml/documentPage/DocumentPage.qml:25
622-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
623-msgid "Document Viewer"
624-msgstr ""
625+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
626+"X-Generator: Launchpad (build 17423)\n"
627
628 #: ../src/app/qml/common/DetailsPage.qml:27
629 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
630@@ -234,6 +214,11 @@
631 msgid "Even earlier..."
632 msgstr ""
633
634+#: ../src/app/qml/documentPage/DocumentPage.qml:25
635+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
636+msgid "Document Viewer"
637+msgstr ""
638+
639 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
640 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
641 msgid "Switch to single column list"
642@@ -257,12 +242,12 @@
643 msgstr ""
644
645 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
646-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
647+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
648 #: ../src/app/qml/pdfView/PdfView.qml:37
649 msgid "Contents"
650 msgstr ""
651
652-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
653+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
654 msgid "Hide table of contents"
655 msgstr ""
656
657@@ -309,16 +294,16 @@
658 msgid "Loading..."
659 msgstr ""
660
661-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
662+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
663 msgid "Document successfully imported!"
664 msgid_plural "Documents successfully imported!"
665 msgstr[0] ""
666 msgstr[1] ""
667
668-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
669+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
670 msgid "Open"
671 msgstr ""
672
673-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
674+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
675 msgid "documents;viewer;pdf;reader;"
676 msgstr ""
677
678=== modified file 'po/de.po'
679--- po/de.po 2015-05-16 05:39:21 +0000
680+++ po/de.po 2015-05-18 14:00:46 +0000
681@@ -7,36 +7,16 @@
682 msgstr ""
683 "Project-Id-Version: ubuntu-docviewer-app\n"
684 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
685-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
686-"PO-Revision-Date: 2015-05-06 14:37+0000\n"
687-"Last-Translator: August Geyler <post@august-geyler.de>\n"
688+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
689+"PO-Revision-Date: 2015-03-07 13:50+0000\n"
690+"Last-Translator: Phillip Sz <Unknown>\n"
691 "Language-Team: German <de@li.org>\n"
692 "MIME-Version: 1.0\n"
693 "Content-Type: text/plain; charset=UTF-8\n"
694 "Content-Transfer-Encoding: 8bit\n"
695 "Plural-Forms: nplurals=2; plural=n != 1;\n"
696-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
697-"X-Generator: Launchpad (build 17493)\n"
698-
699-#. TRANSLATORS: This string is used for renaming a copied file,
700-#. when a file with the same name already exists in user's
701-#. Documents folder.
702-#.
703-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
704-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
705-#.
706-#. where "2" is given by the argument "%1"
707-#.
708-#: ../src/app/content-communicator.cpp:105
709-#, qt-format
710-msgid "copy %1"
711-msgstr "Kopie %1"
712-
713-#: ../src/app/docviewer-application.cpp:164
714-#: ../src/app/qml/documentPage/DocumentPage.qml:25
715-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
716-msgid "Document Viewer"
717-msgstr "Dokumentenbetrachter"
718+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
719+"X-Generator: Launchpad (build 17423)\n"
720
721 #: ../src/app/qml/common/DetailsPage.qml:27
722 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
723@@ -83,27 +63,27 @@
724
725 #: ../src/app/qml/common/PickImportedDialog.qml:29
726 msgid "Multiple documents imported"
727-msgstr "Mehrere Dokumente importiert"
728+msgstr ""
729
730 #: ../src/app/qml/common/PickImportedDialog.qml:30
731 msgid "Choose which one to open:"
732-msgstr "Ein zu öffnendes Dokument auswählen:"
733+msgstr ""
734
735 #: ../src/app/qml/common/RejectedImportDialog.qml:28
736 msgid "File not supported"
737 msgid_plural "Files not supported"
738-msgstr[0] "Datei wird nicht unterstützt"
739-msgstr[1] "Dateien werden nicht unterstützt"
740+msgstr[0] ""
741+msgstr[1] ""
742
743 #: ../src/app/qml/common/RejectedImportDialog.qml:29
744 msgid "Following document has not been imported:"
745 msgid_plural "Following documents have not been imported:"
746-msgstr[0] "Das folgende Dokument ist nicht importiert worden:"
747-msgstr[1] "Die folgenden Dokumente sind nicht importiert worden:"
748+msgstr[0] ""
749+msgstr[1] ""
750
751 #: ../src/app/qml/common/ToastWithAction.qml:97
752 msgid "Dismiss"
753-msgstr "Verwerfen"
754+msgstr ""
755
756 #: ../src/app/qml/common/UnknownTypeDialog.qml:26
757 msgid "Unknown file type"
758@@ -114,8 +94,6 @@
759 "Sorry but we can't find a way to display this file. Do you want to open it "
760 "as a plain text?"
761 msgstr ""
762-"Leider kann diese Datei nicht angezeigt werden. Möchten Sie sie als "
763-"einfachen Text öffnen?"
764
765 #: ../src/app/qml/common/UnknownTypeDialog.qml:29
766 msgid "Yes"
767@@ -147,7 +125,7 @@
768 #: ../src/app/qml/common/utils.js:33
769 #, qt-format
770 msgid "%1 byte"
771-msgstr "%1 Byte"
772+msgstr "%1 byte"
773
774 #: ../src/app/qml/documentPage/DeleteFileDialog.qml:28
775 msgid "Delete file"
776@@ -157,16 +135,14 @@
777 #, qt-format
778 msgid "Delete %1 file"
779 msgid_plural "Delete %1 files"
780-msgstr[0] "%1 Datei löschen"
781-msgstr[1] "%1 Dateien löschen"
782+msgstr[0] "Datei %1 löschen"
783+msgstr[1] "Dateien %1 löschen"
784
785 #: ../src/app/qml/documentPage/DeleteFileDialog.qml:30
786 #: ../src/app/qml/documentPage/DeleteFileDialog.qml:31
787 msgid "Are you sure you want to permanently delete this file?"
788 msgid_plural "Are you sure you want to permanently delete these files?"
789-msgstr[0] "Sind Sie sicher, dass Sie diese Datei dauerhaft löschen möchten?"
790-msgstr[1] ""
791-"Sind Sie sicher, dass Sie diese Dateien dauerhaft löschen möchten?"
792+msgstr[0] "Sind Sie sicher, dass Sie diese Datei permanent löschen möchten?"
793
794 #: ../src/app/qml/documentPage/DeleteFileDialog.qml:36
795 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:27
796@@ -188,8 +164,6 @@
797 "Connect your device to any computer and simply drag files to the Documents "
798 "folder."
799 msgstr ""
800-"Verbinden Sie Ihr Gerät mit einem Rechner und ziehen Sie die Dateien ganz "
801-"einfach in den Dokumentenordner."
802
803 #. TRANSLATORS: %1 refers to a time formatted as Locale.ShortFormat (e.g. hh:mm). It depends on system settings.
804 #. http://qt-project.org/doc/qt-4.8/qlocale.html#FormatType-enum
805@@ -210,14 +184,14 @@
806 #: ../src/app/qml/documentPage/DocumentGridDelegate.qml:45
807 #: ../src/app/qml/documentPage/DocumentListDelegate.qml:35
808 msgid "dddd, hh:mm"
809-msgstr "dddd, hh:mm"
810+msgstr ""
811
812 #. TRANSLATORS: this is a datetime formatting string,
813 #. see http://qt-project.org/doc/qt-5/qml-qtqml-date.html#details for valid expressions.
814 #: ../src/app/qml/documentPage/DocumentGridDelegate.qml:49
815 #: ../src/app/qml/documentPage/DocumentListDelegate.qml:39
816 msgid "dd-MM-yyyy hh:mm"
817-msgstr "dd.MM.yyyy hh:mm"
818+msgstr ""
819
820 #: ../src/app/qml/documentPage/DocumentListView.qml:135
821 msgid "Today"
822@@ -229,25 +203,30 @@
823
824 #: ../src/app/qml/documentPage/DocumentListView.qml:141
825 msgid "Earlier this week"
826-msgstr "Anfang der Woche"
827+msgstr ""
828
829 #: ../src/app/qml/documentPage/DocumentListView.qml:144
830 msgid "Earlier this month"
831-msgstr "Anfang des Monats"
832+msgstr ""
833
834 #: ../src/app/qml/documentPage/DocumentListView.qml:146
835 msgid "Even earlier..."
836-msgstr "Noch früher …"
837+msgstr ""
838+
839+#: ../src/app/qml/documentPage/DocumentPage.qml:25
840+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
841+msgid "Document Viewer"
842+msgstr "Dokumentenbetrachter"
843
844 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
845 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
846 msgid "Switch to single column list"
847-msgstr "Zur Listenansicht wechseln"
848+msgstr ""
849
850 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
851 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
852 msgid "Switch to grid"
853-msgstr "Zur Rasteransicht wechseln"
854+msgstr ""
855
856 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:43
857 msgid "Pick"
858@@ -262,14 +241,14 @@
859 msgstr "Alle auswählen"
860
861 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
862-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
863+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
864 #: ../src/app/qml/pdfView/PdfView.qml:37
865 msgid "Contents"
866 msgstr "Inhalte"
867
868-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
869+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
870 msgid "Hide table of contents"
871-msgstr "Inhaltsverzeichnis ausblenden"
872+msgstr ""
873
874 #. TRANSLATORS: the first argument (%1) refers to the page currently shown on the screen,
875 #. while the second one (%2) refers to the total pages count.
876@@ -285,26 +264,26 @@
877
878 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:85
879 msgid "Go to page..."
880-msgstr "Zu Seite gehen …"
881+msgstr ""
882
883 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:91
884 #: ../src/app/qml/textView/TextViewDefaultHeader.qml:77
885 msgid "Disable night mode"
886-msgstr "Nachtmodus deaktivieren"
887+msgstr ""
888
889 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:91
890 #: ../src/app/qml/textView/TextViewDefaultHeader.qml:77
891 msgid "Enable night mode"
892-msgstr "Nachtmodus aktivieren"
893+msgstr ""
894
895 #: ../src/app/qml/pdfView/PdfViewGotoDialog.qml:25
896 msgid "Go to page"
897-msgstr "Zu Seite gehen"
898+msgstr "Gehe zu Seite"
899
900 #: ../src/app/qml/pdfView/PdfViewGotoDialog.qml:26
901 #, qt-format
902 msgid "Choose a page between 1 and %1"
903-msgstr "Bitte eine Seite zwischen 1 und %1 auswählen"
904+msgstr ""
905
906 #: ../src/app/qml/pdfView/PdfViewGotoDialog.qml:44
907 msgid "GO!"
908@@ -312,18 +291,18 @@
909
910 #: ../src/app/qml/textView/TextView.qml:42
911 msgid "Loading..."
912-msgstr "Wird geladen …"
913+msgstr "Laden …"
914
915-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
916+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
917 msgid "Document successfully imported!"
918 msgid_plural "Documents successfully imported!"
919-msgstr[0] "Dokument erfolgreich importiert!"
920-msgstr[1] "Dokumente erfolgreich importiert!"
921+msgstr[0] ""
922+msgstr[1] ""
923
924-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
925+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
926 msgid "Open"
927-msgstr "Öffnen"
928+msgstr ""
929
930-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
931+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
932 msgid "documents;viewer;pdf;reader;"
933-msgstr "Dokumente;Betrachter;PDF;Leser;Dokumentenbetrachter;PDF-Betrachter"
934+msgstr ""
935
936=== modified file 'po/el.po'
937--- po/el.po 2015-05-16 05:39:21 +0000
938+++ po/el.po 2015-05-18 14:00:46 +0000
939@@ -7,7 +7,7 @@
940 msgstr ""
941 "Project-Id-Version: ubuntu-docviewer-app\n"
942 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
943-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
944+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
945 "PO-Revision-Date: 2015-03-08 18:24+0000\n"
946 "Last-Translator: Aggelos Arnaoutis <angelosarn@hotmail.com>\n"
947 "Language-Team: Greek <el@li.org>\n"
948@@ -15,28 +15,8 @@
949 "Content-Type: text/plain; charset=UTF-8\n"
950 "Content-Transfer-Encoding: 8bit\n"
951 "Plural-Forms: nplurals=2; plural=n != 1;\n"
952-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
953-"X-Generator: Launchpad (build 17493)\n"
954-
955-#. TRANSLATORS: This string is used for renaming a copied file,
956-#. when a file with the same name already exists in user's
957-#. Documents folder.
958-#.
959-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
960-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
961-#.
962-#. where "2" is given by the argument "%1"
963-#.
964-#: ../src/app/content-communicator.cpp:105
965-#, qt-format
966-msgid "copy %1"
967-msgstr ""
968-
969-#: ../src/app/docviewer-application.cpp:164
970-#: ../src/app/qml/documentPage/DocumentPage.qml:25
971-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
972-msgid "Document Viewer"
973-msgstr "Προβολέας εγγράφων"
974+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
975+"X-Generator: Launchpad (build 17423)\n"
976
977 #: ../src/app/qml/common/DetailsPage.qml:27
978 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
979@@ -238,6 +218,11 @@
980 msgid "Even earlier..."
981 msgstr "Ακόμα νωρίτερα"
982
983+#: ../src/app/qml/documentPage/DocumentPage.qml:25
984+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
985+msgid "Document Viewer"
986+msgstr "Προβολέας εγγράφων"
987+
988 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
989 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
990 msgid "Switch to single column list"
991@@ -261,12 +246,12 @@
992 msgstr "Επιλογή όλων"
993
994 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
995-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
996+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
997 #: ../src/app/qml/pdfView/PdfView.qml:37
998 msgid "Contents"
999 msgstr "Περιεχόμενα"
1000
1001-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
1002+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1003 msgid "Hide table of contents"
1004 msgstr ""
1005
1006@@ -313,16 +298,16 @@
1007 msgid "Loading..."
1008 msgstr "Φόρτωση..."
1009
1010-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
1011+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
1012 msgid "Document successfully imported!"
1013 msgid_plural "Documents successfully imported!"
1014 msgstr[0] ""
1015 msgstr[1] ""
1016
1017-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
1018+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
1019 msgid "Open"
1020 msgstr ""
1021
1022-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1023+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1024 msgid "documents;viewer;pdf;reader;"
1025 msgstr ""
1026
1027=== modified file 'po/en_AU.po'
1028--- po/en_AU.po 2015-05-16 05:39:21 +0000
1029+++ po/en_AU.po 2015-05-18 14:00:46 +0000
1030@@ -7,7 +7,7 @@
1031 msgstr ""
1032 "Project-Id-Version: ubuntu-docviewer-app\n"
1033 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
1034-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
1035+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
1036 "PO-Revision-Date: 2015-03-04 11:15+0000\n"
1037 "Last-Translator: Joel Addison <jaddi27@gmail.com>\n"
1038 "Language-Team: English (Australia) <en_AU@li.org>\n"
1039@@ -15,28 +15,8 @@
1040 "Content-Type: text/plain; charset=UTF-8\n"
1041 "Content-Transfer-Encoding: 8bit\n"
1042 "Plural-Forms: nplurals=2; plural=n != 1;\n"
1043-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
1044-"X-Generator: Launchpad (build 17493)\n"
1045-
1046-#. TRANSLATORS: This string is used for renaming a copied file,
1047-#. when a file with the same name already exists in user's
1048-#. Documents folder.
1049-#.
1050-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
1051-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
1052-#.
1053-#. where "2" is given by the argument "%1"
1054-#.
1055-#: ../src/app/content-communicator.cpp:105
1056-#, qt-format
1057-msgid "copy %1"
1058-msgstr ""
1059-
1060-#: ../src/app/docviewer-application.cpp:164
1061-#: ../src/app/qml/documentPage/DocumentPage.qml:25
1062-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1063-msgid "Document Viewer"
1064-msgstr "Document Viewer"
1065+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
1066+"X-Generator: Launchpad (build 17423)\n"
1067
1068 #: ../src/app/qml/common/DetailsPage.qml:27
1069 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
1070@@ -238,6 +218,11 @@
1071 msgid "Even earlier..."
1072 msgstr "Even earlier..."
1073
1074+#: ../src/app/qml/documentPage/DocumentPage.qml:25
1075+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1076+msgid "Document Viewer"
1077+msgstr "Document Viewer"
1078+
1079 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
1080 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
1081 msgid "Switch to single column list"
1082@@ -261,12 +246,12 @@
1083 msgstr "Select All"
1084
1085 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
1086-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1087+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
1088 #: ../src/app/qml/pdfView/PdfView.qml:37
1089 msgid "Contents"
1090 msgstr "Contents"
1091
1092-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
1093+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1094 msgid "Hide table of contents"
1095 msgstr ""
1096
1097@@ -313,16 +298,16 @@
1098 msgid "Loading..."
1099 msgstr "Loading..."
1100
1101-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
1102+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
1103 msgid "Document successfully imported!"
1104 msgid_plural "Documents successfully imported!"
1105 msgstr[0] ""
1106 msgstr[1] ""
1107
1108-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
1109+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
1110 msgid "Open"
1111 msgstr ""
1112
1113-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1114+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1115 msgid "documents;viewer;pdf;reader;"
1116 msgstr "documents;viewer;pdf;reader;"
1117
1118=== modified file 'po/en_GB.po'
1119--- po/en_GB.po 2015-05-16 05:39:21 +0000
1120+++ po/en_GB.po 2015-05-18 14:00:46 +0000
1121@@ -7,36 +7,16 @@
1122 msgstr ""
1123 "Project-Id-Version: ubuntu-docviewer-app\n"
1124 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
1125-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
1126-"PO-Revision-Date: 2015-04-17 13:29+0000\n"
1127+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
1128+"PO-Revision-Date: 2015-04-13 13:05+0000\n"
1129 "Last-Translator: Andi Chandler <Unknown>\n"
1130 "Language-Team: English (United Kingdom) <en_GB@li.org>\n"
1131 "MIME-Version: 1.0\n"
1132 "Content-Type: text/plain; charset=UTF-8\n"
1133 "Content-Transfer-Encoding: 8bit\n"
1134 "Plural-Forms: nplurals=2; plural=n != 1;\n"
1135-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
1136-"X-Generator: Launchpad (build 17493)\n"
1137-
1138-#. TRANSLATORS: This string is used for renaming a copied file,
1139-#. when a file with the same name already exists in user's
1140-#. Documents folder.
1141-#.
1142-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
1143-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
1144-#.
1145-#. where "2" is given by the argument "%1"
1146-#.
1147-#: ../src/app/content-communicator.cpp:105
1148-#, qt-format
1149-msgid "copy %1"
1150-msgstr ""
1151-
1152-#: ../src/app/docviewer-application.cpp:164
1153-#: ../src/app/qml/documentPage/DocumentPage.qml:25
1154-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1155-msgid "Document Viewer"
1156-msgstr "Document Viewer"
1157+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
1158+"X-Generator: Launchpad (build 17423)\n"
1159
1160 #: ../src/app/qml/common/DetailsPage.qml:27
1161 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
1162@@ -83,27 +63,27 @@
1163
1164 #: ../src/app/qml/common/PickImportedDialog.qml:29
1165 msgid "Multiple documents imported"
1166-msgstr "Multiple documents imported"
1167+msgstr ""
1168
1169 #: ../src/app/qml/common/PickImportedDialog.qml:30
1170 msgid "Choose which one to open:"
1171-msgstr "Choose which one to open:"
1172+msgstr ""
1173
1174 #: ../src/app/qml/common/RejectedImportDialog.qml:28
1175 msgid "File not supported"
1176 msgid_plural "Files not supported"
1177-msgstr[0] "File not supported"
1178-msgstr[1] "Files not supported"
1179+msgstr[0] ""
1180+msgstr[1] ""
1181
1182 #: ../src/app/qml/common/RejectedImportDialog.qml:29
1183 msgid "Following document has not been imported:"
1184 msgid_plural "Following documents have not been imported:"
1185-msgstr[0] "Following document has not been imported:"
1186-msgstr[1] "Following documents have not been imported:"
1187+msgstr[0] ""
1188+msgstr[1] ""
1189
1190 #: ../src/app/qml/common/ToastWithAction.qml:97
1191 msgid "Dismiss"
1192-msgstr "Dismiss"
1193+msgstr ""
1194
1195 #: ../src/app/qml/common/UnknownTypeDialog.qml:26
1196 msgid "Unknown file type"
1197@@ -238,6 +218,11 @@
1198 msgid "Even earlier..."
1199 msgstr "Even earlier..."
1200
1201+#: ../src/app/qml/documentPage/DocumentPage.qml:25
1202+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1203+msgid "Document Viewer"
1204+msgstr "Document Viewer"
1205+
1206 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
1207 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
1208 msgid "Switch to single column list"
1209@@ -261,12 +246,12 @@
1210 msgstr "Select All"
1211
1212 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
1213-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1214+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
1215 #: ../src/app/qml/pdfView/PdfView.qml:37
1216 msgid "Contents"
1217 msgstr "Contents"
1218
1219-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
1220+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1221 msgid "Hide table of contents"
1222 msgstr "Hide table of contents"
1223
1224@@ -313,16 +298,16 @@
1225 msgid "Loading..."
1226 msgstr "Loading..."
1227
1228-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
1229+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
1230 msgid "Document successfully imported!"
1231 msgid_plural "Documents successfully imported!"
1232-msgstr[0] "Document successfully imported!"
1233-msgstr[1] "Documents successfully imported!"
1234+msgstr[0] ""
1235+msgstr[1] ""
1236
1237-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
1238+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
1239 msgid "Open"
1240-msgstr "Open"
1241+msgstr ""
1242
1243-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1244+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1245 msgid "documents;viewer;pdf;reader;"
1246 msgstr "documents;viewer;pdf;reader;"
1247
1248=== modified file 'po/eo.po'
1249--- po/eo.po 2015-05-16 05:39:21 +0000
1250+++ po/eo.po 2015-05-18 14:00:46 +0000
1251@@ -7,7 +7,7 @@
1252 msgstr ""
1253 "Project-Id-Version: ubuntu-docviewer-app\n"
1254 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
1255-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
1256+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
1257 "PO-Revision-Date: 2015-03-03 23:59+0000\n"
1258 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1259 "Language-Team: Esperanto <eo@li.org>\n"
1260@@ -15,28 +15,8 @@
1261 "Content-Type: text/plain; charset=UTF-8\n"
1262 "Content-Transfer-Encoding: 8bit\n"
1263 "Plural-Forms: nplurals=2; plural=n != 1;\n"
1264-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
1265-"X-Generator: Launchpad (build 17493)\n"
1266-
1267-#. TRANSLATORS: This string is used for renaming a copied file,
1268-#. when a file with the same name already exists in user's
1269-#. Documents folder.
1270-#.
1271-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
1272-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
1273-#.
1274-#. where "2" is given by the argument "%1"
1275-#.
1276-#: ../src/app/content-communicator.cpp:105
1277-#, qt-format
1278-msgid "copy %1"
1279-msgstr ""
1280-
1281-#: ../src/app/docviewer-application.cpp:164
1282-#: ../src/app/qml/documentPage/DocumentPage.qml:25
1283-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1284-msgid "Document Viewer"
1285-msgstr ""
1286+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
1287+"X-Generator: Launchpad (build 17423)\n"
1288
1289 #: ../src/app/qml/common/DetailsPage.qml:27
1290 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
1291@@ -234,6 +214,11 @@
1292 msgid "Even earlier..."
1293 msgstr ""
1294
1295+#: ../src/app/qml/documentPage/DocumentPage.qml:25
1296+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1297+msgid "Document Viewer"
1298+msgstr ""
1299+
1300 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
1301 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
1302 msgid "Switch to single column list"
1303@@ -257,12 +242,12 @@
1304 msgstr ""
1305
1306 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
1307-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1308+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
1309 #: ../src/app/qml/pdfView/PdfView.qml:37
1310 msgid "Contents"
1311 msgstr ""
1312
1313-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
1314+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1315 msgid "Hide table of contents"
1316 msgstr ""
1317
1318@@ -309,16 +294,16 @@
1319 msgid "Loading..."
1320 msgstr ""
1321
1322-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
1323+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
1324 msgid "Document successfully imported!"
1325 msgid_plural "Documents successfully imported!"
1326 msgstr[0] ""
1327 msgstr[1] ""
1328
1329-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
1330+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
1331 msgid "Open"
1332 msgstr ""
1333
1334-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1335+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1336 msgid "documents;viewer;pdf;reader;"
1337 msgstr ""
1338
1339=== modified file 'po/es.po'
1340--- po/es.po 2015-05-16 05:39:21 +0000
1341+++ po/es.po 2015-05-18 14:00:46 +0000
1342@@ -7,7 +7,7 @@
1343 msgstr ""
1344 "Project-Id-Version: ubuntu-docviewer-app\n"
1345 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
1346-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
1347+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
1348 "PO-Revision-Date: 2015-03-05 17:59+0000\n"
1349 "Last-Translator: Adolfo Jayme <fitoschido@gmail.com>\n"
1350 "Language-Team: Spanish <es@li.org>\n"
1351@@ -15,28 +15,8 @@
1352 "Content-Type: text/plain; charset=UTF-8\n"
1353 "Content-Transfer-Encoding: 8bit\n"
1354 "Plural-Forms: nplurals=2; plural=n != 1;\n"
1355-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
1356-"X-Generator: Launchpad (build 17493)\n"
1357-
1358-#. TRANSLATORS: This string is used for renaming a copied file,
1359-#. when a file with the same name already exists in user's
1360-#. Documents folder.
1361-#.
1362-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
1363-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
1364-#.
1365-#. where "2" is given by the argument "%1"
1366-#.
1367-#: ../src/app/content-communicator.cpp:105
1368-#, qt-format
1369-msgid "copy %1"
1370-msgstr ""
1371-
1372-#: ../src/app/docviewer-application.cpp:164
1373-#: ../src/app/qml/documentPage/DocumentPage.qml:25
1374-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1375-msgid "Document Viewer"
1376-msgstr "Visor de documentos"
1377+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
1378+"X-Generator: Launchpad (build 17423)\n"
1379
1380 #: ../src/app/qml/common/DetailsPage.qml:27
1381 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
1382@@ -237,6 +217,11 @@
1383 msgid "Even earlier..."
1384 msgstr "Aún antes…"
1385
1386+#: ../src/app/qml/documentPage/DocumentPage.qml:25
1387+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1388+msgid "Document Viewer"
1389+msgstr "Visor de documentos"
1390+
1391 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
1392 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
1393 msgid "Switch to single column list"
1394@@ -260,12 +245,12 @@
1395 msgstr "Selecccionar todo"
1396
1397 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
1398-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1399+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
1400 #: ../src/app/qml/pdfView/PdfView.qml:37
1401 msgid "Contents"
1402 msgstr "Contenido"
1403
1404-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
1405+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1406 msgid "Hide table of contents"
1407 msgstr ""
1408
1409@@ -312,16 +297,16 @@
1410 msgid "Loading..."
1411 msgstr "Cargando…"
1412
1413-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
1414+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
1415 msgid "Document successfully imported!"
1416 msgid_plural "Documents successfully imported!"
1417 msgstr[0] ""
1418 msgstr[1] ""
1419
1420-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
1421+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
1422 msgid "Open"
1423 msgstr ""
1424
1425-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1426+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1427 msgid "documents;viewer;pdf;reader;"
1428 msgstr "documentos;visor;pdf;lector;"
1429
1430=== modified file 'po/eu.po'
1431--- po/eu.po 2015-05-16 05:39:21 +0000
1432+++ po/eu.po 2015-05-18 14:00:46 +0000
1433@@ -7,7 +7,7 @@
1434 msgstr ""
1435 "Project-Id-Version: ubuntu-docviewer-app\n"
1436 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
1437-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
1438+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
1439 "PO-Revision-Date: 2015-03-23 21:50+0000\n"
1440 "Last-Translator: Asier Iturralde Sarasola <Unknown>\n"
1441 "Language-Team: Basque <eu@li.org>\n"
1442@@ -15,28 +15,8 @@
1443 "Content-Type: text/plain; charset=UTF-8\n"
1444 "Content-Transfer-Encoding: 8bit\n"
1445 "Plural-Forms: nplurals=2; plural=n != 1;\n"
1446-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
1447-"X-Generator: Launchpad (build 17493)\n"
1448-
1449-#. TRANSLATORS: This string is used for renaming a copied file,
1450-#. when a file with the same name already exists in user's
1451-#. Documents folder.
1452-#.
1453-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
1454-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
1455-#.
1456-#. where "2" is given by the argument "%1"
1457-#.
1458-#: ../src/app/content-communicator.cpp:105
1459-#, qt-format
1460-msgid "copy %1"
1461-msgstr ""
1462-
1463-#: ../src/app/docviewer-application.cpp:164
1464-#: ../src/app/qml/documentPage/DocumentPage.qml:25
1465-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1466-msgid "Document Viewer"
1467-msgstr "Dokumentu-ikustailea"
1468+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
1469+"X-Generator: Launchpad (build 17423)\n"
1470
1471 #: ../src/app/qml/common/DetailsPage.qml:27
1472 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
1473@@ -234,6 +214,11 @@
1474 msgid "Even earlier..."
1475 msgstr ""
1476
1477+#: ../src/app/qml/documentPage/DocumentPage.qml:25
1478+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1479+msgid "Document Viewer"
1480+msgstr "Dokumentu-ikustailea"
1481+
1482 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
1483 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
1484 msgid "Switch to single column list"
1485@@ -257,12 +242,12 @@
1486 msgstr "Hautatu dena"
1487
1488 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
1489-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1490+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
1491 #: ../src/app/qml/pdfView/PdfView.qml:37
1492 msgid "Contents"
1493 msgstr "Edukiak"
1494
1495-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
1496+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1497 msgid "Hide table of contents"
1498 msgstr ""
1499
1500@@ -309,16 +294,16 @@
1501 msgid "Loading..."
1502 msgstr "Kargatzen..."
1503
1504-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
1505+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
1506 msgid "Document successfully imported!"
1507 msgid_plural "Documents successfully imported!"
1508 msgstr[0] ""
1509 msgstr[1] ""
1510
1511-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
1512+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
1513 msgid "Open"
1514 msgstr ""
1515
1516-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1517+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1518 msgid "documents;viewer;pdf;reader;"
1519 msgstr "dokumentu;ikustailea;pdf;irakurlea"
1520
1521=== modified file 'po/fi.po'
1522--- po/fi.po 2015-05-16 05:39:21 +0000
1523+++ po/fi.po 2015-05-18 14:00:46 +0000
1524@@ -7,7 +7,7 @@
1525 msgstr ""
1526 "Project-Id-Version: ubuntu-docviewer-app\n"
1527 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
1528-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
1529+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
1530 "PO-Revision-Date: 2015-03-06 06:29+0000\n"
1531 "Last-Translator: Timo Jyrinki <timo.jyrinki@canonical.com>\n"
1532 "Language-Team: Finnish <fi@li.org>\n"
1533@@ -15,28 +15,8 @@
1534 "Content-Type: text/plain; charset=UTF-8\n"
1535 "Content-Transfer-Encoding: 8bit\n"
1536 "Plural-Forms: nplurals=2; plural=n != 1;\n"
1537-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
1538-"X-Generator: Launchpad (build 17493)\n"
1539-
1540-#. TRANSLATORS: This string is used for renaming a copied file,
1541-#. when a file with the same name already exists in user's
1542-#. Documents folder.
1543-#.
1544-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
1545-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
1546-#.
1547-#. where "2" is given by the argument "%1"
1548-#.
1549-#: ../src/app/content-communicator.cpp:105
1550-#, qt-format
1551-msgid "copy %1"
1552-msgstr ""
1553-
1554-#: ../src/app/docviewer-application.cpp:164
1555-#: ../src/app/qml/documentPage/DocumentPage.qml:25
1556-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1557-msgid "Document Viewer"
1558-msgstr "Asiakirjakatselin"
1559+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
1560+"X-Generator: Launchpad (build 17423)\n"
1561
1562 #: ../src/app/qml/common/DetailsPage.qml:27
1563 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
1564@@ -238,6 +218,11 @@
1565 msgid "Even earlier..."
1566 msgstr "Vielä aiemmin..."
1567
1568+#: ../src/app/qml/documentPage/DocumentPage.qml:25
1569+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1570+msgid "Document Viewer"
1571+msgstr "Asiakirjakatselin"
1572+
1573 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
1574 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
1575 msgid "Switch to single column list"
1576@@ -261,12 +246,12 @@
1577 msgstr "Valitse kaikki"
1578
1579 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
1580-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1581+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
1582 #: ../src/app/qml/pdfView/PdfView.qml:37
1583 msgid "Contents"
1584 msgstr "Sisältö"
1585
1586-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
1587+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1588 msgid "Hide table of contents"
1589 msgstr ""
1590
1591@@ -313,16 +298,16 @@
1592 msgid "Loading..."
1593 msgstr "Ladataan..."
1594
1595-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
1596+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
1597 msgid "Document successfully imported!"
1598 msgid_plural "Documents successfully imported!"
1599 msgstr[0] ""
1600 msgstr[1] ""
1601
1602-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
1603+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
1604 msgid "Open"
1605 msgstr ""
1606
1607-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1608+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1609 msgid "documents;viewer;pdf;reader;"
1610 msgstr "documents;viewer;pdf;reader;asiakirjat;dokumentit;katselin;lukija;"
1611
1612=== modified file 'po/fr.po'
1613--- po/fr.po 2015-05-16 05:39:21 +0000
1614+++ po/fr.po 2015-05-18 14:00:46 +0000
1615@@ -7,36 +7,16 @@
1616 msgstr ""
1617 "Project-Id-Version: ubuntu-docviewer-app\n"
1618 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
1619-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
1620-"PO-Revision-Date: 2015-05-10 13:11+0000\n"
1621-"Last-Translator: Yuri <Unknown>\n"
1622+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
1623+"PO-Revision-Date: 2015-04-10 00:23+0000\n"
1624+"Last-Translator: Anne <anneonyme017@gmail.com>\n"
1625 "Language-Team: French <fr@li.org>\n"
1626 "MIME-Version: 1.0\n"
1627 "Content-Type: text/plain; charset=UTF-8\n"
1628 "Content-Transfer-Encoding: 8bit\n"
1629 "Plural-Forms: nplurals=2; plural=n > 1;\n"
1630-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
1631-"X-Generator: Launchpad (build 17493)\n"
1632-
1633-#. TRANSLATORS: This string is used for renaming a copied file,
1634-#. when a file with the same name already exists in user's
1635-#. Documents folder.
1636-#.
1637-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
1638-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
1639-#.
1640-#. where "2" is given by the argument "%1"
1641-#.
1642-#: ../src/app/content-communicator.cpp:105
1643-#, qt-format
1644-msgid "copy %1"
1645-msgstr "copie %1"
1646-
1647-#: ../src/app/docviewer-application.cpp:164
1648-#: ../src/app/qml/documentPage/DocumentPage.qml:25
1649-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1650-msgid "Document Viewer"
1651-msgstr "Visionneuse de document"
1652+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
1653+"X-Generator: Launchpad (build 17423)\n"
1654
1655 #: ../src/app/qml/common/DetailsPage.qml:27
1656 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
1657@@ -83,27 +63,27 @@
1658
1659 #: ../src/app/qml/common/PickImportedDialog.qml:29
1660 msgid "Multiple documents imported"
1661-msgstr "Plusieurs documents ont été importés"
1662+msgstr ""
1663
1664 #: ../src/app/qml/common/PickImportedDialog.qml:30
1665 msgid "Choose which one to open:"
1666-msgstr "Choisir lequel ouvrir :"
1667+msgstr ""
1668
1669 #: ../src/app/qml/common/RejectedImportDialog.qml:28
1670 msgid "File not supported"
1671 msgid_plural "Files not supported"
1672-msgstr[0] "Fichier non pris en charge"
1673-msgstr[1] "Fichiers non pris en charge"
1674+msgstr[0] ""
1675+msgstr[1] ""
1676
1677 #: ../src/app/qml/common/RejectedImportDialog.qml:29
1678 msgid "Following document has not been imported:"
1679 msgid_plural "Following documents have not been imported:"
1680-msgstr[0] "Le document suivant n'a pas été importé :"
1681-msgstr[1] "Les documents suivants n'ont pas été importés :"
1682+msgstr[0] ""
1683+msgstr[1] ""
1684
1685 #: ../src/app/qml/common/ToastWithAction.qml:97
1686 msgid "Dismiss"
1687-msgstr "Faire disparaître"
1688+msgstr ""
1689
1690 #: ../src/app/qml/common/UnknownTypeDialog.qml:26
1691 msgid "Unknown file type"
1692@@ -238,6 +218,11 @@
1693 msgid "Even earlier..."
1694 msgstr "Encore plus tôt ..."
1695
1696+#: ../src/app/qml/documentPage/DocumentPage.qml:25
1697+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1698+msgid "Document Viewer"
1699+msgstr "Visionneuse de document"
1700+
1701 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
1702 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
1703 msgid "Switch to single column list"
1704@@ -261,14 +246,14 @@
1705 msgstr "Tout sélectionner"
1706
1707 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
1708-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1709+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
1710 #: ../src/app/qml/pdfView/PdfView.qml:37
1711 msgid "Contents"
1712 msgstr "Contenus"
1713
1714-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
1715+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1716 msgid "Hide table of contents"
1717-msgstr "Masquer la table des matières"
1718+msgstr ""
1719
1720 #. TRANSLATORS: the first argument (%1) refers to the page currently shown on the screen,
1721 #. while the second one (%2) refers to the total pages count.
1722@@ -313,16 +298,16 @@
1723 msgid "Loading..."
1724 msgstr "Chargement..."
1725
1726-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
1727+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
1728 msgid "Document successfully imported!"
1729 msgid_plural "Documents successfully imported!"
1730-msgstr[0] "Document importé avec succès !"
1731-msgstr[1] "Documents importés avec succès !"
1732+msgstr[0] ""
1733+msgstr[1] ""
1734
1735-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
1736+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
1737 msgid "Open"
1738-msgstr "Ouvrir"
1739+msgstr ""
1740
1741-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1742+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1743 msgid "documents;viewer;pdf;reader;"
1744 msgstr "documents;visionneuse;pdf;lecteur;"
1745
1746=== modified file 'po/gd.po'
1747--- po/gd.po 2015-05-16 05:39:21 +0000
1748+++ po/gd.po 2015-05-18 14:00:46 +0000
1749@@ -7,7 +7,7 @@
1750 msgstr ""
1751 "Project-Id-Version: ubuntu-docviewer-app\n"
1752 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
1753-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
1754+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
1755 "PO-Revision-Date: 2015-04-08 09:51+0000\n"
1756 "Last-Translator: GunChleoc <Unknown>\n"
1757 "Language-Team: Fòram na Gàidhlig\n"
1758@@ -16,30 +16,10 @@
1759 "Content-Transfer-Encoding: 8bit\n"
1760 "Plural-Forms: nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : "
1761 "(n > 2 && n < 20) ? 2 : 3;\n"
1762-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
1763-"X-Generator: Launchpad (build 17493)\n"
1764+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
1765+"X-Generator: Launchpad (build 17423)\n"
1766 "Language: gd\n"
1767
1768-#. TRANSLATORS: This string is used for renaming a copied file,
1769-#. when a file with the same name already exists in user's
1770-#. Documents folder.
1771-#.
1772-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
1773-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
1774-#.
1775-#. where "2" is given by the argument "%1"
1776-#.
1777-#: ../src/app/content-communicator.cpp:105
1778-#, qt-format
1779-msgid "copy %1"
1780-msgstr ""
1781-
1782-#: ../src/app/docviewer-application.cpp:164
1783-#: ../src/app/qml/documentPage/DocumentPage.qml:25
1784-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1785-msgid "Document Viewer"
1786-msgstr "Sealladair sgrìobhainnean"
1787-
1788 #: ../src/app/qml/common/DetailsPage.qml:27
1789 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
1790 #: ../src/app/qml/textView/TextViewDefaultHeader.qml:83
1791@@ -252,6 +232,11 @@
1792 msgid "Even earlier..."
1793 msgstr "Fiù 's nas tràithe..."
1794
1795+#: ../src/app/qml/documentPage/DocumentPage.qml:25
1796+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1797+msgid "Document Viewer"
1798+msgstr "Sealladair sgrìobhainnean"
1799+
1800 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
1801 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
1802 msgid "Switch to single column list"
1803@@ -275,12 +260,12 @@
1804 msgstr "Tagh na h-uile"
1805
1806 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
1807-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1808+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
1809 #: ../src/app/qml/pdfView/PdfView.qml:37
1810 msgid "Contents"
1811 msgstr "Clàr-innse"
1812
1813-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
1814+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1815 msgid "Hide table of contents"
1816 msgstr ""
1817
1818@@ -327,17 +312,17 @@
1819 msgid "Loading..."
1820 msgstr "'Ga luchdadh..."
1821
1822-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
1823+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
1824 msgid "Document successfully imported!"
1825 msgid_plural "Documents successfully imported!"
1826 msgstr[0] ""
1827 msgstr[1] ""
1828
1829-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
1830+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
1831 msgid "Open"
1832 msgstr ""
1833
1834-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1835+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1836 msgid "documents;viewer;pdf;reader;"
1837 msgstr ""
1838 "documents;viewer;pdf;reader;sgrìobhainnean;sealladair;leughadair;inneal-"
1839
1840=== modified file 'po/gl.po'
1841--- po/gl.po 2015-05-16 05:39:21 +0000
1842+++ po/gl.po 2015-05-18 14:00:46 +0000
1843@@ -7,36 +7,16 @@
1844 msgstr ""
1845 "Project-Id-Version: ubuntu-docviewer-app\n"
1846 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
1847-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
1848-"PO-Revision-Date: 2015-04-28 09:28+0000\n"
1849+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
1850+"PO-Revision-Date: 2015-04-14 14:01+0000\n"
1851 "Last-Translator: Marcos Lans <Unknown>\n"
1852 "Language-Team: Galician <gl@li.org>\n"
1853 "MIME-Version: 1.0\n"
1854 "Content-Type: text/plain; charset=UTF-8\n"
1855 "Content-Transfer-Encoding: 8bit\n"
1856 "Plural-Forms: nplurals=2; plural=n != 1;\n"
1857-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
1858-"X-Generator: Launchpad (build 17493)\n"
1859-
1860-#. TRANSLATORS: This string is used for renaming a copied file,
1861-#. when a file with the same name already exists in user's
1862-#. Documents folder.
1863-#.
1864-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
1865-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
1866-#.
1867-#. where "2" is given by the argument "%1"
1868-#.
1869-#: ../src/app/content-communicator.cpp:105
1870-#, qt-format
1871-msgid "copy %1"
1872-msgstr "copia %1"
1873-
1874-#: ../src/app/docviewer-application.cpp:164
1875-#: ../src/app/qml/documentPage/DocumentPage.qml:25
1876-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1877-msgid "Document Viewer"
1878-msgstr "Visor de documentos"
1879+"X-Launchpad-Export-Date: 2015-04-15 05:28+0000\n"
1880+"X-Generator: Launchpad (build 17428)\n"
1881
1882 #: ../src/app/qml/common/DetailsPage.qml:27
1883 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
1884@@ -238,6 +218,11 @@
1885 msgid "Even earlier..."
1886 msgstr "Incluso antes..."
1887
1888+#: ../src/app/qml/documentPage/DocumentPage.qml:25
1889+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1890+msgid "Document Viewer"
1891+msgstr "Visor de documentos"
1892+
1893 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
1894 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
1895 msgid "Switch to single column list"
1896@@ -261,12 +246,12 @@
1897 msgstr "Seleccionar todo"
1898
1899 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
1900-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1901+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
1902 #: ../src/app/qml/pdfView/PdfView.qml:37
1903 msgid "Contents"
1904 msgstr "Contidos"
1905
1906-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
1907+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
1908 msgid "Hide table of contents"
1909 msgstr "Ocultar táboa de contidos"
1910
1911@@ -313,16 +298,16 @@
1912 msgid "Loading..."
1913 msgstr "Cargando..."
1914
1915-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
1916+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
1917 msgid "Document successfully imported!"
1918 msgid_plural "Documents successfully imported!"
1919 msgstr[0] "Documento importado correctamente."
1920 msgstr[1] "Documentos importados correctamente."
1921
1922-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
1923+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
1924 msgid "Open"
1925 msgstr "Abrir"
1926
1927-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1928+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
1929 msgid "documents;viewer;pdf;reader;"
1930 msgstr "documentos;visor;pdf;lector;"
1931
1932=== modified file 'po/hu.po'
1933--- po/hu.po 2015-05-16 05:39:21 +0000
1934+++ po/hu.po 2015-05-18 14:00:46 +0000
1935@@ -7,36 +7,16 @@
1936 msgstr ""
1937 "Project-Id-Version: ubuntu-docviewer-app\n"
1938 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
1939-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
1940-"PO-Revision-Date: 2015-04-28 07:38+0000\n"
1941+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
1942+"PO-Revision-Date: 2015-04-13 06:43+0000\n"
1943 "Last-Translator: Richard Somlói <ricsipontaz@gmail.com>\n"
1944 "Language-Team: Hungarian <hu@li.org>\n"
1945 "MIME-Version: 1.0\n"
1946 "Content-Type: text/plain; charset=UTF-8\n"
1947 "Content-Transfer-Encoding: 8bit\n"
1948 "Plural-Forms: nplurals=2; plural=n != 1;\n"
1949-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
1950-"X-Generator: Launchpad (build 17493)\n"
1951-
1952-#. TRANSLATORS: This string is used for renaming a copied file,
1953-#. when a file with the same name already exists in user's
1954-#. Documents folder.
1955-#.
1956-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
1957-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
1958-#.
1959-#. where "2" is given by the argument "%1"
1960-#.
1961-#: ../src/app/content-communicator.cpp:105
1962-#, qt-format
1963-msgid "copy %1"
1964-msgstr "másolat %1"
1965-
1966-#: ../src/app/docviewer-application.cpp:164
1967-#: ../src/app/qml/documentPage/DocumentPage.qml:25
1968-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
1969-msgid "Document Viewer"
1970-msgstr "Dokumentummegjelenítő"
1971+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
1972+"X-Generator: Launchpad (build 17423)\n"
1973
1974 #: ../src/app/qml/common/DetailsPage.qml:27
1975 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
1976@@ -83,27 +63,27 @@
1977
1978 #: ../src/app/qml/common/PickImportedDialog.qml:29
1979 msgid "Multiple documents imported"
1980-msgstr "Több dokumentum lett importálva"
1981+msgstr ""
1982
1983 #: ../src/app/qml/common/PickImportedDialog.qml:30
1984 msgid "Choose which one to open:"
1985-msgstr "Válassza ki a megnyitandót:"
1986+msgstr ""
1987
1988 #: ../src/app/qml/common/RejectedImportDialog.qml:28
1989 msgid "File not supported"
1990 msgid_plural "Files not supported"
1991-msgstr[0] "A fájl nem támogatott"
1992-msgstr[1] "A fájlok nem támogatottak"
1993+msgstr[0] ""
1994+msgstr[1] ""
1995
1996 #: ../src/app/qml/common/RejectedImportDialog.qml:29
1997 msgid "Following document has not been imported:"
1998 msgid_plural "Following documents have not been imported:"
1999-msgstr[0] "A következő dokumentum nem került importálásra:"
2000-msgstr[1] "A következő dokumentumok nem kerültek importálásra:"
2001+msgstr[0] ""
2002+msgstr[1] ""
2003
2004 #: ../src/app/qml/common/ToastWithAction.qml:97
2005 msgid "Dismiss"
2006-msgstr "Elvetés"
2007+msgstr ""
2008
2009 #: ../src/app/qml/common/UnknownTypeDialog.qml:26
2010 msgid "Unknown file type"
2011@@ -238,6 +218,11 @@
2012 msgid "Even earlier..."
2013 msgstr "Még korábban…"
2014
2015+#: ../src/app/qml/documentPage/DocumentPage.qml:25
2016+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2017+msgid "Document Viewer"
2018+msgstr "Dokumentummegjelenítő"
2019+
2020 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
2021 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
2022 msgid "Switch to single column list"
2023@@ -261,12 +246,12 @@
2024 msgstr "Összes kijelölése"
2025
2026 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
2027-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2028+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
2029 #: ../src/app/qml/pdfView/PdfView.qml:37
2030 msgid "Contents"
2031 msgstr "Tartalomjegyzék"
2032
2033-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
2034+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2035 msgid "Hide table of contents"
2036 msgstr "Tartalomjegyzék elrejtése"
2037
2038@@ -294,7 +279,7 @@
2039 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:91
2040 #: ../src/app/qml/textView/TextViewDefaultHeader.qml:77
2041 msgid "Enable night mode"
2042-msgstr "Éjjeli mód"
2043+msgstr "Éjjeli mód engedélyezése"
2044
2045 #: ../src/app/qml/pdfView/PdfViewGotoDialog.qml:25
2046 msgid "Go to page"
2047@@ -313,16 +298,16 @@
2048 msgid "Loading..."
2049 msgstr "Betöltés…"
2050
2051-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
2052+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
2053 msgid "Document successfully imported!"
2054 msgid_plural "Documents successfully imported!"
2055-msgstr[0] "A dokumentum sikeresen importálva!"
2056-msgstr[1] "A dokumentumok sikeresen importálva!"
2057+msgstr[0] ""
2058+msgstr[1] ""
2059
2060-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
2061+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
2062 msgid "Open"
2063-msgstr "Megnyitás"
2064+msgstr ""
2065
2066-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2067+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2068 msgid "documents;viewer;pdf;reader;"
2069 msgstr "dokumentumok;megtekintő;pdf;olvasó;"
2070
2071=== modified file 'po/it.po'
2072--- po/it.po 2015-05-16 05:39:21 +0000
2073+++ po/it.po 2015-05-18 14:00:46 +0000
2074@@ -7,7 +7,7 @@
2075 msgstr ""
2076 "Project-Id-Version: ubuntu-docviewer-app\n"
2077 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
2078-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
2079+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
2080 "PO-Revision-Date: 2015-03-05 09:46+0000\n"
2081 "Last-Translator: Claudio Arseni <claudio.arseni@gmail.com>\n"
2082 "Language-Team: Italian <it@li.org>\n"
2083@@ -15,28 +15,8 @@
2084 "Content-Type: text/plain; charset=UTF-8\n"
2085 "Content-Transfer-Encoding: 8bit\n"
2086 "Plural-Forms: nplurals=2; plural=n != 1;\n"
2087-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
2088-"X-Generator: Launchpad (build 17493)\n"
2089-
2090-#. TRANSLATORS: This string is used for renaming a copied file,
2091-#. when a file with the same name already exists in user's
2092-#. Documents folder.
2093-#.
2094-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
2095-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
2096-#.
2097-#. where "2" is given by the argument "%1"
2098-#.
2099-#: ../src/app/content-communicator.cpp:105
2100-#, qt-format
2101-msgid "copy %1"
2102-msgstr ""
2103-
2104-#: ../src/app/docviewer-application.cpp:164
2105-#: ../src/app/qml/documentPage/DocumentPage.qml:25
2106-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2107-msgid "Document Viewer"
2108-msgstr "Visualizzatore di documenti"
2109+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
2110+"X-Generator: Launchpad (build 17423)\n"
2111
2112 #: ../src/app/qml/common/DetailsPage.qml:27
2113 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
2114@@ -238,6 +218,11 @@
2115 msgid "Even earlier..."
2116 msgstr "Più vecchi..."
2117
2118+#: ../src/app/qml/documentPage/DocumentPage.qml:25
2119+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2120+msgid "Document Viewer"
2121+msgstr "Visualizzatore di documenti"
2122+
2123 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
2124 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
2125 msgid "Switch to single column list"
2126@@ -261,12 +246,12 @@
2127 msgstr "Seleziona tutti"
2128
2129 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
2130-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2131+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
2132 #: ../src/app/qml/pdfView/PdfView.qml:37
2133 msgid "Contents"
2134 msgstr "Contenuto"
2135
2136-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
2137+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2138 msgid "Hide table of contents"
2139 msgstr ""
2140
2141@@ -313,16 +298,16 @@
2142 msgid "Loading..."
2143 msgstr "Caricamento..."
2144
2145-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
2146+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
2147 msgid "Document successfully imported!"
2148 msgid_plural "Documents successfully imported!"
2149 msgstr[0] ""
2150 msgstr[1] ""
2151
2152-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
2153+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
2154 msgid "Open"
2155 msgstr ""
2156
2157-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2158+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2159 msgid "documents;viewer;pdf;reader;"
2160 msgstr "documenti;visualizzatore;pdf;lettore;viewer;reader;"
2161
2162=== modified file 'po/lo.po'
2163--- po/lo.po 2015-05-16 05:39:21 +0000
2164+++ po/lo.po 2015-05-18 14:00:46 +0000
2165@@ -7,7 +7,7 @@
2166 msgstr ""
2167 "Project-Id-Version: ubuntu-docviewer-app\n"
2168 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
2169-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
2170+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
2171 "PO-Revision-Date: 2015-03-04 07:27+0000\n"
2172 "Last-Translator: Anousak <anousak@gmail.com>\n"
2173 "Language-Team: Lao <lo@li.org>\n"
2174@@ -15,28 +15,8 @@
2175 "Content-Type: text/plain; charset=UTF-8\n"
2176 "Content-Transfer-Encoding: 8bit\n"
2177 "Plural-Forms: nplurals=1; plural=0;\n"
2178-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
2179-"X-Generator: Launchpad (build 17493)\n"
2180-
2181-#. TRANSLATORS: This string is used for renaming a copied file,
2182-#. when a file with the same name already exists in user's
2183-#. Documents folder.
2184-#.
2185-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
2186-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
2187-#.
2188-#. where "2" is given by the argument "%1"
2189-#.
2190-#: ../src/app/content-communicator.cpp:105
2191-#, qt-format
2192-msgid "copy %1"
2193-msgstr ""
2194-
2195-#: ../src/app/docviewer-application.cpp:164
2196-#: ../src/app/qml/documentPage/DocumentPage.qml:25
2197-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2198-msgid "Document Viewer"
2199-msgstr "ຕົວເບີ່ງເອກະສານ"
2200+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
2201+"X-Generator: Launchpad (build 17423)\n"
2202
2203 #: ../src/app/qml/common/DetailsPage.qml:27
2204 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
2205@@ -234,6 +214,11 @@
2206 msgid "Even earlier..."
2207 msgstr ""
2208
2209+#: ../src/app/qml/documentPage/DocumentPage.qml:25
2210+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2211+msgid "Document Viewer"
2212+msgstr "ຕົວເບີ່ງເອກະສານ"
2213+
2214 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
2215 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
2216 msgid "Switch to single column list"
2217@@ -257,12 +242,12 @@
2218 msgstr "ເລີອກທັ້ງໝົດ"
2219
2220 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
2221-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2222+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
2223 #: ../src/app/qml/pdfView/PdfView.qml:37
2224 msgid "Contents"
2225 msgstr "ເນື້ອຫາ"
2226
2227-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
2228+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2229 msgid "Hide table of contents"
2230 msgstr ""
2231
2232@@ -309,16 +294,16 @@
2233 msgid "Loading..."
2234 msgstr "ກໍາລັງໂຫຼດ...."
2235
2236-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
2237+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
2238 msgid "Document successfully imported!"
2239 msgid_plural "Documents successfully imported!"
2240 msgstr[0] ""
2241 msgstr[1] ""
2242
2243-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
2244+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
2245 msgid "Open"
2246 msgstr ""
2247
2248-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2249+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2250 msgid "documents;viewer;pdf;reader;"
2251 msgstr "ເກະສານ;ຕົວເບີ່ງ;ພີດີເເຟບ;ຕົວອ່ານ;"
2252
2253=== modified file 'po/lv.po'
2254--- po/lv.po 2015-05-16 05:39:21 +0000
2255+++ po/lv.po 2015-05-18 14:00:46 +0000
2256@@ -7,7 +7,7 @@
2257 msgstr ""
2258 "Project-Id-Version: ubuntu-docviewer-app\n"
2259 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
2260-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
2261+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
2262 "PO-Revision-Date: 2015-02-28 13:37+0000\n"
2263 "Last-Translator: Rūdolfs Mazurs <Unknown>\n"
2264 "Language-Team: Latvian <lv@li.org>\n"
2265@@ -15,28 +15,8 @@
2266 "Content-Type: text/plain; charset=UTF-8\n"
2267 "Content-Transfer-Encoding: 8bit\n"
2268 "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2;\n"
2269-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
2270-"X-Generator: Launchpad (build 17493)\n"
2271-
2272-#. TRANSLATORS: This string is used for renaming a copied file,
2273-#. when a file with the same name already exists in user's
2274-#. Documents folder.
2275-#.
2276-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
2277-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
2278-#.
2279-#. where "2" is given by the argument "%1"
2280-#.
2281-#: ../src/app/content-communicator.cpp:105
2282-#, qt-format
2283-msgid "copy %1"
2284-msgstr ""
2285-
2286-#: ../src/app/docviewer-application.cpp:164
2287-#: ../src/app/qml/documentPage/DocumentPage.qml:25
2288-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2289-msgid "Document Viewer"
2290-msgstr "Dokumentu skatītājs"
2291+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
2292+"X-Generator: Launchpad (build 17423)\n"
2293
2294 #: ../src/app/qml/common/DetailsPage.qml:27
2295 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
2296@@ -236,6 +216,11 @@
2297 msgid "Even earlier..."
2298 msgstr ""
2299
2300+#: ../src/app/qml/documentPage/DocumentPage.qml:25
2301+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2302+msgid "Document Viewer"
2303+msgstr "Dokumentu skatītājs"
2304+
2305 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
2306 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
2307 msgid "Switch to single column list"
2308@@ -259,12 +244,12 @@
2309 msgstr ""
2310
2311 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
2312-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2313+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
2314 #: ../src/app/qml/pdfView/PdfView.qml:37
2315 msgid "Contents"
2316 msgstr "Saturs"
2317
2318-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
2319+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2320 msgid "Hide table of contents"
2321 msgstr ""
2322
2323@@ -311,16 +296,16 @@
2324 msgid "Loading..."
2325 msgstr "Ielādē..."
2326
2327-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
2328+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
2329 msgid "Document successfully imported!"
2330 msgid_plural "Documents successfully imported!"
2331 msgstr[0] ""
2332 msgstr[1] ""
2333
2334-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
2335+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
2336 msgid "Open"
2337 msgstr ""
2338
2339-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2340+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2341 msgid "documents;viewer;pdf;reader;"
2342 msgstr "dokumenti;skatītājs;pdf;lasītājs;"
2343
2344=== modified file 'po/nb.po'
2345--- po/nb.po 2015-05-16 05:39:21 +0000
2346+++ po/nb.po 2015-05-18 14:00:46 +0000
2347@@ -7,7 +7,7 @@
2348 msgstr ""
2349 "Project-Id-Version: ubuntu-docviewer-app\n"
2350 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
2351-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
2352+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
2353 "PO-Revision-Date: 2015-03-31 14:53+0000\n"
2354 "Last-Translator: Mathias Bynke <Unknown>\n"
2355 "Language-Team: Norwegian Bokmal <nb@li.org>\n"
2356@@ -15,28 +15,8 @@
2357 "Content-Type: text/plain; charset=UTF-8\n"
2358 "Content-Transfer-Encoding: 8bit\n"
2359 "Plural-Forms: nplurals=2; plural=n != 1;\n"
2360-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
2361-"X-Generator: Launchpad (build 17493)\n"
2362-
2363-#. TRANSLATORS: This string is used for renaming a copied file,
2364-#. when a file with the same name already exists in user's
2365-#. Documents folder.
2366-#.
2367-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
2368-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
2369-#.
2370-#. where "2" is given by the argument "%1"
2371-#.
2372-#: ../src/app/content-communicator.cpp:105
2373-#, qt-format
2374-msgid "copy %1"
2375-msgstr ""
2376-
2377-#: ../src/app/docviewer-application.cpp:164
2378-#: ../src/app/qml/documentPage/DocumentPage.qml:25
2379-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2380-msgid "Document Viewer"
2381-msgstr "Dokumentvisning"
2382+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
2383+"X-Generator: Launchpad (build 17423)\n"
2384
2385 #: ../src/app/qml/common/DetailsPage.qml:27
2386 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
2387@@ -234,6 +214,11 @@
2388 msgid "Even earlier..."
2389 msgstr "Enda tidligere"
2390
2391+#: ../src/app/qml/documentPage/DocumentPage.qml:25
2392+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2393+msgid "Document Viewer"
2394+msgstr "Dokumentvisning"
2395+
2396 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
2397 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
2398 msgid "Switch to single column list"
2399@@ -257,12 +242,12 @@
2400 msgstr "Velg alle"
2401
2402 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
2403-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2404+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
2405 #: ../src/app/qml/pdfView/PdfView.qml:37
2406 msgid "Contents"
2407 msgstr "Innhold"
2408
2409-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
2410+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2411 msgid "Hide table of contents"
2412 msgstr ""
2413
2414@@ -309,16 +294,16 @@
2415 msgid "Loading..."
2416 msgstr "Laster inn …"
2417
2418-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
2419+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
2420 msgid "Document successfully imported!"
2421 msgid_plural "Documents successfully imported!"
2422 msgstr[0] ""
2423 msgstr[1] ""
2424
2425-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
2426+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
2427 msgid "Open"
2428 msgstr ""
2429
2430-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2431+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2432 msgid "documents;viewer;pdf;reader;"
2433 msgstr "dokumenter;visning;pdf;leser;"
2434
2435=== modified file 'po/nl.po'
2436--- po/nl.po 2015-05-16 05:39:21 +0000
2437+++ po/nl.po 2015-05-18 14:00:46 +0000
2438@@ -7,7 +7,7 @@
2439 msgstr ""
2440 "Project-Id-Version: ubuntu-docviewer-app\n"
2441 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
2442-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
2443+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
2444 "PO-Revision-Date: 2015-03-04 15:47+0000\n"
2445 "Last-Translator: Hannie Dumoleyn <Unknown>\n"
2446 "Language-Team: Dutch <nl@li.org>\n"
2447@@ -15,28 +15,8 @@
2448 "Content-Type: text/plain; charset=UTF-8\n"
2449 "Content-Transfer-Encoding: 8bit\n"
2450 "Plural-Forms: nplurals=2; plural=n != 1;\n"
2451-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
2452-"X-Generator: Launchpad (build 17493)\n"
2453-
2454-#. TRANSLATORS: This string is used for renaming a copied file,
2455-#. when a file with the same name already exists in user's
2456-#. Documents folder.
2457-#.
2458-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
2459-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
2460-#.
2461-#. where "2" is given by the argument "%1"
2462-#.
2463-#: ../src/app/content-communicator.cpp:105
2464-#, qt-format
2465-msgid "copy %1"
2466-msgstr ""
2467-
2468-#: ../src/app/docviewer-application.cpp:164
2469-#: ../src/app/qml/documentPage/DocumentPage.qml:25
2470-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2471-msgid "Document Viewer"
2472-msgstr "Documentenviewer"
2473+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
2474+"X-Generator: Launchpad (build 17423)\n"
2475
2476 #: ../src/app/qml/common/DetailsPage.qml:27
2477 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
2478@@ -238,6 +218,11 @@
2479 msgid "Even earlier..."
2480 msgstr "Nog eerder…"
2481
2482+#: ../src/app/qml/documentPage/DocumentPage.qml:25
2483+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2484+msgid "Document Viewer"
2485+msgstr "Documentenviewer"
2486+
2487 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
2488 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
2489 msgid "Switch to single column list"
2490@@ -261,12 +246,12 @@
2491 msgstr "Alles selecteren"
2492
2493 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
2494-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2495+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
2496 #: ../src/app/qml/pdfView/PdfView.qml:37
2497 msgid "Contents"
2498 msgstr "Inhoud"
2499
2500-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
2501+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2502 msgid "Hide table of contents"
2503 msgstr ""
2504
2505@@ -313,16 +298,16 @@
2506 msgid "Loading..."
2507 msgstr "Bezig met laden…"
2508
2509-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
2510+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
2511 msgid "Document successfully imported!"
2512 msgid_plural "Documents successfully imported!"
2513 msgstr[0] ""
2514 msgstr[1] ""
2515
2516-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
2517+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
2518 msgid "Open"
2519 msgstr ""
2520
2521-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2522+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2523 msgid "documents;viewer;pdf;reader;"
2524 msgstr "documenten;viewer;pdf;lezer;"
2525
2526=== modified file 'po/ny.po'
2527--- po/ny.po 2015-05-16 05:39:21 +0000
2528+++ po/ny.po 2015-05-18 14:00:46 +0000
2529@@ -7,7 +7,7 @@
2530 msgstr ""
2531 "Project-Id-Version: ubuntu-docviewer-app\n"
2532 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
2533-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
2534+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
2535 "PO-Revision-Date: 2015-03-09 08:42+0000\n"
2536 "Last-Translator: Herald Luwizghie <luwizghieherald@gmail.com>\n"
2537 "Language-Team: Chewa; Chichewa; Nyanja <ny@li.org>\n"
2538@@ -15,28 +15,8 @@
2539 "Content-Type: text/plain; charset=UTF-8\n"
2540 "Content-Transfer-Encoding: 8bit\n"
2541 "Plural-Forms: nplurals=2; plural=n != 1;\n"
2542-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
2543-"X-Generator: Launchpad (build 17493)\n"
2544-
2545-#. TRANSLATORS: This string is used for renaming a copied file,
2546-#. when a file with the same name already exists in user's
2547-#. Documents folder.
2548-#.
2549-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
2550-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
2551-#.
2552-#. where "2" is given by the argument "%1"
2553-#.
2554-#: ../src/app/content-communicator.cpp:105
2555-#, qt-format
2556-msgid "copy %1"
2557-msgstr ""
2558-
2559-#: ../src/app/docviewer-application.cpp:164
2560-#: ../src/app/qml/documentPage/DocumentPage.qml:25
2561-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2562-msgid "Document Viewer"
2563-msgstr "Chonela ma dokumenti"
2564+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
2565+"X-Generator: Launchpad (build 17423)\n"
2566
2567 #: ../src/app/qml/common/DetailsPage.qml:27
2568 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
2569@@ -238,6 +218,11 @@
2570 msgid "Even earlier..."
2571 msgstr "Ngakhale m'mbuyomo"
2572
2573+#: ../src/app/qml/documentPage/DocumentPage.qml:25
2574+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2575+msgid "Document Viewer"
2576+msgstr "Chonela ma dokumenti"
2577+
2578 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
2579 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
2580 msgid "Switch to single column list"
2581@@ -261,12 +246,12 @@
2582 msgstr "Sankhani zonse"
2583
2584 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
2585-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2586+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
2587 #: ../src/app/qml/pdfView/PdfView.qml:37
2588 msgid "Contents"
2589 msgstr "Zamkatimu"
2590
2591-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
2592+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2593 msgid "Hide table of contents"
2594 msgstr ""
2595
2596@@ -313,16 +298,16 @@
2597 msgid "Loading..."
2598 msgstr "Kusanthula..."
2599
2600-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
2601+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
2602 msgid "Document successfully imported!"
2603 msgid_plural "Documents successfully imported!"
2604 msgstr[0] ""
2605 msgstr[1] ""
2606
2607-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
2608+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
2609 msgid "Open"
2610 msgstr ""
2611
2612-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2613+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2614 msgid "documents;viewer;pdf;reader;"
2615 msgstr "dokumenti;choonela;pdf;chowelengela;"
2616
2617=== modified file 'po/pa.po'
2618--- po/pa.po 2015-05-16 05:39:21 +0000
2619+++ po/pa.po 2015-05-18 14:00:46 +0000
2620@@ -7,36 +7,16 @@
2621 msgstr ""
2622 "Project-Id-Version: ubuntu-docviewer-app\n"
2623 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
2624-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
2625-"PO-Revision-Date: 2015-05-10 04:07+0000\n"
2626+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
2627+"PO-Revision-Date: 2015-04-08 11:16+0000\n"
2628 "Last-Translator: Gursharnjit_Singh <ubuntuser13@gmail.com>\n"
2629 "Language-Team: Punjabi <pa@li.org>\n"
2630 "MIME-Version: 1.0\n"
2631 "Content-Type: text/plain; charset=UTF-8\n"
2632 "Content-Transfer-Encoding: 8bit\n"
2633 "Plural-Forms: nplurals=2; plural=n != 1;\n"
2634-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
2635-"X-Generator: Launchpad (build 17493)\n"
2636-
2637-#. TRANSLATORS: This string is used for renaming a copied file,
2638-#. when a file with the same name already exists in user's
2639-#. Documents folder.
2640-#.
2641-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
2642-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
2643-#.
2644-#. where "2" is given by the argument "%1"
2645-#.
2646-#: ../src/app/content-communicator.cpp:105
2647-#, qt-format
2648-msgid "copy %1"
2649-msgstr "ਕਾਪੀ %1"
2650-
2651-#: ../src/app/docviewer-application.cpp:164
2652-#: ../src/app/qml/documentPage/DocumentPage.qml:25
2653-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2654-msgid "Document Viewer"
2655-msgstr "ਦਸਤਾਵੇਜ ਦਰਸ਼ਕ"
2656+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
2657+"X-Generator: Launchpad (build 17423)\n"
2658
2659 #: ../src/app/qml/common/DetailsPage.qml:27
2660 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
2661@@ -83,27 +63,27 @@
2662
2663 #: ../src/app/qml/common/PickImportedDialog.qml:29
2664 msgid "Multiple documents imported"
2665-msgstr "ਬਹੁਤਾਂਤ ਦਸਤਾਵੇਜ਼ਾਂ ਦੀ ਆਮਦ ਹੋਈ"
2666+msgstr ""
2667
2668 #: ../src/app/qml/common/PickImportedDialog.qml:30
2669 msgid "Choose which one to open:"
2670-msgstr "ਚੁਣੋ ਕਿਸ ਵਾਲੇ ਨੂੰ ਖੋਲ੍ਹਣਾ:"
2671+msgstr ""
2672
2673 #: ../src/app/qml/common/RejectedImportDialog.qml:28
2674 msgid "File not supported"
2675 msgid_plural "Files not supported"
2676-msgstr[0] "ਫ਼ਾਈਲ ਸਹਿਯੋਗ ਨਹੀਂ ਕਰਦੀ"
2677-msgstr[1] "ਫ਼ਾਈਲਾਂ ਸਹਿਯੋਗ ਨਹੀਂ ਕਰਦੀਆਂ"
2678+msgstr[0] ""
2679+msgstr[1] ""
2680
2681 #: ../src/app/qml/common/RejectedImportDialog.qml:29
2682 msgid "Following document has not been imported:"
2683 msgid_plural "Following documents have not been imported:"
2684-msgstr[0] "ਅੱਗੇ ਦਿੱਤੇ ਦਸਤਾਵੇਜ਼ ਦੀ ਆਮਦ ਨਹੀਂ ਹੋ ਸਕੀ"
2685-msgstr[1] "ਅੱਗੇ ਦਿੱਤੇ ਦਸਤਾਵੇਜ਼ਾਂ ਦੀ ਆਮਦ ਨਹੀਂ ਹੋ ਸਕੀ"
2686+msgstr[0] ""
2687+msgstr[1] ""
2688
2689 #: ../src/app/qml/common/ToastWithAction.qml:97
2690 msgid "Dismiss"
2691-msgstr "ਅਣਡਿੱਠ ਕਰੋ"
2692+msgstr ""
2693
2694 #: ../src/app/qml/common/UnknownTypeDialog.qml:26
2695 msgid "Unknown file type"
2696@@ -238,6 +218,11 @@
2697 msgid "Even earlier..."
2698 msgstr "ਇਸ ਤੋਂ ਪਹਿਲਾਂ..."
2699
2700+#: ../src/app/qml/documentPage/DocumentPage.qml:25
2701+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2702+msgid "Document Viewer"
2703+msgstr "ਦਸਤਾਵੇਜ ਦਰਸ਼ਕ"
2704+
2705 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
2706 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
2707 msgid "Switch to single column list"
2708@@ -261,14 +246,14 @@
2709 msgstr "ਸੱਭ ਚੁਣੋ"
2710
2711 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
2712-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2713+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
2714 #: ../src/app/qml/pdfView/PdfView.qml:37
2715 msgid "Contents"
2716 msgstr "ਸਮੱਗਰੀ"
2717
2718-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
2719+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2720 msgid "Hide table of contents"
2721-msgstr "ਸਮੱਗਰੀ ਦੇ ਟੇਬਲ ਹਟਾਓ"
2722+msgstr ""
2723
2724 #. TRANSLATORS: the first argument (%1) refers to the page currently shown on the screen,
2725 #. while the second one (%2) refers to the total pages count.
2726@@ -313,16 +298,16 @@
2727 msgid "Loading..."
2728 msgstr "ਲੋਡ ਕਰ ਰਿਹਾ"
2729
2730-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
2731+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
2732 msgid "Document successfully imported!"
2733 msgid_plural "Documents successfully imported!"
2734-msgstr[0] "ਦਸਤਾਵੇਜ਼ ਦੀ ਸਫ਼ਲਤਾਪੂਰਨ ਆਮਦ ਹੋਈ!"
2735-msgstr[1] "ਦਸਤਾਵੇਜ਼ਾਂ ਦੀ ਸਫ਼ਲਤਾਪੂਰਨ ਆਮਦ ਹੋਈ!"
2736+msgstr[0] ""
2737+msgstr[1] ""
2738
2739-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
2740+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
2741 msgid "Open"
2742-msgstr "ਖੋਲ੍ਹੋ"
2743+msgstr ""
2744
2745-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2746+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2747 msgid "documents;viewer;pdf;reader;"
2748 msgstr "ਦਸਤਾਵੇਜ;ਦਰਸਕ;pdf;ਰੀਡਰ;"
2749
2750=== modified file 'po/pl.po'
2751--- po/pl.po 2015-05-16 05:39:21 +0000
2752+++ po/pl.po 2015-05-18 14:00:46 +0000
2753@@ -7,37 +7,17 @@
2754 msgstr ""
2755 "Project-Id-Version: ubuntu-docviewer-app\n"
2756 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
2757-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
2758-"PO-Revision-Date: 2015-04-29 08:23+0000\n"
2759-"Last-Translator: Krzysztof <Unknown>\n"
2760+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
2761+"PO-Revision-Date: 2015-01-26 13:29+0000\n"
2762+"Last-Translator: Bartosz Kosiorek <Unknown>\n"
2763 "Language-Team: Polish <pl@li.org>\n"
2764 "MIME-Version: 1.0\n"
2765 "Content-Type: text/plain; charset=UTF-8\n"
2766 "Content-Transfer-Encoding: 8bit\n"
2767 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
2768 "|| n%100>=20) ? 1 : 2;\n"
2769-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
2770-"X-Generator: Launchpad (build 17493)\n"
2771-
2772-#. TRANSLATORS: This string is used for renaming a copied file,
2773-#. when a file with the same name already exists in user's
2774-#. Documents folder.
2775-#.
2776-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
2777-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
2778-#.
2779-#. where "2" is given by the argument "%1"
2780-#.
2781-#: ../src/app/content-communicator.cpp:105
2782-#, qt-format
2783-msgid "copy %1"
2784-msgstr "kopiowanie %1"
2785-
2786-#: ../src/app/docviewer-application.cpp:164
2787-#: ../src/app/qml/documentPage/DocumentPage.qml:25
2788-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2789-msgid "Document Viewer"
2790-msgstr "Przeglądarka dokumentów"
2791+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
2792+"X-Generator: Launchpad (build 17423)\n"
2793
2794 #: ../src/app/qml/common/DetailsPage.qml:27
2795 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
2796@@ -84,29 +64,27 @@
2797
2798 #: ../src/app/qml/common/PickImportedDialog.qml:29
2799 msgid "Multiple documents imported"
2800-msgstr "Zaimportowano wiele dokumentów"
2801+msgstr ""
2802
2803 #: ../src/app/qml/common/PickImportedDialog.qml:30
2804 msgid "Choose which one to open:"
2805-msgstr "Wybierz, który chcesz otworzyć:"
2806+msgstr ""
2807
2808 #: ../src/app/qml/common/RejectedImportDialog.qml:28
2809 msgid "File not supported"
2810 msgid_plural "Files not supported"
2811-msgstr[0] "Plik nieobsługiwany"
2812-msgstr[1] "Pliki nieobsługiwane"
2813-msgstr[2] "Pliki nieobsługiwane"
2814+msgstr[0] ""
2815+msgstr[1] ""
2816
2817 #: ../src/app/qml/common/RejectedImportDialog.qml:29
2818 msgid "Following document has not been imported:"
2819 msgid_plural "Following documents have not been imported:"
2820-msgstr[0] "Nie zaimportowano następującego dokumentu:"
2821-msgstr[1] "Nie zaimportowano następujących dokumentów:"
2822-msgstr[2] "Nie zaimportowano następujących dokumentów:"
2823+msgstr[0] ""
2824+msgstr[1] ""
2825
2826 #: ../src/app/qml/common/ToastWithAction.qml:97
2827 msgid "Dismiss"
2828-msgstr "Odrzuć"
2829+msgstr ""
2830
2831 #: ../src/app/qml/common/UnknownTypeDialog.qml:26
2832 msgid "Unknown file type"
2833@@ -132,29 +110,29 @@
2834 #: ../src/app/qml/common/utils.js:22
2835 #, qt-format
2836 msgid "%1 GB"
2837-msgstr "%1 GB"
2838+msgstr ""
2839
2840 #. TRANSLATORS: %1 is the size of a file, expressed in MB
2841 #: ../src/app/qml/common/utils.js:26
2842 #, qt-format
2843 msgid "%1 MB"
2844-msgstr "%1 MB"
2845+msgstr ""
2846
2847 #. TRANSLATORS: %1 is the size of a file, expressed in kB
2848 #: ../src/app/qml/common/utils.js:30
2849 #, qt-format
2850 msgid "%1 kB"
2851-msgstr "%1 kB"
2852+msgstr ""
2853
2854 #. TRANSLATORS: %1 is the size of a file, expressed in byte
2855 #: ../src/app/qml/common/utils.js:33
2856 #, qt-format
2857 msgid "%1 byte"
2858-msgstr "%1 bajtów"
2859+msgstr ""
2860
2861 #: ../src/app/qml/documentPage/DeleteFileDialog.qml:28
2862 msgid "Delete file"
2863-msgstr "Usuń plik"
2864+msgstr ""
2865
2866 #: ../src/app/qml/documentPage/DeleteFileDialog.qml:29
2867 #, qt-format
2868@@ -179,7 +157,7 @@
2869 #: ../src/app/qml/documentPage/DeleteFileDialog.qml:41
2870 #: ../src/app/qml/documentPage/DocumentPageSelectionModeHeader.qml:82
2871 msgid "Delete"
2872-msgstr "Usuń"
2873+msgstr ""
2874
2875 #: ../src/app/qml/documentPage/DocumentEmptyState.qml:24
2876 msgid "No document found"
2877@@ -203,41 +181,46 @@
2878 #: ../src/app/qml/documentPage/DocumentGridDelegate.qml:40
2879 #, qt-format
2880 msgid "Yesterday, %1"
2881-msgstr "Wczoraj, %1"
2882+msgstr ""
2883
2884 #. TRANSLATORS: this is a datetime formatting string,
2885 #. see http://qt-project.org/doc/qt-5/qml-qtqml-date.html#details for valid expressions.
2886 #: ../src/app/qml/documentPage/DocumentGridDelegate.qml:45
2887 #: ../src/app/qml/documentPage/DocumentListDelegate.qml:35
2888 msgid "dddd, hh:mm"
2889-msgstr "dddd, hh:mm"
2890+msgstr ""
2891
2892 #. TRANSLATORS: this is a datetime formatting string,
2893 #. see http://qt-project.org/doc/qt-5/qml-qtqml-date.html#details for valid expressions.
2894 #: ../src/app/qml/documentPage/DocumentGridDelegate.qml:49
2895 #: ../src/app/qml/documentPage/DocumentListDelegate.qml:39
2896 msgid "dd-MM-yyyy hh:mm"
2897-msgstr "dd-MM-yyyy hh:mm"
2898+msgstr ""
2899
2900 #: ../src/app/qml/documentPage/DocumentListView.qml:135
2901 msgid "Today"
2902-msgstr "Dzisiaj"
2903+msgstr ""
2904
2905 #: ../src/app/qml/documentPage/DocumentListView.qml:138
2906 msgid "Yesterday"
2907-msgstr "Wczoraj"
2908+msgstr ""
2909
2910 #: ../src/app/qml/documentPage/DocumentListView.qml:141
2911 msgid "Earlier this week"
2912-msgstr "Na początku tego tygodnia"
2913+msgstr ""
2914
2915 #: ../src/app/qml/documentPage/DocumentListView.qml:144
2916 msgid "Earlier this month"
2917-msgstr "Na początku tego miesiąca"
2918+msgstr ""
2919
2920 #: ../src/app/qml/documentPage/DocumentListView.qml:146
2921 msgid "Even earlier..."
2922-msgstr "Jeszcze wcześniej..."
2923+msgstr ""
2924+
2925+#: ../src/app/qml/documentPage/DocumentPage.qml:25
2926+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
2927+msgid "Document Viewer"
2928+msgstr "Przeglądarka dokumentów"
2929
2930 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
2931 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
2932@@ -247,29 +230,29 @@
2933 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
2934 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
2935 msgid "Switch to grid"
2936-msgstr "Przełącz do widoku siatki"
2937+msgstr ""
2938
2939 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:43
2940 msgid "Pick"
2941-msgstr "Wybierz"
2942+msgstr ""
2943
2944 #: ../src/app/qml/documentPage/DocumentPageSelectionModeHeader.qml:52
2945 msgid "Select None"
2946-msgstr "Odznacz wszystko"
2947+msgstr ""
2948
2949 #: ../src/app/qml/documentPage/DocumentPageSelectionModeHeader.qml:54
2950 msgid "Select All"
2951-msgstr "Zaznacz wszystko"
2952+msgstr ""
2953
2954 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
2955-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2956+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
2957 #: ../src/app/qml/pdfView/PdfView.qml:37
2958 msgid "Contents"
2959 msgstr ""
2960
2961-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
2962+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
2963 msgid "Hide table of contents"
2964-msgstr "Ukryj spis treści"
2965+msgstr ""
2966
2967 #. TRANSLATORS: the first argument (%1) refers to the page currently shown on the screen,
2968 #. while the second one (%2) refers to the total pages count.
2969@@ -314,16 +297,16 @@
2970 msgid "Loading..."
2971 msgstr "Wczytywanie..."
2972
2973-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
2974+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
2975 msgid "Document successfully imported!"
2976 msgid_plural "Documents successfully imported!"
2977 msgstr[0] ""
2978 msgstr[1] ""
2979
2980-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
2981+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
2982 msgid "Open"
2983 msgstr ""
2984
2985-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2986+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
2987 msgid "documents;viewer;pdf;reader;"
2988 msgstr "dokumenty;przeglądarka;pdf;czytnik"
2989
2990=== modified file 'po/pt.po'
2991--- po/pt.po 2015-05-16 05:39:21 +0000
2992+++ po/pt.po 2015-05-18 14:00:46 +0000
2993@@ -7,7 +7,7 @@
2994 msgstr ""
2995 "Project-Id-Version: ubuntu-docviewer-app\n"
2996 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
2997-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
2998+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
2999 "PO-Revision-Date: 2015-04-02 16:24+0000\n"
3000 "Last-Translator: António Miranda <Unknown>\n"
3001 "Language-Team: Portuguese <pt@li.org>\n"
3002@@ -15,28 +15,8 @@
3003 "Content-Type: text/plain; charset=UTF-8\n"
3004 "Content-Transfer-Encoding: 8bit\n"
3005 "Plural-Forms: nplurals=2; plural=n != 1;\n"
3006-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
3007-"X-Generator: Launchpad (build 17493)\n"
3008-
3009-#. TRANSLATORS: This string is used for renaming a copied file,
3010-#. when a file with the same name already exists in user's
3011-#. Documents folder.
3012-#.
3013-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
3014-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
3015-#.
3016-#. where "2" is given by the argument "%1"
3017-#.
3018-#: ../src/app/content-communicator.cpp:105
3019-#, qt-format
3020-msgid "copy %1"
3021-msgstr ""
3022-
3023-#: ../src/app/docviewer-application.cpp:164
3024-#: ../src/app/qml/documentPage/DocumentPage.qml:25
3025-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3026-msgid "Document Viewer"
3027-msgstr "Documentos"
3028+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
3029+"X-Generator: Launchpad (build 17423)\n"
3030
3031 #: ../src/app/qml/common/DetailsPage.qml:27
3032 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
3033@@ -238,6 +218,11 @@
3034 msgid "Even earlier..."
3035 msgstr "Anteriormente"
3036
3037+#: ../src/app/qml/documentPage/DocumentPage.qml:25
3038+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3039+msgid "Document Viewer"
3040+msgstr "Documentos"
3041+
3042 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
3043 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
3044 msgid "Switch to single column list"
3045@@ -261,12 +246,12 @@
3046 msgstr "Selecionar todos"
3047
3048 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
3049-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3050+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
3051 #: ../src/app/qml/pdfView/PdfView.qml:37
3052 msgid "Contents"
3053 msgstr "Conteúdos"
3054
3055-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
3056+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3057 msgid "Hide table of contents"
3058 msgstr ""
3059
3060@@ -313,16 +298,16 @@
3061 msgid "Loading..."
3062 msgstr "A carregar..."
3063
3064-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
3065+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
3066 msgid "Document successfully imported!"
3067 msgid_plural "Documents successfully imported!"
3068 msgstr[0] ""
3069 msgstr[1] ""
3070
3071-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
3072+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
3073 msgid "Open"
3074 msgstr ""
3075
3076-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3077+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3078 msgid "documents;viewer;pdf;reader;"
3079 msgstr "visualizador;documentos;leitor;pdf"
3080
3081=== modified file 'po/pt_BR.po'
3082--- po/pt_BR.po 2015-05-16 05:39:21 +0000
3083+++ po/pt_BR.po 2015-05-18 14:00:46 +0000
3084@@ -7,7 +7,7 @@
3085 msgstr ""
3086 "Project-Id-Version: ubuntu-docviewer-app\n"
3087 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
3088-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
3089+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
3090 "PO-Revision-Date: 2015-03-04 02:07+0000\n"
3091 "Last-Translator: Rafael Neri <Unknown>\n"
3092 "Language-Team: Brazilian Portuguese <pt_BR@li.org>\n"
3093@@ -15,28 +15,8 @@
3094 "Content-Type: text/plain; charset=UTF-8\n"
3095 "Content-Transfer-Encoding: 8bit\n"
3096 "Plural-Forms: nplurals=2; plural=n > 1;\n"
3097-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
3098-"X-Generator: Launchpad (build 17493)\n"
3099-
3100-#. TRANSLATORS: This string is used for renaming a copied file,
3101-#. when a file with the same name already exists in user's
3102-#. Documents folder.
3103-#.
3104-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
3105-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
3106-#.
3107-#. where "2" is given by the argument "%1"
3108-#.
3109-#: ../src/app/content-communicator.cpp:105
3110-#, qt-format
3111-msgid "copy %1"
3112-msgstr ""
3113-
3114-#: ../src/app/docviewer-application.cpp:164
3115-#: ../src/app/qml/documentPage/DocumentPage.qml:25
3116-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3117-msgid "Document Viewer"
3118-msgstr "Visualizador de documentos"
3119+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
3120+"X-Generator: Launchpad (build 17423)\n"
3121
3122 #: ../src/app/qml/common/DetailsPage.qml:27
3123 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
3124@@ -238,6 +218,11 @@
3125 msgid "Even earlier..."
3126 msgstr ""
3127
3128+#: ../src/app/qml/documentPage/DocumentPage.qml:25
3129+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3130+msgid "Document Viewer"
3131+msgstr "Visualizador de documentos"
3132+
3133 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
3134 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
3135 msgid "Switch to single column list"
3136@@ -261,12 +246,12 @@
3137 msgstr "Selecionar tudo"
3138
3139 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
3140-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3141+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
3142 #: ../src/app/qml/pdfView/PdfView.qml:37
3143 msgid "Contents"
3144 msgstr "Conteúdo"
3145
3146-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
3147+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3148 msgid "Hide table of contents"
3149 msgstr ""
3150
3151@@ -313,16 +298,16 @@
3152 msgid "Loading..."
3153 msgstr "Carregando..."
3154
3155-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
3156+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
3157 msgid "Document successfully imported!"
3158 msgid_plural "Documents successfully imported!"
3159 msgstr[0] ""
3160 msgstr[1] ""
3161
3162-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
3163+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
3164 msgid "Open"
3165 msgstr ""
3166
3167-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3168+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3169 msgid "documents;viewer;pdf;reader;"
3170 msgstr "documentos;visualizador;pdf;leitor"
3171
3172=== modified file 'po/ru.po'
3173--- po/ru.po 2015-05-16 05:39:21 +0000
3174+++ po/ru.po 2015-05-18 14:00:46 +0000
3175@@ -7,7 +7,7 @@
3176 msgstr ""
3177 "Project-Id-Version: ubuntu-docviewer-app\n"
3178 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
3179-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
3180+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
3181 "PO-Revision-Date: 2015-03-04 06:59+0000\n"
3182 "Last-Translator: ☠Jay ZDLin☠ <Unknown>\n"
3183 "Language-Team: Russian <ru@li.org>\n"
3184@@ -16,28 +16,8 @@
3185 "Content-Transfer-Encoding: 8bit\n"
3186 "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
3187 "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
3188-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
3189-"X-Generator: Launchpad (build 17493)\n"
3190-
3191-#. TRANSLATORS: This string is used for renaming a copied file,
3192-#. when a file with the same name already exists in user's
3193-#. Documents folder.
3194-#.
3195-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
3196-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
3197-#.
3198-#. where "2" is given by the argument "%1"
3199-#.
3200-#: ../src/app/content-communicator.cpp:105
3201-#, qt-format
3202-msgid "copy %1"
3203-msgstr ""
3204-
3205-#: ../src/app/docviewer-application.cpp:164
3206-#: ../src/app/qml/documentPage/DocumentPage.qml:25
3207-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3208-msgid "Document Viewer"
3209-msgstr "Программа просмотра документов"
3210+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
3211+"X-Generator: Launchpad (build 17423)\n"
3212
3213 #: ../src/app/qml/common/DetailsPage.qml:27
3214 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
3215@@ -238,6 +218,11 @@
3216 msgid "Even earlier..."
3217 msgstr ""
3218
3219+#: ../src/app/qml/documentPage/DocumentPage.qml:25
3220+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3221+msgid "Document Viewer"
3222+msgstr "Программа просмотра документов"
3223+
3224 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
3225 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
3226 msgid "Switch to single column list"
3227@@ -261,12 +246,12 @@
3228 msgstr "Выбрать все"
3229
3230 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
3231-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3232+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
3233 #: ../src/app/qml/pdfView/PdfView.qml:37
3234 msgid "Contents"
3235 msgstr "Содержание"
3236
3237-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
3238+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3239 msgid "Hide table of contents"
3240 msgstr ""
3241
3242@@ -313,16 +298,16 @@
3243 msgid "Loading..."
3244 msgstr "Загрузка..."
3245
3246-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
3247+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
3248 msgid "Document successfully imported!"
3249 msgid_plural "Documents successfully imported!"
3250 msgstr[0] ""
3251 msgstr[1] ""
3252
3253-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
3254+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
3255 msgid "Open"
3256 msgstr ""
3257
3258-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3259+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3260 msgid "documents;viewer;pdf;reader;"
3261 msgstr "документы;просмотр;pdf;чтение;"
3262
3263=== modified file 'po/sl.po'
3264--- po/sl.po 2015-05-16 05:39:21 +0000
3265+++ po/sl.po 2015-05-18 14:00:46 +0000
3266@@ -7,7 +7,7 @@
3267 msgstr ""
3268 "Project-Id-Version: ubuntu-docviewer-app\n"
3269 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
3270-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
3271+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
3272 "PO-Revision-Date: 2015-03-04 18:08+0000\n"
3273 "Last-Translator: Damir Jerovšek <Unknown>\n"
3274 "Language-Team: Slovenian <sl@li.org>\n"
3275@@ -16,28 +16,8 @@
3276 "Content-Transfer-Encoding: 8bit\n"
3277 "Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || "
3278 "n%100==4 ? 3 : 0);\n"
3279-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
3280-"X-Generator: Launchpad (build 17493)\n"
3281-
3282-#. TRANSLATORS: This string is used for renaming a copied file,
3283-#. when a file with the same name already exists in user's
3284-#. Documents folder.
3285-#.
3286-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
3287-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
3288-#.
3289-#. where "2" is given by the argument "%1"
3290-#.
3291-#: ../src/app/content-communicator.cpp:105
3292-#, qt-format
3293-msgid "copy %1"
3294-msgstr ""
3295-
3296-#: ../src/app/docviewer-application.cpp:164
3297-#: ../src/app/qml/documentPage/DocumentPage.qml:25
3298-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3299-msgid "Document Viewer"
3300-msgstr "Pregledovalnik dokumentov"
3301+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
3302+"X-Generator: Launchpad (build 17423)\n"
3303
3304 #: ../src/app/qml/common/DetailsPage.qml:27
3305 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
3306@@ -239,6 +219,11 @@
3307 msgid "Even earlier..."
3308 msgstr "Še prej ..."
3309
3310+#: ../src/app/qml/documentPage/DocumentPage.qml:25
3311+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3312+msgid "Document Viewer"
3313+msgstr "Pregledovalnik dokumentov"
3314+
3315 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
3316 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
3317 msgid "Switch to single column list"
3318@@ -262,12 +247,12 @@
3319 msgstr "Izberi vse"
3320
3321 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
3322-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3323+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
3324 #: ../src/app/qml/pdfView/PdfView.qml:37
3325 msgid "Contents"
3326 msgstr "Vsebina"
3327
3328-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
3329+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3330 msgid "Hide table of contents"
3331 msgstr ""
3332
3333@@ -314,16 +299,16 @@
3334 msgid "Loading..."
3335 msgstr "Nalaganje …"
3336
3337-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
3338+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
3339 msgid "Document successfully imported!"
3340 msgid_plural "Documents successfully imported!"
3341 msgstr[0] ""
3342 msgstr[1] ""
3343
3344-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
3345+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
3346 msgid "Open"
3347 msgstr ""
3348
3349-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3350+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3351 msgid "documents;viewer;pdf;reader;"
3352 msgstr "dokumenti;pregledovalnik;pdf;bralnik;"
3353
3354=== modified file 'po/tr.po'
3355--- po/tr.po 2015-05-16 05:39:21 +0000
3356+++ po/tr.po 2015-05-18 14:00:46 +0000
3357@@ -7,7 +7,7 @@
3358 msgstr ""
3359 "Project-Id-Version: ubuntu-docviewer-app\n"
3360 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
3361-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
3362+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
3363 "PO-Revision-Date: 2015-03-22 15:24+0000\n"
3364 "Last-Translator: Arda Ünlü <aarda.uunlu@gmail.com>\n"
3365 "Language-Team: Turkish <tr@li.org>\n"
3366@@ -15,28 +15,8 @@
3367 "Content-Type: text/plain; charset=UTF-8\n"
3368 "Content-Transfer-Encoding: 8bit\n"
3369 "Plural-Forms: nplurals=2; plural=n != 1;\n"
3370-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
3371-"X-Generator: Launchpad (build 17493)\n"
3372-
3373-#. TRANSLATORS: This string is used for renaming a copied file,
3374-#. when a file with the same name already exists in user's
3375-#. Documents folder.
3376-#.
3377-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
3378-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
3379-#.
3380-#. where "2" is given by the argument "%1"
3381-#.
3382-#: ../src/app/content-communicator.cpp:105
3383-#, qt-format
3384-msgid "copy %1"
3385-msgstr ""
3386-
3387-#: ../src/app/docviewer-application.cpp:164
3388-#: ../src/app/qml/documentPage/DocumentPage.qml:25
3389-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3390-msgid "Document Viewer"
3391-msgstr "Belge Görüntüleyici"
3392+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
3393+"X-Generator: Launchpad (build 17423)\n"
3394
3395 #: ../src/app/qml/common/DetailsPage.qml:27
3396 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
3397@@ -238,6 +218,11 @@
3398 msgid "Even earlier..."
3399 msgstr "Daha da eski..."
3400
3401+#: ../src/app/qml/documentPage/DocumentPage.qml:25
3402+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3403+msgid "Document Viewer"
3404+msgstr "Belge Görüntüleyici"
3405+
3406 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
3407 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
3408 msgid "Switch to single column list"
3409@@ -261,12 +246,12 @@
3410 msgstr "Tümünü Seç"
3411
3412 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
3413-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3414+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
3415 #: ../src/app/qml/pdfView/PdfView.qml:37
3416 msgid "Contents"
3417 msgstr "İçindekiler"
3418
3419-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
3420+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3421 msgid "Hide table of contents"
3422 msgstr ""
3423
3424@@ -313,16 +298,16 @@
3425 msgid "Loading..."
3426 msgstr "Yükleniyor..."
3427
3428-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
3429+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
3430 msgid "Document successfully imported!"
3431 msgid_plural "Documents successfully imported!"
3432 msgstr[0] ""
3433 msgstr[1] ""
3434
3435-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
3436+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
3437 msgid "Open"
3438 msgstr ""
3439
3440-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3441+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3442 msgid "documents;viewer;pdf;reader;"
3443 msgstr "belgeler;görüntüleyici;pdf;okuyucu;gösterici;"
3444
3445=== modified file 'po/uk.po'
3446--- po/uk.po 2015-05-16 05:39:21 +0000
3447+++ po/uk.po 2015-05-18 14:00:46 +0000
3448@@ -7,7 +7,7 @@
3449 msgstr ""
3450 "Project-Id-Version: ubuntu-docviewer-app\n"
3451 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
3452-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
3453+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
3454 "PO-Revision-Date: 2015-03-04 17:35+0000\n"
3455 "Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n"
3456 "Language-Team: Ukrainian <uk@li.org>\n"
3457@@ -16,28 +16,8 @@
3458 "Content-Transfer-Encoding: 8bit\n"
3459 "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
3460 "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
3461-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
3462-"X-Generator: Launchpad (build 17493)\n"
3463-
3464-#. TRANSLATORS: This string is used for renaming a copied file,
3465-#. when a file with the same name already exists in user's
3466-#. Documents folder.
3467-#.
3468-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
3469-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
3470-#.
3471-#. where "2" is given by the argument "%1"
3472-#.
3473-#: ../src/app/content-communicator.cpp:105
3474-#, qt-format
3475-msgid "copy %1"
3476-msgstr ""
3477-
3478-#: ../src/app/docviewer-application.cpp:164
3479-#: ../src/app/qml/documentPage/DocumentPage.qml:25
3480-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3481-msgid "Document Viewer"
3482-msgstr "Перегляд документів"
3483+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
3484+"X-Generator: Launchpad (build 17423)\n"
3485
3486 #: ../src/app/qml/common/DetailsPage.qml:27
3487 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
3488@@ -239,6 +219,11 @@
3489 msgid "Even earlier..."
3490 msgstr "Раніше…"
3491
3492+#: ../src/app/qml/documentPage/DocumentPage.qml:25
3493+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3494+msgid "Document Viewer"
3495+msgstr "Перегляд документів"
3496+
3497 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
3498 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
3499 msgid "Switch to single column list"
3500@@ -262,12 +247,12 @@
3501 msgstr "Вибрати все"
3502
3503 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
3504-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3505+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
3506 #: ../src/app/qml/pdfView/PdfView.qml:37
3507 msgid "Contents"
3508 msgstr "Зміст"
3509
3510-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
3511+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3512 msgid "Hide table of contents"
3513 msgstr ""
3514
3515@@ -314,16 +299,16 @@
3516 msgid "Loading..."
3517 msgstr "Завантаження…"
3518
3519-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
3520+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
3521 msgid "Document successfully imported!"
3522 msgid_plural "Documents successfully imported!"
3523 msgstr[0] ""
3524 msgstr[1] ""
3525
3526-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
3527+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
3528 msgid "Open"
3529 msgstr ""
3530
3531-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3532+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3533 msgid "documents;viewer;pdf;reader;"
3534 msgstr "documents;viewer;pdf;reader;документи;перегляд;пдф;читання;"
3535
3536=== modified file 'po/zh_CN.po'
3537--- po/zh_CN.po 2015-05-16 05:39:21 +0000
3538+++ po/zh_CN.po 2015-05-18 14:00:46 +0000
3539@@ -7,7 +7,7 @@
3540 msgstr ""
3541 "Project-Id-Version: ubuntu-docviewer-app\n"
3542 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
3543-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
3544+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
3545 "PO-Revision-Date: 2015-03-04 01:02+0000\n"
3546 "Last-Translator: Luo Lei <luolei@ubuntukylin.com>\n"
3547 "Language-Team: Chinese (Simplified) <zh_CN@li.org>\n"
3548@@ -15,28 +15,8 @@
3549 "Content-Type: text/plain; charset=UTF-8\n"
3550 "Content-Transfer-Encoding: 8bit\n"
3551 "Plural-Forms: nplurals=1; plural=0;\n"
3552-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
3553-"X-Generator: Launchpad (build 17493)\n"
3554-
3555-#. TRANSLATORS: This string is used for renaming a copied file,
3556-#. when a file with the same name already exists in user's
3557-#. Documents folder.
3558-#.
3559-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
3560-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
3561-#.
3562-#. where "2" is given by the argument "%1"
3563-#.
3564-#: ../src/app/content-communicator.cpp:105
3565-#, qt-format
3566-msgid "copy %1"
3567-msgstr ""
3568-
3569-#: ../src/app/docviewer-application.cpp:164
3570-#: ../src/app/qml/documentPage/DocumentPage.qml:25
3571-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3572-msgid "Document Viewer"
3573-msgstr ""
3574+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
3575+"X-Generator: Launchpad (build 17423)\n"
3576
3577 #: ../src/app/qml/common/DetailsPage.qml:27
3578 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
3579@@ -234,6 +214,11 @@
3580 msgid "Even earlier..."
3581 msgstr ""
3582
3583+#: ../src/app/qml/documentPage/DocumentPage.qml:25
3584+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3585+msgid "Document Viewer"
3586+msgstr ""
3587+
3588 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
3589 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
3590 msgid "Switch to single column list"
3591@@ -257,12 +242,12 @@
3592 msgstr ""
3593
3594 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
3595-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3596+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
3597 #: ../src/app/qml/pdfView/PdfView.qml:37
3598 msgid "Contents"
3599 msgstr ""
3600
3601-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
3602+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3603 msgid "Hide table of contents"
3604 msgstr ""
3605
3606@@ -309,16 +294,16 @@
3607 msgid "Loading..."
3608 msgstr ""
3609
3610-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
3611+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
3612 msgid "Document successfully imported!"
3613 msgid_plural "Documents successfully imported!"
3614 msgstr[0] ""
3615 msgstr[1] ""
3616
3617-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
3618+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
3619 msgid "Open"
3620 msgstr ""
3621
3622-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3623+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3624 msgid "documents;viewer;pdf;reader;"
3625 msgstr ""
3626
3627=== modified file 'po/zh_TW.po'
3628--- po/zh_TW.po 2015-05-16 05:39:21 +0000
3629+++ po/zh_TW.po 2015-05-18 14:00:46 +0000
3630@@ -7,7 +7,7 @@
3631 msgstr ""
3632 "Project-Id-Version: ubuntu-docviewer-app\n"
3633 "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
3634-"POT-Creation-Date: 2015-05-04 21:48+0200\n"
3635+"POT-Creation-Date: 2015-04-13 17:55+0200\n"
3636 "PO-Revision-Date: 2015-03-01 07:42+0000\n"
3637 "Last-Translator: Cheng-Chia Tseng <pswo10680@gmail.com>\n"
3638 "Language-Team: Chinese (Traditional) <zh_TW@li.org>\n"
3639@@ -15,28 +15,8 @@
3640 "Content-Type: text/plain; charset=UTF-8\n"
3641 "Content-Transfer-Encoding: 8bit\n"
3642 "Plural-Forms: nplurals=1; plural=0;\n"
3643-"X-Launchpad-Export-Date: 2015-05-16 05:39+0000\n"
3644-"X-Generator: Launchpad (build 17493)\n"
3645-
3646-#. TRANSLATORS: This string is used for renaming a copied file,
3647-#. when a file with the same name already exists in user's
3648-#. Documents folder.
3649-#.
3650-#. e.g. "Manual_Aquaris_E4.5_ubuntu_EN.pdf" will become
3651-#. "Manual_Aquaris_E4.5_ubuntu_EN (copy 2).pdf"
3652-#.
3653-#. where "2" is given by the argument "%1"
3654-#.
3655-#: ../src/app/content-communicator.cpp:105
3656-#, qt-format
3657-msgid "copy %1"
3658-msgstr ""
3659-
3660-#: ../src/app/docviewer-application.cpp:164
3661-#: ../src/app/qml/documentPage/DocumentPage.qml:25
3662-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3663-msgid "Document Viewer"
3664-msgstr "文件檢視器"
3665+"X-Launchpad-Export-Date: 2015-04-14 05:30+0000\n"
3666+"X-Generator: Launchpad (build 17423)\n"
3667
3668 #: ../src/app/qml/common/DetailsPage.qml:27
3669 #: ../src/app/qml/pdfView/PdfViewDefaultHeader.qml:97
3670@@ -234,6 +214,11 @@
3671 msgid "Even earlier..."
3672 msgstr ""
3673
3674+#: ../src/app/qml/documentPage/DocumentPage.qml:25
3675+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:1
3676+msgid "Document Viewer"
3677+msgstr "文件檢視器"
3678+
3679 #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:28
3680 #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:35
3681 msgid "Switch to single column list"
3682@@ -257,12 +242,12 @@
3683 msgstr ""
3684
3685 #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document.
3686-#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3687+#: ../src/app/qml/pdfView/PdfContentsPage.qml:26
3688 #: ../src/app/qml/pdfView/PdfView.qml:37
3689 msgid "Contents"
3690 msgstr "目錄"
3691
3692-#: ../src/app/qml/pdfView/PdfContentsPage.qml:38
3693+#: ../src/app/qml/pdfView/PdfContentsPage.qml:32
3694 msgid "Hide table of contents"
3695 msgstr ""
3696
3697@@ -309,16 +294,16 @@
3698 msgid "Loading..."
3699 msgstr "載入中..."
3700
3701-#: ../src/app/qml/ubuntu-docviewer-app.qml:183
3702+#: ../src/app/qml/ubuntu-docviewer-app.qml:167
3703 msgid "Document successfully imported!"
3704 msgid_plural "Documents successfully imported!"
3705 msgstr[0] ""
3706 msgstr[1] ""
3707
3708-#: ../src/app/qml/ubuntu-docviewer-app.qml:186
3709+#: ../src/app/qml/ubuntu-docviewer-app.qml:170
3710 msgid "Open"
3711 msgstr ""
3712
3713-#: /home/letozaf/autopilot-tests/build-test-toc-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3714+#: /home/stefano/Progetti/doc-viewer/build-adv-import-handler-Desktop-Default/po/com.ubuntu.docviewer.desktop.in.in.h:2
3715 msgid "documents;viewer;pdf;reader;"
3716 msgstr "documents;viewer;pdf;reader;文件;檢視器;閱讀器;"
3717
3718=== modified file 'src/app/CMakeLists.txt'
3719--- src/app/CMakeLists.txt 2015-04-20 16:24:06 +0000
3720+++ src/app/CMakeLists.txt 2015-05-18 14:00:46 +0000
3721@@ -14,7 +14,6 @@
3722 command-line-parser.cpp
3723 docviewer-application.cpp
3724 urlhandler.cpp
3725- quick/documentmodel.cpp
3726 ${QML_SRCS}
3727 )
3728
3729
3730=== modified file 'src/app/command-line-parser.cpp'
3731--- src/app/command-line-parser.cpp 2015-04-10 15:41:35 +0000
3732+++ src/app/command-line-parser.cpp 2015-05-18 14:00:46 +0000
3733@@ -32,7 +32,8 @@
3734 : m_pickMode(false),
3735 m_testability(false),
3736 m_isFullscreen(false),
3737- m_documentFile("")
3738+ m_documentFile(""),
3739+ m_documentsDir("")
3740 {
3741 m_urlHandler = new UrlHandler();
3742 }
3743@@ -61,6 +62,28 @@
3744 else if (args[i] == "--testability") {
3745 m_testability = true;
3746 }
3747+ else if (args[i].contains("--documents-dir")) {
3748+ // Extract the given path
3749+ QString dirPath = args[i].split("--documents-dir=").last();
3750+
3751+ if (!dirPath.isEmpty()) {
3752+ QDir di(dirPath);
3753+
3754+ if (di.exists())
3755+ m_documentsDir = di.absolutePath();
3756+ else {
3757+ QTextStream(stderr) << m_documentsDir << ": Not found" << endl;
3758+ valid_args = false;
3759+ }
3760+
3761+ i++;
3762+ }
3763+ else {
3764+ QTextStream(stderr) << "Missing PATH argument for --documents-dir'" << endl;
3765+ usage();
3766+ valid_args = false;
3767+ }
3768+ }
3769 else {
3770 if (args[i].startsWith("--desktop_file_hint")) {
3771 // ignore this command line switch, hybris uses it to get application info
3772@@ -95,6 +118,7 @@
3773 out << " --fullscreen\trun fullscreen" << endl;
3774 out << " --pick-mode\t\tEnable mode to pick photos" << endl;
3775 out << " file_path\t\tOpens ubuntu-docviewer-app displaying the selected file" << endl;
3776+ out << " --documents-dir=PATH\n\t\tLoad the list of documents from the given folder, instead of default ~/Documents.\nThe path must exist prior to running ubuntu-docviewer-app" << endl;
3777 }
3778
3779 /*!
3780
3781=== modified file 'src/app/command-line-parser.h'
3782--- src/app/command-line-parser.h 2015-04-10 15:41:35 +0000
3783+++ src/app/command-line-parser.h 2015-05-18 14:00:46 +0000
3784@@ -39,6 +39,7 @@
3785 bool processArguments(const QStringList& args);
3786
3787 bool isFullscreen() const { return m_isFullscreen; }
3788+ const QString &documentsDir() const { return m_documentsDir; }
3789 bool pickModeEnabled() const { return m_pickMode; }
3790 bool testability() const { return m_testability; }
3791 const QString &documentFile() const { return m_documentFile; }
3792@@ -53,6 +54,7 @@
3793 bool m_pickMode;
3794 bool m_testability;
3795 QString m_documentFile;
3796+ QString m_documentsDir;
3797 };
3798
3799 #endif // COMMANDLINEPARSER_H
3800
3801=== modified file 'src/app/docviewer-application.cpp'
3802--- src/app/docviewer-application.cpp 2015-04-10 15:41:35 +0000
3803+++ src/app/docviewer-application.cpp 2015-05-18 14:00:46 +0000
3804@@ -21,7 +21,6 @@
3805 #include "content-communicator.h"
3806 #include "command-line-parser.h"
3807 #include "urlhandler.h"
3808-#include "quick/documentmodel.h"
3809
3810 #include <QQuickItem>
3811 #include <QStandardPaths>
3812@@ -119,8 +118,6 @@
3813 // in the sistem if there is one
3814 importPathList.prepend(QCoreApplication::applicationDirPath() + "/../plugin/");
3815 m_view->engine()->setImportPathList(importPathList);
3816-
3817- qmlRegisterType<SortFilterDocumentModel>("DocumentViewer", 1, 0, "DocumentsModel");
3818 }
3819
3820 /*!
3821@@ -156,6 +153,16 @@
3822 }
3823
3824 /*!
3825+ * \brief DocViewerApplication::getDocumentsDir
3826+ * Returns the documents dir passed as a parameter
3827+ */
3828+const QString& DocViewerApplication::getDocumentsDir() const
3829+{
3830+ return m_cmdLineParser->documentsDir();
3831+}
3832+
3833+
3834+/*!
3835 * \brief DocViewerApplication::createView
3836 * Create the master QDeclarativeView that all the pages will operate within
3837 */
3838
3839=== modified file 'src/app/docviewer-application.h'
3840--- src/app/docviewer-application.h 2015-04-10 15:41:35 +0000
3841+++ src/app/docviewer-application.h 2015-05-18 14:00:46 +0000
3842@@ -41,6 +41,7 @@
3843 Q_PROPERTY(bool desktopMode READ isDesktopMode CONSTANT)
3844 Q_PROPERTY(bool fullScreen READ isFullScreen WRITE setFullScreen NOTIFY fullScreenChanged)
3845 Q_PROPERTY(QString documentFile READ getDocumentFile WRITE setDocumentFile NOTIFY documentFileChanged)
3846+ Q_PROPERTY(QString documentsDir READ getDocumentsDir CONSTANT)
3847
3848 public:
3849 enum UiMode{
3850@@ -61,6 +62,7 @@
3851 bool isDesktopMode() const;
3852 bool isFullScreen() const;
3853 const QString &getDocumentFile() const;
3854+ const QString &getDocumentsDir() const;
3855
3856 Q_INVOKABLE void returnPickedContent(QList<QString> paths);
3857 Q_INVOKABLE void contentPickingCanceled();
3858
3859=== modified file 'src/app/qml/common/DetailsPage.qml'
3860--- src/app/qml/common/DetailsPage.qml 2015-03-04 17:44:36 +0000
3861+++ src/app/qml/common/DetailsPage.qml 2015-05-18 14:00:46 +0000
3862@@ -35,24 +35,24 @@
3863 }
3864 ListItem.Subtitled {
3865 text: i18n.tr("Size")
3866- subText: Utils.printSize(i18n, file.size)
3867+ subText: Utils.printSize(i18n, file.info.size)
3868 }
3869
3870 ListItem.Subtitled {
3871 text: i18n.tr("Created")
3872- subText: file.creationTime.toLocaleString(Qt.locale())
3873+ subText: file.info.creationTime.toLocaleString(Qt.locale())
3874 }
3875
3876 ListItem.Subtitled {
3877 text: i18n.tr("Last modified")
3878- subText: file.lastModified.toLocaleString(Qt.locale())
3879+ subText: file.info.lastModified.toLocaleString(Qt.locale())
3880 }
3881
3882 ListItem.Subtitled {
3883 id: mimetypeItem
3884 objectName: "mimetypeItem"
3885 text: i18n.tr("MIME type")
3886- subText: file.mimetype
3887+ subText: file.mimetype.name
3888 }
3889 }
3890 }
3891
3892=== modified file 'src/app/qml/documentPage/DeleteFileDialog.qml'
3893--- src/app/qml/documentPage/DeleteFileDialog.qml 2015-03-04 17:44:36 +0000
3894+++ src/app/qml/documentPage/DeleteFileDialog.qml 2015-05-18 14:00:46 +0000
3895@@ -43,13 +43,13 @@
3896
3897 onClicked: {
3898 if (deleteFileDialog.path) {
3899- folderModel.rm(path)
3900+ docModel.rm(path)
3901 } else {
3902 var items = documentPage.view.item.selectedItems;
3903
3904 for (var i=0; i < items.count; i++) {
3905 console.log("Removing:", items.get(i).model.path);
3906- folderModel.rm(items.get(i).model.path);
3907+ docModel.rm(items.get(i).model.path);
3908 }
3909 }
3910
3911
3912=== modified file 'src/app/qml/documentPage/DocumentGridView.qml'
3913--- src/app/qml/documentPage/DocumentGridView.qml 2015-02-13 15:30:01 +0000
3914+++ src/app/qml/documentPage/DocumentGridView.qml 2015-05-18 14:00:46 +0000
3915@@ -53,7 +53,7 @@
3916 return
3917 }
3918 else {
3919- file.path = model.path
3920+ mainView.openDocument(model.path)
3921 }
3922 }
3923
3924
3925=== modified file 'src/app/qml/documentPage/DocumentListView.qml'
3926--- src/app/qml/documentPage/DocumentListView.qml 2015-03-04 01:40:41 +0000
3927+++ src/app/qml/documentPage/DocumentListView.qml 2015-05-18 14:00:46 +0000
3928@@ -17,6 +17,7 @@
3929 import QtQuick 2.0
3930 import Ubuntu.Components 1.1
3931 import Ubuntu.Components.ListItems 1.0 as ListItem
3932+import DocumentViewer 1.0
3933
3934 import "../upstreamComponents"
3935
3936@@ -114,7 +115,7 @@
3937 }
3938
3939 else {
3940- file.path = model.path
3941+ mainView.openDocument(model.path)
3942 }
3943 }
3944
3945@@ -131,16 +132,16 @@
3946 section.property: "dateDiff"
3947 section.delegate: ListItem.Header {
3948 text: {
3949- if (section == 0)
3950+ if (section == DocumentsModel.Today)
3951 return i18n.tr("Today")
3952
3953- if (section == 1)
3954+ if (section == DocumentsModel.Yesterday)
3955 return i18n.tr("Yesterday")
3956
3957- if (section == 2)
3958+ if (section == DocumentsModel.LastWeek)
3959 return i18n.tr("Earlier this week")
3960
3961- if (section == 3)
3962+ if (section == DocumentsModel.LastMonth)
3963 return i18n.tr("Earlier this month")
3964
3965 return i18n.tr("Even earlier...")
3966
3967=== modified file 'src/app/qml/pdfView/PdfView.qml'
3968--- src/app/qml/pdfView/PdfView.qml 2015-04-10 15:41:35 +0000
3969+++ src/app/qml/pdfView/PdfView.qml 2015-05-18 14:00:46 +0000
3970@@ -16,7 +16,7 @@
3971
3972 import QtQuick 2.3
3973 import Ubuntu.Components 1.1
3974-import com.ubuntu.popplerqmlplugin 1.0 as PDF
3975+import DocumentViewer.PDF 1.0 as PDF
3976
3977 import "../common/utils.js" as Utils
3978 import "../upstreamComponents"
3979@@ -99,8 +99,8 @@
3980 id: poppler
3981
3982 property bool isLoading: true
3983+ path: file.path
3984
3985- Component.onCompleted: path = file.path
3986 onPagesLoaded: {
3987 isLoading = false;
3988
3989
3990=== modified file 'src/app/qml/textView/TextViewDefaultHeader.qml'
3991--- src/app/qml/textView/TextViewDefaultHeader.qml 2015-03-26 13:58:31 +0000
3992+++ src/app/qml/textView/TextViewDefaultHeader.qml 2015-05-18 14:00:46 +0000
3993@@ -51,7 +51,7 @@
3994 elide: Text.ElideMiddle
3995
3996 fontSize: "small"
3997- text: file.description
3998+ text: file.mimetype.description
3999 }
4000 }
4001 }
4002
4003=== modified file 'src/app/qml/ubuntu-docviewer-app.qml'
4004--- src/app/qml/ubuntu-docviewer-app.qml 2015-04-14 14:16:16 +0000
4005+++ src/app/qml/ubuntu-docviewer-app.qml 2015-05-18 14:00:46 +0000
4006@@ -17,7 +17,6 @@
4007 import QtQuick 2.3
4008 import Ubuntu.Components 1.1
4009 import Ubuntu.Components.Popups 1.0
4010-import com.ubuntu.fileqmlplugin 1.0
4011 import DocumentViewer 1.0
4012 import QtQuick.Window 2.0
4013
4014@@ -50,6 +49,13 @@
4015 path = path.replace("file://", "")
4016 .replace("document://", "");
4017
4018+ if (file.path === path) {
4019+ // File has been already initialized, so just open the viewer
4020+ LoadComponent.load(file.mimetype.name);
4021+
4022+ return
4023+ }
4024+
4025 file.path = path;
4026 }
4027 }
4028@@ -115,7 +121,7 @@
4029 id: file
4030 objectName: "file"
4031
4032- onMimetypeChanged: LoadComponent.load(mimetype)
4033+ onMimetypeChanged: LoadComponent.load(mimetype.name)
4034 onErrorChanged: {
4035 if (error == -1)
4036 PopupUtils.open(Qt.resolvedUrl("common/FileNotFoundDialog.qml"),
4037@@ -123,7 +129,20 @@
4038 }
4039 }
4040
4041- DocumentsModel { id: folderModel }
4042+ SortFilterModel {
4043+ id: folderModel
4044+ model: DocumentsModel {
4045+ id: docModel
4046+
4047+ // Used for autopilot tests! If customDir is empty, this property is not used.
4048+ customDir: DOC_VIEWER.documentsDir
4049+ }
4050+
4051+ sort.property: "date"
4052+ sort.order: Qt.DescendingOrder
4053+ sortCaseSensitivity: Qt.CaseSensitive
4054+ }
4055+
4056 PageStack { id: pageStack }
4057
4058 Connections {
4059
4060=== removed directory 'src/app/quick'
4061=== modified file 'src/plugin/file-qml-plugin/CMakeLists.txt'
4062--- src/plugin/file-qml-plugin/CMakeLists.txt 2015-01-29 16:35:28 +0000
4063+++ src/plugin/file-qml-plugin/CMakeLists.txt 2015-05-18 14:00:46 +0000
4064@@ -1,11 +1,12 @@
4065-set(PLUGIN_DIR com/ubuntu/fileqmlplugin)
4066+set(PLUGIN_DIR DocumentViewer)
4067 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
4068
4069 #add the sources to compile
4070 set(fileqmlplugin_SRCS
4071 backend.cpp
4072- docviewerFile.cpp
4073- fileReader.cpp
4074+ documentmodel.cpp
4075+ fswatcher.cpp
4076+ docviewerfile.cpp
4077 )
4078
4079 add_library(fileqmlplugin MODULE
4080
4081=== modified file 'src/plugin/file-qml-plugin/backend.cpp'
4082--- src/plugin/file-qml-plugin/backend.cpp 2015-01-29 16:24:50 +0000
4083+++ src/plugin/file-qml-plugin/backend.cpp 2015-05-18 14:00:46 +0000
4084@@ -1,5 +1,5 @@
4085 /*
4086- * Copyright (C) 2013 Canonical, Ltd.
4087+ * Copyright (C) 2013-2015 Canonical, Ltd.
4088 *
4089 * This program is free software: you can redistribute it and/or modify it
4090 * under the terms of the GNU General Public License version 3, as published
4091@@ -19,18 +19,17 @@
4092 #include <QtQml/QQmlContext>
4093
4094 #include "backend.h"
4095-#include "docviewerFile.h"
4096-#include "fileReader.h"
4097+#include "documentmodel.h"
4098+#include "docviewerfile.h"
4099
4100 void BackendPlugin::registerTypes(const char *uri)
4101 {
4102- Q_ASSERT(uri == QLatin1String("com.ubuntu.fileqmlplugin"));
4103+ Q_ASSERT(uri == QLatin1String("DocumentViewer"));
4104
4105- //@uri com.ubuntu.fileqmlplugin
4106+ //@uri DocumentViewer
4107
4108+ qmlRegisterType<DocumentModel>(uri, 1, 0, "DocumentsModel");
4109 qmlRegisterType<DocviewerFile>(uri, 1, 0, "File");
4110- qmlRegisterType<FileReader>(uri, 1, 0, "FileReader");
4111-
4112 }
4113
4114 void BackendPlugin::initializeEngine(QQmlEngine *engine, const char *uri)
4115
4116=== modified file 'src/plugin/file-qml-plugin/backend.h'
4117--- src/plugin/file-qml-plugin/backend.h 2015-01-29 16:24:50 +0000
4118+++ src/plugin/file-qml-plugin/backend.h 2015-05-18 14:00:46 +0000
4119@@ -1,5 +1,5 @@
4120 /*
4121- * Copyright (C) 2013 Canonical, Ltd.
4122+ * Copyright (C) 2013 - 2015 Canonical, Ltd.
4123 *
4124 * This program is free software: you can redistribute it and/or modify it
4125 * under the terms of the GNU General Public License version 3, as published
4126@@ -24,7 +24,7 @@
4127 /*
4128 ----8<-----
4129
4130- import org.docviewer.file 1.0
4131+ import DocumentViewer 1.0
4132
4133 Rectangle {
4134 width: 200
4135
4136=== renamed file 'src/app/quick/documentmodel.cpp' => 'src/plugin/file-qml-plugin/documentmodel.cpp'
4137--- src/app/quick/documentmodel.cpp 2015-02-26 20:16:32 +0000
4138+++ src/plugin/file-qml-plugin/documentmodel.cpp 2015-05-18 14:00:46 +0000
4139@@ -16,95 +16,108 @@
4140 */
4141
4142 #include "documentmodel.h"
4143+#include "fswatcher.h"
4144+
4145+#include <QStandardPaths>
4146+#include <QDirIterator>
4147+
4148+#include <QDir>
4149+#include <QFileInfo>
4150
4151 #include <QMimeDatabase>
4152 #include <QDateTime>
4153-#include <QFileInfo>
4154-#include <QDir>
4155+
4156 #include <QDebug>
4157
4158 DocumentModel::DocumentModel(QObject *parent)
4159 : QAbstractListModel(parent)
4160 {
4161- m_docsMonitor = new QFileSystemWatcher;
4162-
4163- connect(m_docsMonitor, SIGNAL(directoryChanged(QString)), this,
4164- SLOT(_q_directoryChanged(QString)));
4165-
4166- m_docsMonitor->addPath(QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation));
4167-
4168- Q_FOREACH (const QString dir, m_docsMonitor->directories()) {
4169- parseDirectoryContent(dir);
4170- }
4171-}
4172-
4173-void DocumentModel::_q_directoryChanged(QString path)
4174-{
4175- QMutableListIterator<DocumentItem> i(m_docs);
4176- int n = 0;
4177- int m = 0;
4178-
4179- while (i.hasNext()) {
4180- if (i.next().path.startsWith(path)) {
4181- beginRemoveRows(QModelIndex(), n-m, n-m);
4182- i.remove();
4183- endRemoveRows();
4184- m++;
4185- }
4186- n++;
4187- }
4188-
4189- parseDirectoryContent(path);
4190-}
4191-
4192-void DocumentModel::parseDirectoryContent(QString path)
4193-{
4194- QDirIterator dir(path, QDir::Files | QDir::NoDotAndDotDot | QDir::Readable,
4195- QDirIterator::Subdirectories);
4196-
4197- while (dir.hasNext()) {
4198- dir.next();
4199-
4200- QDateTime now = QDateTime::currentDateTime();
4201- //qDebug() << "Current date is:" << now.toString("dd-MM-yyyy");
4202-
4203- QMimeDatabase db;
4204- QString mimetype = db.mimeTypeForFile(dir.filePath()).name();
4205-
4206- if (mimetype.startsWith("text/") || mimetype == "application/pdf") {
4207- QFileInfo file(dir.filePath());
4208- DocumentItem item;
4209-
4210- QDateTime lastAccess = file.lastRead();
4211-
4212- item.name = file.fileName();
4213- item.path = file.absoluteFilePath();
4214- item.mimetype = mimetype;
4215- item.date = lastAccess.toMSecsSinceEpoch();
4216- item.size = file.size();
4217-
4218- qint64 dateDiff = lastAccess.daysTo(now);
4219- if (dateDiff == 0) {
4220- item.dateDiff = 0;
4221- }
4222- else if (dateDiff == 1) {
4223- item.dateDiff = 1;
4224- }
4225- else if (dateDiff < 7) {
4226- item.dateDiff = 2;
4227- }
4228- else if (dateDiff < 30) {
4229- item.dateDiff = 3;
4230- }
4231- else {
4232- item.dateDiff = 4;
4233- }
4234- //qDebug() << "Item" << item.name << "Date:" << item.date;
4235- //qDebug() << "Item" << item.name << "Item date is:" << lastAccess.toString("dd-MM-yyyy") << "diff is" << dateDiff << "DateDiff is:" << item.dateDiff;
4236-
4237- addDocumentEntry(item);
4238- }
4239- }
4240+ m_docsMonitor = new FSWatcher;
4241+
4242+ connect(m_docsMonitor, SIGNAL(fileAdded(QString)), this,
4243+ SLOT(q_fileAdded(QString)));
4244+ connect(m_docsMonitor, SIGNAL(fileRemoved(QString)), this,
4245+ SLOT(q_fileRemoved(QString)));
4246+ connect(m_docsMonitor, SIGNAL(fileModified(QString)), this,
4247+ SLOT(q_fileModified(QString)));
4248+
4249+ setWatchedDirs();
4250+}
4251+
4252+void DocumentModel::q_fileRemoved(const QString & path)
4253+{
4254+ for (int i=0; i<m_docs.length(); i++) {
4255+ if (m_docs.at(i).path == path) {
4256+ removeDocumentEntry(i);
4257+ break;
4258+ }
4259+ }
4260+}
4261+
4262+void DocumentModel::q_fileAdded(const QString & path)
4263+{
4264+ if (isFileSupported(path)) {
4265+ addDocumentEntry(createEntry(path));
4266+ }
4267+}
4268+
4269+void DocumentModel::q_fileModified(const QString & path)
4270+{
4271+ for (int i=0; i<m_docs.length(); i++) {
4272+ if (m_docs.at(i).path == path) {
4273+ m_docs[i] = createEntry(path);
4274+
4275+ break;
4276+ }
4277+ }
4278+}
4279+
4280+DocumentItem DocumentModel::createEntry(const QString &path)
4281+{
4282+ DocumentItem item;
4283+
4284+ QDateTime now = QDateTime::currentDateTime();
4285+ //qDebug() << "Current date is:" << now.toString("dd-MM-yyyy");
4286+
4287+ QFileInfo file(path);
4288+ QMimeDatabase db;
4289+
4290+ QDateTime lastAccess = file.lastRead();
4291+
4292+ item.name = file.fileName();
4293+ item.path = file.absoluteFilePath();
4294+ item.mimetype = db.mimeTypeForFile(path).name();
4295+ item.date = lastAccess.toMSecsSinceEpoch();
4296+ item.size = file.size();
4297+
4298+ qint64 dateDiff = lastAccess.daysTo(now);
4299+ if (dateDiff == 0)
4300+ item.dateDiff = DateDiffEnums::Today;
4301+
4302+ else if (dateDiff == 1)
4303+ item.dateDiff = DateDiffEnums::Yesterday;
4304+
4305+ else if (dateDiff < 7)
4306+ item.dateDiff = DateDiffEnums::LastWeek;
4307+
4308+ else if (dateDiff < 30)
4309+ item.dateDiff = DateDiffEnums::LastMonth;
4310+
4311+ else
4312+ item.dateDiff = DateDiffEnums::Earlier;
4313+
4314+ //qDebug() << "Item" << item.name << "Date:" << item.date;
4315+ //qDebug() << "Item" << item.name << "Item date is:" << lastAccess.toString("dd-MM-yyyy") << "diff is" << dateDiff << "DateDiff is:" << item.dateDiff;
4316+
4317+ return item;
4318+}
4319+
4320+bool DocumentModel::isFileSupported(const QString &path)
4321+{
4322+ QMimeDatabase db;
4323+ QString mimetype = db.mimeTypeForFile(path).name();
4324+
4325+ return (mimetype.startsWith("text/") || mimetype == "application/pdf");
4326 }
4327
4328 QHash<int, QByteArray> DocumentModel::roleNames() const
4329@@ -129,7 +142,7 @@
4330
4331 void DocumentModel::removeDocumentEntry(int index)
4332 {
4333- beginRemoveRows(QModelIndex(), rowCount(), rowCount());
4334+ beginRemoveRows(QModelIndex(), index, index);
4335 m_docs.removeAt(index);
4336 endRemoveRows();
4337 }
4338@@ -165,38 +178,7 @@
4339 }
4340 }
4341
4342-DocumentModel::~DocumentModel()
4343-{
4344- delete m_docsMonitor;
4345-}
4346-
4347-SortFilterDocumentModel::SortFilterDocumentModel(QObject *parent)
4348- : QSortFilterProxyModel(parent)
4349-{
4350- m_model = new DocumentModel();
4351- setSourceModel(m_model);
4352- connect(m_model, SIGNAL(rowsInserted(QModelIndex,int,int)), this, SIGNAL(countChanged()));
4353- connect(m_model, SIGNAL(rowsRemoved(QModelIndex,int,int)), this, SIGNAL(countChanged()));
4354-
4355- setSortRole(DocumentModel::DateRole);
4356- setSortCaseSensitivity(Qt::CaseInsensitive);
4357- setSortLocaleAware(true);
4358-
4359- sort(0, Qt::DescendingOrder);
4360- setDynamicSortFilter(true);
4361-}
4362-
4363-SortFilterDocumentModel::~SortFilterDocumentModel()
4364-{
4365- delete m_model;
4366-}
4367-
4368-int SortFilterDocumentModel::rowCount()
4369-{
4370- return m_model->rowCount();
4371-}
4372-
4373-bool SortFilterDocumentModel::rm(QString path)
4374+bool DocumentModel::rm(QString path)
4375 {
4376 bool result = false;
4377 QDir dir(path);
4378@@ -210,3 +192,34 @@
4379
4380 return result;
4381 }
4382+
4383+void DocumentModel::setCustomDir(QString path)
4384+{
4385+ if (m_customDir != path) {
4386+ m_customDir = path;
4387+
4388+ setWatchedDirs();
4389+ Q_EMIT customDirChanged();
4390+ }
4391+}
4392+
4393+void DocumentModel::setWatchedDirs()
4394+{
4395+ // Clear old watched paths
4396+ m_docsMonitor->clear();
4397+
4398+ // Clear document list
4399+ beginRemoveRows(QModelIndex(), 0, rowCount());
4400+ m_docs.clear();
4401+ endRemoveRows();
4402+
4403+ if (!m_customDir.isEmpty())
4404+ m_docsMonitor->addDirectory(m_customDir);
4405+ else
4406+ m_docsMonitor->addDirectory(QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation));
4407+}
4408+
4409+DocumentModel::~DocumentModel()
4410+{
4411+ delete m_docsMonitor;
4412+}
4413
4414=== renamed file 'src/app/quick/documentmodel.h' => 'src/plugin/file-qml-plugin/documentmodel.h'
4415--- src/app/quick/documentmodel.h 2015-02-26 20:16:32 +0000
4416+++ src/plugin/file-qml-plugin/documentmodel.h 2015-05-18 14:00:46 +0000
4417@@ -18,11 +18,6 @@
4418 #define DOCUMENTMODEL_H
4419
4420 #include <QAbstractListModel>
4421-#include <QSortFilterProxyModel>
4422-
4423-#include <QStandardPaths>
4424-#include <QFileSystemWatcher>
4425-#include <QDirIterator>
4426
4427 struct DocumentItem {
4428 QString name;
4429@@ -33,12 +28,17 @@
4430 qint64 size;
4431 };
4432
4433+class FSWatcher;
4434+
4435 class DocumentModel : public QAbstractListModel
4436 {
4437 Q_OBJECT
4438+ Q_PROPERTY(QString customDir READ getCustomDir WRITE setCustomDir NOTIFY customDirChanged)
4439+ Q_ENUMS(DateDiffEnums)
4440+
4441 public:
4442 enum Roles {
4443- NameRole = Qt::UserRole + 1,
4444+ NameRole,
4445 PathRole,
4446 MimetypeRole,
4447 DateRole,
4448@@ -46,6 +46,14 @@
4449 SizeRole
4450 };
4451
4452+ enum DateDiffEnums {
4453+ Today = 0,
4454+ Yesterday = 1,
4455+ LastWeek = 2,
4456+ LastMonth = 3,
4457+ Earlier = 4
4458+ };
4459+
4460 DocumentModel(QObject *parent = 0);
4461 ~DocumentModel();
4462
4463@@ -54,36 +62,32 @@
4464 int rowCount(const QModelIndex & parent = QModelIndex()) const;
4465 QVariant data(const QModelIndex & index, int role = Qt::DisplayRole) const;
4466
4467- void parseDirectoryContent(QString path);
4468+ QString getCustomDir() const { return m_customDir; }
4469+
4470+ Q_INVOKABLE bool rm(QString path);
4471+
4472+signals:
4473+ void customDirChanged();
4474+
4475+public Q_SLOTS:
4476+ void setCustomDir(QString path);
4477
4478 private Q_SLOTS:
4479- void _q_directoryChanged(QString path);
4480+ void q_fileRemoved(const QString & path);
4481+ void q_fileAdded(const QString & path);
4482+ void q_fileModified(const QString & path);
4483
4484 private:
4485+ void setWatchedDirs();
4486 void addDocumentEntry(DocumentItem item);
4487 void removeDocumentEntry(int index);
4488
4489+ DocumentItem createEntry(const QString & path);
4490+ bool isFileSupported(const QString & path);
4491+
4492 QList<DocumentItem> m_docs;
4493- QFileSystemWatcher *m_docsMonitor;
4494-};
4495-
4496-class SortFilterDocumentModel : public QSortFilterProxyModel
4497-{
4498- Q_OBJECT
4499- Q_PROPERTY(int count READ rowCount NOTIFY countChanged)
4500-
4501-public:
4502- SortFilterDocumentModel(QObject *parent = 0);
4503- ~SortFilterDocumentModel();
4504-
4505- int rowCount();
4506- Q_INVOKABLE bool rm(QString path);
4507-
4508-Q_SIGNALS:
4509- void countChanged();
4510-
4511-private:
4512- DocumentModel *m_model;
4513+ FSWatcher *m_docsMonitor;
4514+ QString m_customDir;
4515 };
4516
4517 #endif // DOCUMENTMODEL_H
4518
4519=== renamed file 'src/plugin/file-qml-plugin/docviewerFile.cpp' => 'src/plugin/file-qml-plugin/docviewerfile.cpp'
4520--- src/plugin/file-qml-plugin/docviewerFile.cpp 2015-02-04 08:35:41 +0000
4521+++ src/plugin/file-qml-plugin/docviewerfile.cpp 2015-05-18 14:00:46 +0000
4522@@ -1,5 +1,5 @@
4523 /*
4524- * Copyright (C) 2013-2014 Canonical, Ltd.
4525+ * Copyright (C) 2013-2015 Canonical, Ltd.
4526 *
4527 * This program is free software: you can redistribute it and/or modify it
4528 * under the terms of the GNU General Public License version 3, as published
4529@@ -15,18 +15,19 @@
4530 *
4531 */
4532
4533-#include <QObject>
4534-#include <QDebug>
4535+#include "docviewerfile.h"
4536+
4537+#include <QDir>
4538 #include <QFileInfo>
4539-#include <QDir>
4540 #include <QMimeDatabase>
4541+#include <QDateTime>
4542
4543-#include "docviewerFile.h"
4544+#include <QDebug>
4545
4546 /*
4547 ----8<-----
4548
4549- import org.docviewer.file 1.0
4550+ import DocumentViewer 1.0
4551
4552 Rectangle {
4553 width: 200
4554@@ -37,13 +38,13 @@
4555 path: "the/path/of/file"
4556
4557 onMimetypeChanged: {
4558- do.something(mimetype);
4559+ do.something(mimetype.name);
4560 }
4561 }
4562
4563 Text {
4564 anchors.centerIn: parent
4565- text: helloType.helloworld
4566+ text: mimetype.description
4567 }
4568 }
4569
4570@@ -52,70 +53,68 @@
4571
4572 DocviewerFile::DocviewerFile(QObject *parent) :
4573 QObject(parent),
4574- path("")
4575-{
4576-}
4577-DocviewerFile::~DocviewerFile() {
4578-
4579-}
4580-
4581-void DocviewerFile::setPath(QString p) {
4582- if (p.isEmpty()) {
4583- this->path = "";
4584+ m_path("")
4585+{
4586+ connect(this, SIGNAL(pathChanged()), this, SLOT(open()));
4587+}
4588+
4589+DocviewerFile::~DocviewerFile()
4590+{
4591+ //
4592+}
4593+
4594+void DocviewerFile::setPath(const QString &path)
4595+{
4596+ if (m_path == path)
4597+ return;
4598+
4599+ QFileInfo file(QDir::currentPath(), path);
4600+
4601+ m_path = file.absoluteFilePath();
4602+ Q_EMIT pathChanged();
4603+
4604+ qDebug() << "[FILE] Path parsed as:" << m_path;
4605+}
4606+
4607+void DocviewerFile::open()
4608+{
4609+ if (m_path.isEmpty())
4610+ return;
4611+
4612+ QFileInfo file(m_path);
4613+
4614+ if (file.exists()) {
4615+ qDebug() << "[FILE] Extracting information from the file...";
4616+
4617+ /** Get info of the file **/
4618+ m_info["size"] = file.size();
4619+ m_info["lastModified"] = file.lastModified();
4620+ m_info["creationTime"] = file.created();
4621+ Q_EMIT infoChanged();
4622+
4623+ /** Get mimetype **/
4624+ this->setMimetype();
4625 }
4626+
4627 else {
4628- this->path = QFileInfo(QDir::currentPath(), p).absoluteFilePath();
4629- }
4630-
4631- qDebug() << "[FILE] Path parsed as:" << this->path;
4632-
4633- this->open();
4634-
4635- emit pathChanged();
4636-}
4637-
4638-void DocviewerFile::open() {
4639- if (!path.isEmpty())
4640- {
4641- QFileInfo file(path);
4642-
4643- if (file.exists()) {
4644- qDebug() << "[FILE] Extracting information from the file...";
4645-
4646- /**Get info of the file**/
4647- size = file.size();
4648- emit sizeChanged();
4649-
4650- lastmodified = file.lastModified();
4651- emit lastmodifiedChanged();
4652-
4653- creationTime = file.created();
4654- emit creationTimeChanged();
4655-
4656- /**Get mimetype**/
4657- this->readMimeType();
4658- }
4659- else {
4660- qDebug() << "[FILE] ERROR: Requested file does not exist!";
4661- error = -1;
4662- emit errorChanged();
4663- }
4664- }
4665-}
4666-
4667-void DocviewerFile::readMimeType()
4668+ qDebug() << "[FILE] ERROR: Requested file does not exist!";
4669+ m_error = -1;
4670+ Q_EMIT errorChanged();
4671+ }
4672+}
4673+
4674+void DocviewerFile::setMimetype()
4675 {
4676- QMimeDatabase db;
4677- mimetype = db.mimeTypeForFile(this->path).name();
4678- description = db.mimeTypeForFile(this->path).comment();
4679-
4680- if (mimetype == "application/octet-stream") {
4681- // Returned by Qt when it cannot determinate the mime type
4682- mimetype = "Unknown";
4683- }
4684-
4685- qDebug() << "[FILE] Requested file mime type:" << mimetype;
4686- qDebug() << "[FILE] Requested file description:" << description;
4687- emit mimetypeChanged();
4688- emit descriptionChanged();
4689+ QMimeType mime = QMimeDatabase().mimeTypeForFile(m_path);
4690+
4691+ m_mimetype["name"] = mime.name();
4692+ m_mimetype["description"] = mime.comment();
4693+
4694+ // Use a more user-friendly value for 'name' when Qt can not determinate the
4695+ // mime type.
4696+ if (m_mimetype.value("name") == "application/octet-stream")
4697+ m_mimetype["name"] = "Unknown";
4698+
4699+ qDebug() << "[FILE] Requested file mime type:" << m_mimetype.value("name");
4700+ Q_EMIT mimetypeChanged();
4701 }
4702
4703=== renamed file 'src/plugin/file-qml-plugin/docviewerFile.h' => 'src/plugin/file-qml-plugin/docviewerfile.h'
4704--- src/plugin/file-qml-plugin/docviewerFile.h 2015-01-30 16:38:10 +0000
4705+++ src/plugin/file-qml-plugin/docviewerfile.h 2015-05-18 14:00:46 +0000
4706@@ -1,5 +1,5 @@
4707 /*
4708- * Copyright (C) 2013-2014 Canonical, Ltd.
4709+ * Copyright (C) 2013-2015 Canonical, Ltd.
4710 *
4711 * This program is free software: you can redistribute it and/or modify it
4712 * under the terms of the GNU General Public License version 3, as published
4713@@ -18,20 +18,15 @@
4714 #ifndef DOCVIEWERFILE_H
4715 #define DOCVIEWERFILE_H
4716
4717-#include <QString>
4718 #include <QObject>
4719-#include <QProcess>
4720-#include <QDateTime>
4721+#include <QVariantMap>
4722
4723 class DocviewerFile : public QObject
4724 {
4725 Q_OBJECT
4726 Q_PROPERTY( QString path READ getPath WRITE setPath NOTIFY pathChanged )
4727- Q_PROPERTY( QString mimetype READ getMimetype NOTIFY mimetypeChanged )
4728- Q_PROPERTY( QString description READ getDescription NOTIFY descriptionChanged )
4729- Q_PROPERTY( qint64 size READ getSize NOTIFY sizeChanged )
4730- Q_PROPERTY( QDateTime lastModified READ getLastmodified NOTIFY lastmodifiedChanged )
4731- Q_PROPERTY( QDateTime creationTime READ getCreationTime NOTIFY creationTimeChanged )
4732+ Q_PROPERTY( QVariantMap mimetype READ getMimetype NOTIFY mimetypeChanged)
4733+ Q_PROPERTY( QVariantMap info READ getInfo NOTIFY infoChanged)
4734 Q_PROPERTY( int error READ getError NOTIFY errorChanged )
4735
4736 public:
4737@@ -39,41 +34,29 @@
4738 ~DocviewerFile();
4739
4740 protected:
4741- QString getPath() { return path; }
4742- void setPath(QString p);
4743-
4744- QString getMimetype() { return mimetype; }
4745-
4746- QString getDescription() { return description; }
4747-
4748- qint64 getSize() { return size; }
4749-
4750- QDateTime getLastmodified() { return lastmodified; }
4751-
4752- QDateTime getCreationTime() { return creationTime; }
4753-
4754- int getError() { return error; }
4755+ QString getPath() { return m_path; }
4756+ void setPath(const QString &path);
4757+
4758+ QVariantMap getMimetype() { return m_mimetype; }
4759+ QVariantMap getInfo() { return m_info; }
4760+ int getError() { return m_error; }
4761
4762- QString path;
4763- QString mimetype;
4764- QString description;
4765- qint64 size;
4766- QDateTime lastmodified;
4767- QDateTime creationTime;
4768- int error;
4769-
4770-private:
4771- void open();
4772- void readMimeType();
4773-
4774 Q_SIGNALS:
4775 void pathChanged();
4776 void mimetypeChanged();
4777- void descriptionChanged();
4778- void sizeChanged();
4779- void lastmodifiedChanged();
4780- void creationTimeChanged();
4781 void errorChanged();
4782+ void infoChanged();
4783+
4784+private slots:
4785+ void open();
4786+
4787+private:
4788+ void setMimetype();
4789+
4790+ QString m_path;
4791+ QVariantMap m_mimetype;
4792+ QVariantMap m_info;
4793+ int m_error;
4794 };
4795
4796 #endif // DOCVIEWERFILE_H
4797
4798=== removed file 'src/plugin/file-qml-plugin/fileReader.cpp'
4799--- src/plugin/file-qml-plugin/fileReader.cpp 2015-01-29 16:24:50 +0000
4800+++ src/plugin/file-qml-plugin/fileReader.cpp 1970-01-01 00:00:00 +0000
4801@@ -1,99 +0,0 @@
4802-/*
4803- * Copyright (C) 2013 Canonical, Ltd.
4804- *
4805- * This program is free software: you can redistribute it and/or modify it
4806- * under the terms of the GNU General Public License version 3, as published
4807- * by the Free Software Foundation.
4808- *
4809- * This program is distributed in the hope that it will be useful, but
4810- * WITHOUT ANY WARRANTY; without even the implied warranties of
4811- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
4812- * PURPOSE. See the GNU General Public License for more details.
4813- *
4814- * You should have received a copy of the GNU General Public License along
4815- * with this program. If not, see <http://www.gnu.org/licenses/>.
4816- *
4817- */
4818-
4819-#include <QFile>
4820-#include <QObject>
4821-#include <QDebug>
4822-#include <QTextStream>
4823-
4824-#include "fileReader.h"
4825-
4826-/*
4827- ----8<-----
4828-
4829- import org.docviewer.file 1.0
4830-
4831- Rectangle {
4832- width: 200
4833- height: 200
4834-
4835- FileReader {
4836- id: readFile
4837- path: "/path/of/file"
4838- }
4839-
4840- Text {
4841- anchors.centerIn: parent
4842- text: readFile.fileString
4843- }
4844- }
4845-
4846- -----8<------
4847-*/
4848-
4849-FileReader::FileReader(QObject *parent) :
4850- QObject(parent),
4851- path("")
4852-{
4853-
4854-}
4855-
4856-FileReader::~FileReader() {
4857-
4858-}
4859-
4860-void FileReader::setPath(QString p) {
4861- if (p.isEmpty())
4862- {
4863- this->path = "";
4864- }
4865- else
4866- {
4867- this->path = p;
4868- }
4869-
4870- this->readString();
4871-
4872- emit pathChanged();
4873-}
4874-
4875-void FileReader::readString() {
4876- if (!path.isEmpty()) {
4877-
4878- QFile mfile(path);
4879-
4880- if (!mfile.open(QFile::ReadOnly | QFile::Text))
4881- {
4882- qDebug() << "Could not open file for reading";
4883- error = -1;
4884- emit errorChanged();
4885- return;
4886- }
4887-
4888- QTextStream in(&mfile);
4889- fileString = in.readAll();
4890- emit fileStringChanged();
4891-
4892- mfile.flush();
4893- mfile.close();
4894- }
4895- else
4896- {
4897- error = -1;
4898- emit errorChanged();
4899- }
4900-}
4901
4902=== removed file 'src/plugin/file-qml-plugin/fileReader.h'
4903--- src/plugin/file-qml-plugin/fileReader.h 2015-01-29 16:24:50 +0000
4904+++ src/plugin/file-qml-plugin/fileReader.h 1970-01-01 00:00:00 +0000
4905@@ -1,56 +0,0 @@
4906-/*
4907- * Copyright (C) 2013 Canonical, Ltd.
4908- *
4909- * This program is free software: you can redistribute it and/or modify it
4910- * under the terms of the GNU General Public License version 3, as published
4911- * by the Free Software Foundation.
4912- *
4913- * This program is distributed in the hope that it will be useful, but
4914- * WITHOUT ANY WARRANTY; without even the implied warranties of
4915- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
4916- * PURPOSE. See the GNU General Public License for more details.
4917- *
4918- * You should have received a copy of the GNU General Public License along
4919- * with this program. If not, see <http://www.gnu.org/licenses/>.
4920- *
4921- */
4922-
4923-#ifndef FILEREADER_H
4924-#define FILEREADER_H
4925-
4926-#include <QObject>
4927-#include <QString>
4928-
4929-class FileReader: public QObject
4930-{
4931- Q_OBJECT
4932- Q_PROPERTY(QString path READ getPath WRITE setPath NOTIFY pathChanged)
4933- Q_PROPERTY(QString fileString READ getfileString NOTIFY fileStringChanged)
4934- Q_PROPERTY(int error READ getError NOTIFY errorChanged)
4935-
4936-public:
4937- explicit FileReader(QObject *parent = 0);
4938- ~FileReader();
4939-
4940-protected:
4941- QString getPath() { return path; }
4942- void setPath(QString p);
4943-
4944- QString getfileString() { return fileString; }
4945-
4946- int getError() { return error; }
4947-
4948- QString path;
4949- QString fileString;
4950- int error;
4951-
4952-private:
4953- void readString();
4954-
4955-Q_SIGNALS:
4956- void pathChanged();
4957- void fileStringChanged();
4958- void errorChanged();
4959-};
4960-
4961-#endif // FILEREADER_H
4962
4963=== added file 'src/plugin/file-qml-plugin/fswatcher.cpp'
4964--- src/plugin/file-qml-plugin/fswatcher.cpp 1970-01-01 00:00:00 +0000
4965+++ src/plugin/file-qml-plugin/fswatcher.cpp 2015-05-18 14:00:46 +0000
4966@@ -0,0 +1,118 @@
4967+/*
4968+ * Copyright (C) 2014, 2015
4969+ * Stefano Verzegnassi <stefano92.100@gmail.com>
4970+ *
4971+ * This is free software: you can redistribute it and/or modify
4972+ * it under the terms of the GNU General Public License as published by
4973+ * the Free Software Foundation, either version 3 of the License.
4974+ *
4975+ * This is distributed in the hope that it will be useful,
4976+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
4977+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4978+ * GNU General Public License for more details.
4979+ *
4980+ * You should have received a copy of the GNU General Public License
4981+ * along with this program. If not, see http://www.gnu.org/licenses/.
4982+ */
4983+
4984+#include "fswatcher.h"
4985+#include <QDirIterator>
4986+
4987+#include <QFile>
4988+#include <QDir>
4989+
4990+#include <QDebug>
4991+
4992+FSWatcher::FSWatcher(QObject *parent)
4993+ : QFileSystemWatcher(parent)
4994+{
4995+ connect(this, SIGNAL(fileChanged(QString)), this, SLOT(q_fileChanged(QString)));
4996+ connect(this, SIGNAL(directoryChanged(QString)), this, SLOT(q_dirChanged(QString)));
4997+}
4998+
4999+void FSWatcher::clear()
5000+{
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches