Lightbox Gallery - Version 0.6.6

Version Description

  • Option to add rel="lightbox" automatically in the post insert.
  • Code cleaning.
  • Bugfix: addition of esc_attr().
  • Croatian (hr) - Tomislav Konestabo
  • Hindi (hi_IN) - Outshine Solutions
  • Simplified Chinese (zh_CN) - leonanu
Download this release

Release Info

Developer Hiroaki Miyashita
Plugin Icon wp plugin Lightbox Gallery
Version 0.6.6
Comparing to
See all releases

Code changes from version 0.6.5 to 0.6.6

js/cmswp.jpg ADDED
Binary file
lightbox-gallery-hi_IN.mo ADDED
Binary file
lightbox-gallery-hi_IN.po ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Lightbox Gallery 0.6.2 hu\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-11-19 17:29+0900\n"
6
+ "PO-Revision-Date: 2011-06-16 17:00+0530\n"
7
+ "Last-Translator: Ashish Jha <ashish@outshinesolutions.com>\n"
8
+ "Language-Team: Outshine Solutions <ash.pr@outshinesolutions.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e;_c\n"
13
+ "X-Poedit-Basepath: ../\n"
14
+ "X-Poedit-Language: Hindi\n"
15
+ "X-Poedit-Country: INDIA\n"
16
+ "X-Poedit-SearchPath-0: lightbox-gallery\n"
17
+
18
+ #: lightbox-gallery/lightbox-gallery.php:157
19
+ msgid "Settings"
20
+ msgstr "सेटिंग्स"
21
+
22
+ #: lightbox-gallery/lightbox-gallery.php:165
23
+ #: lightbox-gallery/lightbox-gallery.php:191
24
+ msgid "Lightbox Gallery"
25
+ msgstr "Lightbox गैलरी"
26
+
27
+ #: lightbox-gallery/lightbox-gallery.php:179
28
+ msgid "Options updated."
29
+ msgstr "Options updated."
30
+
31
+ #: lightbox-gallery/lightbox-gallery.php:183
32
+ msgid "Options deleted."
33
+ msgstr "विकल्प हटा दिया गया."
34
+
35
+ #: lightbox-gallery/lightbox-gallery.php:197
36
+ #: lightbox-gallery/lightbox-gallery.php:262
37
+ #: lightbox-gallery/lightbox-gallery.php:278
38
+ msgid "Click to toggle"
39
+ msgstr "टॉगल करने के लिए क्लिक करें"
40
+
41
+ #: lightbox-gallery/lightbox-gallery.php:198
42
+ msgid "Lightbox Gallery Options"
43
+ msgstr "Lightbox गैलरी विकल्प"
44
+
45
+ #: lightbox-gallery/lightbox-gallery.php:207
46
+ msgid "Choose the gallery loading type"
47
+ msgstr "गैलरी लोडिंग प्रकार चुनें"
48
+
49
+ #: lightbox-gallery/lightbox-gallery.php:208
50
+ msgid "Lightbox"
51
+ msgstr "Lightbox"
52
+
53
+ #: lightbox-gallery/lightbox-gallery.php:209
54
+ msgid "Highslide JS"
55
+ msgstr "Highslide जे एस"
56
+
57
+ #: lightbox-gallery/lightbox-gallery.php:210
58
+ #, php-format
59
+ msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
60
+ msgstr "सतर्कता: Highslide जे एस एक क्रिएटिव Commons रोपण Noncommercial 2.5 लाइसेंस के अंतर्गत लाइसेंस प्राप्त है. आप लेखक के लिए व्यावसायिक वेबसाइटों पर Highslide जे एस के उपयोग की अनुमति की जरूरत है.. <a href=\"%s\" target=\"_blank\">कृपया लेखक की वेबसाइट को देखो.</a>"
61
+
62
+ #: lightbox-gallery/lightbox-gallery.php:213
63
+ msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
64
+ msgstr "मामले में है कि आप कुछ निश्चित श्रेणियों (कॉमा deliminated) में lightbox उपयोग करना पसंद करेंगे"
65
+
66
+ #: lightbox-gallery/lightbox-gallery.php:217
67
+ msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
68
+ msgstr "कि आप कुछ पृष्ठों (कॉमा deliminated) में lightbox उपयोग करना पसंद करेंगे"
69
+
70
+ #: lightbox-gallery/lightbox-gallery.php:221
71
+ msgid "Enforce loading the lightbox gallery scripts"
72
+ msgstr "lightbox गैलरी स्क्रिप्ट लोडिंग"
73
+
74
+ #: lightbox-gallery/lightbox-gallery.php:222
75
+ msgid "The lightbox gallery scripts are loaded in every page"
76
+ msgstr "lightbox गैलरी स्क्रिप्ट हर पृष्ठ में लोड कर रहे हैं"
77
+
78
+ #: lightbox-gallery/lightbox-gallery.php:225
79
+ msgid "In case that you would like to disable to load the lightbox-gallery.css"
80
+ msgstr "कि आप को निष्क्रिय करने के लिए तरह लोड करने के लिए होगा में lightbox-gallery.css"
81
+
82
+ #: lightbox-gallery/lightbox-gallery.php:226
83
+ msgid "Do not use the lightbox-gallery.css"
84
+ msgstr " lightbox-gallery.css का उपयोग न करें"
85
+
86
+ #: lightbox-gallery/lightbox-gallery.php:229
87
+ msgid "In case that you would like to disable to load the column inline css"
88
+ msgstr " कि आप को निष्क्रिय करने के लिए पसंद करने के लिए स्तंभ इनलाइन सीएसएस लोड होगा "
89
+
90
+ #: lightbox-gallery/lightbox-gallery.php:230
91
+ msgid "Do not use the column inline css"
92
+ msgstr "स्तंभ इनलाइन सीएसएस का उपयोग न करें"
93
+
94
+ #: lightbox-gallery/lightbox-gallery.php:233
95
+ msgid "In case that you would like to set the default number of columns"
96
+ msgstr " कि आप स्तंभ के डिफ़ॉल्ट संख्या निर्धारित करना चाहते हैं"
97
+
98
+ #: lightbox-gallery/lightbox-gallery.php:237
99
+ msgid "In case that you would like to set the default thumbnail size"
100
+ msgstr "मामले में आप डिफ़ॉल्ट थंबनेल आकार निर्धारित करना चाहते हैं"
101
+
102
+ #: lightbox-gallery/lightbox-gallery.php:241
103
+ msgid "In case that you would like to set the default lightbox size"
104
+ msgstr "मामले में आप डिफ़ॉल्ट lightbox आकार निर्धारित करना चाहते हैं"
105
+
106
+ #: lightbox-gallery/lightbox-gallery.php:248
107
+ msgid "Choose the script loading point"
108
+ msgstr "स्क्रिप्ट लोडिंग बिंदु चुनें"
109
+
110
+ #: lightbox-gallery/lightbox-gallery.php:249
111
+ msgid "Header"
112
+ msgstr "हैडर"
113
+
114
+ #: lightbox-gallery/lightbox-gallery.php:250
115
+ msgid "Footer"
116
+ msgstr "फूटर"
117
+
118
+ #: lightbox-gallery/lightbox-gallery.php:253
119
+ msgid "Update Options &raquo;"
120
+ msgstr "अद्यतन विकल्प&raquo;"
121
+
122
+ #: lightbox-gallery/lightbox-gallery.php:263
123
+ msgid "Delete Options"
124
+ msgstr " विकल्प हटाएँ"
125
+
126
+ #: lightbox-gallery/lightbox-gallery.php:265
127
+ msgid "Are you sure to delete options? Options you set will be deleted."
128
+ msgstr "क्या आप के लिए विकल्प हटा यकीन है? विकल्पों का सेट हटा दिया जाएगा."
129
+
130
+ #: lightbox-gallery/lightbox-gallery.php:269
131
+ msgid "Delete Options &raquo;"
132
+ msgstr "विकल्प हटाएँ &raquo;"
133
+
134
+ #: lightbox-gallery/lightbox-gallery.php:279
135
+ msgid "Donation"
136
+ msgstr "दान"
137
+
138
+ #: lightbox-gallery/lightbox-gallery.php:281
139
+ msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
140
+ msgstr "अगर तुम्हें यह प्लगइन पसंद है , कृपया Paypal के माध्यम से एक दान कर! किसी भी राशि का स्वागत है. आपका समर्थन बहुत सराहना की है."
141
+
142
+ #: lightbox-gallery/lightbox-gallery.php:363
143
+ msgid "Pages:"
144
+ msgstr "पृष्ठ:"
145
+
146
+ #: lightbox-gallery/lightbox-gallery.php:365
147
+ msgid "Next page"
148
+ msgstr "अगले पृष्ठ"
149
+
150
+ #: lightbox-gallery/lightbox-gallery.php:366
151
+ msgid "Previous page"
152
+ msgstr "पिछले पृष्ठ"
153
+
154
+ #: lightbox-gallery/lightbox-gallery.php:448
155
+ msgid "camera"
156
+ msgstr "कैमरा"
157
+
158
+ #: lightbox-gallery/lightbox-gallery.php:450
159
+ msgid "aperture"
160
+ msgstr "छेद"
161
+
162
+ #: lightbox-gallery/lightbox-gallery.php:452
163
+ msgid "focal_length"
164
+ msgstr "focal_length"
165
+
166
+ #: lightbox-gallery/lightbox-gallery.php:454
167
+ msgid "ISO"
168
+ msgstr "आईएसओ"
169
+
170
+ #: lightbox-gallery/lightbox-gallery.php:458
171
+ msgid "shutter_speed"
172
+ msgstr "shutter_speed"
173
+
174
+ #: lightbox-gallery/lightbox-gallery.php:461
175
+ msgid "created_timestamp"
176
+ msgstr "created_timestamp"
177
+
lightbox-gallery-hr_HR.mo ADDED
Binary file
lightbox-gallery-hr_HR.po ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Lightbox Gallery\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-11-19 17:29+0900\n"
6
+ "PO-Revision-Date: 2011-05-25 18:53+0100\n"
7
+ "Last-Translator: Tom <tomo@kuzam.net>\n"
8
+ "Language-Team: Tom K <tomo@kuzam.net>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e;_c\n"
13
+ "X-Poedit-Basepath: ../\n"
14
+ "X-Poedit-Language: Croatian\n"
15
+ "X-Poedit-Country: CROATIA\n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-SearchPath-0: lightbox-gallery\n"
18
+
19
+ #: lightbox-gallery/lightbox-gallery.php:157
20
+ msgid "Settings"
21
+ msgstr "Postavke"
22
+
23
+ #: lightbox-gallery/lightbox-gallery.php:165
24
+ #: lightbox-gallery/lightbox-gallery.php:191
25
+ msgid "Lightbox Gallery"
26
+ msgstr "Lightbox galerija"
27
+
28
+ #: lightbox-gallery/lightbox-gallery.php:179
29
+ msgid "Options updated."
30
+ msgstr "Postavke ažurirane"
31
+
32
+ #: lightbox-gallery/lightbox-gallery.php:183
33
+ msgid "Options deleted."
34
+ msgstr "Postavke izbrisane"
35
+
36
+ #: lightbox-gallery/lightbox-gallery.php:197
37
+ #: lightbox-gallery/lightbox-gallery.php:262
38
+ #: lightbox-gallery/lightbox-gallery.php:278
39
+ msgid "Click to toggle"
40
+ msgstr "Kliknite za pritisnuti"
41
+
42
+ #: lightbox-gallery/lightbox-gallery.php:198
43
+ msgid "Lightbox Gallery Options"
44
+ msgstr "Lightbox Gallery opcije"
45
+
46
+ #: lightbox-gallery/lightbox-gallery.php:207
47
+ msgid "Choose the gallery loading type"
48
+ msgstr "Odaberite način učitavanja galerije"
49
+
50
+ #: lightbox-gallery/lightbox-gallery.php:208
51
+ msgid "Lightbox"
52
+ msgstr "Lightbox"
53
+
54
+ #: lightbox-gallery/lightbox-gallery.php:209
55
+ msgid "Highslide JS"
56
+ msgstr "Highslide JS"
57
+
58
+ #: lightbox-gallery/lightbox-gallery.php:210
59
+ #, php-format
60
+ msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
61
+ msgstr "Pažnja: Highslide JS je licencirano pod Creative Commons Attribution-NonCommercial 2.5 licencom. Potrebna vam je autorova dozvola da koristite Highslide JS na komercijalnim stranicama. <a href=\"%s\" target=\"_blank\">Molimo da pogledate na autorovim stranicama.</a>"
62
+
63
+ #: lightbox-gallery/lightbox-gallery.php:213
64
+ msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
65
+ msgstr "U slučaju da želite koristiti lightbox u određenim kategorijama (odvojeno zarezom)"
66
+
67
+ #: lightbox-gallery/lightbox-gallery.php:217
68
+ msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
69
+ msgstr "U slučaju da želite koristiti lightbox u određenim stranicama (odvojeno zarezom)"
70
+
71
+ #: lightbox-gallery/lightbox-gallery.php:221
72
+ msgid "Enforce loading the lightbox gallery scripts"
73
+ msgstr "Učitaj skripte lightbox galerije"
74
+
75
+ #: lightbox-gallery/lightbox-gallery.php:222
76
+ msgid "The lightbox gallery scripts are loaded in every page"
77
+ msgstr "Lightbox gallery skripte su učitane u svakoj stranici"
78
+
79
+ #: lightbox-gallery/lightbox-gallery.php:225
80
+ msgid "In case that you would like to disable to load the lightbox-gallery.css"
81
+ msgstr "U slučaju da želite onemogućiti učitavanje lightbox-gallery.css"
82
+
83
+ #: lightbox-gallery/lightbox-gallery.php:226
84
+ msgid "Do not use the lightbox-gallery.css"
85
+ msgstr "Ne koristi lightbo-gallery.css"
86
+
87
+ #: lightbox-gallery/lightbox-gallery.php:229
88
+ msgid "In case that you would like to disable to load the column inline css"
89
+ msgstr "U slučaju da želite onemogućiti column inline css"
90
+
91
+ #: lightbox-gallery/lightbox-gallery.php:230
92
+ msgid "Do not use the column inline css"
93
+ msgstr "Ne koristi column inline css"
94
+
95
+ #: lightbox-gallery/lightbox-gallery.php:233
96
+ msgid "In case that you would like to set the default number of columns"
97
+ msgstr "U slučaju da želite namjestiti zadani broj kolona"
98
+
99
+ #: lightbox-gallery/lightbox-gallery.php:237
100
+ msgid "In case that you would like to set the default thumbnail size"
101
+ msgstr "U slučaju da želite namjestiti zadanu veličinu thumbnaila"
102
+
103
+ #: lightbox-gallery/lightbox-gallery.php:241
104
+ msgid "In case that you would like to set the default lightbox size"
105
+ msgstr "U slučaju da želite namjestiti zadanu veličinu lightboxa"
106
+
107
+ #: lightbox-gallery/lightbox-gallery.php:248
108
+ msgid "Choose the script loading point"
109
+ msgstr "Odaberite točku učitavanja skripte"
110
+
111
+ #: lightbox-gallery/lightbox-gallery.php:249
112
+ msgid "Header"
113
+ msgstr "Zaglavlje"
114
+
115
+ #: lightbox-gallery/lightbox-gallery.php:250
116
+ msgid "Footer"
117
+ msgstr "Podnožje"
118
+
119
+ #: lightbox-gallery/lightbox-gallery.php:253
120
+ msgid "Update Options &raquo;"
121
+ msgstr "Ažuriraj opcije &raquo;"
122
+
123
+ #: lightbox-gallery/lightbox-gallery.php:263
124
+ msgid "Delete Options"
125
+ msgstr "Izbriši opcije"
126
+
127
+ #: lightbox-gallery/lightbox-gallery.php:265
128
+ msgid "Are you sure to delete options? Options you set will be deleted."
129
+ msgstr "Da li ste sigurni da želite izbrisati opcije? Vaša podešenja će biti izbrisana."
130
+
131
+ #: lightbox-gallery/lightbox-gallery.php:269
132
+ msgid "Delete Options &raquo;"
133
+ msgstr "Obriši opcije &raquo;"
134
+
135
+ #: lightbox-gallery/lightbox-gallery.php:279
136
+ msgid "Donation"
137
+ msgstr "Donacija"
138
+
139
+ #: lightbox-gallery/lightbox-gallery.php:281
140
+ msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
141
+ msgstr "Ako vam se sviđa ovaj dodatak, donirajte preko paypala! Svaka svota je dobro došla. Zahvaljujemo na podršci."
142
+
143
+ #: lightbox-gallery/lightbox-gallery.php:363
144
+ msgid "Pages:"
145
+ msgstr "Stranice:"
146
+
147
+ #: lightbox-gallery/lightbox-gallery.php:365
148
+ msgid "Next page"
149
+ msgstr "Slijedeća stranica"
150
+
151
+ #: lightbox-gallery/lightbox-gallery.php:366
152
+ msgid "Previous page"
153
+ msgstr "Prethodna stranica"
154
+
155
+ #: lightbox-gallery/lightbox-gallery.php:448
156
+ msgid "camera"
157
+ msgstr "kamera"
158
+
159
+ #: lightbox-gallery/lightbox-gallery.php:450
160
+ msgid "aperture"
161
+ msgstr "apertura"
162
+
163
+ #: lightbox-gallery/lightbox-gallery.php:452
164
+ msgid "focal_length"
165
+ msgstr "žarišna duljina"
166
+
167
+ #: lightbox-gallery/lightbox-gallery.php:454
168
+ msgid "ISO"
169
+ msgstr "ISO"
170
+
171
+ #: lightbox-gallery/lightbox-gallery.php:458
172
+ msgid "shutter_speed"
173
+ msgstr "brzina okidača"
174
+
175
+ #: lightbox-gallery/lightbox-gallery.php:461
176
+ msgid "created_timestamp"
177
+ msgstr "datum kreiranja"
178
+
lightbox-gallery-ja.mo CHANGED
Binary file
lightbox-gallery-ja.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Lightbox Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-11-19 17:29+0900\n"
6
- "PO-Revision-Date: 2009-11-19 17:29+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -16,174 +16,197 @@ msgstr ""
16
  "X-Poedit-Basepath: ../\n"
17
  "X-Poedit-SearchPath-0: lightbox-gallery\n"
18
 
19
- #: lightbox-gallery/lightbox-gallery.php:157
20
  msgid "Settings"
21
  msgstr "設定"
22
 
23
- #: lightbox-gallery/lightbox-gallery.php:165
24
- #: lightbox-gallery/lightbox-gallery.php:191
25
  msgid "Lightbox Gallery"
26
  msgstr "Lightbox Gallery"
27
 
28
- #: lightbox-gallery/lightbox-gallery.php:179
29
  msgid "Options updated."
30
  msgstr "オプションは更新されました。"
31
 
32
- #: lightbox-gallery/lightbox-gallery.php:183
33
  msgid "Options deleted."
34
  msgstr "オプションは削除されました。"
35
 
36
- #: lightbox-gallery/lightbox-gallery.php:197
37
- #: lightbox-gallery/lightbox-gallery.php:262
38
- #: lightbox-gallery/lightbox-gallery.php:278
 
39
  msgid "Click to toggle"
40
  msgstr "クリックで切替"
41
 
42
- #: lightbox-gallery/lightbox-gallery.php:198
43
  msgid "Lightbox Gallery Options"
44
  msgstr "Lightbox Gallery オプション"
45
 
46
- #: lightbox-gallery/lightbox-gallery.php:207
47
  msgid "Choose the gallery loading type"
48
  msgstr "ギャラリー読込タイプを選択してください"
49
 
50
- #: lightbox-gallery/lightbox-gallery.php:208
51
  msgid "Lightbox"
52
  msgstr "Lightbox"
53
 
54
- #: lightbox-gallery/lightbox-gallery.php:209
55
  msgid "Highslide JS"
56
  msgstr "Highslide JS"
57
 
58
- #: lightbox-gallery/lightbox-gallery.php:210
59
  #, php-format
60
  msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
61
  msgstr "注意: Highslide JSは、Creative Commons 表示-非営利 2.5 一般のライセンスです。Highslide JSを商用ウェブサイトで使用するには著作者の許可が必要です。<a href=\"%s\" target=\"_blank\">著作者のウェブサイトをご覧ください。</a>"
62
 
63
- #: lightbox-gallery/lightbox-gallery.php:213
64
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
65
  msgstr "特定のカテゴリーでLightboxを使用したい場合(カンマ区切り)"
66
 
67
- #: lightbox-gallery/lightbox-gallery.php:217
68
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
69
  msgstr "特定のページでLightboxを使用したい場合(カンマ区切り)"
70
 
71
- #: lightbox-gallery/lightbox-gallery.php:221
72
  msgid "Enforce loading the lightbox gallery scripts"
73
  msgstr "lightbox galleryスクリプトの読み込みを強制する"
74
 
75
- #: lightbox-gallery/lightbox-gallery.php:222
76
  msgid "The lightbox gallery scripts are loaded in every page"
77
- msgstr "lightbox galleryスクリプトはすべてのページで読み込まれます。"
 
 
 
 
78
 
79
- #: lightbox-gallery/lightbox-gallery.php:225
 
 
 
 
80
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
81
  msgstr "lightbox-gallery.cssの読み込みを禁止する場合"
82
 
83
- #: lightbox-gallery/lightbox-gallery.php:226
84
  msgid "Do not use the lightbox-gallery.css"
85
  msgstr "lightbox-gallery.cssを使用しない"
86
 
87
- #: lightbox-gallery/lightbox-gallery.php:229
88
  msgid "In case that you would like to disable to load the column inline css"
89
- msgstr "コラムのインラインcssの読み込みを禁止する場合"
90
 
91
- #: lightbox-gallery/lightbox-gallery.php:230
92
  msgid "Do not use the column inline css"
93
- msgstr "コラムのインラインcssを使用しない"
94
 
95
- #: lightbox-gallery/lightbox-gallery.php:233
96
  msgid "In case that you would like to set the default number of columns"
97
- msgstr "デフォルトのコラム数をセットする場合"
98
 
99
- #: lightbox-gallery/lightbox-gallery.php:237
100
  msgid "In case that you would like to set the default thumbnail size"
101
  msgstr "デフォルトのサムネイルサイズをセットする場合"
102
 
103
- #: lightbox-gallery/lightbox-gallery.php:241
104
  msgid "In case that you would like to set the default lightbox size"
105
  msgstr "デフォルトのlightboxサイズをセットする場合"
106
 
107
- #: lightbox-gallery/lightbox-gallery.php:248
108
  msgid "Choose the script loading point"
109
  msgstr "スクリプトの読込ポイントを選択してください"
110
 
111
- #: lightbox-gallery/lightbox-gallery.php:249
112
  msgid "Header"
113
  msgstr "ヘッダー"
114
 
115
- #: lightbox-gallery/lightbox-gallery.php:250
116
  msgid "Footer"
117
  msgstr "フッター"
118
 
119
- #: lightbox-gallery/lightbox-gallery.php:253
120
  msgid "Update Options &raquo;"
121
  msgstr "オプションを更新する &raquo;"
122
 
123
- #: lightbox-gallery/lightbox-gallery.php:263
124
  msgid "Delete Options"
125
  msgstr "オプションを削除する"
126
 
127
- #: lightbox-gallery/lightbox-gallery.php:265
128
  msgid "Are you sure to delete options? Options you set will be deleted."
129
  msgstr "本当にオプションを削除しますか?設定したオプションは削除されます。"
130
 
131
- #: lightbox-gallery/lightbox-gallery.php:269
132
  msgid "Delete Options &raquo;"
133
  msgstr "オプションを削除する &raquo;"
134
 
135
- #: lightbox-gallery/lightbox-gallery.php:279
136
  msgid "Donation"
137
  msgstr "寄付"
138
 
139
- #: lightbox-gallery/lightbox-gallery.php:281
140
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
141
  msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
142
 
143
- #: lightbox-gallery/lightbox-gallery.php:363
 
 
 
 
 
 
 
 
 
 
 
 
144
  msgid "Pages:"
145
  msgstr "ページ:"
146
 
147
- #: lightbox-gallery/lightbox-gallery.php:365
148
  msgid "Next page"
149
  msgstr "次のページ"
150
 
151
- #: lightbox-gallery/lightbox-gallery.php:366
152
  msgid "Previous page"
153
  msgstr "前のページ"
154
 
155
- #: lightbox-gallery/lightbox-gallery.php:448
156
  msgid "camera"
157
  msgstr "機種"
158
 
159
- #: lightbox-gallery/lightbox-gallery.php:450
160
  msgid "aperture"
161
  msgstr "絞り値"
162
 
163
- #: lightbox-gallery/lightbox-gallery.php:452
164
  msgid "focal_length"
165
  msgstr "焦点距離"
166
 
167
- #: lightbox-gallery/lightbox-gallery.php:454
168
  msgid "ISO"
169
  msgstr "ISO"
170
 
171
- #: lightbox-gallery/lightbox-gallery.php:458
172
  msgid "shutter_speed"
173
  msgstr "シャッタースピード"
174
 
175
- #: lightbox-gallery/lightbox-gallery.php:461
176
  msgid "created_timestamp"
177
  msgstr "撮影日時"
178
 
179
  #~ msgid ""
180
  #~ "In case that you would like to disable to load the jquery.lightbox.css"
181
  #~ msgstr "jquery.lightbox.cssの読み込みを禁止する場合"
 
182
  #~ msgid "Do not use the jquery.lightbox.css"
183
  #~ msgstr "jquery.lightbox.cssを使用しない"
 
184
  #~ msgid ""
185
  #~ "In case that you would like to disable to load the jquery.tooltip.css"
186
  #~ msgstr "jquery.tooltip.cssの読み込みを禁止する場合"
 
187
  #~ msgid "Do not use the jquery.tooltip.css"
188
  #~ msgstr "jquery.tooltip.cssを使用しない"
189
-
2
  msgstr ""
3
  "Project-Id-Version: Lightbox Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-01-12 01:21+0900\n"
6
+ "PO-Revision-Date: 2012-01-12 01:23+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
16
  "X-Poedit-Basepath: ../\n"
17
  "X-Poedit-SearchPath-0: lightbox-gallery\n"
18
 
19
+ #: lightbox-gallery/lightbox-gallery.php:209
20
  msgid "Settings"
21
  msgstr "設定"
22
 
23
+ #: lightbox-gallery/lightbox-gallery.php:224
24
+ #: lightbox-gallery/lightbox-gallery.php:257
25
  msgid "Lightbox Gallery"
26
  msgstr "Lightbox Gallery"
27
 
28
+ #: lightbox-gallery/lightbox-gallery.php:240
29
  msgid "Options updated."
30
  msgstr "オプションは更新されました。"
31
 
32
+ #: lightbox-gallery/lightbox-gallery.php:244
33
  msgid "Options deleted."
34
  msgstr "オプションは削除されました。"
35
 
36
+ #: lightbox-gallery/lightbox-gallery.php:264
37
+ #: lightbox-gallery/lightbox-gallery.php:333
38
+ #: lightbox-gallery/lightbox-gallery.php:351
39
+ #: lightbox-gallery/lightbox-gallery.php:367
40
  msgid "Click to toggle"
41
  msgstr "クリックで切替"
42
 
43
+ #: lightbox-gallery/lightbox-gallery.php:265
44
  msgid "Lightbox Gallery Options"
45
  msgstr "Lightbox Gallery オプション"
46
 
47
+ #: lightbox-gallery/lightbox-gallery.php:274
48
  msgid "Choose the gallery loading type"
49
  msgstr "ギャラリー読込タイプを選択してください"
50
 
51
+ #: lightbox-gallery/lightbox-gallery.php:275
52
  msgid "Lightbox"
53
  msgstr "Lightbox"
54
 
55
+ #: lightbox-gallery/lightbox-gallery.php:276
56
  msgid "Highslide JS"
57
  msgstr "Highslide JS"
58
 
59
+ #: lightbox-gallery/lightbox-gallery.php:277
60
  #, php-format
61
  msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
62
  msgstr "注意: Highslide JSは、Creative Commons 表示-非営利 2.5 一般のライセンスです。Highslide JSを商用ウェブサイトで使用するには著作者の許可が必要です。<a href=\"%s\" target=\"_blank\">著作者のウェブサイトをご覧ください。</a>"
63
 
64
+ #: lightbox-gallery/lightbox-gallery.php:280
65
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
66
  msgstr "特定のカテゴリーでLightboxを使用したい場合(カンマ区切り)"
67
 
68
+ #: lightbox-gallery/lightbox-gallery.php:284
69
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
70
  msgstr "特定のページでLightboxを使用したい場合(カンマ区切り)"
71
 
72
+ #: lightbox-gallery/lightbox-gallery.php:288
73
  msgid "Enforce loading the lightbox gallery scripts"
74
  msgstr "lightbox galleryスクリプトの読み込みを強制する"
75
 
76
+ #: lightbox-gallery/lightbox-gallery.php:289
77
  msgid "The lightbox gallery scripts are loaded in every page"
78
+ msgstr "lightbox galleryスクリプトはすべてのページで読み込まれます"
79
+
80
+ #: lightbox-gallery/lightbox-gallery.php:292
81
+ msgid "Add rel=&quot;lightbox&quot; automatically in the post insert"
82
+ msgstr "投稿挿入時に自動的に rel=&quot;lightbox&quot; を追加する"
83
 
84
+ #: lightbox-gallery/lightbox-gallery.php:293
85
+ msgid "Do not forget to check the script enforcement option above with this"
86
+ msgstr "上記のスクリプト強制読込オプションも忘れずにチェックしてください"
87
+
88
+ #: lightbox-gallery/lightbox-gallery.php:296
89
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
90
  msgstr "lightbox-gallery.cssの読み込みを禁止する場合"
91
 
92
+ #: lightbox-gallery/lightbox-gallery.php:297
93
  msgid "Do not use the lightbox-gallery.css"
94
  msgstr "lightbox-gallery.cssを使用しない"
95
 
96
+ #: lightbox-gallery/lightbox-gallery.php:300
97
  msgid "In case that you would like to disable to load the column inline css"
98
+ msgstr "カラムのインラインcssの読み込みを禁止する場合"
99
 
100
+ #: lightbox-gallery/lightbox-gallery.php:301
101
  msgid "Do not use the column inline css"
102
+ msgstr "カラムのインラインcssを使用しない"
103
 
104
+ #: lightbox-gallery/lightbox-gallery.php:304
105
  msgid "In case that you would like to set the default number of columns"
106
+ msgstr "デフォルトのカラム数をセットする場合"
107
 
108
+ #: lightbox-gallery/lightbox-gallery.php:308
109
  msgid "In case that you would like to set the default thumbnail size"
110
  msgstr "デフォルトのサムネイルサイズをセットする場合"
111
 
112
+ #: lightbox-gallery/lightbox-gallery.php:312
113
  msgid "In case that you would like to set the default lightbox size"
114
  msgstr "デフォルトのlightboxサイズをセットする場合"
115
 
116
+ #: lightbox-gallery/lightbox-gallery.php:319
117
  msgid "Choose the script loading point"
118
  msgstr "スクリプトの読込ポイントを選択してください"
119
 
120
+ #: lightbox-gallery/lightbox-gallery.php:320
121
  msgid "Header"
122
  msgstr "ヘッダー"
123
 
124
+ #: lightbox-gallery/lightbox-gallery.php:321
125
  msgid "Footer"
126
  msgstr "フッター"
127
 
128
+ #: lightbox-gallery/lightbox-gallery.php:324
129
  msgid "Update Options &raquo;"
130
  msgstr "オプションを更新する &raquo;"
131
 
132
+ #: lightbox-gallery/lightbox-gallery.php:334
133
  msgid "Delete Options"
134
  msgstr "オプションを削除する"
135
 
136
+ #: lightbox-gallery/lightbox-gallery.php:336
137
  msgid "Are you sure to delete options? Options you set will be deleted."
138
  msgstr "本当にオプションを削除しますか?設定したオプションは削除されます。"
139
 
140
+ #: lightbox-gallery/lightbox-gallery.php:340
141
  msgid "Delete Options &raquo;"
142
  msgstr "オプションを削除する &raquo;"
143
 
144
+ #: lightbox-gallery/lightbox-gallery.php:352
145
  msgid "Donation"
146
  msgstr "寄付"
147
 
148
+ #: lightbox-gallery/lightbox-gallery.php:354
149
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
150
  msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
151
 
152
+ #: lightbox-gallery/lightbox-gallery.php:368
153
+ msgid "CMS x WP"
154
+ msgstr "CMS×WP"
155
+
156
+ #: lightbox-gallery/lightbox-gallery.php:370
157
+ msgid "There are much more plugins which are useful for developing business websites such as membership sites or ec sites. You could totally treat WordPress as CMS by use of CMS x WP plugins."
158
+ msgstr "会員制サイトやECサイトなどのビジネスサイト構築に役立つプラグインが盛りだくさん。CMS×WPのプラグインで WordPress が CMS として大いに活躍します。"
159
+
160
+ #: lightbox-gallery/lightbox-gallery.php:371
161
+ msgid "WordPress plugin sales site: CMS x WP"
162
+ msgstr "WordPress のプラグイン販売サイト CMS×WP"
163
+
164
+ #: lightbox-gallery/lightbox-gallery.php:445
165
  msgid "Pages:"
166
  msgstr "ページ:"
167
 
168
+ #: lightbox-gallery/lightbox-gallery.php:447
169
  msgid "Next page"
170
  msgstr "次のページ"
171
 
172
+ #: lightbox-gallery/lightbox-gallery.php:448
173
  msgid "Previous page"
174
  msgstr "前のページ"
175
 
176
+ #: lightbox-gallery/lightbox-gallery.php:531
177
  msgid "camera"
178
  msgstr "機種"
179
 
180
+ #: lightbox-gallery/lightbox-gallery.php:533
181
  msgid "aperture"
182
  msgstr "絞り値"
183
 
184
+ #: lightbox-gallery/lightbox-gallery.php:535
185
  msgid "focal_length"
186
  msgstr "焦点距離"
187
 
188
+ #: lightbox-gallery/lightbox-gallery.php:537
189
  msgid "ISO"
190
  msgstr "ISO"
191
 
192
+ #: lightbox-gallery/lightbox-gallery.php:541
193
  msgid "shutter_speed"
194
  msgstr "シャッタースピード"
195
 
196
+ #: lightbox-gallery/lightbox-gallery.php:544
197
  msgid "created_timestamp"
198
  msgstr "撮影日時"
199
 
200
  #~ msgid ""
201
  #~ "In case that you would like to disable to load the jquery.lightbox.css"
202
  #~ msgstr "jquery.lightbox.cssの読み込みを禁止する場合"
203
+
204
  #~ msgid "Do not use the jquery.lightbox.css"
205
  #~ msgstr "jquery.lightbox.cssを使用しない"
206
+
207
  #~ msgid ""
208
  #~ "In case that you would like to disable to load the jquery.tooltip.css"
209
  #~ msgstr "jquery.tooltip.cssの読み込みを禁止する場合"
210
+
211
  #~ msgid "Do not use the jquery.tooltip.css"
212
  #~ msgstr "jquery.tooltip.cssを使用しない"
 
lightbox-gallery-pt_BR.mo CHANGED
Binary file
lightbox-gallery-pt_BR.po CHANGED
@@ -1,153 +1,219 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Lightbox Gallery 0.4 pt_BR\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2009-04-27 20:36+0900\n"
6
  "PO-Revision-Date: \n"
7
- "Last-Translator: Emmanuel Carvalho <contato@emmanuelcarvalho.com.br>\n"
8
- "Language-Team: Emmanuel Carvalho - http://www.emmanuelcarvalho.com.br <contato@emmanuelcarvalho.com.br>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
 
12
  "X-Poedit-Language: Brazilian Portuguese\n"
13
  "X-Poedit-Country: BRAZIL\n"
14
-
15
- #: lightbox-gallery/lightbox-gallery.php:147
 
 
 
 
 
 
16
  msgid "Settings"
17
  msgstr "Parâmetros"
18
 
19
- #: lightbox-gallery/lightbox-gallery.php:155
20
- #: lightbox-gallery/lightbox-gallery.php:181
 
21
  msgid "Lightbox Gallery"
22
  msgstr "Galeria Lightbox"
23
 
24
- #: lightbox-gallery/lightbox-gallery.php:169
 
25
  msgid "Options updated."
26
  msgstr "Opções atualizadas."
27
 
28
- #: lightbox-gallery/lightbox-gallery.php:173
 
29
  msgid "Options deleted."
30
  msgstr "Opções apagadas."
31
 
32
- #: lightbox-gallery/lightbox-gallery.php:187
33
- #: lightbox-gallery/lightbox-gallery.php:231
34
- #: lightbox-gallery/lightbox-gallery.php:247
 
35
  msgid "Click to toggle"
36
  msgstr "Clique para alternar"
37
 
38
- #: lightbox-gallery/lightbox-gallery.php:188
 
39
  msgid "Lightbox Gallery Options"
40
  msgstr "Opções da Galeria Lightbox"
41
 
42
- #: lightbox-gallery/lightbox-gallery.php:194
 
43
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
44
  msgstr "Caso você queira utilizar lightbox em certas categorias (separado por vírgulas)"
45
 
46
- #: lightbox-gallery/lightbox-gallery.php:198
 
47
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
48
  msgstr "Caso você queira utilizar lightbox em certas páginas (separado por vírgulas)"
49
 
50
- #: lightbox-gallery/lightbox-gallery.php:202
 
51
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
52
  msgstr "Caso você queira desativar o carregamento do lightbox-gallery.css"
53
 
54
- #: lightbox-gallery/lightbox-gallery.php:203
 
55
  msgid "Do not use the lightbox-gallery.css"
56
  msgstr "Não use o lightbox-gallery.css"
57
 
58
- #: lightbox-gallery/lightbox-gallery.php:206
59
- msgid "In case that you would like to disable to load the jquery.lightbox.css"
60
- msgstr "Caso você queira desativar o carregamento do jquery.lightbox.css"
61
-
62
- #: lightbox-gallery/lightbox-gallery.php:207
63
- msgid "Do not use the jquery.lightbox.css"
64
- msgstr "Não use o jquery.lightbox.css"
65
-
66
- #: lightbox-gallery/lightbox-gallery.php:210
67
- msgid "In case that you would like to disable to load the jquery.tooltip.css"
68
- msgstr "No caso de você querer desativar o carregamento do jquery.tooltip.css"
69
-
70
- #: lightbox-gallery/lightbox-gallery.php:211
71
- msgid "Do not use the jquery.tooltip.css"
72
- msgstr "Não use o jquery.tooltip.css"
73
-
74
- #: lightbox-gallery/lightbox-gallery.php:214
75
  msgid "In case that you would like to disable to load the column inline css"
76
  msgstr "Caso você queira desabilitar o carregamento do css integrado por colunas"
77
 
78
- #: lightbox-gallery/lightbox-gallery.php:215
 
79
  msgid "Do not use the column inline css"
80
  msgstr "Não use css integrado nas colunas"
81
 
82
- #: lightbox-gallery/lightbox-gallery.php:218
 
83
  msgid "In case that you would like to set the default number of columns"
84
  msgstr "Caso você queira armazenar o número de colunas padrão"
85
 
86
- #: lightbox-gallery/lightbox-gallery.php:222
 
87
  msgid "Update Options &raquo;"
88
  msgstr "Atualizar Opções &raquo;"
89
 
90
- #: lightbox-gallery/lightbox-gallery.php:232
 
91
  msgid "Delete Options"
92
  msgstr "Apagar Opções"
93
 
94
- #: lightbox-gallery/lightbox-gallery.php:234
 
95
  msgid "Are you sure to delete options? Options you set will be deleted."
96
  msgstr "Tem certeza que deseja apagar as opções? As opções que foram configuradas serão apagadas."
97
 
98
- #: lightbox-gallery/lightbox-gallery.php:238
 
99
  msgid "Delete Options &raquo;"
100
  msgstr "Apagar Opções &raquo;"
101
 
102
- #: lightbox-gallery/lightbox-gallery.php:248
 
103
  msgid "Donation"
104
  msgstr "Doação"
105
 
106
- #: lightbox-gallery/lightbox-gallery.php:250
 
107
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
108
  msgstr "Se você gostou deste plugin, por favor, faça uma doação pelo PayPal! Qualquer valor é bem vindo. Sua contribuição será muito apreciada."
109
 
110
- #: lightbox-gallery/lightbox-gallery.php:324
 
111
  msgid "Pages:"
112
  msgstr "Páginas:"
113
 
114
- #: lightbox-gallery/lightbox-gallery.php:326
 
115
  msgid "Next page"
116
  msgstr "Próxima Página"
117
 
118
- #: lightbox-gallery/lightbox-gallery.php:327
 
119
  msgid "Previous page"
120
  msgstr "Página Anterior"
121
 
122
- #: lightbox-gallery/lightbox-gallery.php:379
 
123
  msgid "camera"
124
  msgstr "Camera"
125
 
126
- #: lightbox-gallery/lightbox-gallery.php:381
 
127
  msgid "aperture"
128
  msgstr "Abertura"
129
 
130
- #: lightbox-gallery/lightbox-gallery.php:383
 
131
  msgid "focal_length"
132
  msgstr "Distância Focal"
133
 
134
- #: lightbox-gallery/lightbox-gallery.php:385
 
135
  msgid "ISO"
136
  msgstr "ISO"
137
 
138
- #: lightbox-gallery/lightbox-gallery.php:389
 
139
  msgid "shutter_speed"
140
  msgstr "Velocidade do Obturador"
141
 
142
- #: lightbox-gallery/lightbox-gallery.php:392
 
143
  msgid "created_timestamp"
144
  msgstr "Data de Criação"
145
 
146
- #: lightbox-gallery/lightbox-gallery.php:227
 
147
  msgid "In case that you would like to set the default thumbnail size"
148
  msgstr "Caso você queira configurar o valor padrão para o tamanho da miniatura"
149
 
150
- #: lightbox-gallery/lightbox-gallery.php:231
 
151
  msgid "In case that you would like to set the default lightbox size"
152
  msgstr "Caso você queira configurar o tamanho padrão para o lightbox"
153
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Lightbox Gallery 0.6.5 pt_BR\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2009-04-27 20:36+0900\n"
6
  "PO-Revision-Date: \n"
7
+ "Last-Translator: DJIO | www.djio.com.br | WebDev & Training <traducoes@djio.com.br>\n"
8
+ "Language-Team: DJIO | www.djio.com.br <traducoes@djio.com.br>\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-Language: Brazilian Portuguese\n"
14
  "X-Poedit-Country: BRAZIL\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_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"
17
+ "X-Poedit-Basepath: .\n"
18
+ "X-Textdomain-Support: yes\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ #@ default
22
+ #: lightbox-gallery.php:208
23
  msgid "Settings"
24
  msgstr "Parâmetros"
25
 
26
+ #@ lightbox-gallery
27
+ #: lightbox-gallery.php:216
28
+ #: lightbox-gallery.php:242
29
  msgid "Lightbox Gallery"
30
  msgstr "Galeria Lightbox"
31
 
32
+ #@ lightbox-gallery
33
+ #: lightbox-gallery.php:230
34
  msgid "Options updated."
35
  msgstr "Opções atualizadas."
36
 
37
+ #@ lightbox-gallery
38
+ #: lightbox-gallery.php:234
39
  msgid "Options deleted."
40
  msgstr "Opções apagadas."
41
 
42
+ #@ lightbox-gallery
43
+ #: lightbox-gallery.php:248
44
+ #: lightbox-gallery.php:313
45
+ #: lightbox-gallery.php:329
46
  msgid "Click to toggle"
47
  msgstr "Clique para alternar"
48
 
49
+ #@ lightbox-gallery
50
+ #: lightbox-gallery.php:249
51
  msgid "Lightbox Gallery Options"
52
  msgstr "Opções da Galeria Lightbox"
53
 
54
+ #@ lightbox-gallery
55
+ #: lightbox-gallery.php:264
56
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
57
  msgstr "Caso você queira utilizar lightbox em certas categorias (separado por vírgulas)"
58
 
59
+ #@ lightbox-gallery
60
+ #: lightbox-gallery.php:268
61
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
62
  msgstr "Caso você queira utilizar lightbox em certas páginas (separado por vírgulas)"
63
 
64
+ #@ lightbox-gallery
65
+ #: lightbox-gallery.php:276
66
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
67
  msgstr "Caso você queira desativar o carregamento do lightbox-gallery.css"
68
 
69
+ #@ lightbox-gallery
70
+ #: lightbox-gallery.php:277
71
  msgid "Do not use the lightbox-gallery.css"
72
  msgstr "Não use o lightbox-gallery.css"
73
 
74
+ #@ lightbox-gallery
75
+ #: lightbox-gallery.php:280
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  msgid "In case that you would like to disable to load the column inline css"
77
  msgstr "Caso você queira desabilitar o carregamento do css integrado por colunas"
78
 
79
+ #@ lightbox-gallery
80
+ #: lightbox-gallery.php:281
81
  msgid "Do not use the column inline css"
82
  msgstr "Não use css integrado nas colunas"
83
 
84
+ #@ lightbox-gallery
85
+ #: lightbox-gallery.php:284
86
  msgid "In case that you would like to set the default number of columns"
87
  msgstr "Caso você queira armazenar o número de colunas padrão"
88
 
89
+ #@ lightbox-gallery
90
+ #: lightbox-gallery.php:304
91
  msgid "Update Options &raquo;"
92
  msgstr "Atualizar Opções &raquo;"
93
 
94
+ #@ lightbox-gallery
95
+ #: lightbox-gallery.php:314
96
  msgid "Delete Options"
97
  msgstr "Apagar Opções"
98
 
99
+ #@ lightbox-gallery
100
+ #: lightbox-gallery.php:316
101
  msgid "Are you sure to delete options? Options you set will be deleted."
102
  msgstr "Tem certeza que deseja apagar as opções? As opções que foram configuradas serão apagadas."
103
 
104
+ #@ lightbox-gallery
105
+ #: lightbox-gallery.php:320
106
  msgid "Delete Options &raquo;"
107
  msgstr "Apagar Opções &raquo;"
108
 
109
+ #@ lightbox-gallery
110
+ #: lightbox-gallery.php:330
111
  msgid "Donation"
112
  msgstr "Doação"
113
 
114
+ #@ lightbox-gallery
115
+ #: lightbox-gallery.php:332
116
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
117
  msgstr "Se você gostou deste plugin, por favor, faça uma doação pelo PayPal! Qualquer valor é bem vindo. Sua contribuição será muito apreciada."
118
 
119
+ #@ default
120
+ #: lightbox-gallery.php:414
121
  msgid "Pages:"
122
  msgstr "Páginas:"
123
 
124
+ #@ default
125
+ #: lightbox-gallery.php:416
126
  msgid "Next page"
127
  msgstr "Próxima Página"
128
 
129
+ #@ default
130
+ #: lightbox-gallery.php:417
131
  msgid "Previous page"
132
  msgstr "Página Anterior"
133
 
134
+ #@ lightbox-gallery
135
+ #: lightbox-gallery.php:499
136
  msgid "camera"
137
  msgstr "Camera"
138
 
139
+ #@ lightbox-gallery
140
+ #: lightbox-gallery.php:501
141
  msgid "aperture"
142
  msgstr "Abertura"
143
 
144
+ #@ lightbox-gallery
145
+ #: lightbox-gallery.php:503
146
  msgid "focal_length"
147
  msgstr "Distância Focal"
148
 
149
+ #@ lightbox-gallery
150
+ #: lightbox-gallery.php:505
151
  msgid "ISO"
152
  msgstr "ISO"
153
 
154
+ #@ lightbox-gallery
155
+ #: lightbox-gallery.php:509
156
  msgid "shutter_speed"
157
  msgstr "Velocidade do Obturador"
158
 
159
+ #@ lightbox-gallery
160
+ #: lightbox-gallery.php:512
161
  msgid "created_timestamp"
162
  msgstr "Data de Criação"
163
 
164
+ #@ lightbox-gallery
165
+ #: lightbox-gallery.php:288
166
  msgid "In case that you would like to set the default thumbnail size"
167
  msgstr "Caso você queira configurar o valor padrão para o tamanho da miniatura"
168
 
169
+ #@ lightbox-gallery
170
+ #: lightbox-gallery.php:292
171
  msgid "In case that you would like to set the default lightbox size"
172
  msgstr "Caso você queira configurar o tamanho padrão para o lightbox"
173
 
174
+ #@ lightbox-gallery
175
+ #: lightbox-gallery.php:258
176
+ msgid "Choose the gallery loading type"
177
+ msgstr "Escolha o tipo de carregamento da galeria"
178
+
179
+ #@ lightbox-gallery
180
+ #: lightbox-gallery.php:259
181
+ msgid "Lightbox"
182
+ msgstr "Lightbox"
183
+
184
+ #@ lightbox-gallery
185
+ #: lightbox-gallery.php:260
186
+ msgid "Highslide JS"
187
+ msgstr "Highslide JS"
188
+
189
+ #@ lightbox-gallery
190
+ #: lightbox-gallery.php:261
191
+ #, php-format
192
+ msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
193
+ msgstr "Cuidado: Highslide JS é licenciado sob a Licença Creative Commons Atribuição-Não-Comercial 2.5. Você precisa da permissão do autor para usar o Highslide JS em websites comerciais. <a href=\"%s\" target=\"_blank\">Dê uma olhada no site do autor.</a>"
194
+
195
+ #@ lightbox-gallery
196
+ #: lightbox-gallery.php:272
197
+ msgid "Enforce loading the lightbox gallery scripts"
198
+ msgstr "Forçar carregamento dos scripts da Galeria Lightbox"
199
+
200
+ #@ lightbox-gallery
201
+ #: lightbox-gallery.php:273
202
+ msgid "The lightbox gallery scripts are loaded in every page"
203
+ msgstr "Os scripts da Galeria Lightbox são carregados todas as páginas"
204
+
205
+ #@ lightbox-gallery
206
+ #: lightbox-gallery.php:299
207
+ msgid "Choose the script loading point"
208
+ msgstr "Escolha o ponto de carregamento do script"
209
+
210
+ #@ lightbox-gallery
211
+ #: lightbox-gallery.php:300
212
+ msgid "Header"
213
+ msgstr "Cabeçalho"
214
+
215
+ #@ lightbox-gallery
216
+ #: lightbox-gallery.php:301
217
+ msgid "Footer"
218
+ msgstr "Rodapé"
219
+
lightbox-gallery-zh_CN.mo ADDED
Binary file
lightbox-gallery-zh_CN.po ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Lightbox Gallery\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-11-19 17:29+0900\n"
6
+ "PO-Revision-Date: 2011-04-26 22:29+0800\n"
7
+ "Last-Translator: Nanu <nanu@inanu.net>\n"
8
+ "Language-Team: Nanu <nanu@inanu.net>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e;_c\n"
13
+ "X-Poedit-Basepath: ../\n"
14
+ "X-Poedit-Language: Chinese\n"
15
+ "X-Poedit-Country: CHINA\n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-SearchPath-0: lightbox-gallery\n"
18
+
19
+ #: lightbox-gallery/lightbox-gallery.php:157
20
+ msgid "Settings"
21
+ msgstr "设置"
22
+
23
+ #: lightbox-gallery/lightbox-gallery.php:165
24
+ #: lightbox-gallery/lightbox-gallery.php:191
25
+ msgid "Lightbox Gallery"
26
+ msgstr "Lightbox Gallery"
27
+
28
+ #: lightbox-gallery/lightbox-gallery.php:179
29
+ msgid "Options updated."
30
+ msgstr "选项已更新"
31
+
32
+ #: lightbox-gallery/lightbox-gallery.php:183
33
+ msgid "Options deleted."
34
+ msgstr "选项已删除"
35
+
36
+ #: lightbox-gallery/lightbox-gallery.php:197
37
+ #: lightbox-gallery/lightbox-gallery.php:262
38
+ #: lightbox-gallery/lightbox-gallery.php:278
39
+ msgid "Click to toggle"
40
+ msgstr "点击切换"
41
+
42
+ #: lightbox-gallery/lightbox-gallery.php:198
43
+ msgid "Lightbox Gallery Options"
44
+ msgstr "Lightbox Gallery 选项"
45
+
46
+ #: lightbox-gallery/lightbox-gallery.php:207
47
+ msgid "Choose the gallery loading type"
48
+ msgstr "选择相册加载类型"
49
+
50
+ #: lightbox-gallery/lightbox-gallery.php:208
51
+ msgid "Lightbox"
52
+ msgstr "Lightbox"
53
+
54
+ #: lightbox-gallery/lightbox-gallery.php:209
55
+ msgid "Highslide JS"
56
+ msgstr "Highslide JS"
57
+
58
+ #: lightbox-gallery/lightbox-gallery.php:210
59
+ #, php-format
60
+ msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
61
+ msgstr "警告:Highslide JS 遵循 Creative Commons Attribution-NonCommercial 2.5 许可协议。您需要征得作者许可才能将 Highslide JS 应用于商业网站。<a href=\"%s\" target=\"_blank\">请访问作者网站</a>"
62
+
63
+ #: lightbox-gallery/lightbox-gallery.php:213
64
+ msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
65
+ msgstr "特别当您想在特定分类中使用 lightbox (逗号分隔)"
66
+
67
+ #: lightbox-gallery/lightbox-gallery.php:217
68
+ msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
69
+ msgstr "特别当您想在特定页面中使用 lightbox (逗号分隔)"
70
+
71
+ #: lightbox-gallery/lightbox-gallery.php:221
72
+ msgid "Enforce loading the lightbox gallery scripts"
73
+ msgstr "强制加载 lightbox gallery 脚本"
74
+
75
+ #: lightbox-gallery/lightbox-gallery.php:222
76
+ msgid "The lightbox gallery scripts are loaded in every page"
77
+ msgstr " lightbox gallery 脚本已被加载至每一页"
78
+
79
+ #: lightbox-gallery/lightbox-gallery.php:225
80
+ msgid "In case that you would like to disable to load the lightbox-gallery.css"
81
+ msgstr "特别当您想禁止加载使用 lightbox-gallery.css"
82
+
83
+ #: lightbox-gallery/lightbox-gallery.php:226
84
+ msgid "Do not use the lightbox-gallery.css"
85
+ msgstr "不要使用 lightbox-gallery.css"
86
+
87
+ #: lightbox-gallery/lightbox-gallery.php:229
88
+ msgid "In case that you would like to disable to load the column inline css"
89
+ msgstr "特别当您想禁止加载使用列关联 CSS"
90
+
91
+ #: lightbox-gallery/lightbox-gallery.php:230
92
+ msgid "Do not use the column inline css"
93
+ msgstr "不要使用列关联 CSS"
94
+
95
+ #: lightbox-gallery/lightbox-gallery.php:233
96
+ msgid "In case that you would like to set the default number of columns"
97
+ msgstr "特别当您想设定列的默认数目"
98
+
99
+ #: lightbox-gallery/lightbox-gallery.php:237
100
+ msgid "In case that you would like to set the default thumbnail size"
101
+ msgstr "特别当您想设定缩略图默认大小"
102
+
103
+ #: lightbox-gallery/lightbox-gallery.php:241
104
+ msgid "In case that you would like to set the default lightbox size"
105
+ msgstr "特别当您想设定 lightbox 默认大小"
106
+
107
+ #: lightbox-gallery/lightbox-gallery.php:248
108
+ msgid "Choose the script loading point"
109
+ msgstr "选择脚本加载点"
110
+
111
+ #: lightbox-gallery/lightbox-gallery.php:249
112
+ msgid "Header"
113
+ msgstr "Header"
114
+
115
+ #: lightbox-gallery/lightbox-gallery.php:250
116
+ msgid "Footer"
117
+ msgstr "Footer"
118
+
119
+ #: lightbox-gallery/lightbox-gallery.php:253
120
+ msgid "Update Options &raquo;"
121
+ msgstr "更新选项 &raquo;"
122
+
123
+ #: lightbox-gallery/lightbox-gallery.php:263
124
+ msgid "Delete Options"
125
+ msgstr "删除选项"
126
+
127
+ #: lightbox-gallery/lightbox-gallery.php:265
128
+ msgid "Are you sure to delete options? Options you set will be deleted."
129
+ msgstr "您确认删除选项?您所设置的选项都会被删除。"
130
+
131
+ #: lightbox-gallery/lightbox-gallery.php:269
132
+ msgid "Delete Options &raquo;"
133
+ msgstr "删除选项 &raquo;"
134
+
135
+ #: lightbox-gallery/lightbox-gallery.php:279
136
+ msgid "Donation"
137
+ msgstr "捐助"
138
+
139
+ #: lightbox-gallery/lightbox-gallery.php:281
140
+ msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
141
+ msgstr "如果您喜欢这个插件,请通过 Paypal 进行捐助!任何金额都受欢迎。您的支持是我最大的欣慰!"
142
+
143
+ #: lightbox-gallery/lightbox-gallery.php:363
144
+ msgid "Pages:"
145
+ msgstr "页:"
146
+
147
+ #: lightbox-gallery/lightbox-gallery.php:365
148
+ msgid "Next page"
149
+ msgstr "下一页"
150
+
151
+ #: lightbox-gallery/lightbox-gallery.php:366
152
+ msgid "Previous page"
153
+ msgstr "前一页"
154
+
155
+ #: lightbox-gallery/lightbox-gallery.php:448
156
+ msgid "camera"
157
+ msgstr "相机"
158
+
159
+ #: lightbox-gallery/lightbox-gallery.php:450
160
+ msgid "aperture"
161
+ msgstr "光圈"
162
+
163
+ #: lightbox-gallery/lightbox-gallery.php:452
164
+ msgid "focal_length"
165
+ msgstr "焦距"
166
+
167
+ #: lightbox-gallery/lightbox-gallery.php:454
168
+ msgid "ISO"
169
+ msgstr "感光度"
170
+
171
+ #: lightbox-gallery/lightbox-gallery.php:458
172
+ msgid "shutter_speed"
173
+ msgstr "快门速度"
174
+
175
+ #: lightbox-gallery/lightbox-gallery.php:461
176
+ msgid "created_timestamp"
177
+ msgstr "创建时间"
178
+
lightbox-gallery.php CHANGED
@@ -4,11 +4,11 @@ Plugin Name: Lightbox Gallery
4
  Plugin URI: http://wpgogo.com/development/lightbox-gallery.html
5
  Description: Changes to the lightbox view in galleries.
6
  Author: Hiroaki Miyashita
7
- Version: 0.6.5
8
  Author URI: http://wpgogo.com/
9
  */
10
 
11
- /* Copyright 2009 -2011 Hiroaki Miyashita
12
 
13
  This program is free software; you can redistribute it and/or modify
14
  it under the terms of the GNU General Public License as published by
@@ -32,6 +32,7 @@ add_action( 'wp_print_scripts', 'lightbox_gallery_print_path_header', 1 );
32
  add_action( 'wp_footer', 'lightbox_gallery_print_path_footer', 1 );
33
  add_filter( 'plugin_action_links', 'lightbox_gallery_plugin_action_links', 10, 2 );
34
  add_action( 'admin_menu', 'lightbox_gallery_admin_menu' );
 
35
  add_shortcode( 'gallery', 'lightbox_gallery' );
36
 
37
  function lightbox_gallery_textdomain() {
@@ -55,9 +56,9 @@ function lightbox_gallery_wp_head() {
55
 
56
  $flag = false;
57
 
58
- if ( $options['global_settings']['lightbox_gallery_enforce_loading_scripts'] ) :
59
  $flag = true;
60
- elseif ( $options['global_settings']['lightbox_gallery_categories'] && (is_category() || is_single() ) ) :
61
  $categories = get_the_category();
62
  $cats = array();
63
  foreach( $categories as $val ) :
@@ -90,11 +91,11 @@ function lightbox_gallery_wp_head() {
90
  endif;
91
 
92
  if ( !is_admin() && $flag ) {
93
- if ( !$options['global_settings']['lightbox_gallery_disable_lightbox_gallery_css'] ) :
94
  if (@file_exists(TEMPLATEPATH.'/lightbox-gallery.css')) {
95
  echo '<link rel="stylesheet" href="'.get_stylesheet_directory_uri().'/lightbox-gallery.css" type="text/css" />'."\n";
96
  } else {
97
- echo '<link rel="stylesheet" type="text/css" href="' . get_settings('siteurl') . '/' . PLUGINDIR . '/' . $plugin_dir . '/lightbox-gallery.css" />'."\n";
98
  }
99
  endif;
100
  }
@@ -114,9 +115,9 @@ function lightbox_gallery_wp_print_scripts() {
114
 
115
  $flag = false;
116
 
117
- if ( $options['global_settings']['lightbox_gallery_enforce_loading_scripts'] ) :
118
  $flag = true;
119
- elseif ( $options['global_settings']['lightbox_gallery_categories'] && (is_category() || is_single() ) ) :
120
  $categories = get_the_category();
121
  $cats = array();
122
  foreach( $categories as $val ) :
@@ -129,7 +130,7 @@ function lightbox_gallery_wp_print_scripts() {
129
  break;
130
  endif;
131
  endforeach;
132
- elseif ( $options['global_settings']['lightbox_gallery_pages'] && (is_page() ) ) :
133
  $needle = explode(',', $options['global_settings']['lightbox_gallery_pages']);
134
  foreach ( $needle as $val ) :
135
  if ( trim($val) == $wp_query->queried_object_id ) :
@@ -211,14 +212,23 @@ function lightbox_gallery_plugin_action_links($links, $file){
211
  return $links;
212
  }
213
 
 
 
 
 
 
 
 
214
 
215
  function lightbox_gallery_admin_menu() {
216
  add_options_page(__('Lightbox Gallery', 'lightbox-gallery'), __('Lightbox Gallery', 'lightbox-gallery'), 'manage_options', basename(__FILE__), 'lightbox_gallery_admin');
217
  }
218
 
219
  function lightbox_gallery_admin() {
 
 
220
  $options = get_option('lightbox_gallery_data');
221
- if($_POST["lightbox_gallery_global_settings_submit"]) :
222
  unset($options['global_settings']);
223
  foreach($_POST as $key => $val) :
224
  if($key != "lightbox_gallery_global_settings_submit") :
@@ -228,13 +238,18 @@ function lightbox_gallery_admin() {
228
  endforeach;
229
  update_option('lightbox_gallery_data', $options);
230
  $message = __('Options updated.', 'lightbox-gallery');
231
- elseif ($_POST['lightbox_gallery_delete_options_submit']) :
232
  delete_option('lightbox_gallery_data');
233
  $options = get_option('lightbox_gallery_data');
234
  $message = __('Options deleted.', 'lightbox-gallery');
235
  endif;
 
 
 
 
 
236
  ?>
237
- <?php if ($message) : ?>
238
  <div id="message" class="updated"><p><?php echo $message; ?></p></div>
239
  <?php endif; ?>
240
  <div class="wrap">
@@ -243,7 +258,8 @@ function lightbox_gallery_admin() {
243
 
244
  <br class="clear"/>
245
 
246
- <div id="poststuff" class="meta-box-sortables" style="position: relative; margin-top:10px;">
 
247
  <div class="postbox">
248
  <div class="handlediv" title="<?php _e('Click to toggle', 'lightbox-gallery'); ?>"><br /></div>
249
  <h3><?php _e('Lightbox Gallery Options', 'lightbox-gallery'); ?></h3>
@@ -261,36 +277,40 @@ function lightbox_gallery_admin() {
261
  <?php echo sprintf(__('Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author\'s permission to use Highslide JS on commercial websites. <a href="%s" target="_blank">Please look at the author\'s website.</a>', 'lightbox-gallery'), 'http://highslide.com/'); ?></p>
262
  </td></tr>
263
  <tr><td>
264
- <p><label for="lightbox_gallery_categories"><?php _e('In case that you would like to use the lightbox in certain categories (comma-deliminated)', 'lightbox-gallery'); ?></label>:<br />
265
- <input type="text" name="lightbox_gallery_categories" id="lightbox_gallery_categories" value="<?php echo $options['global_settings']['lightbox_gallery_categories']; ?>" /></p>
 
 
 
 
266
  </td></tr>
267
  <tr><td>
268
- <p><label for="lightbox_gallery_pages"><?php _e('In case that you would like to use the lightbox in certain pages (comma-deliminated)', 'lightbox-gallery'); ?></label>:<br />
269
- <input type="text" name="lightbox_gallery_pages" id="lightbox_gallery_pages" value="<?php echo $options['global_settings']['lightbox_gallery_pages']; ?>" /></p>
270
  </td></tr>
271
  <tr><td>
272
- <p><label for="lightbox_gallery_enforce_loading_scripts"><?php _e('Enforce loading the lightbox gallery scripts', 'lightbox-gallery'); ?></label>:<br />
273
- <input type="checkbox" name="lightbox_gallery_enforce_loading_scripts" id="lightbox_gallery_enforce_loading_scripts" value="1" <?php if ($options['global_settings']['lightbox_gallery_enforce_loading_scripts']) { echo 'checked="checked"'; } ?> /> <?php _e('The lightbox gallery scripts are loaded in every page', 'lightbox-gallery'); ?></p>
274
  </td></tr>
275
  <tr><td>
276
- <p><label for="lightbox_gallery_disable_lightbox_gallery_css"><?php _e('In case that you would like to disable to load the lightbox-gallery.css', 'lightbox-gallery'); ?></label>:<br />
277
- <input type="checkbox" name="lightbox_gallery_disable_lightbox_gallery_css" id="lightbox_gallery_disable_lightbox_gallery_css" value="1" <?php if ($options['global_settings']['lightbox_gallery_disable_lightbox_gallery_css']) { echo 'checked="checked"'; } ?> /> <?php _e('Do not use the lightbox-gallery.css', 'lightbox-gallery'); ?></p>
278
  </td></tr>
279
  <tr><td>
280
- <p><label for="lightbox_gallery_disable_column_css"><?php _e('In case that you would like to disable to load the column inline css', 'lightbox-gallery'); ?></label>:<br />
281
- <input type="checkbox" name="lightbox_gallery_disable_column_css" id="lightbox_gallery_disable_column_css" value="1" <?php if ($options['global_settings']['lightbox_gallery_disable_column_css']) { echo 'checked="checked"'; } ?> /> <?php _e('Do not use the column inline css', 'lightbox-gallery'); ?></p>
282
  </td></tr>
283
  <tr><td>
284
- <p><label for="lightbox_gallery_columns"><?php _e('In case that you would like to set the default number of columns', 'lightbox-gallery'); ?></label>:<br />
285
- <input type="text" name="lightbox_gallery_columns" id="lightbox_gallery_columns" value="<?php echo $options['global_settings']['lightbox_gallery_columns']; ?>" size="3" /></p>
286
  </td></tr>
287
  <tr><td>
288
- <p><label for="lightbox_gallery_thumbnailsize"><?php _e('In case that you would like to set the default thumbnail size', 'lightbox-gallery'); ?></label>:<br />
289
- <input type="text" name="lightbox_gallery_thumbnailsize" id="lightbox_gallery_thumbnailsize" value="<?php echo $options['global_settings']['lightbox_gallery_thumbnailsize']; ?>" /> thumbnail medium large full</p>
290
  </td></tr>
291
  <tr><td>
292
- <p><label for="lightbox_gallery_lightboxsize"><?php _e('In case that you would like to set the default lightbox size', 'lightbox-gallery'); ?></label>:<br />
293
- <input type="text" name="lightbox_gallery_lightboxsize" id="lightbox_gallery_lightboxsize" value="<?php echo $options['global_settings']['lightbox_gallery_lightboxsize']; ?>" /> thumbnail medium large full</p>
294
  </td></tr>
295
  <tr><td>
296
  <?php
@@ -324,28 +344,37 @@ function lightbox_gallery_admin() {
324
  </form>
325
  </div>
326
  </div>
 
327
 
328
- <div class="postbox closed">
 
329
  <div class="handlediv" title="<?php _e('Click to toggle', 'lightbox-gallery'); ?>"><br /></div>
330
  <h3><?php _e('Donation', 'lightbox-gallery'); ?></h3>
331
  <div class="inside">
332
  <p><?php _e('If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated.', 'lightbox-gallery'); ?></p>
333
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
334
- <table class="form-table" style="margin-bottom:5px;">
335
- <tbody>
336
- <tr><td>
337
- <input type="hidden" name="cmd" value="_s-xclick" />
338
- <input type="hidden" name="hosted_button_id" value="100156" />
339
- <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG_global.gif" border="0" name="submit" alt="" style="border:0;" />
340
- <img alt="" border="0" src="https://www.paypal.com/ja_JP/i/scr/pixel.gif" width="1" height="1" />
341
- </td></tr>
342
- </tbody>
343
- </table>
344
  </form>
345
  </div>
346
  </div>
347
- </div>
348
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
349
 
350
  <script type="text/javascript">
351
  // <![CDATA[
@@ -384,14 +413,16 @@ function lightbox_gallery($attr) {
384
  $attr['orderby'] = 'menu_order ASC, ID ASC';
385
  }
386
 
387
- if ( is_numeric($options['global_settings']['lightbox_gallery_columns']) ) $columns = $options['global_settings']['lightbox_gallery_columns'];
388
  else $columns = 3;
389
 
390
- if ( $options['global_settings']['lightbox_gallery_thumbnailsize'] ) $size = $options['global_settings']['lightbox_gallery_thumbnailsize'];
391
  else $size = 'thumbnail';
392
 
393
- if ( $options['global_settings']['lightbox_gallery_lightboxsize'] ) $lightboxsize = $options['global_settings']['lightbox_gallery_lightboxsize'];
394
  else $lightboxsize = 'medium';
 
 
395
 
396
  extract(shortcode_atts(array(
397
  'order' => 'ASC',
@@ -410,7 +441,7 @@ function lightbox_gallery($attr) {
410
  'nofollow' => false,
411
  'from' => '',
412
  'num' => '',
413
- 'page' => $wp_query->query_vars['page'],
414
  'before' => '<div class="gallery_pagenavi">' . __('Pages:'), 'after' => '</div>',
415
  'link_before' => '', 'link_after' => '',
416
  'next_or_number' => 'number', 'nextpagelink' => __('Next page'),
@@ -443,6 +474,7 @@ function lightbox_gallery($attr) {
443
  $total = count($attachments)-$from;
444
 
445
  if ( !$page ) $page = 1;
 
446
 
447
  if ( is_numeric($from) && !$num ) :
448
  $attachments = array_splice($attachments, $from);
@@ -459,13 +491,12 @@ function lightbox_gallery($attr) {
459
  return $output;
460
  }
461
 
462
- $listtag = tag_escape($listtag);
463
  $itemtag = tag_escape($itemtag);
464
  $captiontag = tag_escape($captiontag);
465
  $columns = intval($columns);
466
  $itemwidth = $columns > 0 ? floor(100/$columns) : 100;
467
 
468
- if ( !$options['global_settings']['lightbox_gallery_disable_column_css'] ) :
469
  $column_css = "<style type='text/css'>
470
  .gallery-item {width: {$itemwidth}%;}
471
  </style>";
@@ -485,6 +516,7 @@ function lightbox_gallery($attr) {
485
 
486
  endif;
487
 
 
488
  foreach ( $attachments as $id => $attachment ) {
489
  if ( $attachment->post_type == 'attachment' ) {
490
  $thumbnail_link = wp_get_attachment_image_src($attachment->ID, $size, false);
@@ -514,14 +546,14 @@ function lightbox_gallery($attr) {
514
 
515
  $output .= '<'.$itemtag.' class="gallery-item">'."\n";
516
  $output .= '<'.$icontag.' class="gallery-icon">
517
- <a href="'.$lightbox_link[0].'" title="'.$attachment->post_excerpt.'"';
518
  if ( $nofollow == "true" ) $output .= ' rel="nofollow"';
519
  if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'highslide' ) :
520
  $output .= ' class="highslide" onclick="return hs.expand(this,{captionId:'."'caption".$attachment->ID."'".'})"';
521
  endif;
522
- $output .= '><img src="'.$thumbnail_link[0].'" width="'.$thumbnail_link[1].'" height="'.$thumbnail_link[2].'" alt="'.$attachment->post_excerpt.'" /></a>
523
  </'.$icontag.'>';
524
- if ( $captiontag && (trim($attachment->post_excerpt) || trim($attachment->post_content) || $metadata) ) {
525
  $output .= '<'.$captiontag.' class="gallery-caption" id="caption'.$attachment->ID.'">';
526
  if($attachment->post_excerpt) $output .= '<span class="imagecaption">'.$attachment->post_excerpt . "</span><br />\n";
527
  if($attachment->post_content) $output .= '<span class="imagedescription">'.$attachment->post_content . "</span><br />\n";
@@ -530,11 +562,11 @@ function lightbox_gallery($attr) {
530
  }
531
  $output .= '</'.$itemtag.'>';
532
  if ( $columns > 0 && ++$i % $columns == 0 )
533
- $output .= '<div style="clear: both;"></div>';
534
  }
535
  }
536
 
537
- $output .= '<div style="clear: both;"></div></div>';
538
  $output .= wp_link_pages_for_lightbox_gallery(array('before' => $before, 'after' => $after, 'link_before' => $link_before, 'link_after' => $link_after, 'next_or_number' => $next_or_number, 'nextpagelink' => $nextpagelink, 'previouspagelink' => $previouspagelink, 'pagelink' => $pagelink, 'page' => $page, 'numpages' => $numpages, 'pagenavi' => $pagenavi));
539
 
540
  return $output;
@@ -561,7 +593,7 @@ function wp_link_pages_for_lightbox_gallery($args = '') {
561
  for ( $i = 1; $i < ($numpages+1); $i = $i + 1 ) {
562
  $j = str_replace('%',"$i",$pagelink);
563
  $output .= ' ';
564
- if ( ($i != $page) || ((!$more) && ($page==1)) ) {
565
  if ( 1 == $i ) {
566
  $output .= '<a href="' . get_permalink() . '">';
567
  } else {
@@ -576,7 +608,7 @@ function wp_link_pages_for_lightbox_gallery($args = '') {
576
  $output .= $link_before;
577
  $output .= $j;
578
  $output .= $link_after;
579
- if ( ($i != $page) || ((!$more) && ($page==1)) )
580
  $output .= '</a>';
581
  else
582
  $output .= '</span>';
4
  Plugin URI: http://wpgogo.com/development/lightbox-gallery.html
5
  Description: Changes to the lightbox view in galleries.
6
  Author: Hiroaki Miyashita
7
+ Version: 0.6.6
8
  Author URI: http://wpgogo.com/
9
  */
10
 
11
+ /* Copyright 2009 -2012 Hiroaki Miyashita
12
 
13
  This program is free software; you can redistribute it and/or modify
14
  it under the terms of the GNU General Public License as published by
32
  add_action( 'wp_footer', 'lightbox_gallery_print_path_footer', 1 );
33
  add_filter( 'plugin_action_links', 'lightbox_gallery_plugin_action_links', 10, 2 );
34
  add_action( 'admin_menu', 'lightbox_gallery_admin_menu' );
35
+ add_filter( 'media_send_to_editor', 'lightbox_gallery_media_send_to_editor', 11 );
36
  add_shortcode( 'gallery', 'lightbox_gallery' );
37
 
38
  function lightbox_gallery_textdomain() {
56
 
57
  $flag = false;
58
 
59
+ if ( !empty($options['global_settings']['lightbox_gallery_enforce_loading_scripts']) ) :
60
  $flag = true;
61
+ elseif ( !empty($options['global_settings']['lightbox_gallery_categories']) && (is_category() || is_single() ) ) :
62
  $categories = get_the_category();
63
  $cats = array();
64
  foreach( $categories as $val ) :
91
  endif;
92
 
93
  if ( !is_admin() && $flag ) {
94
+ if ( empty($options['global_settings']['lightbox_gallery_disable_lightbox_gallery_css']) ) :
95
  if (@file_exists(TEMPLATEPATH.'/lightbox-gallery.css')) {
96
  echo '<link rel="stylesheet" href="'.get_stylesheet_directory_uri().'/lightbox-gallery.css" type="text/css" />'."\n";
97
  } else {
98
+ echo '<link rel="stylesheet" type="text/css" href="' . get_option('siteurl') . '/' . PLUGINDIR . '/' . $plugin_dir . '/lightbox-gallery.css" />'."\n";
99
  }
100
  endif;
101
  }
115
 
116
  $flag = false;
117
 
118
+ if ( !empty($options['global_settings']['lightbox_gallery_enforce_loading_scripts']) ) :
119
  $flag = true;
120
+ elseif ( !empty($options['global_settings']['lightbox_gallery_categories']) && (is_category() || is_single() ) ) :
121
  $categories = get_the_category();
122
  $cats = array();
123
  foreach( $categories as $val ) :
130
  break;
131
  endif;
132
  endforeach;
133
+ elseif ( !empty($options['global_settings']['lightbox_gallery_pages']) && (is_page() ) ) :
134
  $needle = explode(',', $options['global_settings']['lightbox_gallery_pages']);
135
  foreach ( $needle as $val ) :
136
  if ( trim($val) == $wp_query->queried_object_id ) :
212
  return $links;
213
  }
214
 
215
+ function lightbox_gallery_media_send_to_editor($html) {
216
+ $options = get_option('lightbox_gallery_data');
217
+ if ( !empty($options['global_settings']['lightbox_gallery_auto_lightbox_addition']) ) :
218
+ $html = preg_replace('/<a href=("|\')([^"\']+)("|\')>/', '<a href="$2" rel="lightbox">', $html);
219
+ endif;
220
+ return $html;
221
+ }
222
 
223
  function lightbox_gallery_admin_menu() {
224
  add_options_page(__('Lightbox Gallery', 'lightbox-gallery'), __('Lightbox Gallery', 'lightbox-gallery'), 'manage_options', basename(__FILE__), 'lightbox_gallery_admin');
225
  }
226
 
227
  function lightbox_gallery_admin() {
228
+ global $wp_version;
229
+
230
  $options = get_option('lightbox_gallery_data');
231
+ if( !empty($_POST["lightbox_gallery_global_settings_submit"]) ) :
232
  unset($options['global_settings']);
233
  foreach($_POST as $key => $val) :
234
  if($key != "lightbox_gallery_global_settings_submit") :
238
  endforeach;
239
  update_option('lightbox_gallery_data', $options);
240
  $message = __('Options updated.', 'lightbox-gallery');
241
+ elseif ( !empty($_POST['lightbox_gallery_delete_options_submit']) ) :
242
  delete_option('lightbox_gallery_data');
243
  $options = get_option('lightbox_gallery_data');
244
  $message = __('Options deleted.', 'lightbox-gallery');
245
  endif;
246
+
247
+ if ( !defined('WP_PLUGIN_DIR') )
248
+ $plugin_dir = str_replace( ABSPATH, '', dirname(__FILE__) );
249
+ else
250
+ $plugin_dir = dirname( plugin_basename(__FILE__) );
251
  ?>
252
+ <?php if ( !empty($message) ) : ?>
253
  <div id="message" class="updated"><p><?php echo $message; ?></p></div>
254
  <?php endif; ?>
255
  <div class="wrap">
258
 
259
  <br class="clear"/>
260
 
261
+ <div id="poststuff" style="position: relative; margin-top:10px;">
262
+ <div style="width:75%; float:left;">
263
  <div class="postbox">
264
  <div class="handlediv" title="<?php _e('Click to toggle', 'lightbox-gallery'); ?>"><br /></div>
265
  <h3><?php _e('Lightbox Gallery Options', 'lightbox-gallery'); ?></h3>
277
  <?php echo sprintf(__('Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author\'s permission to use Highslide JS on commercial websites. <a href="%s" target="_blank">Please look at the author\'s website.</a>', 'lightbox-gallery'), 'http://highslide.com/'); ?></p>
278
  </td></tr>
279
  <tr><td>
280
+ <p><label for="lightbox_gallery_categories"><?php _e('In case that you would like to use the lightbox in certain categories (comma-deliminated)', 'lightbox-gallery'); ?>:<br />
281
+ <input type="text" name="lightbox_gallery_categories" id="lightbox_gallery_categories" value="<?php if ( isset($options['global_settings']['lightbox_gallery_categories']) ) echo $options['global_settings']['lightbox_gallery_categories']; ?>" /></label></p>
282
+ </td></tr>
283
+ <tr><td>
284
+ <p><label for="lightbox_gallery_pages"><?php _e('In case that you would like to use the lightbox in certain pages (comma-deliminated)', 'lightbox-gallery'); ?>:<br />
285
+ <input type="text" name="lightbox_gallery_pages" id="lightbox_gallery_pages" value="<?php if ( isset($options['global_settings']['lightbox_gallery_pages']) ) echo $options['global_settings']['lightbox_gallery_pages']; ?>" /></label></p>
286
  </td></tr>
287
  <tr><td>
288
+ <p><label for="lightbox_gallery_enforce_loading_scripts"><?php _e('Enforce loading the lightbox gallery scripts', 'lightbox-gallery'); ?>:<br />
289
+ <input type="checkbox" name="lightbox_gallery_enforce_loading_scripts" id="lightbox_gallery_enforce_loading_scripts" value="1" <?php if ( !empty($options['global_settings']['lightbox_gallery_enforce_loading_scripts']) ) { echo 'checked="checked"'; } ?> /> <?php _e('The lightbox gallery scripts are loaded in every page', 'lightbox-gallery'); ?></label></p>
290
  </td></tr>
291
  <tr><td>
292
+ <p><label for="lightbox_gallery_auto_lightbox_addition"><?php _e('Add rel=&quot;lightbox&quot; automatically in the post insert', 'lightbox-gallery'); ?>:<br />
293
+ <input type="checkbox" name="lightbox_gallery_auto_lightbox_addition" id="lightbox_gallery_auto_lightbox_addition" value="1" <?php if ( !empty($options['global_settings']['lightbox_gallery_auto_lightbox_addition']) ) { echo 'checked="checked"'; } ?> /> <?php _e('Do not forget to check the script enforcement option above with this', 'lightbox-gallery'); ?></label></p>
294
  </td></tr>
295
  <tr><td>
296
+ <p><label for="lightbox_gallery_disable_lightbox_gallery_css"><?php _e('In case that you would like to disable to load the lightbox-gallery.css', 'lightbox-gallery'); ?>:<br />
297
+ <input type="checkbox" name="lightbox_gallery_disable_lightbox_gallery_css" id="lightbox_gallery_disable_lightbox_gallery_css" value="1" <?php if ( !empty($options['global_settings']['lightbox_gallery_disable_lightbox_gallery_css']) ) { echo 'checked="checked"'; } ?> /> <?php _e('Do not use the lightbox-gallery.css', 'lightbox-gallery'); ?></label></p>
298
  </td></tr>
299
  <tr><td>
300
+ <p><label for="lightbox_gallery_disable_column_css"><?php _e('In case that you would like to disable to load the column inline css', 'lightbox-gallery'); ?>:<br />
301
+ <input type="checkbox" name="lightbox_gallery_disable_column_css" id="lightbox_gallery_disable_column_css" value="1" <?php if ( !empty($options['global_settings']['lightbox_gallery_disable_column_css']) ) { echo 'checked="checked"'; } ?> /> <?php _e('Do not use the column inline css', 'lightbox-gallery'); ?></label></p>
302
  </td></tr>
303
  <tr><td>
304
+ <p><label for="lightbox_gallery_columns"><?php _e('In case that you would like to set the default number of columns', 'lightbox-gallery'); ?>:<br />
305
+ <input type="text" name="lightbox_gallery_columns" id="lightbox_gallery_columns" value="<?php if ( isset($options['global_settings']['lightbox_gallery_columns']) ) echo $options['global_settings']['lightbox_gallery_columns']; ?>" size="3" /></label></p>
306
  </td></tr>
307
  <tr><td>
308
+ <p><label for="lightbox_gallery_thumbnailsize"><?php _e('In case that you would like to set the default thumbnail size', 'lightbox-gallery'); ?>:<br />
309
+ <input type="text" name="lightbox_gallery_thumbnailsize" id="lightbox_gallery_thumbnailsize" value="<?php if ( isset($options['global_settings']['lightbox_gallery_thumbnailsize']) ) echo $options['global_settings']['lightbox_gallery_thumbnailsize']; ?>" /> thumbnail medium large full</label></p>
310
  </td></tr>
311
  <tr><td>
312
+ <p><label for="lightbox_gallery_lightboxsize"><?php _e('In case that you would like to set the default lightbox size', 'lightbox-gallery'); ?>:<br />
313
+ <input type="text" name="lightbox_gallery_lightboxsize" id="lightbox_gallery_lightboxsize" value="<?php if ( isset($options['global_settings']['lightbox_gallery_lightboxsize']) ) echo $options['global_settings']['lightbox_gallery_lightboxsize']; ?>" /> thumbnail medium large full</label></p>
314
  </td></tr>
315
  <tr><td>
316
  <?php
344
  </form>
345
  </div>
346
  </div>
347
+ </div>
348
 
349
+ <div style="width:24%; float:right;">
350
+ <div class="postbox" style="min-width:200px;">
351
  <div class="handlediv" title="<?php _e('Click to toggle', 'lightbox-gallery'); ?>"><br /></div>
352
  <h3><?php _e('Donation', 'lightbox-gallery'); ?></h3>
353
  <div class="inside">
354
  <p><?php _e('If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated.', 'lightbox-gallery'); ?></p>
355
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="text-align:center;" target="_blank">
356
+ <input type="hidden" name="cmd" value="_s-xclick">
357
+ <input type="hidden" name="hosted_button_id" value="UPATCYZA6CW7W">
358
+ <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG_global.gif" border="0" name="submit" alt="PayPal">
 
 
 
 
 
 
 
359
  </form>
360
  </div>
361
  </div>
 
362
 
363
+ <?php
364
+ if ( WPLANG == 'ja' ) :
365
+ ?>
366
+ <div class="postbox" style="min-width:200px;">
367
+ <div class="handlediv" title="<?php _e('Click to toggle', 'lightbox-gallery'); ?>"><br /></div>
368
+ <h3><?php _e('CMS x WP', 'lightbox-gallery'); ?></h3>
369
+ <div class="inside">
370
+ <p><?php _e('There are much more plugins which are useful for developing business websites such as membership sites or ec sites. You could totally treat WordPress as CMS by use of CMS x WP plugins.', 'lightbox-gallery'); ?></p>
371
+ <p style="text-align:center"><a href="http://www.cmswp.jp/" target="_blank"><img src="<?php echo get_option('home') . '/' . PLUGINDIR . '/' . $plugin_dir . '/js/'; ?>cmswp.jpg" width="125" height="125" alt="CMSxWP" /></a><br /><a href="http://www.cmswp.jp/" target="_blank"><?php _e('WordPress plugin sales site: CMS x WP', 'lightbox-gallery'); ?></a></p>
372
+ </div>
373
+ </div>
374
+ <?php
375
+ endif;
376
+ ?>
377
+ </div>
378
 
379
  <script type="text/javascript">
380
  // <![CDATA[
413
  $attr['orderby'] = 'menu_order ASC, ID ASC';
414
  }
415
 
416
+ if ( !empty($options['global_settings']['lightbox_gallery_columns']) && is_numeric($options['global_settings']['lightbox_gallery_columns']) ) $columns = $options['global_settings']['lightbox_gallery_columns'];
417
  else $columns = 3;
418
 
419
+ if ( !empty($options['global_settings']['lightbox_gallery_thumbnailsize']) ) $size = $options['global_settings']['lightbox_gallery_thumbnailsize'];
420
  else $size = 'thumbnail';
421
 
422
+ if ( !empty($options['global_settings']['lightbox_gallery_lightboxsize']) ) $lightboxsize = $options['global_settings']['lightbox_gallery_lightboxsize'];
423
  else $lightboxsize = 'medium';
424
+
425
+ $page = isset($wp_query->query_vars['page']) ? $wp_query->query_vars['page'] : 1;
426
 
427
  extract(shortcode_atts(array(
428
  'order' => 'ASC',
441
  'nofollow' => false,
442
  'from' => '',
443
  'num' => '',
444
+ 'page' => $page,
445
  'before' => '<div class="gallery_pagenavi">' . __('Pages:'), 'after' => '</div>',
446
  'link_before' => '', 'link_after' => '',
447
  'next_or_number' => 'number', 'nextpagelink' => __('Next page'),
474
  $total = count($attachments)-$from;
475
 
476
  if ( !$page ) $page = 1;
477
+ $numpages = 1;
478
 
479
  if ( is_numeric($from) && !$num ) :
480
  $attachments = array_splice($attachments, $from);
491
  return $output;
492
  }
493
 
 
494
  $itemtag = tag_escape($itemtag);
495
  $captiontag = tag_escape($captiontag);
496
  $columns = intval($columns);
497
  $itemwidth = $columns > 0 ? floor(100/$columns) : 100;
498
 
499
+ if ( empty($options['global_settings']['lightbox_gallery_disable_column_css']) ) :
500
  $column_css = "<style type='text/css'>
501
  .gallery-item {width: {$itemwidth}%;}
502
  </style>";
516
 
517
  endif;
518
 
519
+ $i = 0;
520
  foreach ( $attachments as $id => $attachment ) {
521
  if ( $attachment->post_type == 'attachment' ) {
522
  $thumbnail_link = wp_get_attachment_image_src($attachment->ID, $size, false);
546
 
547
  $output .= '<'.$itemtag.' class="gallery-item">'."\n";
548
  $output .= '<'.$icontag.' class="gallery-icon">
549
+ <a href="'.$lightbox_link[0].'" title="'.esc_attr($attachment->post_excerpt).'"';
550
  if ( $nofollow == "true" ) $output .= ' rel="nofollow"';
551
  if ( $options['global_settings']['lightbox_gallery_loading_type'] == 'highslide' ) :
552
  $output .= ' class="highslide" onclick="return hs.expand(this,{captionId:'."'caption".$attachment->ID."'".'})"';
553
  endif;
554
+ $output .= '><img src="'.$thumbnail_link[0].'" width="'.$thumbnail_link[1].'" height="'.$thumbnail_link[2].'" alt="'.esc_attr($attachment->post_excerpt).'" /></a>
555
  </'.$icontag.'>';
556
+ if ( $captiontag && (trim($attachment->post_excerpt) || trim($attachment->post_content) || isset($metadata)) ) {
557
  $output .= '<'.$captiontag.' class="gallery-caption" id="caption'.$attachment->ID.'">';
558
  if($attachment->post_excerpt) $output .= '<span class="imagecaption">'.$attachment->post_excerpt . "</span><br />\n";
559
  if($attachment->post_content) $output .= '<span class="imagedescription">'.$attachment->post_content . "</span><br />\n";
562
  }
563
  $output .= '</'.$itemtag.'>';
564
  if ( $columns > 0 && ++$i % $columns == 0 )
565
+ $output .= '<br style="clear: both" />';
566
  }
567
  }
568
 
569
+ $output .= '<br style="clear: both" /></div>';
570
  $output .= wp_link_pages_for_lightbox_gallery(array('before' => $before, 'after' => $after, 'link_before' => $link_before, 'link_after' => $link_after, 'next_or_number' => $next_or_number, 'nextpagelink' => $nextpagelink, 'previouspagelink' => $previouspagelink, 'pagelink' => $pagelink, 'page' => $page, 'numpages' => $numpages, 'pagenavi' => $pagenavi));
571
 
572
  return $output;
593
  for ( $i = 1; $i < ($numpages+1); $i = $i + 1 ) {
594
  $j = str_replace('%',"$i",$pagelink);
595
  $output .= ' ';
596
+ if ( ($i != $page) || (empty($more) && ($page==1)) ) {
597
  if ( 1 == $i ) {
598
  $output .= '<a href="' . get_permalink() . '">';
599
  } else {
608
  $output .= $link_before;
609
  $output .= $j;
610
  $output .= $link_after;
611
+ if ( ($i != $page) || (empty($more) && ($page==1)) )
612
  $output .= '</a>';
613
  else
614
  $output .= '</span>';
lightbox-gallery.pot CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Lightbox Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-11-19 17:29+0900\n"
6
- "PO-Revision-Date: 2009-11-19 17:29+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -13,163 +13,184 @@ msgstr ""
13
  "X-Poedit-Basepath: ../\n"
14
  "X-Poedit-SearchPath-0: lightbox-gallery\n"
15
 
16
- #: lightbox-gallery/lightbox-gallery.php:157
17
  msgid "Settings"
18
  msgstr ""
19
 
20
- #: lightbox-gallery/lightbox-gallery.php:165
21
- #: lightbox-gallery/lightbox-gallery.php:191
22
  msgid "Lightbox Gallery"
23
  msgstr ""
24
 
25
- #: lightbox-gallery/lightbox-gallery.php:179
26
  msgid "Options updated."
27
  msgstr ""
28
 
29
- #: lightbox-gallery/lightbox-gallery.php:183
30
  msgid "Options deleted."
31
  msgstr ""
32
 
33
- #: lightbox-gallery/lightbox-gallery.php:197
34
- #: lightbox-gallery/lightbox-gallery.php:262
35
- #: lightbox-gallery/lightbox-gallery.php:278
 
36
  msgid "Click to toggle"
37
  msgstr ""
38
 
39
- #: lightbox-gallery/lightbox-gallery.php:198
40
  msgid "Lightbox Gallery Options"
41
  msgstr ""
42
 
43
- #: lightbox-gallery/lightbox-gallery.php:207
44
  msgid "Choose the gallery loading type"
45
  msgstr ""
46
 
47
- #: lightbox-gallery/lightbox-gallery.php:208
48
  msgid "Lightbox"
49
  msgstr ""
50
 
51
- #: lightbox-gallery/lightbox-gallery.php:209
52
  msgid "Highslide JS"
53
  msgstr ""
54
 
55
- #: lightbox-gallery/lightbox-gallery.php:210
56
  #, php-format
57
  msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
58
  msgstr ""
59
 
60
- #: lightbox-gallery/lightbox-gallery.php:213
61
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
62
  msgstr ""
63
 
64
- #: lightbox-gallery/lightbox-gallery.php:217
65
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
66
  msgstr ""
67
 
68
- #: lightbox-gallery/lightbox-gallery.php:221
69
  msgid "Enforce loading the lightbox gallery scripts"
70
  msgstr ""
71
 
72
- #: lightbox-gallery/lightbox-gallery.php:222
73
  msgid "The lightbox gallery scripts are loaded in every page"
74
  msgstr ""
75
 
76
- #: lightbox-gallery/lightbox-gallery.php:225
 
 
 
 
 
 
 
 
77
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
78
  msgstr ""
79
 
80
- #: lightbox-gallery/lightbox-gallery.php:226
81
  msgid "Do not use the lightbox-gallery.css"
82
  msgstr ""
83
 
84
- #: lightbox-gallery/lightbox-gallery.php:229
85
  msgid "In case that you would like to disable to load the column inline css"
86
  msgstr ""
87
 
88
- #: lightbox-gallery/lightbox-gallery.php:230
89
  msgid "Do not use the column inline css"
90
  msgstr ""
91
 
92
- #: lightbox-gallery/lightbox-gallery.php:233
93
  msgid "In case that you would like to set the default number of columns"
94
  msgstr ""
95
 
96
- #: lightbox-gallery/lightbox-gallery.php:237
97
  msgid "In case that you would like to set the default thumbnail size"
98
  msgstr ""
99
 
100
- #: lightbox-gallery/lightbox-gallery.php:241
101
  msgid "In case that you would like to set the default lightbox size"
102
  msgstr ""
103
 
104
- #: lightbox-gallery/lightbox-gallery.php:248
105
  msgid "Choose the script loading point"
106
  msgstr ""
107
 
108
- #: lightbox-gallery/lightbox-gallery.php:249
109
  msgid "Header"
110
  msgstr ""
111
 
112
- #: lightbox-gallery/lightbox-gallery.php:250
113
  msgid "Footer"
114
  msgstr ""
115
 
116
- #: lightbox-gallery/lightbox-gallery.php:253
117
  msgid "Update Options &raquo;"
118
  msgstr ""
119
 
120
- #: lightbox-gallery/lightbox-gallery.php:263
121
  msgid "Delete Options"
122
  msgstr ""
123
 
124
- #: lightbox-gallery/lightbox-gallery.php:265
125
  msgid "Are you sure to delete options? Options you set will be deleted."
126
  msgstr ""
127
 
128
- #: lightbox-gallery/lightbox-gallery.php:269
129
  msgid "Delete Options &raquo;"
130
  msgstr ""
131
 
132
- #: lightbox-gallery/lightbox-gallery.php:279
133
  msgid "Donation"
134
  msgstr ""
135
 
136
- #: lightbox-gallery/lightbox-gallery.php:281
137
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
138
  msgstr ""
139
 
140
- #: lightbox-gallery/lightbox-gallery.php:363
 
 
 
 
 
 
 
 
 
 
 
 
141
  msgid "Pages:"
142
  msgstr ""
143
 
144
- #: lightbox-gallery/lightbox-gallery.php:365
145
  msgid "Next page"
146
  msgstr ""
147
 
148
- #: lightbox-gallery/lightbox-gallery.php:366
149
  msgid "Previous page"
150
  msgstr ""
151
 
152
- #: lightbox-gallery/lightbox-gallery.php:448
153
  msgid "camera"
154
  msgstr ""
155
 
156
- #: lightbox-gallery/lightbox-gallery.php:450
157
  msgid "aperture"
158
  msgstr ""
159
 
160
- #: lightbox-gallery/lightbox-gallery.php:452
161
  msgid "focal_length"
162
  msgstr ""
163
 
164
- #: lightbox-gallery/lightbox-gallery.php:454
165
  msgid "ISO"
166
  msgstr ""
167
 
168
- #: lightbox-gallery/lightbox-gallery.php:458
169
  msgid "shutter_speed"
170
  msgstr ""
171
 
172
- #: lightbox-gallery/lightbox-gallery.php:461
173
  msgid "created_timestamp"
174
  msgstr ""
175
 
2
  msgstr ""
3
  "Project-Id-Version: Lightbox Gallery\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-01-12 01:35+0900\n"
6
+ "PO-Revision-Date: 2012-01-12 01:35+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "X-Poedit-SearchPath-0: lightbox-gallery\n"
15
 
16
+ #: lightbox-gallery/lightbox-gallery.php:209
17
  msgid "Settings"
18
  msgstr ""
19
 
20
+ #: lightbox-gallery/lightbox-gallery.php:224
21
+ #: lightbox-gallery/lightbox-gallery.php:257
22
  msgid "Lightbox Gallery"
23
  msgstr ""
24
 
25
+ #: lightbox-gallery/lightbox-gallery.php:240
26
  msgid "Options updated."
27
  msgstr ""
28
 
29
+ #: lightbox-gallery/lightbox-gallery.php:244
30
  msgid "Options deleted."
31
  msgstr ""
32
 
33
+ #: lightbox-gallery/lightbox-gallery.php:264
34
+ #: lightbox-gallery/lightbox-gallery.php:333
35
+ #: lightbox-gallery/lightbox-gallery.php:351
36
+ #: lightbox-gallery/lightbox-gallery.php:367
37
  msgid "Click to toggle"
38
  msgstr ""
39
 
40
+ #: lightbox-gallery/lightbox-gallery.php:265
41
  msgid "Lightbox Gallery Options"
42
  msgstr ""
43
 
44
+ #: lightbox-gallery/lightbox-gallery.php:274
45
  msgid "Choose the gallery loading type"
46
  msgstr ""
47
 
48
+ #: lightbox-gallery/lightbox-gallery.php:275
49
  msgid "Lightbox"
50
  msgstr ""
51
 
52
+ #: lightbox-gallery/lightbox-gallery.php:276
53
  msgid "Highslide JS"
54
  msgstr ""
55
 
56
+ #: lightbox-gallery/lightbox-gallery.php:277
57
  #, php-format
58
  msgid "Caution: Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. You need the author's permission to use Highslide JS on commercial websites. <a href=\"%s\" target=\"_blank\">Please look at the author's website.</a>"
59
  msgstr ""
60
 
61
+ #: lightbox-gallery/lightbox-gallery.php:280
62
  msgid "In case that you would like to use the lightbox in certain categories (comma-deliminated)"
63
  msgstr ""
64
 
65
+ #: lightbox-gallery/lightbox-gallery.php:284
66
  msgid "In case that you would like to use the lightbox in certain pages (comma-deliminated)"
67
  msgstr ""
68
 
69
+ #: lightbox-gallery/lightbox-gallery.php:288
70
  msgid "Enforce loading the lightbox gallery scripts"
71
  msgstr ""
72
 
73
+ #: lightbox-gallery/lightbox-gallery.php:289
74
  msgid "The lightbox gallery scripts are loaded in every page"
75
  msgstr ""
76
 
77
+ #: lightbox-gallery/lightbox-gallery.php:292
78
+ msgid "Add rel=&quot;lightbox&quot; automatically in the post insert"
79
+ msgstr ""
80
+
81
+ #: lightbox-gallery/lightbox-gallery.php:293
82
+ msgid "Do not forget to check the script enforcement option above with this"
83
+ msgstr ""
84
+
85
+ #: lightbox-gallery/lightbox-gallery.php:296
86
  msgid "In case that you would like to disable to load the lightbox-gallery.css"
87
  msgstr ""
88
 
89
+ #: lightbox-gallery/lightbox-gallery.php:297
90
  msgid "Do not use the lightbox-gallery.css"
91
  msgstr ""
92
 
93
+ #: lightbox-gallery/lightbox-gallery.php:300
94
  msgid "In case that you would like to disable to load the column inline css"
95
  msgstr ""
96
 
97
+ #: lightbox-gallery/lightbox-gallery.php:301
98
  msgid "Do not use the column inline css"
99
  msgstr ""
100
 
101
+ #: lightbox-gallery/lightbox-gallery.php:304
102
  msgid "In case that you would like to set the default number of columns"
103
  msgstr ""
104
 
105
+ #: lightbox-gallery/lightbox-gallery.php:308
106
  msgid "In case that you would like to set the default thumbnail size"
107
  msgstr ""
108
 
109
+ #: lightbox-gallery/lightbox-gallery.php:312
110
  msgid "In case that you would like to set the default lightbox size"
111
  msgstr ""
112
 
113
+ #: lightbox-gallery/lightbox-gallery.php:319
114
  msgid "Choose the script loading point"
115
  msgstr ""
116
 
117
+ #: lightbox-gallery/lightbox-gallery.php:320
118
  msgid "Header"
119
  msgstr ""
120
 
121
+ #: lightbox-gallery/lightbox-gallery.php:321
122
  msgid "Footer"
123
  msgstr ""
124
 
125
+ #: lightbox-gallery/lightbox-gallery.php:324
126
  msgid "Update Options &raquo;"
127
  msgstr ""
128
 
129
+ #: lightbox-gallery/lightbox-gallery.php:334
130
  msgid "Delete Options"
131
  msgstr ""
132
 
133
+ #: lightbox-gallery/lightbox-gallery.php:336
134
  msgid "Are you sure to delete options? Options you set will be deleted."
135
  msgstr ""
136
 
137
+ #: lightbox-gallery/lightbox-gallery.php:340
138
  msgid "Delete Options &raquo;"
139
  msgstr ""
140
 
141
+ #: lightbox-gallery/lightbox-gallery.php:352
142
  msgid "Donation"
143
  msgstr ""
144
 
145
+ #: lightbox-gallery/lightbox-gallery.php:354
146
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
147
  msgstr ""
148
 
149
+ #: lightbox-gallery/lightbox-gallery.php:368
150
+ msgid "CMS x WP"
151
+ msgstr ""
152
+
153
+ #: lightbox-gallery/lightbox-gallery.php:370
154
+ msgid "There are much more plugins which are useful for developing business websites such as membership sites or ec sites. You could totally treat WordPress as CMS by use of CMS x WP plugins."
155
+ msgstr ""
156
+
157
+ #: lightbox-gallery/lightbox-gallery.php:371
158
+ msgid "WordPress plugin sales site: CMS x WP"
159
+ msgstr ""
160
+
161
+ #: lightbox-gallery/lightbox-gallery.php:445
162
  msgid "Pages:"
163
  msgstr ""
164
 
165
+ #: lightbox-gallery/lightbox-gallery.php:447
166
  msgid "Next page"
167
  msgstr ""
168
 
169
+ #: lightbox-gallery/lightbox-gallery.php:448
170
  msgid "Previous page"
171
  msgstr ""
172
 
173
+ #: lightbox-gallery/lightbox-gallery.php:531
174
  msgid "camera"
175
  msgstr ""
176
 
177
+ #: lightbox-gallery/lightbox-gallery.php:533
178
  msgid "aperture"
179
  msgstr ""
180
 
181
+ #: lightbox-gallery/lightbox-gallery.php:535
182
  msgid "focal_length"
183
  msgstr ""
184
 
185
+ #: lightbox-gallery/lightbox-gallery.php:537
186
  msgid "ISO"
187
  msgstr ""
188
 
189
+ #: lightbox-gallery/lightbox-gallery.php:541
190
  msgid "shutter_speed"
191
  msgstr ""
192
 
193
+ #: lightbox-gallery/lightbox-gallery.php:544
194
  msgid "created_timestamp"
195
  msgstr ""
196
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Hiroaki Miyashita
3
  Donate link: http://wpgogo.com/development/lightbox-gallery.html
4
  Tags: lightbox, gallery, image, images, album, photo, photos, picture, pictures, jQuery, Highslide
5
  Requires at least: 2.5
6
- Tested up to: 3.1
7
- Stable tag: 0.6.5
8
 
9
  This plugin changes the view of galleries to the lightbox.
10
 
@@ -30,15 +30,18 @@ Localization
30
  * Spanish (es_ES) - [Daniel Tarrero](http://www.bluebrain.es/)
31
  * German (de_DE) - Michael Wruck and Tacitus Media
32
  * French (fr_FR) - [BenLeTibetain](http://www.benletibetain.net/)
 
 
33
  * Hungarian (hu_HU) - [Zsolt Vereb](http://www.google.com/profiles/zsolt.vereb) and [Feriman](http://feriman.com/)
34
  * Italian (it_IT) - [Gianni Diurno](http://gidibao.net/)
35
- * Japanese (ja) - [Hiroaki Miyashita](http://wordpressgogo.com/)
36
  * Dutch (nl_NL) - [Peter Arends](http://www.peterarends.net/)
37
  * Polish (pl_PL) - Otmar
38
  * Romanian (ro_RO) - [Anunturi Jibo](http://www.jibo.ro/)
39
  * Russian (ru_RU) - [Fat Cow](http://www.fatcow.com/)
40
  * Turkish (tr_TR) - [Hakan Demiray](http://www.dmry.net/)
41
  * Ukrainian (uk_UA) - [Vitalij Lew](http://wpp.pp.ua/)
 
42
 
43
  If you have translated into your language, please let me know.
44
 
@@ -122,6 +125,14 @@ If you would like not to show the navigation, set `0`. The default is `1`.
122
 
123
  == Changelog ==
124
 
 
 
 
 
 
 
 
 
125
  = 0.6.5 =
126
  * Lightbox and Highslide path.
127
  * Czech (cs_CZ) - Petufo
3
  Donate link: http://wpgogo.com/development/lightbox-gallery.html
4
  Tags: lightbox, gallery, image, images, album, photo, photos, picture, pictures, jQuery, Highslide
5
  Requires at least: 2.5
6
+ Tested up to: 3.3.1
7
+ Stable tag: 0.6.6
8
 
9
  This plugin changes the view of galleries to the lightbox.
10
 
30
  * Spanish (es_ES) - [Daniel Tarrero](http://www.bluebrain.es/)
31
  * German (de_DE) - Michael Wruck and Tacitus Media
32
  * French (fr_FR) - [BenLeTibetain](http://www.benletibetain.net/)
33
+ * Hindi (hi_IN) - [Outshine Solutions](http://outshinesolutions.com/web-hosting/web-hosting-india.html)
34
+ * Croatian (hr) - [Tomislav Konestabo](http://aciddot.com/)
35
  * Hungarian (hu_HU) - [Zsolt Vereb](http://www.google.com/profiles/zsolt.vereb) and [Feriman](http://feriman.com/)
36
  * Italian (it_IT) - [Gianni Diurno](http://gidibao.net/)
37
+ * Japanese (ja) - [Hiroaki Miyashita](http://wpgogo.com/)
38
  * Dutch (nl_NL) - [Peter Arends](http://www.peterarends.net/)
39
  * Polish (pl_PL) - Otmar
40
  * Romanian (ro_RO) - [Anunturi Jibo](http://www.jibo.ro/)
41
  * Russian (ru_RU) - [Fat Cow](http://www.fatcow.com/)
42
  * Turkish (tr_TR) - [Hakan Demiray](http://www.dmry.net/)
43
  * Ukrainian (uk_UA) - [Vitalij Lew](http://wpp.pp.ua/)
44
+ * Simplified Chinese (zh_CN) - [leonanu](http://www.inanu.net/)
45
 
46
  If you have translated into your language, please let me know.
47
 
125
 
126
  == Changelog ==
127
 
128
+ = 0.6.6 =
129
+ * Option to add rel=&quot;lightbox&quot; automatically in the post insert.
130
+ * Code cleaning.
131
+ * Bugfix: addition of esc_attr().
132
+ * Croatian (hr) - Tomislav Konestabo
133
+ * Hindi (hi_IN) - Outshine Solutions
134
+ * Simplified Chinese (zh_CN) - leonanu
135
+
136
  = 0.6.5 =
137
  * Lightbox and Highslide path.
138
  * Czech (cs_CZ) - Petufo