Document Gallery - Version 2.2.4

Version Description

  • Translation:: Thanks to mepmepmep who has just updated the Document Gallery Swedish translation!
Download this release

Release Info

Developer dan.rossiter
Plugin Icon 128x128 Document Gallery
Version 2.2.4
Comparing to
See all releases

Code changes from version 2.2.3 to 2.2.4

README.txt CHANGED
@@ -4,7 +4,7 @@ Tags: attachments, thumbnail, documents, gallery, MS office, pdf
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EE5LWRLG933EN&lc=US&item_name=Document%20Gallery%20Plugin&item_number=document%2dgallery&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
5
  Requires at least: 3.6
6
  Tested up to: 4.0
7
- Stable tag: 2.2.3
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -393,6 +393,10 @@ To see a list of features planned for the future as well as to propose your own
393
  ideas for future Document Gallery development, take a look at our
394
  [issue tracker](https://github.com/thenadz/document-gallery/issues).
395
 
 
 
 
 
396
  = 2.2.3 =
397
  * **Enhancement:** This will only be relevant to developers. `%descriptions%` tag
398
  is now available in the `dg_icon_template` filter.
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EE5LWRLG933EN&lc=US&item_name=Document%20Gallery%20Plugin&item_number=document%2dgallery&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
5
  Requires at least: 3.6
6
  Tested up to: 4.0
7
+ Stable tag: 2.2.4
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
393
  ideas for future Document Gallery development, take a look at our
394
  [issue tracker](https://github.com/thenadz/document-gallery/issues).
395
 
396
+ = 2.2.4 =
397
+ * **Translation:**: Thanks to [mepmepmep](http://wordpress.org/support/profile/mepmepmep)
398
+ who has just updated the Document Gallery Swedish translation!
399
+
400
  = 2.2.3 =
401
  * **Enhancement:** This will only be relevant to developers. `%descriptions%` tag
402
  is now available in the `dg_icon_template` filter.
document-gallery.php CHANGED
@@ -5,14 +5,14 @@ defined('WPINC') OR exit;
5
  Plugin Name: Document Gallery
6
  Plugin URI: http://wordpress.org/extend/plugins/document-gallery/
7
  Description: Display non-images (and images) in gallery format on a page or post with the [dg] shortcode.
8
- Version: 2.2.3
9
  Author: Dan Rossiter
10
  Author URI: http://danrossiter.org/
11
  License: GPLv2
12
  Text Domain: document-gallery
13
  */
14
 
15
- define('DG_VERSION', '2.2.3');
16
 
17
  // define helper paths & URLs
18
  define('DG_BASENAME', plugin_basename(__FILE__));
5
  Plugin Name: Document Gallery
6
  Plugin URI: http://wordpress.org/extend/plugins/document-gallery/
7
  Description: Display non-images (and images) in gallery format on a page or post with the [dg] shortcode.
8
+ Version: 2.2.4
9
  Author: Dan Rossiter
10
  Author URI: http://danrossiter.org/
11
  License: GPLv2
12
  Text Domain: document-gallery
13
  */
14
 
15
+ define('DG_VERSION', '2.2.4');
16
 
17
  // define helper paths & URLs
18
  define('DG_BASENAME', plugin_basename(__FILE__));
languages/document-gallery-sv_SE.mo CHANGED
Binary file
languages/document-gallery-sv_SE.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Document Gallery 2.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/document-gallery\n"
7
- "POT-Creation-Date: 2014-09-04 02:15:50+00:00\n"
8
- "PO-Revision-Date: 2014-09-12 19:44-0600\n"
9
  "Last-Translator: P. E.\n"
10
  "Language-Team: P. E.\n"
11
  "Language: sv_SE\n"
@@ -23,7 +23,7 @@ msgstr "Generellt"
23
  msgid "Thumbnail Management"
24
  msgstr "Miniatyrhantering"
25
 
26
- #: admin/class-admin.php:30
27
  msgid "Logging"
28
  msgstr "Loggning"
29
 
@@ -144,16 +144,16 @@ msgstr "Din server tillåter inte externt HTTP-tillträde."
144
  msgid "The max width and height (in pixels) that thumbnails will be generated."
145
  msgstr "Max bredd och höjd (i pixlar) för genererade miniatyrer."
146
 
147
- #: admin/class-admin.php:336
148
  msgid "Advanced Thumbnail Generation"
149
  msgstr "Avancerad Miniatyrgenerering"
150
 
151
- #: admin/class-admin.php:348
152
  msgid "Whether to log debug and error information related to Document Gallery."
153
  msgstr ""
154
  "Ifall debug- och felinformation relaterat till Document Gallery skall loggas."
155
 
156
- #: admin/class-admin.php:360
157
  msgid ""
158
  "Whether option structure should be validated before save. This is not "
159
  "generally necessary."
@@ -161,7 +161,7 @@ msgstr ""
161
  "Ifall alternativstruktur skall valideras innan nedsparning. Detta är "
162
  "generellt ej nödvändigt."
163
 
164
- #: admin/class-admin.php:373
165
  msgid ""
166
  "Max number of seconds to wait for thumbnail generation before defaulting to "
167
  "filetype icons."
@@ -169,7 +169,7 @@ msgstr ""
169
  "Max antal sekunder att vänta på miniatyrgenerering innan standard "
170
  "filtypsikoner används."
171
 
172
- #: admin/class-admin.php:374
173
  msgid ""
174
  "Note that generation will continue where timeout happened next time the "
175
  "gallery is loaded."
@@ -177,35 +177,35 @@ msgstr ""
177
  "Notera att genereringen kommer att fortsätta därifrån den avbröts av "
178
  "tidsgränsen nästa gång galleriet laddas."
179
 
180
- #: admin/class-admin.php:386
181
  msgid "Successfully auto-detected the location of Ghostscript."
182
  msgstr "Hittade platsen för Ghostscript automatiskt."
183
 
184
- #: admin/class-admin.php:387
185
  msgid "Failed to auto-detect the location of Ghostscript."
186
  msgstr "Kunde inte hitta platsen för Ghostscript automatiskt."
187
 
188
- #: admin/class-admin.php:391
189
  msgid "Options Array Dump"
190
  msgstr "Dumpning av Alternativmatris"
191
 
192
- #: admin/class-admin.php:438
193
  msgid "Invalid width given: "
194
  msgstr "Ogiltig bredd angiven:"
195
 
196
- #: admin/class-admin.php:451
197
  msgid "Invalid height given: "
198
  msgstr "Ogiltig höjd angiven:"
199
 
200
- #: admin/class-admin.php:562
201
  msgid "Invalid Ghostscript path given: "
202
  msgstr "Ogiltig sökväg till Ghostscript angiven:"
203
 
204
- #: admin/class-admin.php:573
205
  msgid "Invalid timeout given: "
206
  msgstr "Ogiltig tidsgräns angiven:"
207
 
208
- #: admin/class-admin.php:604
209
  msgid ""
210
  "The following values will be used by default in the shortcode. You can still "
211
  "manually set each of these values in each individual shortcode."
@@ -213,11 +213,11 @@ msgstr ""
213
  "Följande värden kommer att användas som standard i kortkoden. Du kan "
214
  "fortfarande sätta varje värde, i varje kortkod, manuellt."
215
 
216
- #: admin/class-admin.php:611
217
  msgid "Select which tools to use when generating thumbnails."
218
  msgstr "Välj vilka verktyg som skall användas vid miniatyrgenerering."
219
 
220
- #: admin/class-admin.php:620
221
  msgid ""
222
  "Enter custom CSS styling for use with document galleries. To see which ids "
223
  "and classes you can style, take a look at <a href=\"%s\" target=\"_blank"
@@ -227,7 +227,7 @@ msgstr ""
227
  "ID:n och klasser du kan använda, ta en titt på <a href=\"%s\" target=\"_blank"
228
  "\">style.css</a>."
229
 
230
- #: admin/class-admin.php:640
231
  msgid ""
232
  "Unless you <em>really</em> know what you're doing, you should not touch "
233
  "these values."
@@ -235,14 +235,14 @@ msgstr ""
235
  "Om du inte <em>verkligen</em> vet vad du gör så bör du lämna dessa värden "
236
  "orörda."
237
 
238
- #: admin/class-admin.php:643
239
  msgid ""
240
  "NOTE: <code>exec()</code> is not accessible. Ghostscript will not function."
241
  msgstr ""
242
  "NOTERA: <code>exec()</code> är ej tillgängligt. Ghostscript kommer inte att "
243
  "fungera."
244
 
245
- #: admin/class-admin.php:654
246
  msgid ""
247
  "The following <em>readonly text</em> should be provided when <a href="
248
  "\"http://wordpress.org/support/plugin/document-gallery\" target=\"_blank"
@@ -252,72 +252,108 @@ msgstr ""
252
  "wordpress.org/support/plugin/document-gallery\" target=\"_blank"
253
  "\">buggrapportering</a>:"
254
 
255
- #: admin/class-admin.php:755
256
  msgid "Select All"
257
  msgstr "Välj Alla"
258
 
259
- #: admin/class-admin.php:758
260
  msgid "Thumbnail"
261
  msgstr "Miniatyr"
262
 
263
- #: admin/class-admin.php:759
264
  msgid "File name"
265
  msgstr "Filnamn"
266
 
267
- #: admin/class-admin.php:760
268
  msgid "Date"
269
  msgstr "Datum"
270
 
271
- #: admin/class-admin.php:763
272
  msgid "Delete Selected"
273
  msgstr "Ta Bort Valda"
274
 
275
- #: admin/class-admin.php:765
276
  msgid "item"
277
  msgid_plural "items"
278
  msgstr[0] "objekt"
279
  msgstr[1] "objekt"
280
 
281
- #: admin/class-admin.php:768
282
  msgid "Go to the first page"
283
  msgstr "Gå till första sidan"
284
 
285
- #: admin/class-admin.php:769
286
  msgid "Go to the previous page"
287
  msgstr "Gå till föregående sida"
288
 
289
- #: admin/class-admin.php:771
290
  msgid "Current page"
291
  msgstr "Aktuell sida"
292
 
293
- #: admin/class-admin.php:771
294
  msgid "of"
295
  msgstr "av"
296
 
297
- #: admin/class-admin.php:772
298
  msgid "Go to the next page"
299
  msgstr "Gå till nästa sida"
300
 
301
- #: admin/class-admin.php:773
302
  msgid "Go to the last page"
303
  msgstr "Gå till sista sidan"
304
 
305
- #: admin/class-admin.php:775
306
  msgid "items per page"
307
  msgstr "objekt per sida"
308
 
309
- #: admin/class-admin.php:808
310
  msgid "View"
311
  msgstr "Visa"
312
 
313
- #: admin/class-admin.php:809
314
  msgid "attachment page"
315
  msgstr "sida för bilaga"
316
 
317
- #: admin/class-admin.php:809
318
  msgid "Attachment not found"
319
  msgstr "Bilaga hittades ej"
320
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
  #: inc/class-gallery.php:85
322
  msgid "Generated using Document Gallery. Get yours here: "
323
  msgstr "Genererat med Document Gallery. Skaffa det här: "
@@ -349,8 +385,8 @@ msgid "Failed to set Imagick page number"
349
  msgstr "Kunde inte sätta Imagick sidnummer"
350
 
351
  #: inc/class-thumber.php:59
352
- msgid "Attempting to generate thumbnail for attachment #%d with '%s'"
353
- msgstr "Försöker generera miniatyr för bilagan #%d med '%s'"
354
 
355
  #: inc/class-thumber.php:138
356
  msgid "Could not open file: "
@@ -380,15 +416,15 @@ msgstr "Kunde inte hämta miniatyr från Google:"
380
  msgid "Thumbnail Generators: "
381
  msgstr "Miniatyrgeneratorer:"
382
 
383
- #: inc/class-thumber.php:636
384
  msgid "No thumbnail generators enabled."
385
  msgstr "Inga miniatyrgeneratorer aktiverade."
386
 
387
- #: inc/class-thumber.php:679
388
  msgid "Failed to get image editor: "
389
  msgstr "Kunde inte hämta bildredigerare:"
390
 
391
- #: inc/class-thumber.php:691
392
  msgid "Failed to save image: "
393
  msgstr "Kunde inte spara bild:"
394
 
4
  msgstr ""
5
  "Project-Id-Version: Document Gallery 2.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/document-gallery\n"
7
+ "POT-Creation-Date: 2014-09-23 02:11:20+00:00\n"
8
+ "PO-Revision-Date: 2014-10-13 16:57+0100\n"
9
  "Last-Translator: P. E.\n"
10
  "Language-Team: P. E.\n"
11
  "Language: sv_SE\n"
23
  msgid "Thumbnail Management"
24
  msgstr "Miniatyrhantering"
25
 
26
+ #: admin/class-admin.php:30 admin/class-admin.php:904
27
  msgid "Logging"
28
  msgstr "Loggning"
29
 
144
  msgid "The max width and height (in pixels) that thumbnails will be generated."
145
  msgstr "Max bredd och höjd (i pixlar) för genererade miniatyrer."
146
 
147
+ #: admin/class-admin.php:338
148
  msgid "Advanced Thumbnail Generation"
149
  msgstr "Avancerad Miniatyrgenerering"
150
 
151
+ #: admin/class-admin.php:350
152
  msgid "Whether to log debug and error information related to Document Gallery."
153
  msgstr ""
154
  "Ifall debug- och felinformation relaterat till Document Gallery skall loggas."
155
 
156
+ #: admin/class-admin.php:362
157
  msgid ""
158
  "Whether option structure should be validated before save. This is not "
159
  "generally necessary."
161
  "Ifall alternativstruktur skall valideras innan nedsparning. Detta är "
162
  "generellt ej nödvändigt."
163
 
164
+ #: admin/class-admin.php:375
165
  msgid ""
166
  "Max number of seconds to wait for thumbnail generation before defaulting to "
167
  "filetype icons."
169
  "Max antal sekunder att vänta på miniatyrgenerering innan standard "
170
  "filtypsikoner används."
171
 
172
+ #: admin/class-admin.php:376
173
  msgid ""
174
  "Note that generation will continue where timeout happened next time the "
175
  "gallery is loaded."
177
  "Notera att genereringen kommer att fortsätta därifrån den avbröts av "
178
  "tidsgränsen nästa gång galleriet laddas."
179
 
180
+ #: admin/class-admin.php:388
181
  msgid "Successfully auto-detected the location of Ghostscript."
182
  msgstr "Hittade platsen för Ghostscript automatiskt."
183
 
184
+ #: admin/class-admin.php:389
185
  msgid "Failed to auto-detect the location of Ghostscript."
186
  msgstr "Kunde inte hitta platsen för Ghostscript automatiskt."
187
 
188
+ #: admin/class-admin.php:393
189
  msgid "Options Array Dump"
190
  msgstr "Dumpning av Alternativmatris"
191
 
192
+ #: admin/class-admin.php:440
193
  msgid "Invalid width given: "
194
  msgstr "Ogiltig bredd angiven:"
195
 
196
+ #: admin/class-admin.php:453
197
  msgid "Invalid height given: "
198
  msgstr "Ogiltig höjd angiven:"
199
 
200
+ #: admin/class-admin.php:566
201
  msgid "Invalid Ghostscript path given: "
202
  msgstr "Ogiltig sökväg till Ghostscript angiven:"
203
 
204
+ #: admin/class-admin.php:577
205
  msgid "Invalid timeout given: "
206
  msgstr "Ogiltig tidsgräns angiven:"
207
 
208
+ #: admin/class-admin.php:608
209
  msgid ""
210
  "The following values will be used by default in the shortcode. You can still "
211
  "manually set each of these values in each individual shortcode."
213
  "Följande värden kommer att användas som standard i kortkoden. Du kan "
214
  "fortfarande sätta varje värde, i varje kortkod, manuellt."
215
 
216
+ #: admin/class-admin.php:615
217
  msgid "Select which tools to use when generating thumbnails."
218
  msgstr "Välj vilka verktyg som skall användas vid miniatyrgenerering."
219
 
220
+ #: admin/class-admin.php:624
221
  msgid ""
222
  "Enter custom CSS styling for use with document galleries. To see which ids "
223
  "and classes you can style, take a look at <a href=\"%s\" target=\"_blank"
227
  "ID:n och klasser du kan använda, ta en titt på <a href=\"%s\" target=\"_blank"
228
  "\">style.css</a>."
229
 
230
+ #: admin/class-admin.php:644
231
  msgid ""
232
  "Unless you <em>really</em> know what you're doing, you should not touch "
233
  "these values."
235
  "Om du inte <em>verkligen</em> vet vad du gör så bör du lämna dessa värden "
236
  "orörda."
237
 
238
+ #: admin/class-admin.php:647
239
  msgid ""
240
  "NOTE: <code>exec()</code> is not accessible. Ghostscript will not function."
241
  msgstr ""
242
  "NOTERA: <code>exec()</code> är ej tillgängligt. Ghostscript kommer inte att "
243
  "fungera."
244
 
245
+ #: admin/class-admin.php:658
246
  msgid ""
247
  "The following <em>readonly text</em> should be provided when <a href="
248
  "\"http://wordpress.org/support/plugin/document-gallery\" target=\"_blank"
252
  "wordpress.org/support/plugin/document-gallery\" target=\"_blank"
253
  "\">buggrapportering</a>:"
254
 
255
+ #: admin/class-admin.php:759
256
  msgid "Select All"
257
  msgstr "Välj Alla"
258
 
259
+ #: admin/class-admin.php:762
260
  msgid "Thumbnail"
261
  msgstr "Miniatyr"
262
 
263
+ #: admin/class-admin.php:763
264
  msgid "File name"
265
  msgstr "Filnamn"
266
 
267
+ #: admin/class-admin.php:764 admin/class-admin.php:839
268
  msgid "Date"
269
  msgstr "Datum"
270
 
271
+ #: admin/class-admin.php:767
272
  msgid "Delete Selected"
273
  msgstr "Ta Bort Valda"
274
 
275
+ #: admin/class-admin.php:769
276
  msgid "item"
277
  msgid_plural "items"
278
  msgstr[0] "objekt"
279
  msgstr[1] "objekt"
280
 
281
+ #: admin/class-admin.php:772
282
  msgid "Go to the first page"
283
  msgstr "Gå till första sidan"
284
 
285
+ #: admin/class-admin.php:773
286
  msgid "Go to the previous page"
287
  msgstr "Gå till föregående sida"
288
 
289
+ #: admin/class-admin.php:775
290
  msgid "Current page"
291
  msgstr "Aktuell sida"
292
 
293
+ #: admin/class-admin.php:775
294
  msgid "of"
295
  msgstr "av"
296
 
297
+ #: admin/class-admin.php:776
298
  msgid "Go to the next page"
299
  msgstr "Gå till nästa sida"
300
 
301
+ #: admin/class-admin.php:777
302
  msgid "Go to the last page"
303
  msgstr "Gå till sista sidan"
304
 
305
+ #: admin/class-admin.php:779
306
  msgid "items per page"
307
  msgstr "objekt per sida"
308
 
309
+ #: admin/class-admin.php:818
310
  msgid "View"
311
  msgstr "Visa"
312
 
313
+ #: admin/class-admin.php:819
314
  msgid "attachment page"
315
  msgstr "sida för bilaga"
316
 
317
+ #: admin/class-admin.php:819
318
  msgid "Attachment not found"
319
  msgstr "Bilaga hittades ej"
320
 
321
+ #: admin/class-admin.php:840
322
+ msgid "Level"
323
+ msgstr "Nivå"
324
+
325
+ #: admin/class-admin.php:841
326
+ msgid "Message"
327
+ msgstr "Meddelande"
328
+
329
+ #: admin/class-admin.php:850
330
+ msgid "Expand All"
331
+ msgstr "Expandera Alla"
332
+
333
+ #: admin/class-admin.php:853
334
+ msgid "Collapse All"
335
+ msgstr "Fäll ihop Alla"
336
+
337
+ #: admin/class-admin.php:897
338
+ msgid "Clear Log"
339
+ msgstr "Rensa Logg"
340
+
341
+ #: admin/class-admin.php:904
342
+ msgid "There are no log entries at this time."
343
+ msgstr "Det finns för närvarande inga loggposter."
344
+
345
+ #: admin/class-admin.php:904
346
+ msgid "For Your information:"
347
+ msgstr "För Din vetskap:"
348
+
349
+ #: admin/class-admin.php:904
350
+ msgid "is turned ON"
351
+ msgstr "är PÅSLAGEN"
352
+
353
+ #: admin/class-admin.php:904
354
+ msgid "is turned OFF"
355
+ msgstr "är AVSTÄNGD"
356
+
357
  #: inc/class-gallery.php:85
358
  msgid "Generated using Document Gallery. Get yours here: "
359
  msgstr "Genererat med Document Gallery. Skaffa det här: "
385
  msgstr "Kunde inte sätta Imagick sidnummer"
386
 
387
  #: inc/class-thumber.php:59
388
+ msgid "Attempting to generate thumbnail for attachment #%d with (%s)"
389
+ msgstr "Försöker generera miniatyr för bilagan #%d med (%s)"
390
 
391
  #: inc/class-thumber.php:138
392
  msgid "Could not open file: "
416
  msgid "Thumbnail Generators: "
417
  msgstr "Miniatyrgeneratorer:"
418
 
419
+ #: inc/class-thumber.php:642
420
  msgid "No thumbnail generators enabled."
421
  msgstr "Inga miniatyrgeneratorer aktiverade."
422
 
423
+ #: inc/class-thumber.php:685
424
  msgid "Failed to get image editor: "
425
  msgstr "Kunde inte hämta bildredigerare:"
426
 
427
+ #: inc/class-thumber.php:697
428
  msgid "Failed to save image: "
429
  msgstr "Kunde inte spara bild:"
430