Merge lp:~renatofilho/ubuntu-docviewer-app/update-debian into lp:ubuntu-docviewer-app
- update-debian
- Merge into lo-viewer
Proposed by
Renato Araujo Oliveira Filho
Status: | Needs review |
---|---|
Proposed branch: | lp:~renatofilho/ubuntu-docviewer-app/update-debian |
Merge into: | lp:ubuntu-docviewer-app |
Diff against target: |
740 lines (+257/-138) 16 files modified
COPYING.LGPL (+165/-0) cmake/modules/Click.cmake (+2/-14) data/CMakeLists.txt (+2/-2) debian/control (+8/-39) debian/qtdeclarative5-documentviewer-common.install (+0/-2) debian/qtdeclarative5-documentviewer-libreoffice.install (+0/-1) debian/qtdeclarative5-documentviewer-pdf.install (+0/-1) debian/rules (+1/-0) debian/ubuntu-docviewer-app.install (+8/-0) po/com.ubuntu.docviewer.pot (+64/-73) src/app/CMakeLists.txt (+1/-1) src/app/config.h.in (+1/-0) src/app/main.cpp (+1/-0) tests/autopilot/ubuntu_docviewer_app/__init__.py (+1/-1) tests/autopilot/ubuntu_docviewer_app/tests/__init__.py (+2/-3) tests/autopilot/ubuntu_docviewer_app/tests/test_docviewer.py (+1/-1) |
To merge this branch: | bzr merge lp:~renatofilho/ubuntu-docviewer-app/update-debian |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jenkins Bot | continuous-integration | Approve | |
Ubuntu Document Viewer Developers | Pending | ||
Review via email: mp+321452@code.launchpad.net |
Commit message
[debian] Update debian package
Use only one package for apps and plugin.
Install plugins on a private app dir.
Fix icon installation
Added missing LGL COPYING file.
Description of the change
To post a comment you must log in.
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote : | # |
review:
Approve
(continuous-integration)
- 365. By Renato Araujo Oliveira Filho
-
Added apparmor rule.
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:365
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
review:
Approve
(continuous-integration)
Unmerged revisions
- 365. By Renato Araujo Oliveira Filho
-
Added apparmor rule.
- 364. By Renato Araujo Oliveira Filho
-
[debian] Update debian package
Use only one package for apps and plugin.
Install plugins on a private app dir.
Fix icon installation
Added missing LGL COPYING file. - 363. By Renato Araujo Oliveira Filho
-
Fixed pep8 syntax.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === renamed file 'COPYING' => 'COPYING.GPL' | |||
2 | === added file 'COPYING.LGPL' | |||
3 | --- COPYING.LGPL 1970-01-01 00:00:00 +0000 | |||
4 | +++ COPYING.LGPL 2017-04-04 12:49:52 +0000 | |||
5 | @@ -0,0 +1,165 @@ | |||
6 | 1 | GNU LESSER GENERAL PUBLIC LICENSE | ||
7 | 2 | Version 3, 29 June 2007 | ||
8 | 3 | |||
9 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | ||
10 | 5 | Everyone is permitted to copy and distribute verbatim copies | ||
11 | 6 | of this license document, but changing it is not allowed. | ||
12 | 7 | |||
13 | 8 | |||
14 | 9 | This version of the GNU Lesser General Public License incorporates | ||
15 | 10 | the terms and conditions of version 3 of the GNU General Public | ||
16 | 11 | License, supplemented by the additional permissions listed below. | ||
17 | 12 | |||
18 | 13 | 0. Additional Definitions. | ||
19 | 14 | |||
20 | 15 | As used herein, "this License" refers to version 3 of the GNU Lesser | ||
21 | 16 | General Public License, and the "GNU GPL" refers to version 3 of the GNU | ||
22 | 17 | General Public License. | ||
23 | 18 | |||
24 | 19 | "The Library" refers to a covered work governed by this License, | ||
25 | 20 | other than an Application or a Combined Work as defined below. | ||
26 | 21 | |||
27 | 22 | An "Application" is any work that makes use of an interface provided | ||
28 | 23 | by the Library, but which is not otherwise based on the Library. | ||
29 | 24 | Defining a subclass of a class defined by the Library is deemed a mode | ||
30 | 25 | of using an interface provided by the Library. | ||
31 | 26 | |||
32 | 27 | A "Combined Work" is a work produced by combining or linking an | ||
33 | 28 | Application with the Library. The particular version of the Library | ||
34 | 29 | with which the Combined Work was made is also called the "Linked | ||
35 | 30 | Version". | ||
36 | 31 | |||
37 | 32 | The "Minimal Corresponding Source" for a Combined Work means the | ||
38 | 33 | Corresponding Source for the Combined Work, excluding any source code | ||
39 | 34 | for portions of the Combined Work that, considered in isolation, are | ||
40 | 35 | based on the Application, and not on the Linked Version. | ||
41 | 36 | |||
42 | 37 | The "Corresponding Application Code" for a Combined Work means the | ||
43 | 38 | object code and/or source code for the Application, including any data | ||
44 | 39 | and utility programs needed for reproducing the Combined Work from the | ||
45 | 40 | Application, but excluding the System Libraries of the Combined Work. | ||
46 | 41 | |||
47 | 42 | 1. Exception to Section 3 of the GNU GPL. | ||
48 | 43 | |||
49 | 44 | You may convey a covered work under sections 3 and 4 of this License | ||
50 | 45 | without being bound by section 3 of the GNU GPL. | ||
51 | 46 | |||
52 | 47 | 2. Conveying Modified Versions. | ||
53 | 48 | |||
54 | 49 | If you modify a copy of the Library, and, in your modifications, a | ||
55 | 50 | facility refers to a function or data to be supplied by an Application | ||
56 | 51 | that uses the facility (other than as an argument passed when the | ||
57 | 52 | facility is invoked), then you may convey a copy of the modified | ||
58 | 53 | version: | ||
59 | 54 | |||
60 | 55 | a) under this License, provided that you make a good faith effort to | ||
61 | 56 | ensure that, in the event an Application does not supply the | ||
62 | 57 | function or data, the facility still operates, and performs | ||
63 | 58 | whatever part of its purpose remains meaningful, or | ||
64 | 59 | |||
65 | 60 | b) under the GNU GPL, with none of the additional permissions of | ||
66 | 61 | this License applicable to that copy. | ||
67 | 62 | |||
68 | 63 | 3. Object Code Incorporating Material from Library Header Files. | ||
69 | 64 | |||
70 | 65 | The object code form of an Application may incorporate material from | ||
71 | 66 | a header file that is part of the Library. You may convey such object | ||
72 | 67 | code under terms of your choice, provided that, if the incorporated | ||
73 | 68 | material is not limited to numerical parameters, data structure | ||
74 | 69 | layouts and accessors, or small macros, inline functions and templates | ||
75 | 70 | (ten or fewer lines in length), you do both of the following: | ||
76 | 71 | |||
77 | 72 | a) Give prominent notice with each copy of the object code that the | ||
78 | 73 | Library is used in it and that the Library and its use are | ||
79 | 74 | covered by this License. | ||
80 | 75 | |||
81 | 76 | b) Accompany the object code with a copy of the GNU GPL and this license | ||
82 | 77 | document. | ||
83 | 78 | |||
84 | 79 | 4. Combined Works. | ||
85 | 80 | |||
86 | 81 | You may convey a Combined Work under terms of your choice that, | ||
87 | 82 | taken together, effectively do not restrict modification of the | ||
88 | 83 | portions of the Library contained in the Combined Work and reverse | ||
89 | 84 | engineering for debugging such modifications, if you also do each of | ||
90 | 85 | the following: | ||
91 | 86 | |||
92 | 87 | a) Give prominent notice with each copy of the Combined Work that | ||
93 | 88 | the Library is used in it and that the Library and its use are | ||
94 | 89 | covered by this License. | ||
95 | 90 | |||
96 | 91 | b) Accompany the Combined Work with a copy of the GNU GPL and this license | ||
97 | 92 | document. | ||
98 | 93 | |||
99 | 94 | c) For a Combined Work that displays copyright notices during | ||
100 | 95 | execution, include the copyright notice for the Library among | ||
101 | 96 | these notices, as well as a reference directing the user to the | ||
102 | 97 | copies of the GNU GPL and this license document. | ||
103 | 98 | |||
104 | 99 | d) Do one of the following: | ||
105 | 100 | |||
106 | 101 | 0) Convey the Minimal Corresponding Source under the terms of this | ||
107 | 102 | License, and the Corresponding Application Code in a form | ||
108 | 103 | suitable for, and under terms that permit, the user to | ||
109 | 104 | recombine or relink the Application with a modified version of | ||
110 | 105 | the Linked Version to produce a modified Combined Work, in the | ||
111 | 106 | manner specified by section 6 of the GNU GPL for conveying | ||
112 | 107 | Corresponding Source. | ||
113 | 108 | |||
114 | 109 | 1) Use a suitable shared library mechanism for linking with the | ||
115 | 110 | Library. A suitable mechanism is one that (a) uses at run time | ||
116 | 111 | a copy of the Library already present on the user's computer | ||
117 | 112 | system, and (b) will operate properly with a modified version | ||
118 | 113 | of the Library that is interface-compatible with the Linked | ||
119 | 114 | Version. | ||
120 | 115 | |||
121 | 116 | e) Provide Installation Information, but only if you would otherwise | ||
122 | 117 | be required to provide such information under section 6 of the | ||
123 | 118 | GNU GPL, and only to the extent that such information is | ||
124 | 119 | necessary to install and execute a modified version of the | ||
125 | 120 | Combined Work produced by recombining or relinking the | ||
126 | 121 | Application with a modified version of the Linked Version. (If | ||
127 | 122 | you use option 4d0, the Installation Information must accompany | ||
128 | 123 | the Minimal Corresponding Source and Corresponding Application | ||
129 | 124 | Code. If you use option 4d1, you must provide the Installation | ||
130 | 125 | Information in the manner specified by section 6 of the GNU GPL | ||
131 | 126 | for conveying Corresponding Source.) | ||
132 | 127 | |||
133 | 128 | 5. Combined Libraries. | ||
134 | 129 | |||
135 | 130 | You may place library facilities that are a work based on the | ||
136 | 131 | Library side by side in a single library together with other library | ||
137 | 132 | facilities that are not Applications and are not covered by this | ||
138 | 133 | License, and convey such a combined library under terms of your | ||
139 | 134 | choice, if you do both of the following: | ||
140 | 135 | |||
141 | 136 | a) Accompany the combined library with a copy of the same work based | ||
142 | 137 | on the Library, uncombined with any other library facilities, | ||
143 | 138 | conveyed under the terms of this License. | ||
144 | 139 | |||
145 | 140 | b) Give prominent notice with the combined library that part of it | ||
146 | 141 | is a work based on the Library, and explaining where to find the | ||
147 | 142 | accompanying uncombined form of the same work. | ||
148 | 143 | |||
149 | 144 | 6. Revised Versions of the GNU Lesser General Public License. | ||
150 | 145 | |||
151 | 146 | The Free Software Foundation may publish revised and/or new versions | ||
152 | 147 | of the GNU Lesser General Public License from time to time. Such new | ||
153 | 148 | versions will be similar in spirit to the present version, but may | ||
154 | 149 | differ in detail to address new problems or concerns. | ||
155 | 150 | |||
156 | 151 | Each version is given a distinguishing version number. If the | ||
157 | 152 | Library as you received it specifies that a certain numbered version | ||
158 | 153 | of the GNU Lesser General Public License "or any later version" | ||
159 | 154 | applies to it, you have the option of following the terms and | ||
160 | 155 | conditions either of that published version or of any later version | ||
161 | 156 | published by the Free Software Foundation. If the Library as you | ||
162 | 157 | received it does not specify a version number of the GNU Lesser | ||
163 | 158 | General Public License, you may choose any version of the GNU Lesser | ||
164 | 159 | General Public License ever published by the Free Software Foundation. | ||
165 | 160 | |||
166 | 161 | If the Library as you received it specifies that a proxy can decide | ||
167 | 162 | whether future versions of the GNU Lesser General Public License shall | ||
168 | 163 | apply, that proxy's public statement of acceptance of any version is | ||
169 | 164 | permanent authorization for you to choose that version for the | ||
170 | 165 | Library. | ||
171 | 0 | 166 | ||
172 | === modified file 'cmake/modules/Click.cmake' | |||
173 | --- cmake/modules/Click.cmake 2016-12-09 15:31:01 +0000 | |||
174 | +++ cmake/modules/Click.cmake 2017-04-04 12:49:52 +0000 | |||
175 | @@ -63,18 +63,6 @@ | |||
176 | 63 | MESSAGE("Installing LibreOffice from ${UPSTREAM_LIBS_DIR}/opt/libreoffice/lib/libreoffice to ${DATA_DIR}lib/${ARCH_TRIPLET}/libreoffice") | 63 | MESSAGE("Installing LibreOffice from ${UPSTREAM_LIBS_DIR}/opt/libreoffice/lib/libreoffice to ${DATA_DIR}lib/${ARCH_TRIPLET}/libreoffice") |
177 | 64 | INSTALL( DIRECTORY ${UPSTREAM_LIBS_DIR}/opt/libreoffice/lib/libreoffice/ DESTINATION ${DATA_DIR}lib/${ARCH_TRIPLET}/libreoffice ) | 64 | INSTALL( DIRECTORY ${UPSTREAM_LIBS_DIR}/opt/libreoffice/lib/libreoffice/ DESTINATION ${DATA_DIR}lib/${ARCH_TRIPLET}/libreoffice ) |
178 | 65 | else(CLICK_MODE) | 65 | else(CLICK_MODE) |
193 | 66 | execute_process( | 66 | set(QT_IMPORTS_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/${APP_NAME}/qml") |
194 | 67 | COMMAND qmake -query QT_INSTALL_QML | 67 | set(DATA_DIR "${CMAKE_INSTALL_DATADIR}/${APP_NAME}") |
181 | 68 | OUTPUT_VARIABLE QT_IMPORTS_DIR | ||
182 | 69 | OUTPUT_STRIP_TRAILING_WHITESPACE | ||
183 | 70 | ) | ||
184 | 71 | |||
185 | 72 | if (QT_IMPORTS_DIR STREQUAL "") | ||
186 | 73 | set(QT_IMPORTS_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/qt5/qml") | ||
187 | 74 | message(STATUS "QT_IMPORTS_DIR is empty using default one: ${QT_IMPORTS_DIR}") | ||
188 | 75 | else() | ||
189 | 76 | message(STATUS "QT_IMPORTS_DIR set to ${QT_IMPORTS_DIR}") | ||
190 | 77 | endif() | ||
191 | 78 | |||
192 | 79 | set(DATA_DIR ${CMAKE_INSTALL_DATADIR}/${APP_NAME}) | ||
195 | 80 | endif(CLICK_MODE) | 68 | endif(CLICK_MODE) |
196 | 81 | 69 | ||
197 | === modified file 'data/CMakeLists.txt' | |||
198 | --- data/CMakeLists.txt 2015-12-04 10:47:19 +0000 | |||
199 | +++ data/CMakeLists.txt 2017-04-04 12:49:52 +0000 | |||
200 | @@ -7,8 +7,8 @@ | |||
201 | 7 | set(ICON "${CMAKE_INSTALL_PREFIX}/${DATA_DIR}/${ICON_FILE}") | 7 | set(ICON "${CMAKE_INSTALL_PREFIX}/${DATA_DIR}/${ICON_FILE}") |
202 | 8 | set(DESKTOP_DIR ${CMAKE_INSTALL_DATADIR}/applications) | 8 | set(DESKTOP_DIR ${CMAKE_INSTALL_DATADIR}/applications) |
203 | 9 | 9 | ||
206 | 10 | install(DIRECTORY icons/hicolor DESTINATION ${CMAKE_INSTALL_DATADIR}/icons | 10 | install(FILES ${ICON_FILE} |
207 | 11 | FILES_MATCHING PATTERN *.png | 11 | DESTINATION ${CMAKE_INSTALL_PREFIX}/${DATA_DIR}/ |
208 | 12 | ) | 12 | ) |
209 | 13 | endif(CLICK_MODE) | 13 | endif(CLICK_MODE) |
210 | 14 | 14 | ||
211 | 15 | 15 | ||
212 | === added directory 'debian/apparmor' | |||
213 | === modified file 'debian/control' | |||
214 | --- debian/control 2016-01-14 21:33:47 +0000 | |||
215 | +++ debian/control 2017-04-04 12:49:52 +0000 | |||
216 | @@ -18,7 +18,7 @@ | |||
217 | 18 | qtdeclarative5-private-dev, | 18 | qtdeclarative5-private-dev, |
218 | 19 | qtbase5-private-dev, | 19 | qtbase5-private-dev, |
219 | 20 | qtdeclarative5-test-plugin | 20 | qtdeclarative5-test-plugin |
221 | 21 | Standards-Version: 3.9.6 | 21 | Standards-Version: 3.9.7 |
222 | 22 | Section: misc | 22 | Section: misc |
223 | 23 | Homepage: https://launchpad.net/ubuntu-docviewer-app | 23 | Homepage: https://launchpad.net/ubuntu-docviewer-app |
224 | 24 | Vcs-Bzr: https://code.launchpad.net/~ubuntu-docviewer-dev/ubuntu-docviewer-app/reboot | 24 | Vcs-Bzr: https://code.launchpad.net/~ubuntu-docviewer-dev/ubuntu-docviewer-app/reboot |
225 | @@ -26,46 +26,15 @@ | |||
226 | 26 | Package: ubuntu-docviewer-app | 26 | Package: ubuntu-docviewer-app |
227 | 27 | Architecture: any | 27 | Architecture: any |
228 | 28 | Depends: ${misc:Depends}, | 28 | Depends: ${misc:Depends}, |
235 | 29 | qtdeclarative5-documentviewer-common (= ${source:Version}), | 29 | qml-module-qtquick2, |
236 | 30 | qtdeclarative5-documentviewer-libreoffice (= ${source:Version}), | 30 | qml-module-ubuntu-components, |
237 | 31 | qtdeclarative5-documentviewer-pdf (= ${source:Version}), | 31 | qml-module-qtquick-layouts, |
238 | 32 | suru-icon-theme (>= 14.04+15.10.20150707-0ubuntu1), | 32 | qml-module-qtquick-window2, |
233 | 33 | qtdeclarative5-qtquick2-plugin, | ||
234 | 34 | qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3.1676) | qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3.1676), | ||
239 | 35 | qtdeclarative5-ubuntu-content1, | 33 | qtdeclarative5-ubuntu-content1, |
242 | 36 | qtdeclarative5-quicklayouts-plugin, | 34 | suru-icon-theme (>= 14.04+15.10.20150707-0ubuntu1) |
241 | 37 | qtdeclarative5-window-plugin | ||
243 | 38 | Description: Document Viewer application | 35 | Description: Document Viewer application |
274 | 39 | Core Document Viewer application | 36 | Core Document Viewer application. This package contains a plugin that enables |
275 | 40 | 37 | QML apps to read and display any LibreOffice or PDF document. | |
246 | 41 | Package: qtdeclarative5-documentviewer-common | ||
247 | 42 | Architecture: any | ||
248 | 43 | Depends: ${misc:Depends}, | ||
249 | 44 | ${shlibs:Depends}, | ||
250 | 45 | ${misc:Pre-Depends}, | ||
251 | 46 | Description: Document Viewer QML plugin | ||
252 | 47 | This package contains a plugin with some helper functions for the Ubuntu | ||
253 | 48 | Document Viewer. | ||
254 | 49 | |||
255 | 50 | Package: qtdeclarative5-documentviewer-libreoffice | ||
256 | 51 | Architecture: any | ||
257 | 52 | Depends: ${misc:Depends}, | ||
258 | 53 | ${shlibs:Depends}, | ||
259 | 54 | ${misc:Pre-Depends}, | ||
260 | 55 | libreoffice-vanilla (>= 5.0.0) | libreoffice (>= 5.0.0) | ||
261 | 56 | Description: LibreOffice QML plugin | ||
262 | 57 | This package contains a plugin that enables QML apps to read | ||
263 | 58 | and display any LibreOffice document. | ||
264 | 59 | |||
265 | 60 | Package: qtdeclarative5-documentviewer-pdf | ||
266 | 61 | Architecture: any | ||
267 | 62 | Depends: ${misc:Depends}, | ||
268 | 63 | ${shlibs:Depends}, | ||
269 | 64 | ${misc:Pre-Depends}, | ||
270 | 65 | libpoppler-qt5-1 | ||
271 | 66 | Description: Poppler PDF QML plugin | ||
272 | 67 | This package contains a plugin that enables QML apps to read | ||
273 | 68 | and display any PDF document, via the Poppler Qt5 bindings. | ||
276 | 69 | 38 | ||
277 | 70 | Package: ubuntu-docviewer-app-autopilot | 39 | Package: ubuntu-docviewer-app-autopilot |
278 | 71 | Architecture: all | 40 | Architecture: all |
279 | 72 | 41 | ||
280 | === removed file 'debian/qtdeclarative5-documentviewer-common.install' | |||
281 | --- debian/qtdeclarative5-documentviewer-common.install 2015-10-27 18:47:09 +0000 | |||
282 | +++ debian/qtdeclarative5-documentviewer-common.install 1970-01-01 00:00:00 +0000 | |||
283 | @@ -1,2 +0,0 @@ | |||
284 | 1 | usr/lib/*/qt5/qml/DocumentViewer/qmldir | ||
285 | 2 | usr/lib/*/qt5/qml/DocumentViewer/libfileqmlplugin.so | ||
286 | 3 | 0 | ||
287 | === removed file 'debian/qtdeclarative5-documentviewer-libreoffice.install' | |||
288 | --- debian/qtdeclarative5-documentviewer-libreoffice.install 2015-10-27 18:47:09 +0000 | |||
289 | +++ debian/qtdeclarative5-documentviewer-libreoffice.install 1970-01-01 00:00:00 +0000 | |||
290 | @@ -1,1 +0,0 @@ | |||
291 | 1 | usr/lib/*/qt5/qml/DocumentViewer/LibreOffice | ||
292 | 2 | 0 | ||
293 | === removed file 'debian/qtdeclarative5-documentviewer-pdf.install' | |||
294 | --- debian/qtdeclarative5-documentviewer-pdf.install 2015-10-27 18:47:09 +0000 | |||
295 | +++ debian/qtdeclarative5-documentviewer-pdf.install 1970-01-01 00:00:00 +0000 | |||
296 | @@ -1,1 +0,0 @@ | |||
297 | 1 | usr/lib/*/qt5/qml/DocumentViewer/PDF | ||
298 | 2 | 0 | ||
299 | === modified file 'debian/rules' | |||
300 | --- debian/rules 2015-10-27 19:08:13 +0000 | |||
301 | +++ debian/rules 2017-04-04 12:49:52 +0000 | |||
302 | @@ -16,3 +16,4 @@ | |||
303 | 16 | 16 | ||
304 | 17 | override_dh_install: | 17 | override_dh_install: |
305 | 18 | dh_install --fail-missing | 18 | dh_install --fail-missing |
306 | 19 | dh_apparmor -pubuntu-docviewer-app --profile-name=ubuntu-docviewer-app | ||
307 | 19 | 20 | ||
308 | === modified file 'debian/ubuntu-docviewer-app.install' | |||
309 | --- debian/ubuntu-docviewer-app.install 2015-10-27 18:47:09 +0000 | |||
310 | +++ debian/ubuntu-docviewer-app.install 2017-04-04 12:49:52 +0000 | |||
311 | @@ -2,3 +2,11 @@ | |||
312 | 2 | usr/share/applications | 2 | usr/share/applications |
313 | 3 | usr/share/locale | 3 | usr/share/locale |
314 | 4 | usr/share/ubuntu-docviewer-app | 4 | usr/share/ubuntu-docviewer-app |
315 | 5 | debian/apparmor/ubuntu-docviewer-app etc/apparmor.d | ||
316 | 6 | #commom | ||
317 | 7 | usr/lib/*/ubuntu-docviewer-app/qml/DocumentViewer/qmldir | ||
318 | 8 | usr/lib/*/ubuntu-docviewer-app/qml/DocumentViewer/libfileqmlplugin.so | ||
319 | 9 | |||
320 | 10 | usr/lib/*/ubuntu-docviewer-app/qml/DocumentViewer/PDF | ||
321 | 11 | #libreOffice | ||
322 | 12 | usr/lib/*/ubuntu-docviewer-app/qml/DocumentViewer/LibreOffice | ||
323 | 5 | 13 | ||
324 | === modified file 'po/com.ubuntu.docviewer.pot' | |||
325 | --- po/com.ubuntu.docviewer.pot 2016-02-05 22:42:13 +0000 | |||
326 | +++ po/com.ubuntu.docviewer.pot 2017-04-04 12:49:52 +0000 | |||
327 | @@ -1,6 +1,6 @@ | |||
328 | 1 | # SOME DESCRIPTIVE TITLE. | 1 | # SOME DESCRIPTIVE TITLE. |
329 | 2 | # Copyright (C) YEAR Canonical Ltd. | 2 | # Copyright (C) YEAR Canonical Ltd. |
331 | 3 | # This file is distributed under the same license as the PACKAGE package. | 3 | # This file is distributed under the same license as the package. |
332 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
333 | 5 | # | 5 | # |
334 | 6 | #, fuzzy | 6 | #, fuzzy |
335 | @@ -8,7 +8,7 @@ | |||
336 | 8 | msgstr "" | 8 | msgstr "" |
337 | 9 | "Project-Id-Version: \n" | 9 | "Project-Id-Version: \n" |
338 | 10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
340 | 11 | "POT-Creation-Date: 2016-02-05 23:40+0100\n" | 11 | "POT-Creation-Date: 2017-03-29 19:13-0300\n" |
341 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
342 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
343 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
344 | @@ -40,10 +40,10 @@ | |||
345 | 40 | "The path must exist prior to running ubuntu-docviewer-app" | 40 | "The path must exist prior to running ubuntu-docviewer-app" |
346 | 41 | msgstr "" | 41 | msgstr "" |
347 | 42 | 42 | ||
352 | 43 | #: ../src/app/qml/common/DetailsPage.qml:26 | 43 | #: ../src/app/qml/common/DetailsPage.qml:29 |
353 | 44 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:107 | 44 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:93 |
354 | 45 | #: ../src/app/qml/pdfView/PdfView.qml:235 | 45 | #: ../src/app/qml/pdfView/PdfView.qml:234 |
355 | 46 | #: ../src/app/qml/textView/TextViewDefaultHeader.qml:69 | 46 | #: ../src/app/qml/textView/TextViewDefaultHeader.qml:55 |
356 | 47 | msgid "Details" | 47 | msgid "Details" |
357 | 48 | msgstr "" | 48 | msgstr "" |
358 | 49 | 49 | ||
359 | @@ -78,7 +78,7 @@ | |||
360 | 78 | #: ../src/app/qml/common/ErrorDialog.qml:26 | 78 | #: ../src/app/qml/common/ErrorDialog.qml:26 |
361 | 79 | #: ../src/app/qml/common/PickImportedDialog.qml:54 | 79 | #: ../src/app/qml/common/PickImportedDialog.qml:54 |
362 | 80 | #: ../src/app/qml/common/RejectedImportDialog.qml:38 | 80 | #: ../src/app/qml/common/RejectedImportDialog.qml:38 |
364 | 81 | #: ../src/app/qml/documentPage/DocumentPageSelectionModeHeader.qml:31 | 81 | #: ../src/app/qml/documentPage/DocumentPageSelectionModeHeader.qml:33 |
365 | 82 | #: ../src/app/qml/documentPage/SortSettingsDialog.qml:53 | 82 | #: ../src/app/qml/documentPage/SortSettingsDialog.qml:53 |
366 | 83 | msgid "Close" | 83 | msgid "Close" |
367 | 84 | msgstr "" | 84 | msgstr "" |
368 | @@ -103,6 +103,12 @@ | |||
369 | 103 | msgstr[0] "" | 103 | msgstr[0] "" |
370 | 104 | msgstr[1] "" | 104 | msgstr[1] "" |
371 | 105 | 105 | ||
372 | 106 | #: ../src/app/qml/common/TextualButtonStyle.qml:48 | ||
373 | 107 | #: ../src/app/qml/common/TextualButtonStyle.qml:51 | ||
374 | 108 | #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:54 | ||
375 | 109 | msgid "Pick" | ||
376 | 110 | msgstr "" | ||
377 | 111 | |||
378 | 106 | #: ../src/app/qml/common/UnknownTypeDialog.qml:27 | 112 | #: ../src/app/qml/common/UnknownTypeDialog.qml:27 |
379 | 107 | msgid "Unknown file type" | 113 | msgid "Unknown file type" |
380 | 108 | msgstr "" | 114 | msgstr "" |
381 | @@ -115,9 +121,10 @@ | |||
382 | 115 | 121 | ||
383 | 116 | #: ../src/app/qml/common/UnknownTypeDialog.qml:38 | 122 | #: ../src/app/qml/common/UnknownTypeDialog.qml:38 |
384 | 117 | #: ../src/app/qml/documentPage/DeleteFileDialog.qml:55 | 123 | #: ../src/app/qml/documentPage/DeleteFileDialog.qml:55 |
386 | 118 | #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:28 | 124 | #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:34 |
387 | 125 | #: ../src/app/qml/documentPage/DocumentPageSearchHeader.qml:33 | ||
388 | 119 | #: ../src/app/qml/loView/LOViewGotoDialog.qml:55 | 126 | #: ../src/app/qml/loView/LOViewGotoDialog.qml:55 |
390 | 120 | #: ../src/app/qml/pdfView/PdfView.qml:180 | 127 | #: ../src/app/qml/pdfView/PdfView.qml:188 |
391 | 121 | #: ../src/app/qml/pdfView/PdfViewGotoDialog.qml:51 | 128 | #: ../src/app/qml/pdfView/PdfViewGotoDialog.qml:51 |
392 | 122 | msgid "Cancel" | 129 | msgid "Cancel" |
393 | 123 | msgstr "" | 130 | msgstr "" |
394 | @@ -170,7 +177,7 @@ | |||
395 | 170 | 177 | ||
396 | 171 | #: ../src/app/qml/documentPage/DeleteFileDialog.qml:61 | 178 | #: ../src/app/qml/documentPage/DeleteFileDialog.qml:61 |
397 | 172 | #: ../src/app/qml/documentPage/DocumentDelegateActions.qml:25 | 179 | #: ../src/app/qml/documentPage/DocumentDelegateActions.qml:25 |
399 | 173 | #: ../src/app/qml/documentPage/DocumentPageSelectionModeHeader.qml:53 | 180 | #: ../src/app/qml/documentPage/DocumentPageSelectionModeHeader.qml:58 |
400 | 174 | msgid "Delete" | 181 | msgid "Delete" |
401 | 175 | msgstr "" | 182 | msgstr "" |
402 | 176 | 183 | ||
403 | @@ -188,71 +195,59 @@ | |||
404 | 188 | "folder or insert removable media containing documents." | 195 | "folder or insert removable media containing documents." |
405 | 189 | msgstr "" | 196 | msgstr "" |
406 | 190 | 197 | ||
407 | 198 | #: ../src/app/qml/documentPage/DocumentListDelegate.qml:75 | ||
408 | 199 | msgid "SD card" | ||
409 | 200 | msgstr "" | ||
410 | 201 | |||
411 | 191 | #. TRANSLATORS: %1 refers to a time formatted as Locale.ShortFormat (e.g. hh:mm). It depends on system settings. | 202 | #. TRANSLATORS: %1 refers to a time formatted as Locale.ShortFormat (e.g. hh:mm). It depends on system settings. |
412 | 192 | #. http://qt-project.org/doc/qt-4.8/qlocale.html#FormatType-enum | 203 | #. http://qt-project.org/doc/qt-4.8/qlocale.html#FormatType-enum |
414 | 193 | #: ../src/app/qml/documentPage/DocumentListDelegate.qml:103 | 204 | #: ../src/app/qml/documentPage/DocumentListDelegate.qml:100 |
415 | 194 | #, qt-format | 205 | #, qt-format |
416 | 195 | msgid "Today, %1" | 206 | msgid "Today, %1" |
417 | 196 | msgstr "" | 207 | msgstr "" |
418 | 197 | 208 | ||
419 | 198 | #. TRANSLATORS: %1 refers to a time formatted as Locale.ShortFormat (e.g. hh:mm). It depends on system settings. | 209 | #. TRANSLATORS: %1 refers to a time formatted as Locale.ShortFormat (e.g. hh:mm). It depends on system settings. |
420 | 199 | #. http://qt-project.org/doc/qt-4.8/qlocale.html#FormatType-enum | 210 | #. http://qt-project.org/doc/qt-4.8/qlocale.html#FormatType-enum |
422 | 200 | #: ../src/app/qml/documentPage/DocumentListDelegate.qml:108 | 211 | #: ../src/app/qml/documentPage/DocumentListDelegate.qml:105 |
423 | 201 | #, qt-format | 212 | #, qt-format |
424 | 202 | msgid "Yesterday, %1" | 213 | msgid "Yesterday, %1" |
425 | 203 | msgstr "" | 214 | msgstr "" |
426 | 204 | 215 | ||
427 | 205 | #. TRANSLATORS: this is a datetime formatting string, | 216 | #. TRANSLATORS: this is a datetime formatting string, |
428 | 206 | #. see http://qt-project.org/doc/qt-5/qml-qtqml-date.html#details for valid expressions. | 217 | #. see http://qt-project.org/doc/qt-5/qml-qtqml-date.html#details for valid expressions. |
431 | 207 | #: ../src/app/qml/documentPage/DocumentListDelegate.qml:115 | 218 | #: ../src/app/qml/documentPage/DocumentListDelegate.qml:112 |
432 | 208 | #: ../src/app/qml/documentPage/DocumentListDelegate.qml:134 | 219 | #: ../src/app/qml/documentPage/DocumentListDelegate.qml:131 |
433 | 209 | msgid "yyyy/MM/dd hh:mm" | 220 | msgid "yyyy/MM/dd hh:mm" |
434 | 210 | msgstr "" | 221 | msgstr "" |
435 | 211 | 222 | ||
436 | 212 | #. TRANSLATORS: this is a datetime formatting string, | 223 | #. TRANSLATORS: this is a datetime formatting string, |
437 | 213 | #. see http://qt-project.org/doc/qt-5/qml-qtqml-date.html#details for valid expressions. | 224 | #. see http://qt-project.org/doc/qt-5/qml-qtqml-date.html#details for valid expressions. |
439 | 214 | #: ../src/app/qml/documentPage/DocumentListDelegate.qml:128 | 225 | #: ../src/app/qml/documentPage/DocumentListDelegate.qml:125 |
440 | 215 | msgid "dddd, hh:mm" | 226 | msgid "dddd, hh:mm" |
441 | 216 | msgstr "" | 227 | msgstr "" |
442 | 217 | 228 | ||
445 | 218 | #: ../src/app/qml/documentPage/DocumentPage.qml:23 | 229 | #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:27 |
446 | 219 | #: /tmp/lok-qml-async-imageprovider-build/po/com.ubuntu.docviewer.desktop.in.in.h:3 | 230 | #: /home/renato/projects/phablet/doc-viewer/debian/obj-x86_64-linux-gnu/po/com.ubuntu.docviewer.desktop.in.in.h:3 |
447 | 220 | msgid "Documents" | 231 | msgid "Documents" |
448 | 221 | msgstr "" | 232 | msgstr "" |
449 | 222 | 233 | ||
451 | 223 | #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:29 | 234 | #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:35 |
452 | 224 | msgid "Search..." | 235 | msgid "Search..." |
453 | 225 | msgstr "" | 236 | msgstr "" |
454 | 226 | 237 | ||
456 | 227 | #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:36 | 238 | #: ../src/app/qml/documentPage/DocumentPageDefaultHeader.qml:42 |
457 | 228 | msgid "Sorting settings..." | 239 | msgid "Sorting settings..." |
458 | 229 | msgstr "" | 240 | msgstr "" |
459 | 230 | 241 | ||
477 | 231 | #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:41 | 242 | #: ../src/app/qml/documentPage/DocumentPageSearchHeader.qml:56 |
461 | 232 | msgid "Switch to single column list" | ||
462 | 233 | msgstr "" | ||
463 | 234 | |||
464 | 235 | #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:41 | ||
465 | 236 | msgid "Switch to grid" | ||
466 | 237 | msgstr "" | ||
467 | 238 | |||
468 | 239 | #: ../src/app/qml/documentPage/DocumentPagePickModeHeader.qml:49 | ||
469 | 240 | msgid "Pick" | ||
470 | 241 | msgstr "" | ||
471 | 242 | |||
472 | 243 | #: ../src/app/qml/documentPage/DocumentPageSearchHeader.qml:27 | ||
473 | 244 | msgid "Back" | ||
474 | 245 | msgstr "" | ||
475 | 246 | |||
476 | 247 | #: ../src/app/qml/documentPage/DocumentPageSearchHeader.qml:47 | ||
478 | 248 | msgid "search in documents..." | 243 | msgid "search in documents..." |
479 | 249 | msgstr "" | 244 | msgstr "" |
480 | 250 | 245 | ||
482 | 251 | #: ../src/app/qml/documentPage/DocumentPageSelectionModeHeader.qml:40 | 246 | #: ../src/app/qml/documentPage/DocumentPageSelectionModeHeader.qml:46 |
483 | 252 | msgid "Select None" | 247 | msgid "Select None" |
484 | 253 | msgstr "" | 248 | msgstr "" |
485 | 254 | 249 | ||
487 | 255 | #: ../src/app/qml/documentPage/DocumentPageSelectionModeHeader.qml:40 | 250 | #: ../src/app/qml/documentPage/DocumentPageSelectionModeHeader.qml:46 |
488 | 256 | msgid "Select All" | 251 | msgid "Select All" |
489 | 257 | msgstr "" | 252 | msgstr "" |
490 | 258 | 253 | ||
491 | @@ -265,27 +260,27 @@ | |||
492 | 265 | "Please ensure that your query is not misspelled and/or try a different query." | 260 | "Please ensure that your query is not misspelled and/or try a different query." |
493 | 266 | msgstr "" | 261 | msgstr "" |
494 | 267 | 262 | ||
496 | 268 | #: ../src/app/qml/documentPage/SectionHeader.qml:13 | 263 | #: ../src/app/qml/documentPage/SectionHeader.qml:30 |
497 | 269 | msgid "Today" | 264 | msgid "Today" |
498 | 270 | msgstr "" | 265 | msgstr "" |
499 | 271 | 266 | ||
501 | 272 | #: ../src/app/qml/documentPage/SectionHeader.qml:16 | 267 | #: ../src/app/qml/documentPage/SectionHeader.qml:33 |
502 | 273 | msgid "Yesterday" | 268 | msgid "Yesterday" |
503 | 274 | msgstr "" | 269 | msgstr "" |
504 | 275 | 270 | ||
506 | 276 | #: ../src/app/qml/documentPage/SectionHeader.qml:19 | 271 | #: ../src/app/qml/documentPage/SectionHeader.qml:36 |
507 | 277 | msgid "Earlier this week" | 272 | msgid "Earlier this week" |
508 | 278 | msgstr "" | 273 | msgstr "" |
509 | 279 | 274 | ||
511 | 280 | #: ../src/app/qml/documentPage/SectionHeader.qml:22 | 275 | #: ../src/app/qml/documentPage/SectionHeader.qml:39 |
512 | 281 | msgid "Earlier this month" | 276 | msgid "Earlier this month" |
513 | 282 | msgstr "" | 277 | msgstr "" |
514 | 283 | 278 | ||
516 | 284 | #: ../src/app/qml/documentPage/SectionHeader.qml:24 | 279 | #: ../src/app/qml/documentPage/SectionHeader.qml:41 |
517 | 285 | msgid "Even earlier..." | 280 | msgid "Even earlier..." |
518 | 286 | msgstr "" | 281 | msgstr "" |
519 | 287 | 282 | ||
521 | 288 | #: ../src/app/qml/documentPage/SharePage.qml:23 | 283 | #: ../src/app/qml/documentPage/SharePage.qml:28 |
522 | 289 | msgid "Share to" | 284 | msgid "Share to" |
523 | 290 | msgstr "" | 285 | msgstr "" |
524 | 291 | 286 | ||
525 | @@ -309,48 +304,48 @@ | |||
526 | 309 | msgid "Reverse order" | 304 | msgid "Reverse order" |
527 | 310 | msgstr "" | 305 | msgstr "" |
528 | 311 | 306 | ||
531 | 312 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:51 | 307 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:41 |
532 | 313 | #: ../src/app/qml/textView/TextView.qml:43 | 308 | #: ../src/app/qml/textView/TextView.qml:49 |
533 | 314 | msgid "Loading..." | 309 | msgid "Loading..." |
534 | 315 | msgstr "" | 310 | msgstr "" |
535 | 316 | 311 | ||
537 | 317 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:55 | 312 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:45 |
538 | 318 | msgid "LibreOffice text document" | 313 | msgid "LibreOffice text document" |
539 | 319 | msgstr "" | 314 | msgstr "" |
540 | 320 | 315 | ||
542 | 321 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:57 | 316 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:47 |
543 | 322 | msgid "LibreOffice spread sheet" | 317 | msgid "LibreOffice spread sheet" |
544 | 323 | msgstr "" | 318 | msgstr "" |
545 | 324 | 319 | ||
547 | 325 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:59 | 320 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:49 |
548 | 326 | msgid "LibreOffice presentation" | 321 | msgid "LibreOffice presentation" |
549 | 327 | msgstr "" | 322 | msgstr "" |
550 | 328 | 323 | ||
552 | 329 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:61 | 324 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:51 |
553 | 330 | msgid "LibreOffice Draw document" | 325 | msgid "LibreOffice Draw document" |
554 | 331 | msgstr "" | 326 | msgstr "" |
555 | 332 | 327 | ||
557 | 333 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:63 | 328 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:53 |
558 | 334 | msgid "Unknown LibreOffice document" | 329 | msgid "Unknown LibreOffice document" |
559 | 335 | msgstr "" | 330 | msgstr "" |
560 | 336 | 331 | ||
562 | 337 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:65 | 332 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:55 |
563 | 338 | msgid "Unknown type document" | 333 | msgid "Unknown type document" |
564 | 339 | msgstr "" | 334 | msgstr "" |
565 | 340 | 335 | ||
567 | 341 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:85 | 336 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:72 |
568 | 342 | msgid "Go to position..." | 337 | msgid "Go to position..." |
569 | 343 | msgstr "" | 338 | msgstr "" |
570 | 344 | 339 | ||
574 | 345 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:100 | 340 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:86 |
575 | 346 | #: ../src/app/qml/pdfView/PdfView.qml:228 | 341 | #: ../src/app/qml/pdfView/PdfView.qml:227 |
576 | 347 | #: ../src/app/qml/textView/TextViewDefaultHeader.qml:63 | 342 | #: ../src/app/qml/textView/TextViewDefaultHeader.qml:49 |
577 | 348 | msgid "Disable night mode" | 343 | msgid "Disable night mode" |
578 | 349 | msgstr "" | 344 | msgstr "" |
579 | 350 | 345 | ||
583 | 351 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:100 | 346 | #: ../src/app/qml/loView/LOViewDefaultHeader.qml:86 |
584 | 352 | #: ../src/app/qml/pdfView/PdfView.qml:228 | 347 | #: ../src/app/qml/pdfView/PdfView.qml:227 |
585 | 353 | #: ../src/app/qml/textView/TextViewDefaultHeader.qml:63 | 348 | #: ../src/app/qml/textView/TextViewDefaultHeader.qml:49 |
586 | 354 | msgid "Enable night mode" | 349 | msgid "Enable night mode" |
587 | 355 | msgstr "" | 350 | msgstr "" |
588 | 356 | 351 | ||
589 | @@ -367,21 +362,21 @@ | |||
590 | 367 | msgid "GO!" | 362 | msgid "GO!" |
591 | 368 | msgstr "" | 363 | msgstr "" |
592 | 369 | 364 | ||
594 | 370 | #: ../src/app/qml/loView/LOViewPage.qml:167 | 365 | #: ../src/app/qml/loView/LOViewPage.qml:173 |
595 | 371 | msgid "LibreOffice binaries not found." | 366 | msgid "LibreOffice binaries not found." |
596 | 372 | msgstr "" | 367 | msgstr "" |
597 | 373 | 368 | ||
599 | 374 | #: ../src/app/qml/loView/LOViewPage.qml:170 | 369 | #: ../src/app/qml/loView/LOViewPage.qml:176 |
600 | 375 | msgid "Error while loading LibreOffice." | 370 | msgid "Error while loading LibreOffice." |
601 | 376 | msgstr "" | 371 | msgstr "" |
602 | 377 | 372 | ||
604 | 378 | #: ../src/app/qml/loView/LOViewPage.qml:173 | 373 | #: ../src/app/qml/loView/LOViewPage.qml:179 |
605 | 379 | msgid "" | 374 | msgid "" |
606 | 380 | "Document not loaded.\n" | 375 | "Document not loaded.\n" |
607 | 381 | "The requested document may be corrupt or protected by a password." | 376 | "The requested document may be corrupt or protected by a password." |
608 | 382 | msgstr "" | 377 | msgstr "" |
609 | 383 | 378 | ||
611 | 384 | #: ../src/app/qml/loView/LOViewPage.qml:228 | 379 | #: ../src/app/qml/loView/LOViewPage.qml:231 |
612 | 385 | msgid "This sheet has no content." | 380 | msgid "This sheet has no content." |
613 | 386 | msgstr "" | 381 | msgstr "" |
614 | 387 | 382 | ||
615 | @@ -413,7 +408,7 @@ | |||
616 | 413 | 408 | ||
617 | 414 | #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document. | 409 | #. TRANSLATORS: "Contents" refers to the "Table of Contents" of a PDF document. |
618 | 415 | #: ../src/app/qml/pdfView/PdfContentsPage.qml:31 | 410 | #: ../src/app/qml/pdfView/PdfContentsPage.qml:31 |
620 | 416 | #: ../src/app/qml/pdfView/PdfView.qml:153 | 411 | #: ../src/app/qml/pdfView/PdfView.qml:157 |
621 | 417 | msgid "Contents" | 412 | msgid "Contents" |
622 | 418 | msgstr "" | 413 | msgstr "" |
623 | 419 | 414 | ||
624 | @@ -425,15 +420,11 @@ | |||
625 | 425 | msgid "Page %1 of %2" | 420 | msgid "Page %1 of %2" |
626 | 426 | msgstr "" | 421 | msgstr "" |
627 | 427 | 422 | ||
633 | 428 | #: ../src/app/qml/pdfView/PdfView.qml:203 | 423 | #: ../src/app/qml/pdfView/PdfView.qml:212 |
629 | 429 | msgid "Search" | ||
630 | 430 | msgstr "" | ||
631 | 431 | |||
632 | 432 | #: ../src/app/qml/pdfView/PdfView.qml:213 | ||
634 | 433 | msgid "Go to page..." | 424 | msgid "Go to page..." |
635 | 434 | msgstr "" | 425 | msgstr "" |
636 | 435 | 426 | ||
638 | 436 | #: ../src/app/qml/pdfView/PdfView.qml:221 | 427 | #: ../src/app/qml/pdfView/PdfView.qml:220 |
639 | 437 | msgid "Presentation" | 428 | msgid "Presentation" |
640 | 438 | msgstr "" | 429 | msgstr "" |
641 | 439 | 430 | ||
642 | @@ -446,7 +437,7 @@ | |||
643 | 446 | msgid "Choose a page between 1 and %1" | 437 | msgid "Choose a page between 1 and %1" |
644 | 447 | msgstr "" | 438 | msgstr "" |
645 | 448 | 439 | ||
647 | 449 | #: ../src/app/qml/ubuntu-docviewer-app.qml:114 | 440 | #: ../src/app/qml/ubuntu-docviewer-app.qml:134 |
648 | 450 | msgid "File does not exist." | 441 | msgid "File does not exist." |
649 | 451 | msgstr "" | 442 | msgstr "" |
650 | 452 | 443 | ||
651 | @@ -464,10 +455,10 @@ | |||
652 | 464 | msgid "copy %1" | 455 | msgid "copy %1" |
653 | 465 | msgstr "" | 456 | msgstr "" |
654 | 466 | 457 | ||
656 | 467 | #: /tmp/lok-qml-async-imageprovider-build/po/com.ubuntu.docviewer.desktop.in.in.h:1 | 458 | #: /home/renato/projects/phablet/doc-viewer/debian/obj-x86_64-linux-gnu/po/com.ubuntu.docviewer.desktop.in.in.h:1 |
657 | 468 | msgid "Document Viewer" | 459 | msgid "Document Viewer" |
658 | 469 | msgstr "" | 460 | msgstr "" |
659 | 470 | 461 | ||
661 | 471 | #: /tmp/lok-qml-async-imageprovider-build/po/com.ubuntu.docviewer.desktop.in.in.h:2 | 462 | #: /home/renato/projects/phablet/doc-viewer/debian/obj-x86_64-linux-gnu/po/com.ubuntu.docviewer.desktop.in.in.h:2 |
662 | 472 | msgid "documents;viewer;pdf;reader;" | 463 | msgid "documents;viewer;pdf;reader;" |
663 | 473 | msgstr "" | 464 | msgstr "" |
664 | 474 | 465 | ||
665 | === modified file 'src/app/CMakeLists.txt' | |||
666 | --- src/app/CMakeLists.txt 2015-12-12 10:06:55 +0000 | |||
667 | +++ src/app/CMakeLists.txt 2017-04-04 12:49:52 +0000 | |||
668 | @@ -37,7 +37,7 @@ | |||
669 | 37 | DEPENDS ${QMLFILES} | 37 | DEPENDS ${QMLFILES} |
670 | 38 | ) | 38 | ) |
671 | 39 | endif(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}") | 39 | endif(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}") |
673 | 40 | 40 | message(status "DATA DIR: ${DATA_DIR}") | |
674 | 41 | install(DIRECTORY qml DESTINATION ${DATA_DIR}) | 41 | install(DIRECTORY qml DESTINATION ${DATA_DIR}) |
675 | 42 | 42 | ||
676 | 43 | if(CLICK_MODE) | 43 | if(CLICK_MODE) |
677 | 44 | 44 | ||
678 | === modified file 'src/app/config.h.in' | |||
679 | --- src/app/config.h.in 2016-12-09 12:36:26 +0000 | |||
680 | +++ src/app/config.h.in 2017-04-04 12:49:52 +0000 | |||
681 | @@ -22,6 +22,7 @@ | |||
682 | 22 | #include <QtCore/QString> | 22 | #include <QtCore/QString> |
683 | 23 | 23 | ||
684 | 24 | static QString SNAP_ENV = qgetenv("SNAP"); | 24 | static QString SNAP_ENV = qgetenv("SNAP"); |
685 | 25 | static QString QT_IMPORTS_DIR = QString("@QT_IMPORTS_DIR@"); | ||
686 | 25 | 26 | ||
687 | 26 | inline bool isClick() { | 27 | inline bool isClick() { |
688 | 27 | static bool click = (QCoreApplication::applicationDirPath().contains("click.ubuntu.com")); | 28 | static bool click = (QCoreApplication::applicationDirPath().contains("click.ubuntu.com")); |
689 | 28 | 29 | ||
690 | === modified file 'src/app/main.cpp' | |||
691 | --- src/app/main.cpp 2015-10-17 15:47:22 +0000 | |||
692 | +++ src/app/main.cpp 2017-04-04 12:49:52 +0000 | |||
693 | @@ -61,6 +61,7 @@ | |||
694 | 61 | if (!isRunningInstalled()) | 61 | if (!isRunningInstalled()) |
695 | 62 | view.engine()->addImportPath(QCoreApplication::applicationDirPath() + "/../plugin/"); | 62 | view.engine()->addImportPath(QCoreApplication::applicationDirPath() + "/../plugin/"); |
696 | 63 | 63 | ||
697 | 64 | view.engine()->addImportPath(QT_IMPORTS_DIR); | ||
698 | 64 | view.setSource(QUrl::fromLocalFile(docviewerDirectory() + "/qml/ubuntu-docviewer-app.qml")); | 65 | view.setSource(QUrl::fromLocalFile(docviewerDirectory() + "/qml/ubuntu-docviewer-app.qml")); |
699 | 65 | view.setResizeMode(QQuickView::SizeRootObjectToView); | 66 | view.setResizeMode(QQuickView::SizeRootObjectToView); |
700 | 66 | 67 | ||
701 | 67 | 68 | ||
702 | === modified file 'tests/autopilot/ubuntu_docviewer_app/__init__.py' | |||
703 | --- tests/autopilot/ubuntu_docviewer_app/__init__.py 2016-03-08 16:41:43 +0000 | |||
704 | +++ tests/autopilot/ubuntu_docviewer_app/__init__.py 2017-04-04 12:49:52 +0000 | |||
705 | @@ -43,4 +43,4 @@ | |||
706 | 43 | 43 | ||
707 | 44 | def __init__(self, *args): | 44 | def __init__(self, *args): |
708 | 45 | super(MainView, self).__init__(*args) | 45 | super(MainView, self).__init__(*args) |
709 | 46 | self.visible.wait_for(True) | ||
710 | 47 | \ No newline at end of file | 46 | \ No newline at end of file |
711 | 47 | self.visible.wait_for(True) | ||
712 | 48 | 48 | ||
713 | === modified file 'tests/autopilot/ubuntu_docviewer_app/tests/__init__.py' | |||
714 | --- tests/autopilot/ubuntu_docviewer_app/tests/__init__.py 2016-03-08 20:51:37 +0000 | |||
715 | +++ tests/autopilot/ubuntu_docviewer_app/tests/__init__.py 2017-04-04 12:49:52 +0000 | |||
716 | @@ -37,11 +37,10 @@ | |||
717 | 37 | 37 | ||
718 | 38 | """ | 38 | """ |
719 | 39 | 39 | ||
720 | 40 | |||
721 | 41 | local_build_location = os.path.dirname(os.path.dirname(os.getcwd())) | 40 | local_build_location = os.path.dirname(os.path.dirname(os.getcwd())) |
722 | 42 | sdk_build_location = os.path.join(os.path.dirname(local_build_location), | 41 | sdk_build_location = os.path.join(os.path.dirname(local_build_location), |
725 | 43 | os.path.basename(local_build_location) | 42 | os.path.basename(local_build_location) + |
726 | 44 | + '-build') | 43 | '-build') |
727 | 45 | 44 | ||
728 | 46 | local_build_location_qml = os.path.join(local_build_location, 'src', 'app', | 45 | local_build_location_qml = os.path.join(local_build_location, 'src', 'app', |
729 | 47 | 'qml', 'ubuntu-docviewer-app.qml') | 46 | 'qml', 'ubuntu-docviewer-app.qml') |
730 | 48 | 47 | ||
731 | === modified file 'tests/autopilot/ubuntu_docviewer_app/tests/test_docviewer.py' | |||
732 | --- tests/autopilot/ubuntu_docviewer_app/tests/test_docviewer.py 2016-03-08 20:50:48 +0000 | |||
733 | +++ tests/autopilot/ubuntu_docviewer_app/tests/test_docviewer.py 2017-04-04 12:49:52 +0000 | |||
734 | @@ -17,4 +17,4 @@ | |||
735 | 17 | self.launch_app() | 17 | self.launch_app() |
736 | 18 | 18 | ||
737 | 19 | main_view = self.app.main_view | 19 | main_view = self.app.main_view |
738 | 20 | self.assertTrue(main_view) | ||
739 | 21 | \ No newline at end of file | 20 | \ No newline at end of file |
740 | 21 | self.assertTrue(main_view) |
PASSED: Continuous integration, rev:364 /core-apps- jenkins. ubuntu. com/job/ docviewer- app-ci/ 280/ /core-apps- jenkins. ubuntu. com/job/ generic- update- mp/1032/ console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /core-apps- jenkins. ubuntu. com/job/ docviewer- app-ci/ 280/rebuild
https:/