Merge lp:~artmello/gallery-app/gallery-app-fix_1542083 into lp:gallery-app
- gallery-app-fix_1542083
- Merge into trunk
Proposed by
Arthur Mello
Status: | Merged |
---|---|
Approved by: | Bill Filler |
Approved revision: | 1267 |
Merged at revision: | 1276 |
Proposed branch: | lp:~artmello/gallery-app/gallery-app-fix_1542083 |
Merge into: | lp:gallery-app |
Diff against target: |
517 lines (+159/-111) 5 files modified
po/gallery-app.pot (+78/-104) rc/qml/AlbumViewer/AlbumInternals/FramePortrait.qml (+17/-0) rc/qml/Components/MediaGrid.qml (+13/-2) rc/qml/MediaViewer/SingleMediaViewer.qml (+38/-3) rc/qml/OrganicView/OrganicMediaList.qml (+13/-2) |
To merge this branch: | bzr merge lp:~artmello/gallery-app/gallery-app-fix_1542083 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Needs Fixing | |
Ubuntu Phablet Team | Pending | ||
Review via email: mp+285705@code.launchpad.net |
Commit message
Following some changes on thumbnailer image provider we need to handle Image.Error status for videos that are unable to load correctly
Description of the change
Following some changes on thumbnailer image provider we need to handle Image.Error status for videos that are unable to load correctly
To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : | # |
review:
Needs Fixing
(continuous-integration)
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'po/gallery-app.pot' | |||
2 | --- po/gallery-app.pot 2015-05-21 10:13:59 +0000 | |||
3 | +++ po/gallery-app.pot 2016-02-11 11:55:55 +0000 | |||
4 | @@ -8,7 +8,7 @@ | |||
5 | 8 | msgstr "" | 8 | msgstr "" |
6 | 9 | "Project-Id-Version: gallery-app\n" | 9 | "Project-Id-Version: gallery-app\n" |
7 | 10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
9 | 11 | "POT-Creation-Date: 2015-05-21 13:13+0300\n" | 11 | "POT-Creation-Date: 2016-02-11 09:44-0200\n" |
10 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
11 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
12 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
13 | @@ -23,19 +23,17 @@ | |||
14 | 23 | msgstr "" | 23 | msgstr "" |
15 | 24 | 24 | ||
16 | 25 | #: rc/qml/AlbumEditor/AlbumEditMenu.qml:50 | 25 | #: rc/qml/AlbumEditor/AlbumEditMenu.qml:50 |
21 | 26 | #: rc/qml/AlbumViewer/AlbumViewer.qml:375 | 26 | #: rc/qml/AlbumViewer/AlbumViewer.qml:378 |
22 | 27 | #: rc/qml/Components/DeleteDialog.qml:32 | 27 | #: rc/qml/Components/DeleteDialog.qml:32 rc/qml/EventsOverview.qml:138 |
23 | 28 | #: rc/qml/MediaViewer/MediaViewer.qml:345 rc/qml/Utility/EditingHUD.qml:67 | 28 | #: rc/qml/MediaViewer/MediaViewer.qml:354 rc/qml/PhotosOverview.qml:164 |
24 | 29 | #: rc/qml/Utility/SelectionToolbarAction.qml:56 | 29 | #: rc/qml/Utility/EditingHUD.qml:67 |
25 | 30 | msgid "Delete" | 30 | msgid "Delete" |
26 | 31 | msgstr "" | 31 | msgstr "" |
27 | 32 | 32 | ||
28 | 33 | #: rc/qml/AlbumEditor/AlbumEditor.qml:39 | 33 | #: rc/qml/AlbumEditor/AlbumEditor.qml:39 |
34 | 34 | #: rc/qml/Components/MediaSelector.qml:92 | 34 | #: rc/qml/Components/MediaSelector.qml:93 rc/qml/EventsOverview.qml:156 |
35 | 35 | #: rc/qml/MediaViewer/MediaViewer.qml:275 | 35 | #: rc/qml/MediaViewer/MediaViewer.qml:282 rc/qml/PhotosOverview.qml:182 |
36 | 36 | #: rc/qml/MediaViewer/PhotoEditor.qml:206 | 36 | #: rc/qml/PickerScreen.qml:227 |
32 | 37 | #: rc/qml/MediaViewer/PhotoEditor/ExposureAdjuster.qml:80 | ||
33 | 38 | #: rc/qml/PickerScreen.qml:235 rc/qml/Utility/SelectionToolbarAction.qml:75 | ||
37 | 39 | msgid "Cancel" | 37 | msgid "Cancel" |
38 | 40 | msgstr "" | 38 | msgstr "" |
39 | 41 | 39 | ||
40 | @@ -59,43 +57,39 @@ | |||
41 | 59 | msgid "Red" | 57 | msgid "Red" |
42 | 60 | msgstr "" | 58 | msgstr "" |
43 | 61 | 59 | ||
45 | 62 | #: rc/qml/AlbumViewer/AlbumViewer.qml:107 rc/qml/MainScreen.qml:60 | 60 | #: rc/qml/AlbumViewer/AlbumViewer.qml:107 rc/qml/MainScreen.qml:58 |
46 | 63 | msgid "Album" | 61 | msgid "Album" |
47 | 64 | msgstr "" | 62 | msgstr "" |
48 | 65 | 63 | ||
51 | 66 | #: rc/qml/AlbumViewer/AlbumViewer.qml:369 | 64 | #: rc/qml/AlbumViewer/AlbumViewer.qml:372 |
52 | 67 | #: rc/qml/MediaViewer/MediaViewer.qml:335 | 65 | #: rc/qml/MediaViewer/MediaViewer.qml:344 |
53 | 68 | msgid "Add to album" | 66 | msgid "Add to album" |
54 | 69 | msgstr "" | 67 | msgstr "" |
55 | 70 | 68 | ||
57 | 71 | #: rc/qml/AlbumsOverview.qml:236 rc/qml/Components/PopupAlbumPicker.qml:91 | 69 | #: rc/qml/AlbumsOverview.qml:228 rc/qml/Components/PopupAlbumPicker.qml:91 |
58 | 72 | msgid "Add new album" | 70 | msgid "Add new album" |
59 | 73 | msgstr "" | 71 | msgstr "" |
60 | 74 | 72 | ||
62 | 75 | #: rc/qml/AlbumsOverview.qml:240 rc/qml/Components/PopupAlbumPicker.qml:101 | 73 | #: rc/qml/AlbumsOverview.qml:232 rc/qml/Components/PopupAlbumPicker.qml:101 |
63 | 76 | msgid "New Photo Album" | 74 | msgid "New Photo Album" |
64 | 77 | msgstr "" | 75 | msgstr "" |
65 | 78 | 76 | ||
67 | 79 | #: rc/qml/AlbumsOverview.qml:241 rc/qml/Components/PopupAlbumPicker.qml:102 | 77 | #: rc/qml/AlbumsOverview.qml:233 rc/qml/Components/PopupAlbumPicker.qml:102 |
68 | 80 | msgid "Subtitle" | 78 | msgid "Subtitle" |
69 | 81 | msgstr "" | 79 | msgstr "" |
70 | 82 | 80 | ||
77 | 83 | #: rc/qml/AlbumsOverview.qml:247 rc/qml/Utility/EditingHUD.qml:77 | 81 | #: rc/qml/AlbumsOverview.qml:240 rc/qml/EventsOverview.qml:115 |
78 | 84 | #: rc/qml/Utility/SelectionToolbarAction.qml:47 | 82 | #: rc/qml/PhotosOverview.qml:141 |
73 | 85 | msgid "Add" | ||
74 | 86 | msgstr "" | ||
75 | 87 | |||
76 | 88 | #: rc/qml/AlbumsOverview.qml:252 rc/qml/Utility/PhotosToolbarActions.qml:51 | ||
79 | 89 | msgid "Camera" | 83 | msgid "Camera" |
80 | 90 | msgstr "" | 84 | msgstr "" |
81 | 91 | 85 | ||
82 | 92 | #: rc/qml/Components/DeleteDialog.qml:36 | 86 | #: rc/qml/Components/DeleteDialog.qml:36 |
84 | 93 | #: rc/qml/MediaViewer/MediaViewer.qml:223 | 87 | #: rc/qml/MediaViewer/MediaViewer.qml:230 |
85 | 94 | msgid "Yes" | 88 | msgid "Yes" |
86 | 95 | msgstr "" | 89 | msgstr "" |
87 | 96 | 90 | ||
88 | 97 | #: rc/qml/Components/DeleteDialog.qml:45 | 91 | #: rc/qml/Components/DeleteDialog.qml:45 |
90 | 98 | #: rc/qml/MediaViewer/MediaViewer.qml:234 | 92 | #: rc/qml/MediaViewer/MediaViewer.qml:241 |
91 | 99 | msgid "No" | 93 | msgid "No" |
92 | 100 | msgstr "" | 94 | msgstr "" |
93 | 101 | 95 | ||
94 | @@ -116,7 +110,7 @@ | |||
95 | 116 | msgstr "" | 110 | msgstr "" |
96 | 117 | 111 | ||
97 | 118 | #: rc/qml/Components/MediaSelector.qml:59 | 112 | #: rc/qml/Components/MediaSelector.qml:59 |
99 | 119 | #: rc/qml/Components/MediaSelector.qml:80 | 113 | #: rc/qml/Components/MediaSelector.qml:81 |
100 | 120 | msgid "Add to Album" | 114 | msgid "Add to Album" |
101 | 121 | msgstr "" | 115 | msgstr "" |
102 | 122 | 116 | ||
103 | @@ -161,115 +155,75 @@ | |||
104 | 161 | msgid "Delete %1 photos and %2 videos" | 155 | msgid "Delete %1 photos and %2 videos" |
105 | 162 | msgstr "" | 156 | msgstr "" |
106 | 163 | 157 | ||
108 | 164 | #: rc/qml/EventsOverview.qml:151 rc/qml/PhotosOverview.qml:165 | 158 | #: rc/qml/EventsOverview.qml:108 rc/qml/MainScreen.qml:200 |
109 | 159 | #: rc/qml/MainScreen.qml:252 rc/qml/PhotosOverview.qml:134 | ||
110 | 160 | #: rc/qml/PickerScreen.qml:139 rc/qml/PickerScreen.qml:186 | ||
111 | 161 | msgid "Select" | ||
112 | 162 | msgstr "" | ||
113 | 163 | |||
114 | 164 | #: rc/qml/EventsOverview.qml:127 rc/qml/PhotosOverview.qml:153 | ||
115 | 165 | #: rc/qml/Utility/EditingHUD.qml:77 | ||
116 | 166 | msgid "Add" | ||
117 | 167 | msgstr "" | ||
118 | 168 | |||
119 | 169 | #: rc/qml/EventsOverview.qml:145 rc/qml/MediaViewer/MediaViewer.qml:365 | ||
120 | 170 | #: rc/qml/PhotosOverview.qml:171 rc/qml/Utility/EditingHUD.qml:72 | ||
121 | 171 | msgid "Share" | ||
122 | 172 | msgstr "" | ||
123 | 173 | |||
124 | 174 | #: rc/qml/EventsOverview.qml:184 rc/qml/MediaViewer/MediaViewer.qml:186 | ||
125 | 175 | #: rc/qml/PhotosOverview.qml:196 | ||
126 | 165 | msgid "Share to" | 176 | msgid "Share to" |
127 | 166 | msgstr "" | 177 | msgstr "" |
128 | 167 | 178 | ||
130 | 168 | #: rc/qml/LoadingScreen.qml:46 | 179 | #: rc/qml/LoadingScreen.qml:39 |
131 | 169 | msgid "Loading…" | 180 | msgid "Loading…" |
132 | 170 | msgstr "" | 181 | msgstr "" |
133 | 171 | 182 | ||
135 | 172 | #: rc/qml/MainScreen.qml:147 | 183 | #: rc/qml/MainScreen.qml:148 |
136 | 173 | msgid "Albums" | 184 | msgid "Albums" |
137 | 174 | msgstr "" | 185 | msgstr "" |
138 | 175 | 186 | ||
141 | 176 | #: rc/qml/MainScreen.qml:161 rc/qml/MainScreen.qml:190 | 187 | #: rc/qml/MainScreen.qml:162 rc/qml/MainScreen.qml:202 |
142 | 177 | #: rc/qml/PickerScreen.qml:101 | 188 | #: rc/qml/PickerScreen.qml:99 |
143 | 178 | msgid "Events" | 189 | msgid "Events" |
144 | 179 | msgstr "" | 190 | msgstr "" |
145 | 180 | 191 | ||
154 | 181 | #: rc/qml/MainScreen.qml:188 rc/qml/MainScreen.qml:233 | 192 | #: rc/qml/MainScreen.qml:211 rc/qml/MainScreen.qml:254 |
155 | 182 | #: rc/qml/PickerScreen.qml:141 rc/qml/PickerScreen.qml:194 | 193 | #: rc/qml/PickerScreen.qml:150 |
148 | 183 | #: rc/qml/Utility/PhotosToolbarActions.qml:34 | ||
149 | 184 | msgid "Select" | ||
150 | 185 | msgstr "" | ||
151 | 186 | |||
152 | 187 | #: rc/qml/MainScreen.qml:199 rc/qml/MainScreen.qml:235 | ||
153 | 188 | #: rc/qml/PickerScreen.qml:152 | ||
156 | 189 | msgid "Photos" | 194 | msgid "Photos" |
157 | 190 | msgstr "" | 195 | msgstr "" |
158 | 191 | 196 | ||
165 | 192 | #: rc/qml/MediaViewer/ExtrasPhotoEditorPage.qml:26 | 197 | #: rc/qml/MediaViewer/MediaViewer.qml:219 |
160 | 193 | #: rc/qml/MediaViewer/GalleryPhotoEditorPage.qml:25 | ||
161 | 194 | msgid "Edit Photo" | ||
162 | 195 | msgstr "" | ||
163 | 196 | |||
164 | 197 | #: rc/qml/MediaViewer/MediaViewer.qml:212 | ||
166 | 198 | msgid "Delete a photo" | 198 | msgid "Delete a photo" |
167 | 199 | msgstr "" | 199 | msgstr "" |
168 | 200 | 200 | ||
170 | 201 | #: rc/qml/MediaViewer/MediaViewer.qml:212 | 201 | #: rc/qml/MediaViewer/MediaViewer.qml:219 |
171 | 202 | msgid "Delete a video" | 202 | msgid "Delete a video" |
172 | 203 | msgstr "" | 203 | msgstr "" |
173 | 204 | 204 | ||
175 | 205 | #: rc/qml/MediaViewer/MediaViewer.qml:245 | 205 | #: rc/qml/MediaViewer/MediaViewer.qml:252 |
176 | 206 | msgid "Remove a photo from album" | 206 | msgid "Remove a photo from album" |
177 | 207 | msgstr "" | 207 | msgstr "" |
178 | 208 | 208 | ||
180 | 209 | #: rc/qml/MediaViewer/MediaViewer.qml:245 | 209 | #: rc/qml/MediaViewer/MediaViewer.qml:252 |
181 | 210 | msgid "Remove a video from album" | 210 | msgid "Remove a video from album" |
182 | 211 | msgstr "" | 211 | msgstr "" |
183 | 212 | 212 | ||
185 | 213 | #: rc/qml/MediaViewer/MediaViewer.qml:254 | 213 | #: rc/qml/MediaViewer/MediaViewer.qml:261 |
186 | 214 | msgid "Remove from Album" | 214 | msgid "Remove from Album" |
187 | 215 | msgstr "" | 215 | msgstr "" |
188 | 216 | 216 | ||
190 | 217 | #: rc/qml/MediaViewer/MediaViewer.qml:265 | 217 | #: rc/qml/MediaViewer/MediaViewer.qml:272 |
191 | 218 | msgid "Remove from Album and Delete" | 218 | msgid "Remove from Album and Delete" |
192 | 219 | msgstr "" | 219 | msgstr "" |
193 | 220 | 220 | ||
195 | 221 | #: rc/qml/MediaViewer/MediaViewer.qml:312 | 221 | #: rc/qml/MediaViewer/MediaViewer.qml:319 |
196 | 222 | msgid "Edit" | 222 | msgid "Edit" |
197 | 223 | msgstr "" | 223 | msgstr "" |
198 | 224 | 224 | ||
247 | 225 | #: rc/qml/MediaViewer/MediaViewer.qml:356 rc/qml/Utility/EditingHUD.qml:72 | 225 | #: rc/qml/MediaViewer/PhotoEditorPage.qml:26 |
248 | 226 | #: rc/qml/Utility/SelectionToolbarAction.qml:65 | 226 | msgid "Edit Photo" |
201 | 227 | msgid "Share" | ||
202 | 228 | msgstr "" | ||
203 | 229 | |||
204 | 230 | #: rc/qml/MediaViewer/PhotoEditor.qml:43 | ||
205 | 231 | #: rc/qml/MediaViewer/PhotoEditor/CropOverlay.qml:349 | ||
206 | 232 | #: rc/qml/Utility/EditingHUD.qml:106 | ||
207 | 233 | msgid "Crop" | ||
208 | 234 | msgstr "" | ||
209 | 235 | |||
210 | 236 | #: rc/qml/MediaViewer/PhotoEditor.qml:52 rc/qml/Utility/EditingHUD.qml:99 | ||
211 | 237 | msgid "Rotate" | ||
212 | 238 | msgstr "" | ||
213 | 239 | |||
214 | 240 | #: rc/qml/MediaViewer/PhotoEditor.qml:196 | ||
215 | 241 | msgid "Revert to original" | ||
216 | 242 | msgstr "" | ||
217 | 243 | |||
218 | 244 | #: rc/qml/MediaViewer/PhotoEditor.qml:197 | ||
219 | 245 | msgid "This will undo all edits, including those from previous sessions." | ||
220 | 246 | msgstr "" | ||
221 | 247 | |||
222 | 248 | #: rc/qml/MediaViewer/PhotoEditor.qml:212 | ||
223 | 249 | msgid "Revert Photo" | ||
224 | 250 | msgstr "" | ||
225 | 251 | |||
226 | 252 | #: rc/qml/MediaViewer/PhotoEditor.qml:226 | ||
227 | 253 | msgid "Enhancing photo..." | ||
228 | 254 | msgstr "" | ||
229 | 255 | |||
230 | 256 | #: rc/qml/MediaViewer/PhotoEditor/EditStack.qml:114 | ||
231 | 257 | #: rc/qml/Utility/EditingHUD.qml:82 | ||
232 | 258 | msgid "Undo" | ||
233 | 259 | msgstr "" | ||
234 | 260 | |||
235 | 261 | #: rc/qml/MediaViewer/PhotoEditor/EditStack.qml:121 | ||
236 | 262 | #: rc/qml/Utility/EditingHUD.qml:87 | ||
237 | 263 | msgid "Redo" | ||
238 | 264 | msgstr "" | ||
239 | 265 | |||
240 | 266 | #: rc/qml/MediaViewer/PhotoEditor/EditStack.qml:128 | ||
241 | 267 | #: rc/qml/Utility/EditingHUD.qml:113 | ||
242 | 268 | msgid "Revert to Original" | ||
243 | 269 | msgstr "" | ||
244 | 270 | |||
245 | 271 | #: rc/qml/MediaViewer/PhotoEditor/ExposureAdjuster.qml:71 | ||
246 | 272 | msgid "Done" | ||
249 | 273 | msgstr "" | 227 | msgstr "" |
250 | 274 | 228 | ||
251 | 275 | #: rc/qml/MediaViewer/PopupPhotoViewer.qml:46 | 229 | #: rc/qml/MediaViewer/PopupPhotoViewer.qml:46 |
252 | @@ -277,11 +231,15 @@ | |||
253 | 277 | msgid "Gallery" | 231 | msgid "Gallery" |
254 | 278 | msgstr "" | 232 | msgstr "" |
255 | 279 | 233 | ||
257 | 280 | #: rc/qml/MediaViewer/PopupPhotoViewer.qml:167 | 234 | #: rc/qml/MediaViewer/PopupPhotoViewer.qml:183 |
258 | 281 | msgid "Toggle Selection" | 235 | msgid "Toggle Selection" |
259 | 282 | msgstr "" | 236 | msgstr "" |
260 | 283 | 237 | ||
262 | 284 | #: rc/qml/PickerScreen.qml:241 | 238 | #: rc/qml/MediaViewer/SingleMediaViewer.qml:225 |
263 | 239 | msgid "An error has occurred attempting to load media" | ||
264 | 240 | msgstr "" | ||
265 | 241 | |||
266 | 242 | #: rc/qml/PickerScreen.qml:233 | ||
267 | 285 | msgid "Pick" | 243 | msgid "Pick" |
268 | 286 | msgstr "" | 244 | msgstr "" |
269 | 287 | 245 | ||
270 | @@ -293,10 +251,18 @@ | |||
271 | 293 | msgid "Post;Upload;Attach" | 251 | msgid "Post;Upload;Attach" |
272 | 294 | msgstr "" | 252 | msgstr "" |
273 | 295 | 253 | ||
274 | 254 | #: rc/qml/Utility/EditingHUD.qml:82 | ||
275 | 255 | msgid "Undo" | ||
276 | 256 | msgstr "" | ||
277 | 257 | |||
278 | 296 | #: rc/qml/Utility/EditingHUD.qml:83 | 258 | #: rc/qml/Utility/EditingHUD.qml:83 |
279 | 297 | msgid "Cancel Action;Backstep" | 259 | msgid "Cancel Action;Backstep" |
280 | 298 | msgstr "" | 260 | msgstr "" |
281 | 299 | 261 | ||
282 | 262 | #: rc/qml/Utility/EditingHUD.qml:87 | ||
283 | 263 | msgid "Redo" | ||
284 | 264 | msgstr "" | ||
285 | 265 | |||
286 | 300 | #: rc/qml/Utility/EditingHUD.qml:88 | 266 | #: rc/qml/Utility/EditingHUD.qml:88 |
287 | 301 | msgid "Reapply;Make Again" | 267 | msgid "Reapply;Make Again" |
288 | 302 | msgstr "" | 268 | msgstr "" |
289 | @@ -313,6 +279,10 @@ | |||
290 | 313 | msgid "Automatically Adjust Photo" | 279 | msgid "Automatically Adjust Photo" |
291 | 314 | msgstr "" | 280 | msgstr "" |
292 | 315 | 281 | ||
293 | 282 | #: rc/qml/Utility/EditingHUD.qml:99 | ||
294 | 283 | msgid "Rotate" | ||
295 | 284 | msgstr "" | ||
296 | 285 | |||
297 | 316 | #: rc/qml/Utility/EditingHUD.qml:100 | 286 | #: rc/qml/Utility/EditingHUD.qml:100 |
298 | 317 | msgid "Turn Clockwise" | 287 | msgid "Turn Clockwise" |
299 | 318 | msgstr "" | 288 | msgstr "" |
300 | @@ -321,6 +291,10 @@ | |||
301 | 321 | msgid "Rotate the image clockwise" | 291 | msgid "Rotate the image clockwise" |
302 | 322 | msgstr "" | 292 | msgstr "" |
303 | 323 | 293 | ||
304 | 294 | #: rc/qml/Utility/EditingHUD.qml:106 | ||
305 | 295 | msgid "Crop" | ||
306 | 296 | msgstr "" | ||
307 | 297 | |||
308 | 324 | #: rc/qml/Utility/EditingHUD.qml:107 | 298 | #: rc/qml/Utility/EditingHUD.qml:107 |
309 | 325 | msgid "Trim;Cut" | 299 | msgid "Trim;Cut" |
310 | 326 | msgstr "" | 300 | msgstr "" |
311 | @@ -329,6 +303,10 @@ | |||
312 | 329 | msgid "Crop the image" | 303 | msgid "Crop the image" |
313 | 330 | msgstr "" | 304 | msgstr "" |
314 | 331 | 305 | ||
315 | 306 | #: rc/qml/Utility/EditingHUD.qml:113 | ||
316 | 307 | msgid "Revert to Original" | ||
317 | 308 | msgstr "" | ||
318 | 309 | |||
319 | 332 | #: rc/qml/Utility/EditingHUD.qml:114 | 310 | #: rc/qml/Utility/EditingHUD.qml:114 |
320 | 333 | msgid "Discard Changes" | 311 | msgid "Discard Changes" |
321 | 334 | msgstr "" | 312 | msgstr "" |
322 | @@ -385,10 +363,6 @@ | |||
323 | 385 | msgid "Hue" | 363 | msgid "Hue" |
324 | 386 | msgstr "" | 364 | msgstr "" |
325 | 387 | 365 | ||
326 | 388 | #: rc/qml/Utility/PhotosToolbarActions.qml:43 | ||
327 | 389 | msgid "Import" | ||
328 | 390 | msgstr "" | ||
329 | 391 | |||
330 | 392 | #: desktop/gallery-app.desktop.in.in.h:2 | 366 | #: desktop/gallery-app.desktop.in.in.h:2 |
331 | 393 | msgid "Ubuntu Photo Viewer" | 367 | msgid "Ubuntu Photo Viewer" |
332 | 394 | msgstr "" | 368 | msgstr "" |
333 | 395 | 369 | ||
334 | === modified file 'rc/qml/AlbumViewer/AlbumInternals/FramePortrait.qml' | |||
335 | --- rc/qml/AlbumViewer/AlbumInternals/FramePortrait.qml 2015-11-27 08:13:49 +0000 | |||
336 | +++ rc/qml/AlbumViewer/AlbumInternals/FramePortrait.qml 2016-02-11 11:55:55 +0000 | |||
337 | @@ -18,6 +18,7 @@ | |||
338 | 18 | */ | 18 | */ |
339 | 19 | 19 | ||
340 | 20 | import QtQuick 2.4 | 20 | import QtQuick 2.4 |
341 | 21 | import Ubuntu.Components 1.3 | ||
342 | 21 | import Gallery 1.0 | 22 | import Gallery 1.0 |
343 | 22 | import "../../../js/Gallery.js" as Gallery | 23 | import "../../../js/Gallery.js" as Gallery |
344 | 23 | 24 | ||
345 | @@ -66,6 +67,22 @@ | |||
346 | 66 | NumberAnimation { duration: Gallery.SNAP_DURATION } | 67 | NumberAnimation { duration: Gallery.SNAP_DURATION } |
347 | 67 | } | 68 | } |
348 | 68 | } | 69 | } |
349 | 70 | |||
350 | 71 | Rectangle { | ||
351 | 72 | anchors.fill: parent | ||
352 | 73 | color: "black" | ||
353 | 74 | visible: preview.status == Image.Error | ||
354 | 75 | |||
355 | 76 | Icon { | ||
356 | 77 | anchors.centerIn: parent | ||
357 | 78 | width: isPreview ? units.gu(4) : units.gu(6) | ||
358 | 79 | height: width | ||
359 | 80 | name: "stock_image" | ||
360 | 81 | color: "white" | ||
361 | 82 | opacity: 0.8 | ||
362 | 83 | } | ||
363 | 84 | } | ||
364 | 85 | |||
365 | 69 | Image { | 86 | Image { |
366 | 70 | // Display a play icon if the thumbnail is from a video | 87 | // Display a play icon if the thumbnail is from a video |
367 | 71 | source: "../../../img/icon_play.png" | 88 | source: "../../../img/icon_play.png" |
368 | 72 | 89 | ||
369 | === modified file 'rc/qml/Components/MediaGrid.qml' | |||
370 | --- rc/qml/Components/MediaGrid.qml 2015-11-27 08:13:49 +0000 | |||
371 | +++ rc/qml/Components/MediaGrid.qml 2016-02-11 11:55:55 +0000 | |||
372 | @@ -81,7 +81,8 @@ | |||
373 | 81 | 81 | ||
374 | 82 | radius: "medium" | 82 | radius: "medium" |
375 | 83 | property bool isLoading: source.status === Image.Loading | 83 | property bool isLoading: source.status === Image.Loading |
377 | 84 | 84 | ||
378 | 85 | backgroundColor: "black" | ||
379 | 85 | sourceFillMode: UbuntuShape.PreserveAspectCrop | 86 | sourceFillMode: UbuntuShape.PreserveAspectCrop |
380 | 86 | source: Image { | 87 | source: Image { |
381 | 87 | id: thumbImage | 88 | id: thumbImage |
382 | @@ -94,11 +95,21 @@ | |||
383 | 94 | } | 95 | } |
384 | 95 | } | 96 | } |
385 | 96 | 97 | ||
386 | 98 | Icon { | ||
387 | 99 | anchors.centerIn: parent | ||
388 | 100 | width: units.gu(6) | ||
389 | 101 | height: width | ||
390 | 102 | visible: thumbImage.status == Image.Error | ||
391 | 103 | name: "stock_image" | ||
392 | 104 | color: "white" | ||
393 | 105 | opacity: 0.8 | ||
394 | 106 | } | ||
395 | 107 | |||
396 | 97 | Image { | 108 | Image { |
397 | 98 | // Display a play icon if the thumbnail is from a video | 109 | // Display a play icon if the thumbnail is from a video |
398 | 99 | source: "../../img/icon_play.png" | 110 | source: "../../img/icon_play.png" |
399 | 100 | anchors.centerIn: parent | 111 | anchors.centerIn: parent |
401 | 101 | visible: mediaSource.type === MediaSource.Video | 112 | visible: mediaSource.type === MediaSource.Video && thumbImage.status == Image.Ready |
402 | 102 | } | 113 | } |
403 | 103 | 114 | ||
404 | 104 | OrganicItemInteraction { | 115 | OrganicItemInteraction { |
405 | 105 | 116 | ||
406 | === modified file 'rc/qml/MediaViewer/SingleMediaViewer.qml' | |||
407 | --- rc/qml/MediaViewer/SingleMediaViewer.qml 2015-11-05 19:04:22 +0000 | |||
408 | +++ rc/qml/MediaViewer/SingleMediaViewer.qml 2016-02-11 11:55:55 +0000 | |||
409 | @@ -81,7 +81,7 @@ | |||
410 | 81 | ActivityIndicator { | 81 | ActivityIndicator { |
411 | 82 | anchors.centerIn: parent | 82 | anchors.centerIn: parent |
412 | 83 | visible: running | 83 | visible: running |
414 | 84 | running: image.status != Image.Ready | 84 | running: image.status != Image.Ready && image.status != Image.Error |
415 | 85 | } | 85 | } |
416 | 86 | 86 | ||
417 | 87 | PinchArea { | 87 | PinchArea { |
418 | @@ -191,6 +191,41 @@ | |||
419 | 191 | opacity: status == Image.Ready ? 1.0 : 0.0 | 191 | opacity: status == Image.Ready ? 1.0 : 0.0 |
420 | 192 | fillMode: Image.PreserveAspectFit | 192 | fillMode: Image.PreserveAspectFit |
421 | 193 | } | 193 | } |
422 | 194 | |||
423 | 195 | Item { | ||
424 | 196 | id: mediaLoadingError | ||
425 | 197 | anchors.centerIn: parent | ||
426 | 198 | width: parent.width | ||
427 | 199 | height: mediaLoadingErrorIcon.height + units.gu(5) + mediaLoadingErrorLabel.contentHeight | ||
428 | 200 | visible: opacity > 0 | ||
429 | 201 | opacity: image.status == Image.Error ? 1.0 : 0.0 | ||
430 | 202 | Behavior on opacity { UbuntuNumberAnimation {duration: UbuntuAnimation.FastDuration} } | ||
431 | 203 | |||
432 | 204 | Icon { | ||
433 | 205 | id: mediaLoadingErrorIcon | ||
434 | 206 | anchors.horizontalCenter: parent.horizontalCenter | ||
435 | 207 | width: units.gu(8) | ||
436 | 208 | height: width | ||
437 | 209 | name: "stock_image" | ||
438 | 210 | color: "white" | ||
439 | 211 | opacity: 0.8 | ||
440 | 212 | } | ||
441 | 213 | |||
442 | 214 | Label { | ||
443 | 215 | id: mediaLoadingErrorLabel | ||
444 | 216 | anchors { | ||
445 | 217 | horizontalCenter: parent.horizontalCenter | ||
446 | 218 | top: mediaLoadingErrorIcon.bottom | ||
447 | 219 | topMargin: units.gu(5) | ||
448 | 220 | } | ||
449 | 221 | |||
450 | 222 | width: units.gu(30) | ||
451 | 223 | wrapMode: Text.WordWrap | ||
452 | 224 | horizontalAlignment: Text.AlignHCenter | ||
453 | 225 | text: i18n.tr("An error has occurred attempting to load media") | ||
454 | 226 | fontSize: "large" | ||
455 | 227 | } | ||
456 | 228 | } | ||
457 | 194 | } | 229 | } |
458 | 195 | 230 | ||
459 | 196 | Icon { | 231 | Icon { |
460 | @@ -200,7 +235,7 @@ | |||
461 | 200 | name: "media-playback-start" | 235 | name: "media-playback-start" |
462 | 201 | color: "white" | 236 | color: "white" |
463 | 202 | opacity: 0.8 | 237 | opacity: 0.8 |
465 | 203 | visible: viewer.isVideo | 238 | visible: viewer.isVideo && image.status == Image.Ready |
466 | 204 | } | 239 | } |
467 | 205 | 240 | ||
468 | 206 | MouseArea { | 241 | MouseArea { |
469 | @@ -251,7 +286,7 @@ | |||
470 | 251 | anchors.centerIn: parent | 286 | anchors.centerIn: parent |
471 | 252 | width: units.gu(10) | 287 | width: units.gu(10) |
472 | 253 | height: units.gu(10) | 288 | height: units.gu(10) |
474 | 254 | enabled: viewer.isVideo | 289 | enabled: viewer.isVideo && image.status == Image.Ready |
475 | 255 | onClicked: { | 290 | onClicked: { |
476 | 256 | if (viewer.isVideo) { | 291 | if (viewer.isVideo) { |
477 | 257 | var url = mediaSource.path.toString().replace("file://", "video://"); | 292 | var url = mediaSource.path.toString().replace("file://", "video://"); |
478 | 258 | 293 | ||
479 | === modified file 'rc/qml/OrganicView/OrganicMediaList.qml' | |||
480 | --- rc/qml/OrganicView/OrganicMediaList.qml 2015-11-27 08:13:49 +0000 | |||
481 | +++ rc/qml/OrganicView/OrganicMediaList.qml 2016-02-11 11:55:55 +0000 | |||
482 | @@ -167,10 +167,11 @@ | |||
483 | 167 | } | 167 | } |
484 | 168 | } | 168 | } |
485 | 169 | 169 | ||
487 | 170 | visible: source.status === Image.Ready | 170 | visible: source.status === Image.Ready || source.status === Image.Error |
488 | 171 | 171 | ||
489 | 172 | radius: "medium" | 172 | radius: "medium" |
490 | 173 | 173 | ||
491 | 174 | backgroundColor: "black" | ||
492 | 174 | sourceFillMode: UbuntuShape.PreserveAspectCrop | 175 | sourceFillMode: UbuntuShape.PreserveAspectCrop |
493 | 175 | source: Image { | 176 | source: Image { |
494 | 176 | id: thumbImage | 177 | id: thumbImage |
495 | @@ -188,11 +189,21 @@ | |||
496 | 188 | fillMode: Image.PreserveAspectCrop | 189 | fillMode: Image.PreserveAspectCrop |
497 | 189 | } | 190 | } |
498 | 190 | 191 | ||
499 | 192 | Icon { | ||
500 | 193 | anchors.centerIn: parent | ||
501 | 194 | width: units.gu(6) | ||
502 | 195 | height: width | ||
503 | 196 | visible: thumbImage.status == Image.Error | ||
504 | 197 | name: "stock_image" | ||
505 | 198 | color: "white" | ||
506 | 199 | opacity: 0.8 | ||
507 | 200 | } | ||
508 | 201 | |||
509 | 191 | Image { | 202 | Image { |
510 | 192 | // Display a play icon if the thumbnail is from a video | 203 | // Display a play icon if the thumbnail is from a video |
511 | 193 | source: "../../img/icon_play.png" | 204 | source: "../../img/icon_play.png" |
512 | 194 | anchors.centerIn: parent | 205 | anchors.centerIn: parent |
514 | 195 | visible: model.mediaSource.type === MediaSource.Video | 206 | visible: model.mediaSource.type === MediaSource.Video && thumbImage.status == Image.Ready |
515 | 196 | } | 207 | } |
516 | 197 | 208 | ||
517 | 198 | OrganicItemInteraction { | 209 | OrganicItemInteraction { |
FAILED: Continuous integration, rev:1267 jenkins. qa.ubuntu. com/job/ gallery- app-ci/ 1238/ jenkins. qa.ubuntu. com/job/ gallery- app-vivid- amd64-ci/ 166 jenkins. qa.ubuntu. com/job/ gallery- app-vivid- armhf-ci/ 166 jenkins. qa.ubuntu. com/job/ gallery- app-vivid- armhf-ci/ 166/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ gallery- app-vivid- i386-ci/ 166 jenkins. qa.ubuntu. com/job/ generic- click-autopilot -vivid- touch/404 jenkins. qa.ubuntu. com/job/ generic- click-autopilot -runner- touch/1074 jenkins. qa.ubuntu. com/job/ generic- click-builder- vivid-armhf/ 985 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 27492
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/gallery- app-ci/ 1238/rebuild
http://