WP jQuery Lightbox - Version 1.4.8.1

Version Description

(2019-03-24) = * Tested for WordPress 5.x and PHP 7.x, no functional changes.

Download this release

Release Info

Developer ulfben
Plugin Icon wp plugin WP jQuery Lightbox
Version 1.4.8.1
Comparing to
See all releases

Code changes from version 1.4.8 to 1.4.8.1

about.php DELETED
@@ -1,44 +0,0 @@
1
- <?php
2
- if(!defined('ULFBEN_DONATE_URL')){
3
- define('ULFBEN_DONATE_URL', 'http://www.amazon.com/gp/registry/wishlist/2QB6SQ5XX2U0N/105-3209188-5640446?reveal=unpurchased&filter=all&sort=priority&layout=standard&x=21&y=17');
4
- }
5
- $plugin_title = 'WP jQuery Lightbox';
6
- $plugin_changelog = 'http://wordpress.org/extend/plugins/wp-jquery-lightbox/changelog/';
7
- $plugin_forum = 'http://wordpress.org/tags/wp-jquery-lightbox?forum_id=10';
8
- $flattr_profile = 'http://flattr.com/thing/367557/Support-my-plugins';
9
- $flattr_api = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
10
- $wishlist = ULFBEN_DONATE_URL;
11
- $author_site = 'http://www.ulfben.com/';
12
- $author_profile = 'http://profiles.wordpress.org/users/ulfben/';
13
- ?>
14
- <script type="text/javascript">
15
- (function() {
16
- var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
17
- s.type = 'text/javascript';
18
- s.async = true;
19
- s.src = '<?php echo $flattr_api; ?>';
20
- t.parentNode.insertBefore(s, t);
21
- })();
22
- </script>
23
- <style type="text/css">
24
- #about{ float: right; width:350px; background: #ffc; border: 1px solid #333; padding: 5px; text-align: justify; font-family:verdana; font-size:11px; }
25
- div#about h3 {text-align:center;}
26
- .field_info {text-align:right;};
27
- </style>
28
- <?php echo "<div id='about'>
29
- <h3>From the author</h3>
30
- <p>My name is <a href='{$author_site}'>Ulf Benjaminsson</a> and I've developed WP jQuery Lightbox <a href='{$plugin_changelog}'>since 2010</a>. Nice to meet you! :)<p>
31
- <p>If you value <a href='{$author_profile}'>my plugins</a>, please <strong>help me out</strong> by <a href='{$flattr_profile}' target='_blank'>Flattr-ing them</a>!</p>
32
- <p style='text-align:center;'>
33
- <a class='FlattrButton' style='display:none;' rev='flattr;button:compact;' href='{$author_profile}'></a>
34
- <noscript><a href='{$flattr_profile}' target='_blank'>
35
- <img src='http://api.flattr.com/button/flattr-badge-large.png' alt='Flattr this' title='Flattr this' border='0' /></a></noscript></span></p>
36
- <p>Or perhaps <a href='{$wishlist}' title='Amazon whishlist'>send me a book</a>? Used ones are fine! :)</p>
37
- <p>//<a href='$author_site'>Ulf Benjaminsson</a></p>
38
- <hr />
39
- <h3>Need Help?</h3>
40
- <ol>
41
- <li><a href='{$plugin_forum}'>Support Forum</a></li>
42
- </ol>
43
- </div>";
44
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wp-jquery-lightbox-de_DE.mo CHANGED
Binary file
languages/wp-jquery-lightbox-de_DE.po CHANGED
@@ -1,171 +1,180 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: wp-jquery-lightbox v1.3.4.2\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-05-23 17:41-0500\n"
6
- "PO-Revision-Date: 2013-05-23 17:42-0500\n"
7
- "Last-Translator: \n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
- "X-Poedit-SourceCharset: utf-8\n"
14
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
15
- "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
16
- "X-Textdomain-Support: yes\n"
17
- "X-Generator: Poedit 1.5.5\n"
18
- "X-Poedit-SearchPath-0: .\n"
19
-
20
- # @ jqlb
21
- #: wp-jquery-lightbox.php:42
22
- msgid "Settings"
23
- msgstr "Einstellungen"
24
-
25
- # @ jqlb
26
- #: wp-jquery-lightbox.php:112
27
- msgid "previous image"
28
- msgstr "Vorheriges Bild"
29
-
30
- # @ jqlb
31
- #: wp-jquery-lightbox.php:113
32
- msgid "next image"
33
- msgstr "Nächstes Bild"
34
-
35
- # @ jqlb
36
- #: wp-jquery-lightbox.php:114
37
- msgid "close image gallery"
38
- msgstr "Bildergalerie schließen"
39
-
40
- # @ jqlb
41
- #: wp-jquery-lightbox.php:115
42
- msgid "Image "
43
- msgstr "Bild "
44
-
45
- # @ jqlb
46
- #: wp-jquery-lightbox.php:116
47
- msgid " of "
48
- msgstr " von "
49
-
50
- # @ jqlb
51
- #: wp-jquery-lightbox.php:117
52
- msgid "Download"
53
- msgstr "Herunterladen"
54
-
55
- # @ jqlb
56
- #: wp-jquery-lightbox.php:118
57
- msgid "(pause slideshow)"
58
- msgstr "(Diashow anhalten)"
59
-
60
- # @ jqlb
61
- #: wp-jquery-lightbox.php:119
62
- msgid "(play slideshow)"
63
- msgstr "(Diashow starten)"
64
-
65
- # @ jqlb
66
- #: wp-jquery-lightbox.php:182
67
- msgid "Cheatin&#8217; uh?"
68
- msgstr "Tricksen&#8217; hm?"
69
-
70
- # @ jqlb
71
- #: wp-jquery-lightbox.php:197
72
- msgid "Let the plugin add necessary html to image links"
73
- msgstr "Plugin fügt selbst benötigtes HTML in Bild-Links ein"
74
-
75
- # @ jqlb
76
- #: wp-jquery-lightbox.php:197
77
- msgid "Auto-lightbox image links"
78
- msgstr "Auto-Lightbox Bild Verlinkung"
79
-
80
- # @ jqlb
81
- #: wp-jquery-lightbox.php:204
82
- msgid ""
83
- "Note: this will disable the nofollow-attribute of comment links, that "
84
- "otherwise interfere with the lightbox."
85
- msgstr ""
86
- "Hinweis: Hierdurch wird das nofollow-Attribut für Kommentare deaktiviert da "
87
- "dieses sonst die lightbox-Funktionsweise stören würde."
88
-
89
- # @ jqlb
90
- #: wp-jquery-lightbox.php:204
91
- msgid ""
92
- "Enable lightbox in comments (disables <a href=\"http://codex.wordpress.org/"
93
- "Nofollow\">the nofollow attribute!</a>)"
94
- msgstr ""
95
- "Aktiviere lightbox für Kommentare (deaktiivert <a href=\"http://codex."
96
- "wordpress.org/Nofollow\">das nofollow Attribut!</a>)"
97
-
98
- # @ jqlb
99
- #: wp-jquery-lightbox.php:211
100
- msgid "Show download link"
101
- msgstr "Zeige Link zum Herunterladen"
102
-
103
- # @ jqlb
104
- #: wp-jquery-lightbox.php:215
105
- msgid ""
106
- "_blank: open the image in a new window or tab\n"
107
- "_self: open the image in the same frame as it was clicked (default)\n"
108
- "_parent: open the image in the parent frameset\n"
109
- "_top: open the image in the full body of the window"
110
- msgstr ""
111
- "_blank: öffne das Bild in einem neuen Fenster oder Tab\n"
112
- "_self: Öffne das Bild im gleichen Frame in dem es angeklickt wurde "
113
- "(Voreinstellung)\n"
114
- "_parent: öffne das Bild im parent frameset\n"
115
- "_top: öffne das Bild im Hauptfenster"
116
-
117
- # @ jqlb
118
- #: wp-jquery-lightbox.php:218
119
- msgid "Target for download link:"
120
- msgstr "Ziel für Herunterladen-Link:"
121
-
122
- # @ jqlb
123
- #: wp-jquery-lightbox.php:232
124
- msgid "Show image info on top"
125
- msgstr "Zeige Bildinformationen oberhalb des Bildes"
126
-
127
- # @ jqlb
128
- #: wp-jquery-lightbox.php:240
129
- msgid "Shrink large images to fit smaller screens"
130
- msgstr "Große Bilder in Bildschirm einpassen"
131
-
132
- # @ jqlb
133
- #: wp-jquery-lightbox.php:245
134
- msgid "Keep a distance between the image and the screen edges."
135
- msgstr "Füge einen Abstand zwischen Bild und Rahmen ein."
136
-
137
- # @ jqlb
138
- #: wp-jquery-lightbox.php:245
139
- msgid "Minimum margin to screen edge (default: 0)"
140
- msgstr "Mindestabstand zum Rahmen des Bildschirms (Vorgabe: 0)"
141
-
142
- # @ jqlb
143
- #: wp-jquery-lightbox.php:252
144
- msgid "Animation duration (in milliseconds) "
145
- msgstr "Animationsdauer (in Millisekunden) "
146
-
147
- # @ jqlb
148
- #: wp-jquery-lightbox.php:258
149
- msgid "Slideshow speed (in milliseconds). 0 to disable."
150
- msgstr ""
151
- "Verweilzeit der Bilder während der Diashow (in Millisekunden). 0 schaltet "
152
- "Diashow ab."
153
-
154
- # @ jqlb
155
- #: wp-jquery-lightbox.php:264
156
- msgid "Help text (default: none) "
157
- msgstr "Hinweistext (Vorgabe: keiner) "
158
-
159
- # @ jqlb
160
- #: wp-jquery-lightbox.php:268
161
- msgid ""
162
- "Browse images with your keyboard: Arrows or P(revious)/N(ext) and X/C/ESC "
163
- "for close."
164
- msgstr ""
165
- "Tastaturkürzel zum Bildwechsel: Pfeiltasten oder P(revious für vorheriges)/N"
166
- "(ext für nächstes) und X/C/Esc zum schließen."
167
-
168
- # @ jqlb
169
- #: wp-jquery-lightbox.php:270
170
- msgid "Save Changes"
171
- msgstr "Änderungen speichern"
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wp-jquery-lightbox v1.4.8\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-05-23 17:41-0500\n"
6
+ "PO-Revision-Date: Wed Jan 13 2016 22:54:16 GMT+0100\n"
7
+ "Last-Translator: Hans M. Herbrand web266.de\n"
8
+ "Language-Team: \n"
9
+ "Language: German\n"
10
+ "Plural-Forms: nplurals=2; plural=n != 1\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
16
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
17
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
18
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
19
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
20
+ "X-Textdomain-Support: yes\n"
21
+ "X-Generator: Loco - https://localise.biz/\n"
22
+ "X-Poedit-SearchPath-0: ..\n"
23
+ "X-Poedit-Basepath: .\n"
24
+ "X-Loco-Target-Locale: de_DE"
25
+
26
+ #. Description of the plugin
27
+ msgid ""
28
+ "A drop in replacement for LightBox-2 and similar plugins. Uses jQuery to "
29
+ "save you from the JS-library mess in your header. :)"
30
+ msgstr ""
31
+
32
+ #: ../wp-jquery-lightbox.php:43
33
+ #, fuzzy
34
+ msgid "Settings"
35
+ msgstr "Einstellungen"
36
+
37
+ #. Name of the plugin
38
+ msgid "wp-jquery-lightbox"
39
+ msgstr "wp-jquery-lightbox"
40
+
41
+ #. URI of the plugin
42
+ msgid "http://wordpress.org/extend/plugins/wp-jquery-lightbox"
43
+ msgstr "http://wordpress.org/extend/plugins/wp-jquery-lightbox"
44
+
45
+ #. Author of the plugin
46
+ msgid "Ulf Benjaminsson"
47
+ msgstr "Ulf Benjaminsson"
48
+
49
+ #. Author URI of the plugin
50
+ msgid "http://www.ulfben.com"
51
+ msgstr "http://www.ulfben.com"
52
+
53
+ #: ../wp-jquery-lightbox.php:243
54
+ msgid "Show caption"
55
+ msgstr "Zeige Bildunterschrift"
56
+
57
+ #: ../wp-jquery-lightbox.php:286
58
+ msgid "Use custom stylesheet"
59
+ msgstr "Benutzerdefiniertes Stylesheet verwenden"
60
+
61
+ #: ../wp-jquery-lightbox.php:236
62
+ msgid "Show title"
63
+ msgstr "Zeige Titel"
64
+
65
+ #: ../wp-jquery-lightbox.php:250
66
+ msgid "Show image numbers:"
67
+ msgstr "Zeige Bildnummern"
68
+
69
+ # @ jqlb
70
+ #: ../wp-jquery-lightbox.php:130
71
+ msgid "previous image"
72
+ msgstr "Vorheriges Bild"
73
+
74
+ # @ jqlb
75
+ #: ../wp-jquery-lightbox.php:131
76
+ msgid "next image"
77
+ msgstr "Nächstes Bild"
78
+
79
+ # @ jqlb
80
+ #: ../wp-jquery-lightbox.php:132
81
+ msgid "close image gallery"
82
+ msgstr "Bildergalerie schließen"
83
+
84
+ # @ jqlb
85
+ #: ../wp-jquery-lightbox.php:133 ../wp-jquery-lightbox.php:250
86
+ msgid "Image "
87
+ msgstr "Bild "
88
+
89
+ # @ jqlb
90
+ #: ../wp-jquery-lightbox.php:134 ../wp-jquery-lightbox.php:250
91
+ msgid " of "
92
+ msgstr " von "
93
+
94
+ # @ jqlb
95
+ #: ../wp-jquery-lightbox.php:135
96
+ msgid "Download"
97
+ msgstr "Herunterladen"
98
+
99
+ # @ jqlb
100
+ #: ../wp-jquery-lightbox.php:136
101
+ msgid "(pause slideshow)"
102
+ msgstr "(Diashow anhalten)"
103
+
104
+ # @ jqlb
105
+ #: ../wp-jquery-lightbox.php:137
106
+ msgid "(play slideshow)"
107
+ msgstr "(Diashow starten)"
108
+
109
+ # @ jqlb
110
+ #: ../wp-jquery-lightbox.php:207
111
+ msgid "Cheatin&#8217; uh?"
112
+ msgstr "Tricksen&#8217; hm?"
113
+
114
+ # @ jqlb
115
+ #: ../wp-jquery-lightbox.php:222
116
+ msgid "Let the plugin add necessary html to image links"
117
+ msgstr "Plugin fügt selbst benötigtes HTML in Bild-Links ein"
118
+
119
+ # @ jqlb
120
+ #: ../wp-jquery-lightbox.php:222
121
+ msgid "Auto-lightbox image links"
122
+ msgstr "Auto-Lightbox Bild Verlinkung"
123
+
124
+ #: ../wp-jquery-lightbox.php:229
125
+ msgid ""
126
+ "Note: this will disable the nofollow-attribute of comment links, that "
127
+ "otherwise interfere with the lightbox."
128
+ msgstr ""
129
+ "Hinweis: Hierdurch wird das nofollow-Attribut für Kommentare deaktiviert, da "
130
+ "dieses sonst die Lightbox-Funktionsweise stören würde."
131
+
132
+ #: ../wp-jquery-lightbox.php:229
133
+ msgid ""
134
+ "Enable lightbox in comments (disables <a href=\"http://codex.wordpress."
135
+ "org/Nofollow\">the nofollow attribute!</a>)"
136
+ msgstr ""
137
+ "Aktiviere Lightbox für Kommentare (deaktiviert <a href=\"http://codex."
138
+ "wordpress.org/Nofollow\">das nofollow Attribut!</a>)"
139
+
140
+ # @ jqlb
141
+ #: ../wp-jquery-lightbox.php:257
142
+ msgid "Show download link"
143
+ msgstr "Zeige Link zum Herunterladen"
144
+
145
+ # @ jqlb
146
+ #: ../wp-jquery-lightbox.php:265
147
+ msgid "Show image info on top"
148
+ msgstr "Zeige Bildinformationen oberhalb des Bildes"
149
+
150
+ # @ jqlb
151
+ #: ../wp-jquery-lightbox.php:273
152
+ msgid "Shrink large images to fit smaller screens"
153
+ msgstr "Große Bilder in Bildschirm einpassen"
154
+
155
+ # @ jqlb
156
+ #: ../wp-jquery-lightbox.php:278
157
+ msgid "Keep a distance between the image and the screen edges."
158
+ msgstr "Füge einen Abstand zwischen Bild und Rahmen ein."
159
+
160
+ # @ jqlb
161
+ #: ../wp-jquery-lightbox.php:278
162
+ msgid "Minimum margin to screen edge (default: 0)"
163
+ msgstr "Mindestabstand zum Rahmen des Bildschirms (Vorgabe: 0)"
164
+
165
+ # @ jqlb
166
+ #: ../wp-jquery-lightbox.php:292
167
+ msgid "Animation duration (in milliseconds) "
168
+ msgstr "Animationsdauer (in Millisekunden) "
169
+
170
+ # @ jqlb
171
+ #: ../wp-jquery-lightbox.php:298
172
+ msgid "Slideshow speed (in milliseconds). 0 to disable."
173
+ msgstr ""
174
+ "Verweilzeit der Bilder während der Diashow (in Millisekunden). 0 schaltet "
175
+ "Diashow ab."
176
+
177
+ # @ jqlb
178
+ #: ../wp-jquery-lightbox.php:303
179
+ msgid "Save Changes"
180
+ msgstr "Änderungen speichern"
languages/wp-jquery-lightbox-uk.mo ADDED
Binary file
languages/wp-jquery-lightbox-uk.po ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of Development (trunk) in Ukrainian
2
+ # This file is distributed under the same license as the Development (trunk) package.
3
+ msgid ""
4
+ msgstr ""
5
+ "PO-Revision-Date: 2015-12-18 20:46+0200\n"
6
+ "MIME-Version: 1.0\n"
7
+ "Content-Type: text/plain; charset=UTF-8\n"
8
+ "Content-Transfer-Encoding: 8bit\n"
9
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
10
+ "X-Generator: Poedit 1.8.6\n"
11
+ "Project-Id-Version: Development (trunk)\n"
12
+ "POT-Creation-Date: \n"
13
+ "Last-Translator: Ihor Vispyanskiy <virua@ukr.net>\n"
14
+ "Language-Team: \n"
15
+ "Language: uk\n"
16
+
17
+ #: wp-jquery-lightbox.php:42
18
+ msgid "Settings"
19
+ msgstr "Налаштування"
20
+
21
+ #: wp-jquery-lightbox.php:130
22
+ msgid "previous image"
23
+ msgstr "попереднє зображення"
24
+
25
+ #: wp-jquery-lightbox.php:131
26
+ msgid "next image"
27
+ msgstr "наступне зображення"
28
+
29
+ #: wp-jquery-lightbox.php:132
30
+ msgid "close image gallery"
31
+ msgstr "закрити галерею зображень"
32
+
33
+ #: wp-jquery-lightbox.php:133 wp-jquery-lightbox.php:243
34
+ msgid "Image "
35
+ msgstr "Зображення "
36
+
37
+ #: wp-jquery-lightbox.php:134 wp-jquery-lightbox.php:243
38
+ msgid " of "
39
+ msgstr " з "
40
+
41
+ #: wp-jquery-lightbox.php:135
42
+ msgid "Download"
43
+ msgstr "Завантажити"
44
+
45
+ #: wp-jquery-lightbox.php:136
46
+ msgid "(pause slideshow)"
47
+ msgstr "(зупинити слайд-шоу)"
48
+
49
+ #: wp-jquery-lightbox.php:137
50
+ msgid "(play slideshow)"
51
+ msgstr "(почати слайд-шоу)"
52
+
53
+ #: wp-jquery-lightbox.php:200
54
+ msgid "Cheatin&#8217; uh?"
55
+ msgstr "Шахраюємо?"
56
+
57
+ #: wp-jquery-lightbox.php:215
58
+ msgid "Let the plugin add necessary html to image links"
59
+ msgstr "Дозволити плагіну додавати необхідний html до посилань на зображення"
60
+
61
+ #: wp-jquery-lightbox.php:215
62
+ msgid "Auto-lightbox image links"
63
+ msgstr "Використовувати lightbox автоматично"
64
+
65
+ #: wp-jquery-lightbox.php:222
66
+ msgid "Note: this will disable the nofollow-attribute of comment links, that otherwise interfere with the lightbox."
67
+ msgstr "Примітка: це відключить nofollow-атрибут для посиланнях в коментарях, який в іншому випадку втручатиметься в lightbox."
68
+
69
+ #: wp-jquery-lightbox.php:222
70
+ msgid "Enable lightbox in comments (disables <a href=\"http://codex.wordpress.org/Nofollow\">the nofollow attribute!</a>)"
71
+ msgstr "Включити lightbox в коментарях (відключає <a href=\"http://codex.wordpress.org/Nofollow\">nofollow-атрибут!</a>)"
72
+
73
+ #: wp-jquery-lightbox.php:229
74
+ msgid "Show title"
75
+ msgstr "Показати назву"
76
+
77
+ #: wp-jquery-lightbox.php:236
78
+ msgid "Show caption"
79
+ msgstr "Показати підпис"
80
+
81
+ #: wp-jquery-lightbox.php:243
82
+ msgid "Show image numbers:"
83
+ msgstr "Показати кількість зображень:"
84
+
85
+ #: wp-jquery-lightbox.php:250
86
+ msgid "Show download link"
87
+ msgstr "Показати посилання на завантаження"
88
+
89
+ #: wp-jquery-lightbox.php:258
90
+ msgid "Show image info on top"
91
+ msgstr "Показати дані про зображення зверху"
92
+
93
+ #: wp-jquery-lightbox.php:266
94
+ msgid "Shrink large images to fit smaller screens"
95
+ msgstr "Підігнати розмір зображення під екран"
96
+
97
+ #: wp-jquery-lightbox.php:271
98
+ msgid "Keep a distance between the image and the screen edges."
99
+ msgstr "Тримати дистанцію між зображенням і краєм екрану."
100
+
101
+ #: wp-jquery-lightbox.php:271
102
+ msgid "Minimum margin to screen edge (default: 0)"
103
+ msgstr "Мінімальний відступ до краю екрана (за замовчуванням: 0)"
104
+
105
+ #: wp-jquery-lightbox.php:279
106
+ msgid "Use custom stylesheet"
107
+ msgstr "Використовувати власні стилі"
108
+
109
+ #: wp-jquery-lightbox.php:285
110
+ msgid "Animation duration (in milliseconds) "
111
+ msgstr "Тривалість анімації (в мілісекундах) "
112
+
113
+ #: wp-jquery-lightbox.php:291
114
+ msgid "Slideshow speed (in milliseconds). 0 to disable."
115
+ msgstr "Швидкість слайд-шоу (в мілісекундах). 0 для відключення."
116
+
117
+ #: wp-jquery-lightbox.php:296
118
+ msgid "Save Changes"
119
+ msgstr "Зберегти зміни"
120
+
121
+ #. Plugin Name of the plugin/theme
122
+ msgid "wp-jquery-lightbox"
123
+ msgstr "WP jQuery Lightbox"
124
+
125
+ #. Plugin URI of the plugin/theme
126
+ msgid "http://wordpress.org/extend/plugins/wp-jquery-lightbox/"
127
+ msgstr "http://wordpress.org/extend/plugins/wp-jquery-lightbox/"
128
+
129
+ #. Description of the plugin/theme
130
+ msgid "A drop in replacement for LightBox-2 and similar plugins. Uses jQuery to save you from the JS-library mess in your header. :)"
131
+ msgstr "Спроба замінити LightBox-2 і аналогічні плагіни. Використовує jQuery, щоб врятувати вас від засилля JS-бібліотек в шапці сайту. :)"
132
+
133
+ #. Author of the plugin/theme
134
+ msgid "Ulf Benjaminsson"
135
+ msgstr "Ulf Benjaminsson"
136
+
137
+ #. Author URI of the plugin/theme
138
+ msgid "http://www.ulfben.com"
139
+ msgstr "http://www.ulfben.com"
readme.txt CHANGED
@@ -3,8 +3,9 @@ Contributors: ulfben
3
  Donate link: http://flattr.com/thing/367557/Support-my-WordPress-plugins
4
  Tags: lightbox, jquery, nodal, image, display, ulfben
5
  Requires at least: 3.9
6
- Tested up to: 4.4
7
- Stable tag: 1.4.8
 
8
  License: GPLv2 or later
9
 
10
  A drop-in replacement for Lightbox 2 and similar plugins, shedding the bulk of Prototype and Scriptaculous. Improved for mobile devices.
@@ -21,20 +22,14 @@ This version is also [adjusted for mobile devices](http://wordpress.org/extend/p
21
  * Improved scaling *maximizes* use of screen space
22
  * Live adjustment to the browser window and orientation of your phone
23
 
24
- See the plugin in action here: [http://game.hgo.se/blog/motion-capture/](http://game.hgo.se/blog/motion-capture/)
25
 
26
  You can browse images with your keyboard: Arrows, P(revious)/N(ext) and X/C/ESC for close.
27
 
28
- If you value [my plugins](http://profiles.wordpress.org/users/ulfben/), there's several ways you can help me out;
29
 
30
- * Help me out by [Flattr-ing them](http://flattr.com/thing/367557/Support-my-WordPress-plugins)
31
- * or [sign up to Microsoft OneDrive using my referral link](https://onedrive.live.com?invref=b1f728851abada15&invsrc=90) - we both get 0.5GB extra for free!
32
- * or [sign up to RealPlayer Cloud using my referral link](https://cloud.real.com/r/UzKHSP) - we both get 1GB extra for free!
33
- * get me anything from [my Amazon whislisth](http://www.amazon.com/gp/registry/wishlist/2QB6SQ5XX2U0N/105-3209188-5640446?reveal=unpurchased&filter=all&sort=priority&layout=standard&x=11&y=10) (used items are OK!)
34
-
35
- Any help is greatly appreciated. Thanks!
36
-
37
- *[//Ulf Benjaminsson](http://www.ulfben.com)*
38
 
39
  = 1.4.8 (2015-12-31) =
40
  * Fixed translations not being loaded properly
@@ -121,6 +116,7 @@ Any help is greatly appreciated. Thanks!
121
 
122
  1. [Infinite-Scroll](http://wordpress.org/extend/plugins/infinite-scroll/) and similar "endless pages"-plugins should call `doLightbox();` whenever it loads new content. Check your plugin for a setting
123
  named "callbacks" - code that is called after each new page is loaded. Add this line;
 
124
  `if(typeof doLightBox !== 'undefined' && typeof jQuery !== 'undefined'){
125
  doLightBox();
126
  }`
@@ -157,6 +153,8 @@ Lastly:
157
  Still have problems? Post a link and describe what issue you're having, and tell us what of these steps you've already tried.
158
 
159
  == Changelog ==
 
 
160
 
161
  = 1.4.8 (2015-12-31) =
162
  * Fixed translations not being loaded properly
@@ -400,8 +398,8 @@ Translations and help with implementing them would be nice. A read through and c
400
 
401
  And of course; [a book or two](http://www.amazon.com/gp/registry/wishlist/2QB6SQ5XX2U0N/105-3209188-5640446?reveal=unpurchased&filter=all&sort=priority&layout=standard&x) always brightens my day! (used ones are fine!)
402
 
403
- == Other Notes ==
404
- Copyright (C) 2010-2016 Ulf Benjaminsson (my first name at ulfben dot com).
405
 
406
  This program is free software; you can redistribute it and/or modify
407
  it under the terms of the GNU General Public License as published by
3
  Donate link: http://flattr.com/thing/367557/Support-my-WordPress-plugins
4
  Tags: lightbox, jquery, nodal, image, display, ulfben
5
  Requires at least: 3.9
6
+ Tested up to: 5.1.1
7
+ Stable tag: 1.4.8.1
8
+ Requires PHP: 5.2
9
  License: GPLv2 or later
10
 
11
  A drop-in replacement for Lightbox 2 and similar plugins, shedding the bulk of Prototype and Scriptaculous. Improved for mobile devices.
22
  * Improved scaling *maximizes* use of screen space
23
  * Live adjustment to the browser window and orientation of your phone
24
 
25
+ See the plugin in action here: [https://game.speldesign.uu.se/](https://game.speldesign.uu.se/)
26
 
27
  You can browse images with your keyboard: Arrows, P(revious)/N(ext) and X/C/ESC for close.
28
 
29
+ *[//Ulf Benjaminsson](http://www.ulfbenjaminsson.com)*
30
 
31
+ = 1.4.8.1 (2019-03-24) =
32
+ * Tested for WordPress 5.x and PHP 7.x, no functional changes.
 
 
 
 
 
 
33
 
34
  = 1.4.8 (2015-12-31) =
35
  * Fixed translations not being loaded properly
116
 
117
  1. [Infinite-Scroll](http://wordpress.org/extend/plugins/infinite-scroll/) and similar "endless pages"-plugins should call `doLightbox();` whenever it loads new content. Check your plugin for a setting
118
  named "callbacks" - code that is called after each new page is loaded. Add this line;
119
+
120
  `if(typeof doLightBox !== 'undefined' && typeof jQuery !== 'undefined'){
121
  doLightBox();
122
  }`
153
  Still have problems? Post a link and describe what issue you're having, and tell us what of these steps you've already tried.
154
 
155
  == Changelog ==
156
+ = 1.4.8.1 (2019-03-24) =
157
+ * Tested for WordPress 5.x and PHP 7.0
158
 
159
  = 1.4.8 (2015-12-31) =
160
  * Fixed translations not being loaded properly
398
 
399
  And of course; [a book or two](http://www.amazon.com/gp/registry/wishlist/2QB6SQ5XX2U0N/105-3209188-5640446?reveal=unpurchased&filter=all&sort=priority&layout=standard&x) always brightens my day! (used ones are fine!)
400
 
401
+ == Additional Info ==
402
+ Copyright (C) 2010-2019 Ulf Benjaminsson (hello at my full name dot com).
403
 
404
  This program is free software; you can redistribute it and/or modify
405
  it under the terms of the GNU General Public License as published by
styles/images/uk/blank.gif ADDED
Binary file
styles/images/uk/close.gif ADDED
Binary file
styles/images/uk/closelabel.gif ADDED
Binary file
styles/images/uk/loading.gif ADDED
Binary file
styles/images/uk/next.gif ADDED
Binary file
styles/images/uk/nextlabel.gif ADDED
Binary file
styles/images/uk/prev.gif ADDED
Binary file
styles/images/uk/prevlabel.gif ADDED
Binary file
styles/lightbox.min.uk.css ADDED
@@ -0,0 +1 @@
 
1
+ #lightbox{position:absolute;left:0;width:100%;z-index:10100;text-align:center;line-height:0}#jqlb_loading{height:32px;background-image:url('./images/uk/loading.gif');background-repeat:no-repeat;background-position:center center}#jqlb_closelabel{height:22px;background-image:url('./images/uk/closelabel.gif');background-repeat:no-repeat;background-position:center center}#lightbox a img{border:none}#outerImageContainer{position:relative;background-color:#fff;width:250px;height:250px;margin:0 auto}#imageContainer{padding:10px}#loading{position:absolute;top:40%;left:0;height:25%;width:100%;text-align:center;line-height:0}#hoverNav{position:absolute;top:0;left:0;height:100%;width:100%;z-index:10}#imageContainer>#hoverNav{left:0}#hoverNav a{outline:none}#prevLink,#nextLink{width:45%;height:100%;background:transparent url('./images/uk/blank.gif') no-repeat;display:block}#prevLink{left:0;float:left}#nextLink{right:0;float:right}#prevLink:hover,#prevLink:visited:hover{background:url('./images/uk/prev.gif') left 50% no-repeat}#nextLink:hover,#nextLink:visited:hover{background:url('./images/uk/next.gif') right 50% no-repeat}#nextLinkText,#prevLinkText{color:#ff9834;font-weight:bold;text-decoration:none}#nextLinkText{padding-left:20px}#prevLinkText{padding-right:20px}.ontop #imageData{padding-top:5px}#imageDataContainer{font:10px Verdana,Helvetica,sans-serif;background-color:#fff;margin:0 auto;line-height:1.4em}#imageData{padding:0 10px}#imageData #imageDetails{width:70%;float:left;text-align:left;padding-bottom:.7em;}#imageData #caption{font-weight:bold}#imageData #numberDisplay{padding-bottom:1.0em}#downloadLink{display:none;}#playpause{}#controls{white-space:nowrap;}#imageData #bottomNavClose{width:86px;float:right;padding-bottom:.7em}#imageData #helpDisplay{clear:left;float:left;display:block}#overlay{position:absolute;top:0;left:0;z-index:10090;width:100%;height:500px;background-color:#000;filter:alpha(opacity=60);-moz-opacity:.6;opacity:.6;display:none}.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}* html>body .clearfix{display:inline-block;width:100%}* html .clearfix{/*\*/height:1%;/**/}#lightboxIframe{display:none}
wp-jquery-lightbox.php CHANGED
@@ -3,11 +3,16 @@
3
  Plugin Name: wp-jquery-lightbox
4
  Plugin URI: http://wordpress.org/extend/plugins/wp-jquery-lightbox/
5
  Description: A drop in replacement for LightBox-2 and similar plugins. Uses jQuery to save you from the JS-library mess in your header. :)
6
- Version: 1.4.8
7
  Text Domain: wp-jquery-lightbox
8
  Author: Ulf Benjaminsson
9
- Author URI: http://www.ulfben.com
10
  License: GPLv2 or later
 
 
 
 
 
11
  */
12
  add_action( 'plugins_loaded', 'jqlb_init' );
13
  global $jqlb_group;
@@ -107,15 +112,15 @@ function jqlb_css(){
107
  $fileName = 'lightbox.min.css';
108
  }
109
  }
110
- $uri = ( $haveThemeCss ) ? get_template_directory_uri().'/'.$fileName : plugin_dir_url(__FILE__).'styles/'.$fileName;
111
- wp_enqueue_style('jquery.lightbox.min.css', $uri, false, '1.4.6');
112
  }
113
 
114
  function jqlb_js() {
115
  if(is_admin() || is_feed()){return;}
116
  wp_enqueue_script('jquery', '', array(), false, true);
117
- wp_enqueue_script('wp-jquery-lightbox-swipe', plugins_url(JQLB_TOUCH_SCRIPT, __FILE__), Array('jquery'), '1.4.6', true);
118
- wp_enqueue_script('wp-jquery-lightbox', plugins_url(JQLB_SCRIPT, __FILE__), Array('jquery'), '1.4.6', true);
119
  wp_localize_script('wp-jquery-lightbox', 'JQLBSettings', array(
120
  'showTitle' => get_option('jqlb_showTitle'),
121
  'showCaption' => get_option('jqlb_showCaption'),
@@ -161,6 +166,27 @@ function jqlb_apply_lightbox($content, $id = -1){
161
  return jqlb_do_regexp($content, $id);
162
  }
163
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  /* automatically insert rel="lightbox[nameofpost]" to every image with no manual work.
165
  if there are already rel="lightbox[something]" attributes, they are not clobbered.
166
  Michael Tyson, you are a regular expressions god! - http://atastypixel.com */
@@ -210,8 +236,7 @@ function jqlb_options_panel(){
210
  ?>
211
 
212
  <div class="wrap">
213
- <h2>jQuery Lightbox</h2>
214
- <?php include_once(plugin_dir_path(__FILE__).'about.php'); ?>
215
  <form method="post" action="options.php">
216
  <table>
217
  <?php settings_fields('jqlb-settings-group'); ?>
3
  Plugin Name: wp-jquery-lightbox
4
  Plugin URI: http://wordpress.org/extend/plugins/wp-jquery-lightbox/
5
  Description: A drop in replacement for LightBox-2 and similar plugins. Uses jQuery to save you from the JS-library mess in your header. :)
6
+ Version: 1.4.8.1
7
  Text Domain: wp-jquery-lightbox
8
  Author: Ulf Benjaminsson
9
+ Author URI: http://www.ulfbenjaminsson.com
10
  License: GPLv2 or later
11
+
12
+ TODO:
13
+ Replace attribute "rel" with "data-rel" to make HTML5 valid, https://wordpress.org/support/topic/replace-attribute-rel-with-data-rel-to-make-html5-valid/?replies=3
14
+ Let the rel-attribute *contain* lightbox, rather than *only* be lightbox. https://wordpress.org/support/topic/fix-for-auto-lightboxing-links-that-contain-rel-attributes-already/?replies=12
15
+ Replace graphic assets with genericons
16
  */
17
  add_action( 'plugins_loaded', 'jqlb_init' );
18
  global $jqlb_group;
112
  $fileName = 'lightbox.min.css';
113
  }
114
  }
115
+ $uri = ( $haveThemeCss ) ? get_stylesheet_directory_uri().'/'.$fileName : plugin_dir_url(__FILE__).'styles/'.$fileName;
116
+ wp_enqueue_style('jquery.lightbox.min.css', $uri, false, '1.4.8');
117
  }
118
 
119
  function jqlb_js() {
120
  if(is_admin() || is_feed()){return;}
121
  wp_enqueue_script('jquery', '', array(), false, true);
122
+ wp_enqueue_script('wp-jquery-lightbox-swipe', plugins_url(JQLB_TOUCH_SCRIPT, __FILE__), Array('jquery'), '1.4.8', true);
123
+ wp_enqueue_script('wp-jquery-lightbox', plugins_url(JQLB_SCRIPT, __FILE__), Array('jquery'), '1.4.8', true);
124
  wp_localize_script('wp-jquery-lightbox', 'JQLBSettings', array(
125
  'showTitle' => get_option('jqlb_showTitle'),
126
  'showCaption' => get_option('jqlb_showCaption'),
166
  return jqlb_do_regexp($content, $id);
167
  }
168
 
169
+ //Matt's version to support multiple rel values
170
+ //https://wordpress.org/support/topic/fix-for-auto-lightboxing-links-that-contain-rel-attributes-already?replies=12
171
+ function jqlb_do_regexp_multirel($content, $id){
172
+ $id = esc_attr($id);
173
+ $a_tag_img_regex = "/(<a[^>]+href=['\"][^>]+\\.(?:bmp|gif|jpg|jpeg|png)[^>]+)>/i";
174
+ if (preg_match_all($a_tag_img_regex, $content, $a_tag_matches, PREG_SET_ORDER)) {
175
+ foreach ($a_tag_matches as $a_tag) {
176
+ $new_a_tag = $a_tag[0];
177
+ $rel_regex = "/(rel=['\"])(?![^>]*?(?:lightbox|nolb|nobox))([^'\"]+)(['\"])/i";
178
+ $new_a_tag = preg_replace($rel_regex, '$1lightbox['.$id.'] $2$3', $new_a_tag);
179
+
180
+ $no_rel_regex = "/(<a(?![^>]*?rel=['\"].+)[^>]+href=['\"][^>]+\\.(?:bmp|gif|jpg|jpeg|png)[^>]+)>/i";
181
+ $new_a_tag = preg_replace($no_rel_regex, '$1 rel="lightbox['.$id.']">', $new_a_tag);
182
+
183
+ if ($new_a_tag != $a_tag[0]) $content = str_replace($a_tag[0], $new_a_tag, $content);
184
+ }
185
+ }
186
+ return $content;
187
+ }
188
+
189
+
190
  /* automatically insert rel="lightbox[nameofpost]" to every image with no manual work.
191
  if there are already rel="lightbox[something]" attributes, they are not clobbered.
192
  Michael Tyson, you are a regular expressions god! - http://atastypixel.com */
236
  ?>
237
 
238
  <div class="wrap">
239
+ <h2>jQuery Lightbox</h2>
 
240
  <form method="post" action="options.php">
241
  <table>
242
  <?php settings_fields('jqlb-settings-group'); ?>