Quotes Collection - Version 1.5.9

Version Description

Upgrade if random refresh always fetches only two quotes, also if the there are problems with the widget controls.

Download this release

Release Info

Developer SriniG
Plugin Icon 128x128 Quotes Collection
Version 1.5.9
Comparing to
See all releases

Code changes from version 1.4.4 to 1.5.9

languages/quotes-collection-be_BY.mo ADDED
Binary file
languages/quotes-collection-be_BY.po ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Quotes Collection 1.3\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-05-29 05:24+0300\n"
6
+ "PO-Revision-Date: 2012-01-30 15:33+0200\n"
7
+ "Language-Team: Web Geeks\n"
8
+ "Last-Translator: \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: Belarusian\n"
14
+ "X-Poedit-Country: BELARUS\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n"
16
+ "X-Poedit-Basepath: .\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../quotes-collection.php:62
20
+ #: ../quotes-collection.php:175
21
+ #: ../quotes-collection.php:179
22
+ msgid "Next quote"
23
+ msgstr "Наступная цытата"
24
+
25
+ #: ../quotes-collection.php:63
26
+ msgid "Loading..."
27
+ msgstr "секундочку..."
28
+
29
+ #: ../quotes-collection.php:64
30
+ msgid "Error getting quote"
31
+ msgstr "Памылка стварэння цытаты"
32
+
33
+ #: ../quotes-collection.php:200
34
+ #: ../quotes-collection.php:221
35
+ msgid "Random Quote"
36
+ msgstr "Выпадковая цытата"
37
+
38
+ #: ../quotes-collection.php:242
39
+ msgid "none"
40
+ msgstr "none"
41
+
42
+ #: ../quotes-collection.php:253
43
+ msgid "Title"
44
+ msgstr "Загаловак"
45
+
46
+ #: ../quotes-collection.php:254
47
+ msgid "Show author?"
48
+ msgstr "Паказваць аўтара?"
49
+
50
+ #: ../quotes-collection.php:255
51
+ msgid "Show source?"
52
+ msgstr "Паказваць крыніцу?"
53
+
54
+ #: ../quotes-collection.php:256
55
+ msgid "Ajax refresh feature"
56
+ msgstr "Уключыць абнаўленне Ajax "
57
+
58
+ #: ../quotes-collection.php:257
59
+ msgid "Tags filter"
60
+ msgstr "Фільтр па пазнаках"
61
+
62
+ #: ../quotes-collection.php:257
63
+ msgid "Comma separated"
64
+ msgstr "праз коску"
65
+
66
+ #: ../quotes-collection.php:258
67
+ msgid "Character limit"
68
+ msgstr "Абмежаваць кол-у знакаў да"
69
+
70
+ #: ../quotes-collection.php:260
71
+ msgid "Click here"
72
+ msgstr "Перайсці"
73
+
74
+ #: ../quotes-collection.php:260
75
+ msgid "to manage your collection of quotes"
76
+ msgstr " да кіравання цытатамі"
77
+
78
+ #: ../quotes-collection.php:277
79
+ msgid "Nothing added to the database."
80
+ msgstr "Нічога не дададзена"
81
+
82
+ #: ../quotes-collection.php:281
83
+ #: ../quotes-collection.php:319
84
+ msgid "Database table not found"
85
+ msgstr "Табліца не знойдзена"
86
+
87
+ #: ../quotes-collection.php:306
88
+ #: ../quotes-collection.php:349
89
+ #: ../quotes-collection.php:363
90
+ msgid "There was an error in the MySQL query"
91
+ msgstr "Памылка ў запыце MySQL"
92
+
93
+ #: ../quotes-collection.php:308
94
+ msgid "Quote added"
95
+ msgstr "Цытата дададзена"
96
+
97
+ #: ../quotes-collection.php:314
98
+ msgid "Quote not updated."
99
+ msgstr "Цытата не абноўлена"
100
+
101
+ #: ../quotes-collection.php:351
102
+ msgid "Changes saved"
103
+ msgstr "Змены захаваны"
104
+
105
+ #: ../quotes-collection.php:365
106
+ msgid "Quote deleted"
107
+ msgstr "Цытата выдалена"
108
+
109
+ #: ../quotes-collection.php:367
110
+ msgid "The quote cannot be deleted"
111
+ msgstr "Цытату не выдаліць"
112
+
113
+ #: ../quotes-collection.php:383
114
+ #: ../quotes-collection.php:477
115
+ msgid "Add Quote"
116
+ msgstr "Дадаць цытату"
117
+
118
+ #: ../quotes-collection.php:399
119
+ #: ../quotes-collection.php:481
120
+ msgid "Save changes"
121
+ msgstr "Захаваць"
122
+
123
+ #: ../quotes-collection.php:400
124
+ msgid "Back"
125
+ msgstr "Назад"
126
+
127
+ #: ../quotes-collection.php:404
128
+ #: ../quotes-collection.php:587
129
+ msgid "The quote"
130
+ msgstr "Цытата"
131
+
132
+ #: ../quotes-collection.php:405
133
+ #: ../quotes-collection.php:570
134
+ #: ../quotes-collection.php:589
135
+ msgid "Author"
136
+ msgstr "Аўтар"
137
+
138
+ #: ../quotes-collection.php:406
139
+ #: ../quotes-collection.php:571
140
+ #: ../quotes-collection.php:589
141
+ msgid "Source"
142
+ msgstr "Крыніца"
143
+
144
+ #: ../quotes-collection.php:407
145
+ #: ../quotes-collection.php:591
146
+ msgid "Tags"
147
+ msgstr "Пазнакі"
148
+
149
+ #: ../quotes-collection.php:408
150
+ #: ../quotes-collection.php:592
151
+ msgid "Visible?"
152
+ msgstr "Бачная?"
153
+
154
+ #: ../quotes-collection.php:409
155
+ msgid "optional"
156
+ msgstr "допольнительно"
157
+
158
+ #: ../quotes-collection.php:410
159
+ msgid "comma separated"
160
+ msgstr "праз коску"
161
+
162
+ #: ../quotes-collection.php:447
163
+ #: ../quotes-collection.php:460
164
+ msgid "Nothing done!"
165
+ msgstr "Нічога не зроблена"
166
+
167
+ #: ../quotes-collection.php:454
168
+ #, php-format
169
+ msgid "Visibility status of selected quotes set to '%s'"
170
+ msgstr "Бачнасць абраных цытат зменена на '%s'"
171
+
172
+ #: ../quotes-collection.php:465
173
+ msgid "Quote(s) deleted"
174
+ msgstr "Цытата(-ы) выдалена"
175
+
176
+ #: ../quotes-collection.php:486
177
+ msgid "Edit quote"
178
+ msgstr "Кіраваць"
179
+
180
+ #: ../quotes-collection.php:496
181
+ #: ../quotes-collection.php:547
182
+ #: ../quotes-collection.php:562
183
+ #: ../quotes-collection.php:601
184
+ msgid "Delete"
185
+ msgstr "Выдаліць"
186
+
187
+ #: ../quotes-collection.php:498
188
+ #: ../quotes-collection.php:563
189
+ #: ../quotes-collection.php:602
190
+ msgid "Make visible"
191
+ msgstr "Паказаць"
192
+
193
+ #: ../quotes-collection.php:501
194
+ #: ../quotes-collection.php:564
195
+ #: ../quotes-collection.php:603
196
+ msgid "Make invisible"
197
+ msgstr "Схаваць"
198
+
199
+ #: ../quotes-collection.php:546
200
+ msgid "Edit"
201
+ msgstr "Кіраваць"
202
+
203
+ #: ../quotes-collection.php:547
204
+ msgid "Are you sure you want to delete this quote?"
205
+ msgstr "Вы ўпэўнены, што жадаеце выдаліць гэту цытату?"
206
+
207
+ #: ../quotes-collection.php:554
208
+ #, php-format
209
+ msgid "Currently, you have %d quote."
210
+ msgid_plural "Currently, you have %d quotes."
211
+ msgstr[0] "У вас %d цытата."
212
+ msgstr[1] "У вас %d цытат."
213
+
214
+ #: ../quotes-collection.php:556
215
+ #: ../quotes-collection.php:618
216
+ msgid "Add new quote"
217
+ msgstr "Дадаць новую цытату"
218
+
219
+ #: ../quotes-collection.php:566
220
+ msgid "Sort by: "
221
+ msgstr "Сартаваць:"
222
+
223
+ #: ../quotes-collection.php:568
224
+ #: ../quotes-collection.php:569
225
+ msgid "Quote"
226
+ msgstr "Цытата"
227
+
228
+ #: ../quotes-collection.php:572
229
+ msgid "Date added"
230
+ msgstr "Дата дададзена"
231
+
232
+ #: ../quotes-collection.php:573
233
+ msgid "Date updated"
234
+ msgstr "Дата зменена"
235
+
236
+ #: ../quotes-collection.php:574
237
+ msgid "Visibility"
238
+ msgstr "Бачнасць"
239
+
240
+ #: ../quotes-collection.php:577
241
+ msgid "Go"
242
+ msgstr "Так"
243
+
244
+ #: ../quotes-collection.php:593
245
+ msgid "Action"
246
+ msgstr "Дзеянні"
247
+
248
+ #: ../quotes-collection.php:612
249
+ msgid "No quotes in the database"
250
+ msgstr "Няма цытат у базе"
251
+
252
+ #~ msgid "Manage"
253
+ #~ msgstr "Кіраванне"
254
+
255
+ #~ msgid "from"
256
+ #~ msgstr "aus"
languages/quotes-collection-el.mo ADDED
Binary file
languages/quotes-collection-el.po ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Quotes Collection plugin for WordPress: Localization template.
2
+ # Copyright (C) 2011 Srini G
3
+ # This file is distributed under the same license as the Quotes Collection package.
4
+ # Srini G <srinig.com@gmail.com>, 2011.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: Quotes Collection 1.5\n"
10
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
11
+ "POT-Creation-Date: 2011-06-30 13:32+0530\n"
12
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: Spiros Doikas <www.translatum.gr>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
19
+
20
+
21
+
22
+ #: quotes-collection-ajax.php:6
23
+ #: quotes-collection.php:215
24
+ msgid "Next quote"
25
+ msgstr "Επόμενο απόφθεγμα"
26
+
27
+ #: quotes-collection-ajax.php:7
28
+ msgid "Loading..."
29
+ msgstr "Φόρτωση..."
30
+
31
+ #: quotes-collection-ajax.php:8
32
+ msgid "Error getting quote"
33
+ msgstr "Σφάλμα κατά τη λήψη αποφθέγματος"
34
+
35
+ #: quotes-collection.php:163
36
+ msgid "Go to the first page"
37
+ msgstr "Μετάβαση στην πρώτη σελίδα"
38
+
39
+ #: quotes-collection.php:165
40
+ msgid "Go to the previous page"
41
+ msgstr "Μετάβαση στην πρώτη σελίδα"
42
+
43
+ #: quotes-collection.php:169
44
+ msgid "Go to the next page"
45
+ msgstr "Μετάβαση στην επόμενη σελίδα"
46
+
47
+ #: quotes-collection.php:171
48
+ msgid "Go to the last page"
49
+ msgstr "Μετάβαση στην τελευταία σελίδα"
50
+
51
+ #: quotes-collection.php:175
52
+ msgid "Goto page:"
53
+ msgstr "Μετάβαση στη σελίδα:"
54
+
55
+ #: quotes-collection-admin.php:14
56
+ msgid "Nothing added to the database."
57
+ msgstr "Δεν προστέθηκε τίποτε στη βάση δεδομένων."
58
+
59
+ #: quotes-collection-admin.php:18
60
+ #: quotes-collection-admin.php:55
61
+ msgid "Database table not found"
62
+ msgstr "Δεν βρέθηκε ο πίνακας της βάσης δεδομένων"
63
+
64
+ #: quotes-collection-admin.php:42
65
+ #: quotes-collection-admin.php:84
66
+ #: quotes-collection-admin.php:98
67
+ msgid "There was an error in the MySQL query"
68
+ msgstr "Παρουσιάστηκε σφάλμα στην ερώτηση MySQL"
69
+
70
+ #: quotes-collection-admin.php:44
71
+ msgid "Quote added"
72
+ msgstr "Το απόφθεγμα προστέθηκε"
73
+
74
+ #: quotes-collection-admin.php:50
75
+ msgid "Quote not updated."
76
+ msgstr "Το απόφθεγμα δεν ενημερώθηκε"
77
+
78
+ #: quotes-collection-admin.php:86
79
+ msgid "Changes saved"
80
+ msgstr "Οι αλλαγές αποθηκεύτηκαν"
81
+
82
+ #: quotes-collection-admin.php:100
83
+ msgid "Quote deleted"
84
+ msgstr "Το απόφθεγμα διαγράφηκε"
85
+
86
+ #: quotes-collection-admin.php:102
87
+ msgid "The quote cannot be deleted"
88
+ msgstr "Δεν ήταν δυνατή η διαγραφή του αποφθέγματος"
89
+
90
+ #: quotes-collection-admin.php:118
91
+ #: quotes-collection-admin.php:220
92
+ msgid "Add Quote"
93
+ msgstr "Προσθήκη αποφθέγματος"
94
+
95
+ #: quotes-collection-admin.php:135
96
+ #: quotes-collection-admin.php:224
97
+ msgid "Save changes"
98
+ msgstr "Αποθήκευση αλλαγών"
99
+
100
+ #: quotes-collection-admin.php:136
101
+ msgid "Back"
102
+ msgstr "Πίσω"
103
+
104
+ #: quotes-collection-admin.php:140
105
+ #: quotes-collection-admin.php:386
106
+ msgid "The quote"
107
+ msgstr "Το απόφθεγμα"
108
+
109
+ #: quotes-collection-admin.php:141
110
+ #: quotes-collection-admin.php:368
111
+ #: quotes-collection-admin.php:388
112
+ msgid "Author"
113
+ msgstr "Συγγραφέας"
114
+
115
+ #: quotes-collection-admin.php:142
116
+ #: quotes-collection-admin.php:369
117
+ #: quotes-collection-admin.php:388
118
+ msgid "Source"
119
+ msgstr "Πηγή"
120
+
121
+ #: quotes-collection-admin.php:143
122
+ #: quotes-collection-admin.php:390
123
+ msgid "Tags"
124
+ msgstr "Ετικέτες"
125
+
126
+ #: quotes-collection-admin.php:144
127
+ #: quotes-collection-admin.php:391
128
+ msgid "Public?"
129
+ msgstr "Δημόσιο;"
130
+
131
+ #: quotes-collection-admin.php:145
132
+ msgid "optional"
133
+ msgstr "προαιρετικό"
134
+
135
+ #: quotes-collection-admin.php:146
136
+ msgid "comma separated"
137
+ msgstr "διαχωρισμένα με κόμμα"
138
+
139
+ #: quotes-collection-admin.php:183
140
+ #: quotes-collection-admin.php:199
141
+ msgid "Nothing done!"
142
+ msgstr "Δεν έγινε τίποτε!"
143
+
144
+ #: quotes-collection-admin.php:191
145
+ msgid "Selected quotes made public"
146
+ msgstr "Τα επιλεγμένα αποφθέγματα έγιναν δημόσια"
147
+
148
+ #: quotes-collection-admin.php:193
149
+ msgid "Selected quotes made private"
150
+ msgstr "Τα επιλεγμένα αποφθέγματα έγιναν ιδιωτικά"
151
+
152
+ #: quotes-collection-admin.php:204
153
+ msgid "Quote(s) deleted"
154
+ msgstr "Τα αποφθέγματα διαγράφηκαν"
155
+
156
+ #: quotes-collection-admin.php:231
157
+ msgid "Edit quote"
158
+ msgstr "Επεξεργασία αποφθέγματος"
159
+
160
+ #: quotes-collection-admin.php:258
161
+ #: quotes-collection-admin.php:267
162
+ #: quotes-collection-admin.php:412
163
+ msgid "Add new quote"
164
+ msgstr "Προσθήκη νέου αποφθέγματος"
165
+
166
+ #: quotes-collection-admin.php:263
167
+ #: quotes-collection-admin.php:406
168
+ msgid "No quotes in the database"
169
+ msgstr "Δεν υπάρχουν αποφθέγματα στη βάση δεδομένων"
170
+
171
+ #: quotes-collection-admin.php:337
172
+ msgid "Edit"
173
+ msgstr "Επεξεργασία"
174
+
175
+ #: quotes-collection-admin.php:337
176
+ msgid "Are you sure you want to delete this quote?"
177
+ msgstr "Θέλετε σίγουρα να διαγράψετε αυτό το απόφθεγμα;"
178
+
179
+ #: quotes-collection-admin.php:337
180
+ #: quotes-collection-admin.php:358
181
+ msgid "Delete"
182
+ msgstr "Διαγραφή"
183
+
184
+ #: quotes-collection-admin.php:344
185
+ msgid "No"
186
+ msgstr "Όχι"
187
+
188
+ #: quotes-collection-admin.php:345
189
+ msgid "Yes"
190
+ msgstr "Ναι"
191
+
192
+ #: quotes-collection-admin.php:357
193
+ msgid "Bulk Actions"
194
+ msgstr "Μαζικές ενέργειες"
195
+
196
+ #: quotes-collection-admin.php:359
197
+ msgid "Make public"
198
+ msgstr "Να γίνουν δημόσια"
199
+
200
+ #: quotes-collection-admin.php:360
201
+ msgid "Keep private"
202
+ msgstr "Να μείνουν ιδιωτικά"
203
+
204
+ #: quotes-collection-admin.php:362
205
+ msgid "Apply"
206
+ msgstr "Εφαρμογή"
207
+
208
+ #: quotes-collection-admin.php:364
209
+ msgid "Sort by: "
210
+ msgstr "Ταξινόμηση κατά: "
211
+
212
+ #: quotes-collection-admin.php:366
213
+ #: quotes-collection-admin.php:367
214
+ msgid "Quote"
215
+ msgstr "Απόφθεγμα"
216
+
217
+ #: quotes-collection-admin.php:370
218
+ msgid "Date added"
219
+ msgstr "Ημερομηνία προσθήκης"
220
+
221
+ #: quotes-collection-admin.php:371
222
+ msgid "Date updated"
223
+ msgstr "Ημερομηνία ενημέρωσης"
224
+
225
+ #: quotes-collection-admin.php:372
226
+ msgid "Visibility"
227
+ msgstr "Ορατότητα"
228
+
229
+ #: quotes-collection-admin.php:375
230
+ msgid "Go"
231
+ msgstr "Μετάβαση"
232
+
233
+ #: quotes-collection-admin.php:377
234
+ #: quotes-collection-admin.php:397
235
+ #, php-format
236
+ msgid "%d quote"
237
+ msgid_plural "%d quotes"
238
+ msgstr[0] "%d απόφθεγμα"
239
+ msgstr[1] "%d αποφθέγματα"
240
+
241
+ #: quotes-collection-widget.php:13
242
+ #: quotes-collection-widget.php:38
243
+ msgid "Random Quote"
244
+ msgstr "Τυχαίο απόφθεγμα"
245
+
246
+ #: quotes-collection-widget.php:65
247
+ msgid "none"
248
+ msgstr "κανένα"
249
+
250
+ #: quotes-collection-widget.php:84
251
+ msgid "Title"
252
+ msgstr "Τίτλος"
253
+
254
+ #: quotes-collection-widget.php:85
255
+ msgid "Show author?"
256
+ msgstr "Εμφάνιση συγγραφέα;"
257
+
258
+ #: quotes-collection-widget.php:86
259
+ msgid "Show source?"
260
+ msgstr "Εμφάνιση πηγής;"
261
+
262
+ #: quotes-collection-widget.php:87
263
+ msgid "Ajax refresh feature"
264
+ msgstr "Λειτουργεία ανανέωσης Ajax"
265
+
266
+ #: quotes-collection-widget.php:88
267
+ msgid "Advanced options"
268
+ msgstr "Επιλογές για προχωρημένους"
269
+
270
+ #: quotes-collection-widget.php:90
271
+ msgid "Random refresh"
272
+ msgstr "Τυχαία ανανέωση"
273
+
274
+ #: quotes-collection-widget.php:90
275
+ msgid "Unchecking this will rotate quotes in the order added, latest first."
276
+ msgstr "Η αποεπιλογή θα έχει ως αποτέλεσμα να εμφανίζονται τα αποφθέγματα με τη σειρά προσθήκης ξεκινώντας από το τελευταίο."
277
+
278
+ #: quotes-collection-widget.php:91
279
+ msgid "Auto refresh"
280
+ msgstr "Αυτόματη ανανέωση"
281
+
282
+ #: quotes-collection-widget.php:91
283
+ msgid "every"
284
+ msgstr "κάθε"
285
+
286
+ #: quotes-collection-widget.php:91
287
+ msgid "sec"
288
+ msgstr "δευτ."
289
+
290
+ #: quotes-collection-widget.php:92
291
+ msgid "Tags filter"
292
+ msgstr "Φίλτρο ετικετών"
293
+
294
+ #: quotes-collection-widget.php:92
295
+ msgid "Comma separated"
296
+ msgstr "Διαχωρισμένα με κόμμα"
297
+
298
+ #: quotes-collection-widget.php:93
299
+ msgid "Character limit"
300
+ msgstr "Όριο χαρακτήρων"
languages/quotes-collection-et_EE.mo ADDED
Binary file
languages/quotes-collection-et_EE.po ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Quotes Collection 1.3\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-05-29 05:24+0300\n"
6
+ "PO-Revision-Date: 2011-11-26 17:23+0200\n"
7
+ "Last-Translator: Igor <djsoldier1988@gmail.com>\n"
8
+ "Language-Team: Iflexion design <iflexion.1@gmail.com>\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: Estonian\n"
14
+ "X-Poedit-Country: ESTONIA\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n"
16
+ "X-Poedit-Basepath: .\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../quotes-collection.php:62
20
+ #: ../quotes-collection.php:175
21
+ #: ../quotes-collection.php:179
22
+ msgid "Next quote"
23
+ msgstr "Järgmine tsitaat"
24
+
25
+ #: ../quotes-collection.php:63
26
+ msgid "Loading..."
27
+ msgstr "Laadimine..."
28
+
29
+ #: ../quotes-collection.php:64
30
+ msgid "Error getting quote"
31
+ msgstr "Viga saada tsitaat"
32
+
33
+ #: ../quotes-collection.php:200
34
+ #: ../quotes-collection.php:221
35
+ msgid "Random Quote"
36
+ msgstr "Juhuslikud tsitaat"
37
+
38
+ #: ../quotes-collection.php:242
39
+ msgid "none"
40
+ msgstr "mitte ükski"
41
+
42
+ #: ../quotes-collection.php:253
43
+ msgid "Title"
44
+ msgstr "Pealkiri"
45
+
46
+ #: ../quotes-collection.php:254
47
+ msgid "Show author?"
48
+ msgstr "Näitus autor?"
49
+
50
+ #: ../quotes-collection.php:255
51
+ msgid "Show source?"
52
+ msgstr "Näitus allikas?"
53
+
54
+ #: ../quotes-collection.php:256
55
+ msgid "Ajax refresh feature"
56
+ msgstr "Ajax värskendada funktsioon"
57
+
58
+ #: ../quotes-collection.php:257
59
+ msgid "Tags filter"
60
+ msgstr "Sildid filter"
61
+
62
+ #: ../quotes-collection.php:257
63
+ msgid "Comma separated"
64
+ msgstr "Komadega eraldatud"
65
+
66
+ #: ../quotes-collection.php:258
67
+ msgid "Character limit"
68
+ msgstr "Tähemärgilimiit"
69
+
70
+ #: ../quotes-collection.php:260
71
+ msgid "Click here"
72
+ msgstr "Vajuta siia"
73
+
74
+ #: ../quotes-collection.php:260
75
+ msgid "to manage your collection of quotes"
76
+ msgstr "hallata oma Meistri tsitaatide"
77
+
78
+ #: ../quotes-collection.php:277
79
+ msgid "Nothing added to the database."
80
+ msgstr "Miski lisatakse andmebaasi."
81
+
82
+ #: ../quotes-collection.php:281
83
+ #: ../quotes-collection.php:319
84
+ msgid "Database table not found"
85
+ msgstr "Andmebaasi tabeli ei leitud"
86
+
87
+ #: ../quotes-collection.php:306
88
+ #: ../quotes-collection.php:349
89
+ #: ../quotes-collection.php:363
90
+ msgid "There was an error in the MySQL query"
91
+ msgstr "Seal oli viga MySQL päringu"
92
+
93
+ #: ../quotes-collection.php:308
94
+ msgid "Quote added"
95
+ msgstr "Tsiteeri lisatud"
96
+
97
+ #: ../quotes-collection.php:314
98
+ msgid "Quote not updated."
99
+ msgstr "Tsiteeri ei uuendatud."
100
+
101
+ #: ../quotes-collection.php:351
102
+ msgid "Changes saved"
103
+ msgstr "Muudatused salvestatud"
104
+
105
+ #: ../quotes-collection.php:365
106
+ msgid "Quote deleted"
107
+ msgstr "Tsiteeri kustutada"
108
+
109
+ #: ../quotes-collection.php:367
110
+ msgid "The quote cannot be deleted"
111
+ msgstr "Tsiteeri ei saa kustutada"
112
+
113
+ #: ../quotes-collection.php:383
114
+ #: ../quotes-collection.php:477
115
+ msgid "Add Quote"
116
+ msgstr "Lisa Tsiteeri "
117
+
118
+ #: ../quotes-collection.php:399
119
+ #: ../quotes-collection.php:481
120
+ msgid "Save changes"
121
+ msgstr "Salvesta muudatused"
122
+
123
+ #: ../quotes-collection.php:400
124
+ msgid "Back"
125
+ msgstr "Tagasi"
126
+
127
+ #: ../quotes-collection.php:404
128
+ #: ../quotes-collection.php:587
129
+ msgid "The quote"
130
+ msgstr "Tsitaat"
131
+
132
+ #: ../quotes-collection.php:405
133
+ #: ../quotes-collection.php:570
134
+ #: ../quotes-collection.php:589
135
+ msgid "Author"
136
+ msgstr "Autor"
137
+
138
+ #: ../quotes-collection.php:406
139
+ #: ../quotes-collection.php:571
140
+ #: ../quotes-collection.php:589
141
+ msgid "Source"
142
+ msgstr "Allikas"
143
+
144
+ #: ../quotes-collection.php:407
145
+ #: ../quotes-collection.php:591
146
+ msgid "Tags"
147
+ msgstr "Sildid"
148
+
149
+ #: ../quotes-collection.php:408
150
+ #: ../quotes-collection.php:592
151
+ msgid "Visible?"
152
+ msgstr "Nähtav?"
153
+
154
+ #: ../quotes-collection.php:409
155
+ msgid "optional"
156
+ msgstr "vabatahtlik"
157
+
158
+ #: ../quotes-collection.php:410
159
+ msgid "comma separated"
160
+ msgstr "komadega eraldatud"
161
+
162
+ #: ../quotes-collection.php:447
163
+ #: ../quotes-collection.php:460
164
+ msgid "Nothing done!"
165
+ msgstr "Midagi teha!"
166
+
167
+ #: ../quotes-collection.php:454
168
+ #, php-format
169
+ msgid "Visibility status of selected quotes set to '%s'"
170
+ msgstr "Nähtavus staatuse valitud tsitaadid seatud '%s'"
171
+
172
+ #: ../quotes-collection.php:465
173
+ msgid "Quote(s) deleted"
174
+ msgstr "Tsiteeri(id) kustutatud"
175
+
176
+ #: ../quotes-collection.php:486
177
+ msgid "Edit quote"
178
+ msgstr "Edit tsitaat"
179
+
180
+ #: ../quotes-collection.php:496
181
+ #: ../quotes-collection.php:547
182
+ #: ../quotes-collection.php:562
183
+ #: ../quotes-collection.php:601
184
+ msgid "Delete"
185
+ msgstr "Kustutama"
186
+
187
+ #: ../quotes-collection.php:498
188
+ #: ../quotes-collection.php:563
189
+ #: ../quotes-collection.php:602
190
+ msgid "Make visible"
191
+ msgstr "Teha nähtavaks"
192
+
193
+ #: ../quotes-collection.php:501
194
+ #: ../quotes-collection.php:564
195
+ #: ../quotes-collection.php:603
196
+ msgid "Make invisible"
197
+ msgstr "Tee nähtamatu"
198
+
199
+ #: ../quotes-collection.php:546
200
+ msgid "Edit"
201
+ msgstr "Redigeerima"
202
+
203
+ #: ../quotes-collection.php:547
204
+ msgid "Are you sure you want to delete this quote?"
205
+ msgstr "Oled sa kindel, et soovite kustutada selle tsiteerida?"
206
+
207
+ #: ../quotes-collection.php:554
208
+ #, php-format
209
+ msgid "Currently, you have %d quote."
210
+ msgid_plural "Currently, you have %d quotes."
211
+ msgstr[0] "Praegu teil on %d tsiteerida."
212
+ msgstr[1] "Praegu teil on %d hinnapakkumisi."
213
+
214
+ #: ../quotes-collection.php:556
215
+ #: ../quotes-collection.php:618
216
+ msgid "Add new quote"
217
+ msgstr "Lisa uus tsiteerida"
218
+
219
+ #: ../quotes-collection.php:566
220
+ msgid "Sort by: "
221
+ msgstr "Sorteeri:"
222
+
223
+ #: ../quotes-collection.php:568
224
+ #: ../quotes-collection.php:569
225
+ msgid "Quote"
226
+ msgstr "Tsitaat"
227
+
228
+ #: ../quotes-collection.php:572
229
+ msgid "Date added"
230
+ msgstr "Lisamise aeg"
231
+
232
+ #: ../quotes-collection.php:573
233
+ msgid "Date updated"
234
+ msgstr "Kuupäev uuendatud"
235
+
236
+ #: ../quotes-collection.php:574
237
+ msgid "Visibility"
238
+ msgstr "Nähtavus"
239
+
240
+ #: ../quotes-collection.php:577
241
+ msgid "Go"
242
+ msgstr "Minema"
243
+
244
+ #: ../quotes-collection.php:593
245
+ msgid "Action"
246
+ msgstr "Tegevus"
247
+
248
+ #: ../quotes-collection.php:612
249
+ msgid "No quotes in the database"
250
+ msgstr "Ilma jutumärkideta andmebaasi"
251
+
252
+ #~ msgid "Manage"
253
+ #~ msgstr "Управление"
254
+
255
+ #~ msgid "from"
256
+ #~ msgstr "aus"
languages/quotes-collection-fa_IR.mo CHANGED
Binary file
languages/quotes-collection-fa_IR.po CHANGED
@@ -1,256 +1,277 @@
1
- # Quotes Collection plugin for WordPress: Localization template.
2
- # Copyright (C) 2009 Srini G
3
- # This file is distributed under the same license as the Quotes Collection package.
4
- # Srini G <srinig.com@gmail.com>, 2009.
5
- #
6
  msgid ""
7
  msgstr ""
8
- "Project-Id-Version: Quotes Collection 1.3\n"
9
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
10
- "POT-Creation-Date: 2009-05-25 10:15+0530\n"
11
- "PO-Revision-Date: 2009-05-26 01:34+0330\n"
12
- "Last-Translator: Ehsan Shahinfar <eshahinfar@gmail.com>\n"
13
- "Language-Team: \n"
14
  "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=utf-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
17
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
- "X-Poedit-Language: Persian\n"
19
- "X-Poedit-Basepath: C:\\Documents and Settings\\Ehsan\\Desktop\\quotes-collection\n"
20
- "X-Poedit-SourceCharset: utf-8\n"
21
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n"
22
- "X-Poedit-SearchPath-0: C:\\Documents and Settings\\Ehsan\\Desktop\\quotes-collection\n"
23
 
24
- #: quotes-collection.php:62
25
- #: quotes-collection.php:175
26
- #: quotes-collection.php:179
27
  msgid "Next quote"
28
  msgstr "عبارت بعدی"
29
 
30
- #: quotes-collection.php:63
31
  msgid "Loading..."
32
  msgstr "در حال بارگذاری ..."
33
 
34
- #: quotes-collection.php:64
35
  msgid "Error getting quote"
36
  msgstr "اشکال در دیافت عبارت"
37
 
38
- #: quotes-collection.php:200
39
- #: quotes-collection.php:221
40
- msgid "Random Quote"
41
- msgstr "عبارت تصادفی"
42
-
43
- #: quotes-collection.php:242
44
- msgid "none"
45
- msgstr "هیچکدام"
46
-
47
- #: quotes-collection.php:253
48
- msgid "Title"
49
- msgstr "عنوان"
50
-
51
- #: quotes-collection.php:254
52
- msgid "Show author?"
53
- msgstr "نام نویسنده نمایش داده شود؟"
54
-
55
- #: quotes-collection.php:255
56
- msgid "Show source?"
57
- msgstr "نام منبع نمایش داده شود؟"
58
-
59
- #: quotes-collection.php:256
60
- msgid "Ajax refresh feature"
61
- msgstr "امکان بارگذاری مجدد عبارت توسط آژاکس"
62
-
63
- #: quotes-collection.php:257
64
- msgid "Tags filter"
65
- msgstr "فیلتر برچسب‌ها"
66
 
67
- #: quotes-collection.php:257
68
- msgid "Comma separated"
69
- msgstr "توسط کاما جدا شود"
70
 
71
- #: quotes-collection.php:258
72
- msgid "Character limit"
73
- msgstr "محدودیت کاراکتر"
74
 
75
- #: quotes-collection.php:260
76
- msgid "Click here"
77
- msgstr "اینجا را کلیک کن"
78
 
79
- #: quotes-collection.php:260
80
- msgid "to manage your collection of quotes"
81
- msgstr "تا به بخش مدیریت عبارات منتقل شوی"
82
 
83
- #: quotes-collection.php:277
84
  msgid "Nothing added to the database."
85
  msgstr "چیزی به پایگاه داده اضافه نشد."
86
 
87
- #: quotes-collection.php:281
88
- #: quotes-collection.php:319
89
  msgid "Database table not found"
90
  msgstr "جدول پایگاه داده یافت نشد."
91
 
92
- #: quotes-collection.php:306
93
- #: quotes-collection.php:349
94
- #: quotes-collection.php:363
95
  msgid "There was an error in the MySQL query"
96
  msgstr "اشکالی در MySQL query موجود است."
97
 
98
- #: quotes-collection.php:308
99
  msgid "Quote added"
100
  msgstr "عبارت اضافه شد."
101
 
102
- #: quotes-collection.php:314
103
  msgid "Quote not updated."
104
  msgstr "عبارت به روز رسانی نشد."
105
 
106
- #: quotes-collection.php:351
107
  msgid "Changes saved"
108
  msgstr "تغییرات ذخیره شد."
109
 
110
- #: quotes-collection.php:365
111
  msgid "Quote deleted"
112
  msgstr "عبارت پاک شد."
113
 
114
- #: quotes-collection.php:367
115
  msgid "The quote cannot be deleted"
116
  msgstr "عبارت نمی‌تواند پاک شود."
117
 
118
- #: quotes-collection.php:383
119
- #: quotes-collection.php:477
120
  msgid "Add Quote"
121
  msgstr "اضافه کن"
122
 
123
- #: quotes-collection.php:399
124
- #: quotes-collection.php:481
125
  msgid "Save changes"
126
  msgstr "ذخیره تغییرات"
127
 
128
- #: quotes-collection.php:400
129
  msgid "Back"
130
  msgstr "بازگشت"
131
 
132
- #: quotes-collection.php:404
133
- #: quotes-collection.php:587
134
  msgid "The quote"
135
  msgstr "عبارت"
136
 
137
- #: quotes-collection.php:405
138
- #: quotes-collection.php:570
139
- #: quotes-collection.php:589
140
  msgid "Author"
141
  msgstr "نویسنده"
142
 
143
- #: quotes-collection.php:406
144
- #: quotes-collection.php:571
145
- #: quotes-collection.php:589
146
  msgid "Source"
147
  msgstr "منبع"
148
 
149
- #: quotes-collection.php:407
150
- #: quotes-collection.php:591
151
  msgid "Tags"
152
  msgstr "برچسب"
153
 
154
- #: quotes-collection.php:408
155
- #: quotes-collection.php:592
156
- msgid "Visible?"
157
- msgstr "نمایان"
158
 
159
- #: quotes-collection.php:409
160
  msgid "optional"
161
  msgstr "انتخابی"
162
 
163
- #: quotes-collection.php:410
164
  msgid "comma separated"
165
  msgstr "توسط کاما جدا شود"
166
 
167
- #: quotes-collection.php:447
168
- #: quotes-collection.php:460
169
  msgid "Nothing done!"
170
  msgstr "چیزی انجام نشد!"
171
 
172
- #: quotes-collection.php:454
173
- #, php-format
174
- msgid "Visibility status of selected quotes set to '%s'"
175
- msgstr "تغییر حالت نمایش عبارت انتخاب شده به '%s'"
176
 
177
- #: quotes-collection.php:465
 
 
 
 
178
  msgid "Quote(s) deleted"
179
  msgstr "عبارت(ها) پاک شد."
180
 
181
- #: quotes-collection.php:486
182
  msgid "Edit quote"
183
  msgstr "ویرایش عبارت"
184
 
185
- #: quotes-collection.php:496
186
- #: quotes-collection.php:547
187
- #: quotes-collection.php:562
188
- #: quotes-collection.php:601
189
- msgid "Delete"
190
- msgstr "پاک کردن"
191
-
192
- #: quotes-collection.php:498
193
- #: quotes-collection.php:563
194
- #: quotes-collection.php:602
195
- msgid "Make visible"
196
- msgstr "قابل روئیت شود"
197
 
198
- #: quotes-collection.php:501
199
- #: quotes-collection.php:564
200
- #: quotes-collection.php:603
201
- msgid "Make invisible"
202
- msgstr "پنهان شود"
203
 
204
- #: quotes-collection.php:546
205
  msgid "Edit"
206
  msgstr "ویرایش"
207
 
208
- #: quotes-collection.php:547
209
  msgid "Are you sure you want to delete this quote?"
210
  msgstr "آیا برای پاک کردن این عبارت مطمئن هستید؟"
211
 
212
- #: quotes-collection.php:554
213
- #, php-format
214
- msgid "Currently, you have %d quote."
215
- msgid_plural "Currently, you have %d quotes."
216
- msgstr[0] "تا کنون %d عبارت نوشته شده است."
217
- msgstr[1] "تا کنون %d عبارت نوشته شده است."
218
 
219
- #: quotes-collection.php:556
220
- #: quotes-collection.php:618
221
- msgid "Add new quote"
222
- msgstr "عبارت جدیدی اضافه نمایید."
223
 
224
- #: quotes-collection.php:566
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
  msgid "Sort by: "
226
  msgstr "مرتب کردن بر اساس:"
227
 
228
- #: quotes-collection.php:568
229
- #: quotes-collection.php:569
230
  msgid "Quote"
231
  msgstr "عبارت"
232
 
233
- #: quotes-collection.php:572
234
  msgid "Date added"
235
  msgstr "زمان اضافه شدن"
236
 
237
- #: quotes-collection.php:573
238
  msgid "Date updated"
239
  msgstr "زمان به روز رسانی"
240
 
241
- #: quotes-collection.php:574
242
  msgid "Visibility"
243
  msgstr "وضعیت نماش"
244
 
245
- #: quotes-collection.php:577
246
  msgid "Go"
247
  msgstr "برو"
248
 
249
- #: quotes-collection.php:593
250
- msgid "Action"
251
- msgstr "فعالیت"
 
 
252
 
253
- #: quotes-collection.php:612
254
- msgid "No quotes in the database"
255
- msgstr "هیچ عبارتی در پایگاه داده موجود نیست."
 
 
 
 
 
 
 
 
256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
 
 
 
 
 
 
3
  "MIME-Version: 1.0\n"
4
+ "Content-Type: text/plain; charset=UTF-8\n"
5
  "Content-Transfer-Encoding: 8bit\n"
6
+ "X-Generator: Poedit 1.5.4\n"
7
+ "Project-Id-Version: quote\n"
8
+ "Language: fa\n"
9
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
+ "POT-Creation-Date: \n"
11
+ "PO-Revision-Date: \n"
12
+ "Last-Translator: <eshahinfar@gmail.com>\n"
13
+ "Language-Team: \n"
 
14
 
15
+ #: quotes-collection-ajax.php:6 quotes-collection.php:215
 
 
16
  msgid "Next quote"
17
  msgstr "عبارت بعدی"
18
 
19
+ #: quotes-collection-ajax.php:7
20
  msgid "Loading..."
21
  msgstr "در حال بارگذاری ..."
22
 
23
+ #: quotes-collection-ajax.php:8
24
  msgid "Error getting quote"
25
  msgstr "اشکال در دیافت عبارت"
26
 
27
+ #: quotes-collection.php:163
28
+ msgid "Go to the first page"
29
+ msgstr "برو به صفحه اول"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
+ #: quotes-collection.php:165
32
+ msgid "Go to the previous page"
33
+ msgstr "برو به صفحه قبل"
34
 
35
+ #: quotes-collection.php:169
36
+ msgid "Go to the next page"
37
+ msgstr "برو به صفحه بعد"
38
 
39
+ #: quotes-collection.php:171
40
+ msgid "Go to the last page"
41
+ msgstr "برو به صفحه آخر"
42
 
43
+ #: quotes-collection.php:175
44
+ msgid "Goto page:"
45
+ msgstr "برو به صفحه:"
46
 
47
+ #: quotes-collection-admin.php:14
48
  msgid "Nothing added to the database."
49
  msgstr "چیزی به پایگاه داده اضافه نشد."
50
 
51
+ #: quotes-collection-admin.php:18 quotes-collection-admin.php:55
 
52
  msgid "Database table not found"
53
  msgstr "جدول پایگاه داده یافت نشد."
54
 
55
+ #: quotes-collection-admin.php:42 quotes-collection-admin.php:84
56
+ #: quotes-collection-admin.php:98
 
57
  msgid "There was an error in the MySQL query"
58
  msgstr "اشکالی در MySQL query موجود است."
59
 
60
+ #: quotes-collection-admin.php:44
61
  msgid "Quote added"
62
  msgstr "عبارت اضافه شد."
63
 
64
+ #: quotes-collection-admin.php:50
65
  msgid "Quote not updated."
66
  msgstr "عبارت به روز رسانی نشد."
67
 
68
+ #: quotes-collection-admin.php:86
69
  msgid "Changes saved"
70
  msgstr "تغییرات ذخیره شد."
71
 
72
+ #: quotes-collection-admin.php:100
73
  msgid "Quote deleted"
74
  msgstr "عبارت پاک شد."
75
 
76
+ #: quotes-collection-admin.php:102
77
  msgid "The quote cannot be deleted"
78
  msgstr "عبارت نمی‌تواند پاک شود."
79
 
80
+ #: quotes-collection-admin.php:118 quotes-collection-admin.php:220
 
81
  msgid "Add Quote"
82
  msgstr "اضافه کن"
83
 
84
+ #: quotes-collection-admin.php:135 quotes-collection-admin.php:224
 
85
  msgid "Save changes"
86
  msgstr "ذخیره تغییرات"
87
 
88
+ #: quotes-collection-admin.php:136
89
  msgid "Back"
90
  msgstr "بازگشت"
91
 
92
+ #: quotes-collection-admin.php:140 quotes-collection-admin.php:386
 
93
  msgid "The quote"
94
  msgstr "عبارت"
95
 
96
+ #: quotes-collection-admin.php:141 quotes-collection-admin.php:368
97
+ #: quotes-collection-admin.php:388
 
98
  msgid "Author"
99
  msgstr "نویسنده"
100
 
101
+ #: quotes-collection-admin.php:142 quotes-collection-admin.php:369
102
+ #: quotes-collection-admin.php:388
 
103
  msgid "Source"
104
  msgstr "منبع"
105
 
106
+ #: quotes-collection-admin.php:143 quotes-collection-admin.php:390
 
107
  msgid "Tags"
108
  msgstr "برچسب"
109
 
110
+ #: quotes-collection-admin.php:144 quotes-collection-admin.php:391
111
+ msgid "Public?"
112
+ msgstr "عمومی؟"
 
113
 
114
+ #: quotes-collection-admin.php:145
115
  msgid "optional"
116
  msgstr "انتخابی"
117
 
118
+ #: quotes-collection-admin.php:146
119
  msgid "comma separated"
120
  msgstr "توسط کاما جدا شود"
121
 
122
+ #: quotes-collection-admin.php:183 quotes-collection-admin.php:199
 
123
  msgid "Nothing done!"
124
  msgstr "چیزی انجام نشد!"
125
 
126
+ #: quotes-collection-admin.php:191
127
+ msgid "Selected quotes made public"
128
+ msgstr "عبارات انتخاب شده عمومی شدند."
 
129
 
130
+ #: quotes-collection-admin.php:193
131
+ msgid "Selected quotes made private"
132
+ msgstr "عبارات انتخاب شده خصوصی شدند."
133
+
134
+ #: quotes-collection-admin.php:204
135
  msgid "Quote(s) deleted"
136
  msgstr "عبارت(ها) پاک شد."
137
 
138
+ #: quotes-collection-admin.php:231
139
  msgid "Edit quote"
140
  msgstr "ویرایش عبارت"
141
 
142
+ #: quotes-collection-admin.php:258 quotes-collection-admin.php:267
143
+ #: quotes-collection-admin.php:412
144
+ msgid "Add new quote"
145
+ msgstr "عبارت جدیدی اضافه نمایید."
 
 
 
 
 
 
 
 
146
 
147
+ #: quotes-collection-admin.php:263 quotes-collection-admin.php:406
148
+ msgid "No quotes in the database"
149
+ msgstr "هیچ عبارتی در پایگاه داده موجود نیست."
 
 
150
 
151
+ #: quotes-collection-admin.php:337
152
  msgid "Edit"
153
  msgstr "ویرایش"
154
 
155
+ #: quotes-collection-admin.php:337
156
  msgid "Are you sure you want to delete this quote?"
157
  msgstr "آیا برای پاک کردن این عبارت مطمئن هستید؟"
158
 
159
+ #: quotes-collection-admin.php:337 quotes-collection-admin.php:358
160
+ msgid "Delete"
161
+ msgstr "پاک کردن"
 
 
 
162
 
163
+ #: quotes-collection-admin.php:344
164
+ msgid "No"
165
+ msgstr "خیر"
 
166
 
167
+ #: quotes-collection-admin.php:345
168
+ msgid "Yes"
169
+ msgstr "بله"
170
+
171
+ #: quotes-collection-admin.php:357
172
+ msgid "Bulk Actions"
173
+ msgstr "عملیات دسته‌جمعی"
174
+
175
+ #: quotes-collection-admin.php:359
176
+ msgid "Make public"
177
+ msgstr "عمومی شود"
178
+
179
+ #: quotes-collection-admin.php:360
180
+ msgid "Keep private"
181
+ msgstr "خصوصی بماند"
182
+
183
+ #: quotes-collection-admin.php:362
184
+ msgid "Apply"
185
+ msgstr "انجام"
186
+
187
+ #: quotes-collection-admin.php:364
188
  msgid "Sort by: "
189
  msgstr "مرتب کردن بر اساس:"
190
 
191
+ #: quotes-collection-admin.php:366 quotes-collection-admin.php:367
 
192
  msgid "Quote"
193
  msgstr "عبارت"
194
 
195
+ #: quotes-collection-admin.php:370
196
  msgid "Date added"
197
  msgstr "زمان اضافه شدن"
198
 
199
+ #: quotes-collection-admin.php:371
200
  msgid "Date updated"
201
  msgstr "زمان به روز رسانی"
202
 
203
+ #: quotes-collection-admin.php:372
204
  msgid "Visibility"
205
  msgstr "وضعیت نماش"
206
 
207
+ #: quotes-collection-admin.php:375
208
  msgid "Go"
209
  msgstr "برو"
210
 
211
+ #: quotes-collection-admin.php:377 quotes-collection-admin.php:397
212
+ msgid "%d quote"
213
+ msgid_plural "%d quotes"
214
+ msgstr[0] "%d عبارت"
215
+ msgstr[1] "%d عبارت"
216
 
217
+ #: quotes-collection-widget.php:13 quotes-collection-widget.php:38
218
+ msgid "Random Quote"
219
+ msgstr "عبارت تصادفی"
220
+
221
+ #: quotes-collection-widget.php:65
222
+ msgid "none"
223
+ msgstr "هیچکدام"
224
+
225
+ #: quotes-collection-widget.php:84
226
+ msgid "Title"
227
+ msgstr "عنوان"
228
 
229
+ #: quotes-collection-widget.php:85
230
+ msgid "Show author?"
231
+ msgstr "نام نویسنده نمایش داده شود؟"
232
+
233
+ #: quotes-collection-widget.php:86
234
+ msgid "Show source?"
235
+ msgstr "نام منبع نمایش داده شود؟"
236
+
237
+ #: quotes-collection-widget.php:87
238
+ msgid "Ajax refresh feature"
239
+ msgstr "امکان بارگذاری مجدد عبارت توسط آژاکس"
240
+
241
+ #: quotes-collection-widget.php:88
242
+ msgid "Advanced options"
243
+ msgstr "گزینه‌های پیشرفته"
244
+
245
+ #: quotes-collection-widget.php:90
246
+ msgid "Random refresh"
247
+ msgstr "به روز رسانی تصادفی"
248
+
249
+ #: quotes-collection-widget.php:90
250
+ msgid "Unchecking this will rotate quotes in the order added, latest first."
251
+ msgstr ""
252
+ "با عدم انتخاب این گزینه عبارات با ترتیب اضافه شدنشان چرخش خواهند کرد. (آخرین "
253
+ "عبارت اضافه شده اول نمایش داده خواهد شد.)"
254
+
255
+ #: quotes-collection-widget.php:91
256
+ msgid "Auto refresh"
257
+ msgstr "به روز رسانی خودکار"
258
+
259
+ #: quotes-collection-widget.php:91
260
+ msgid "every"
261
+ msgstr "هر"
262
+
263
+ #: quotes-collection-widget.php:91
264
+ msgid "sec"
265
+ msgstr "ثانیه"
266
+
267
+ #: quotes-collection-widget.php:92
268
+ msgid "Tags filter"
269
+ msgstr "فیلتر برچسب‌ها"
270
+
271
+ #: quotes-collection-widget.php:92
272
+ msgid "Comma separated"
273
+ msgstr "توسط کاما جدا شود"
274
+
275
+ #: quotes-collection-widget.php:93
276
+ msgid "Character limit"
277
+ msgstr "محدودیت کاراکتر"
languages/quotes-collection-he_IL.mo ADDED
Binary file
languages/quotes-collection-he_IL.po ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Quotes Collection plugin for WordPress: Localization template.
2
+ # Copyright (C) 2011 Srini G
3
+ # This file is distributed under the same license as the Quotes Collection package.
4
+ # Srini G <srinig.com@gmail.com>, 2011.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: Quotes Collection 1.5\n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
10
+ "POT-Creation-Date: 2011-06-30 13:32+0530\n"
11
+ "PO-Revision-Date: 2011-08-03 13:05+0200\n"
12
+ "Last-Translator: Tailor Vijay <tailor.vj@gmail.com>\n"
13
+ "Language-Team: Tailor Vijay <tailor.vj@gmail.com>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=utf-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "X-Poedit-Language: Hebrew\n"
19
+ "X-Poedit-Country: ISRAEL\n"
20
+ "X-Poedit-SourceCharset: utf-8\n"
21
+
22
+ #: quotes-collection-ajax.php:6
23
+ #: quotes-collection.php:215
24
+ msgid "Next quote"
25
+ msgstr "ציטוט הבא"
26
+
27
+ #: quotes-collection-ajax.php:7
28
+ msgid "Loading..."
29
+ msgstr "טוען..."
30
+
31
+ #: quotes-collection-ajax.php:8
32
+ msgid "Error getting quote"
33
+ msgstr "שגיאה בטעינת הציטוט"
34
+
35
+ #: quotes-collection.php:163
36
+ msgid "Go to the first page"
37
+ msgstr "עבור לעמוד הראשון"
38
+
39
+ #: quotes-collection.php:165
40
+ msgid "Go to the previous page"
41
+ msgstr "עבור לעמוד הקודם"
42
+
43
+ #: quotes-collection.php:169
44
+ msgid "Go to the next page"
45
+ msgstr "עבור לעמוד הבא"
46
+
47
+ #: quotes-collection.php:171
48
+ msgid "Go to the last page"
49
+ msgstr "עבור לעמוד האחרון"
50
+
51
+ #: quotes-collection.php:175
52
+ msgid "Goto page:"
53
+ msgstr "עבור לעמוד מספר:"
54
+
55
+ #: quotes-collection-admin.php:14
56
+ msgid "Nothing added to the database."
57
+ msgstr "לא נוספו ערכים למסד הנתונים."
58
+
59
+ #: quotes-collection-admin.php:18
60
+ #: quotes-collection-admin.php:55
61
+ msgid "Database table not found"
62
+ msgstr "לא ניתן לאתר את הטבלה במסד הנתונים"
63
+
64
+ #: quotes-collection-admin.php:42
65
+ #: quotes-collection-admin.php:84
66
+ #: quotes-collection-admin.php:98
67
+ msgid "There was an error in the MySQL query"
68
+ msgstr "שגיאה בחיפוש במסד הנתונים"
69
+
70
+ #: quotes-collection-admin.php:44
71
+ msgid "Quote added"
72
+ msgstr "הציטוט נוסף"
73
+
74
+ #: quotes-collection-admin.php:50
75
+ msgid "Quote not updated."
76
+ msgstr "הציטוט לא עודכן."
77
+
78
+ #: quotes-collection-admin.php:86
79
+ msgid "Changes saved"
80
+ msgstr "השינויים נשמרו"
81
+
82
+ #: quotes-collection-admin.php:100
83
+ msgid "Quote deleted"
84
+ msgstr "הציטוט נמחק"
85
+
86
+ #: quotes-collection-admin.php:102
87
+ msgid "The quote cannot be deleted"
88
+ msgstr "לא ניתן למחוק את הציטוט"
89
+
90
+ #: quotes-collection-admin.php:118
91
+ #: quotes-collection-admin.php:220
92
+ msgid "Add Quote"
93
+ msgstr "הוסף ציטוט"
94
+
95
+ #: quotes-collection-admin.php:135
96
+ #: quotes-collection-admin.php:224
97
+ msgid "Save changes"
98
+ msgstr "שמור שינויים"
99
+
100
+ #: quotes-collection-admin.php:136
101
+ msgid "Back"
102
+ msgstr "חזרה"
103
+
104
+ #: quotes-collection-admin.php:140
105
+ #: quotes-collection-admin.php:386
106
+ msgid "The quote"
107
+ msgstr "הציטוט"
108
+
109
+ #: quotes-collection-admin.php:141
110
+ #: quotes-collection-admin.php:368
111
+ #: quotes-collection-admin.php:388
112
+ msgid "Author"
113
+ msgstr "כותב"
114
+
115
+ #: quotes-collection-admin.php:142
116
+ #: quotes-collection-admin.php:369
117
+ #: quotes-collection-admin.php:388
118
+ msgid "Source"
119
+ msgstr "מקור"
120
+
121
+ #: quotes-collection-admin.php:143
122
+ #: quotes-collection-admin.php:390
123
+ msgid "Tags"
124
+ msgstr "תגיות"
125
+
126
+ #: quotes-collection-admin.php:144
127
+ #: quotes-collection-admin.php:391
128
+ msgid "Public?"
129
+ msgstr "ציבורי?"
130
+
131
+ #: quotes-collection-admin.php:145
132
+ msgid "optional"
133
+ msgstr "אופציונלי"
134
+
135
+ #: quotes-collection-admin.php:146
136
+ msgid "comma separated"
137
+ msgstr "מופרד בפסיקים"
138
+
139
+ #: quotes-collection-admin.php:183
140
+ #: quotes-collection-admin.php:199
141
+ msgid "Nothing done!"
142
+ msgstr "לא בוצע דבר!"
143
+
144
+ #: quotes-collection-admin.php:191
145
+ msgid "Selected quotes made public"
146
+ msgstr "הציטוטים שנבחרו פורסמו"
147
+
148
+ #: quotes-collection-admin.php:193
149
+ msgid "Selected quotes made private"
150
+ msgstr "הציטוטים שנבחרו הוגדרו כפרטיים"
151
+
152
+ #: quotes-collection-admin.php:204
153
+ msgid "Quote(s) deleted"
154
+ msgstr "ציטוטים נמחקו"
155
+
156
+ #: quotes-collection-admin.php:231
157
+ msgid "Edit quote"
158
+ msgstr "ערוץ ציטוט"
159
+
160
+ #: quotes-collection-admin.php:258
161
+ #: quotes-collection-admin.php:267
162
+ #: quotes-collection-admin.php:412
163
+ msgid "Add new quote"
164
+ msgstr "הוסף ציטוט חדש"
165
+
166
+ #: quotes-collection-admin.php:263
167
+ #: quotes-collection-admin.php:406
168
+ msgid "No quotes in the database"
169
+ msgstr "אין ציטוטים במסד הנתונים"
170
+
171
+ #: quotes-collection-admin.php:337
172
+ msgid "Edit"
173
+ msgstr "ערוך"
174
+
175
+ #: quotes-collection-admin.php:337
176
+ msgid "Are you sure you want to delete this quote?"
177
+ msgstr "האם אתה בטוח שברצונך למחוק את הציטוט?"
178
+
179
+ #: quotes-collection-admin.php:337
180
+ #: quotes-collection-admin.php:358
181
+ msgid "Delete"
182
+ msgstr "מחק"
183
+
184
+ #: quotes-collection-admin.php:344
185
+ msgid "No"
186
+ msgstr "לא"
187
+
188
+ #: quotes-collection-admin.php:345
189
+ msgid "Yes"
190
+ msgstr "כן"
191
+
192
+ #: quotes-collection-admin.php:357
193
+ msgid "Bulk Actions"
194
+ msgstr "בחירה מרובה"
195
+
196
+ #: quotes-collection-admin.php:359
197
+ msgid "Make public"
198
+ msgstr "הפוך לציבורי"
199
+
200
+ #: quotes-collection-admin.php:360
201
+ msgid "Keep private"
202
+ msgstr "השאר כפרטי"
203
+
204
+ #: quotes-collection-admin.php:362
205
+ msgid "Apply"
206
+ msgstr "בצע"
207
+
208
+ #: quotes-collection-admin.php:364
209
+ msgid "Sort by: "
210
+ msgstr "מיין לפי:"
211
+
212
+ #: quotes-collection-admin.php:366
213
+ #: quotes-collection-admin.php:367
214
+ msgid "Quote"
215
+ msgstr "ציטוט"
216
+
217
+ #: quotes-collection-admin.php:370
218
+ msgid "Date added"
219
+ msgstr "תאריך הוספה"
220
+
221
+ #: quotes-collection-admin.php:371
222
+ msgid "Date updated"
223
+ msgstr "תאריך עדכון"
224
+
225
+ #: quotes-collection-admin.php:372
226
+ msgid "Visibility"
227
+ msgstr "ניראות"
228
+
229
+ #: quotes-collection-admin.php:375
230
+ msgid "Go"
231
+ msgstr "קדימה"
232
+
233
+ #: quotes-collection-admin.php:377
234
+ #: quotes-collection-admin.php:397
235
+ #, php-format
236
+ msgid "%d quote"
237
+ msgid_plural "%d quotes"
238
+ msgstr[0] "%d ציטוט"
239
+ msgstr[1] "%d ציטוטים"
240
+
241
+ #: quotes-collection-widget.php:13
242
+ #: quotes-collection-widget.php:38
243
+ msgid "Random Quote"
244
+ msgstr "ציטוט אקראי"
245
+
246
+ #: quotes-collection-widget.php:65
247
+ msgid "none"
248
+ msgstr "ריק"
249
+
250
+ #: quotes-collection-widget.php:84
251
+ msgid "Title"
252
+ msgstr "כותרת"
253
+
254
+ #: quotes-collection-widget.php:85
255
+ msgid "Show author?"
256
+ msgstr "הצג כותב"
257
+
258
+ #: quotes-collection-widget.php:86
259
+ msgid "Show source?"
260
+ msgstr "הצג מקור"
261
+
262
+ #: quotes-collection-widget.php:87
263
+ msgid "Ajax refresh feature"
264
+ msgstr "תכונת עדכון תצוגה דינאמי"
265
+
266
+ #: quotes-collection-widget.php:88
267
+ msgid "Advanced options"
268
+ msgstr "אפשרויות מתקדמות"
269
+
270
+ #: quotes-collection-widget.php:90
271
+ msgid "Random refresh"
272
+ msgstr "עדכון רנדומלי"
273
+
274
+ #: quotes-collection-widget.php:90
275
+ msgid "Unchecking this will rotate quotes in the order added, latest first."
276
+ msgstr "סימון אפשרות זו יגרום לציטוטים להופיע לפי סדר ההוספה מהאחרון לראשון."
277
+
278
+ #: quotes-collection-widget.php:91
279
+ msgid "Auto refresh"
280
+ msgstr "עדכון תצוגה אוטומטי"
281
+
282
+ #: quotes-collection-widget.php:91
283
+ msgid "every"
284
+ msgstr "כל"
285
+
286
+ #: quotes-collection-widget.php:91
287
+ msgid "sec"
288
+ msgstr "שניות"
289
+
290
+ #: quotes-collection-widget.php:92
291
+ msgid "Tags filter"
292
+ msgstr "מסנן תגיות"
293
+
294
+ #: quotes-collection-widget.php:92
295
+ msgid "Comma separated"
296
+ msgstr "מופרד בפסיקים"
297
+
298
+ #: quotes-collection-widget.php:93
299
+ msgid "Character limit"
300
+ msgstr "מספר תווים מקסימלי"
301
+
languages/quotes-collection-id_ID.mo ADDED
Binary file
languages/quotes-collection-id_ID.po ADDED
@@ -0,0 +1,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Quotes Collection 1.4\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
5
+ "POT-Creation-Date: 2011-06-30 13:32+0530\n"
6
+ "PO-Revision-Date: 2011-07-01 10:34+0700\n"
7
+ "Last-Translator: Kelayang <k@kelayang.com>\n"
8
+ "Language-Team: Kelayang <k@kelayang.com>\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
+
14
+ #: quotes-collection-ajax.php:6
15
+ #: quotes-collection.php:215
16
+ msgid "Next quote"
17
+ msgstr "Kutipan selanjutnya"
18
+
19
+ #: quotes-collection-ajax.php:7
20
+ msgid "Loading..."
21
+ msgstr "Sedang memuat..."
22
+
23
+ #: quotes-collection-ajax.php:8
24
+ msgid "Error getting quote"
25
+ msgstr "Galat ketika menarik kutipan"
26
+
27
+ #: quotes-collection.php:163
28
+ msgid "Go to the first page"
29
+ msgstr "Ke halaman pertama"
30
+
31
+ #: quotes-collection.php:165
32
+ msgid "Go to the previous page"
33
+ msgstr "Ke halaman sebelumnya"
34
+
35
+ #: quotes-collection.php:169
36
+ msgid "Go to the next page"
37
+ msgstr "Ke halaman selanjutnya"
38
+
39
+ #: quotes-collection.php:171
40
+ msgid "Go to the last page"
41
+ msgstr "Ke halaman terakhir"
42
+
43
+ #: quotes-collection.php:175
44
+ msgid "Goto page:"
45
+ msgstr "Ke halaman:"
46
+
47
+ #: quotes-collection-admin.php:14
48
+ msgid "Nothing added to the database."
49
+ msgstr "Tidak ada yang ditambahkan ke basis data."
50
+
51
+ #: quotes-collection-admin.php:18
52
+ #: quotes-collection-admin.php:55
53
+ msgid "Database table not found"
54
+ msgstr "Tabel basis data tidak ditemukan"
55
+
56
+ #: quotes-collection-admin.php:42
57
+ #: quotes-collection-admin.php:84
58
+ #: quotes-collection-admin.php:98
59
+ msgid "There was an error in the MySQL query"
60
+ msgstr "Ada galat dalam kueri MySQL"
61
+
62
+ #: quotes-collection-admin.php:44
63
+ msgid "Quote added"
64
+ msgstr "Kutipan ditambahkan"
65
+
66
+ #: quotes-collection-admin.php:50
67
+ msgid "Quote not updated."
68
+ msgstr "Kutipan tidak diperbarui."
69
+
70
+ #: quotes-collection-admin.php:86
71
+ msgid "Changes saved"
72
+ msgstr "Perubahan tersimpan"
73
+
74
+ #: quotes-collection-admin.php:100
75
+ msgid "Quote deleted"
76
+ msgstr "Kutipan terhapus"
77
+
78
+ #: quotes-collection-admin.php:102
79
+ msgid "The quote cannot be deleted"
80
+ msgstr "Kutipan tidak dapat dihapus"
81
+
82
+ #: quotes-collection-admin.php:118
83
+ #: quotes-collection-admin.php:220
84
+ msgid "Add Quote"
85
+ msgstr "Tambah Kutipan"
86
+
87
+ #: quotes-collection-admin.php:135
88
+ #: quotes-collection-admin.php:224
89
+ msgid "Save changes"
90
+ msgstr "Simpan perubahan"
91
+
92
+ #: quotes-collection-admin.php:136
93
+ msgid "Back"
94
+ msgstr "Kembali"
95
+
96
+ #: quotes-collection-admin.php:140
97
+ #: quotes-collection-admin.php:386
98
+ msgid "The quote"
99
+ msgstr "Kutipan"
100
+
101
+ #: quotes-collection-admin.php:141
102
+ #: quotes-collection-admin.php:368
103
+ #: quotes-collection-admin.php:388
104
+ msgid "Author"
105
+ msgstr "Penulis"
106
+
107
+ #: quotes-collection-admin.php:142
108
+ #: quotes-collection-admin.php:369
109
+ #: quotes-collection-admin.php:388
110
+ msgid "Source"
111
+ msgstr "Sumber"
112
+
113
+ #: quotes-collection-admin.php:143
114
+ #: quotes-collection-admin.php:390
115
+ msgid "Tags"
116
+ msgstr "Tag"
117
+
118
+ #: quotes-collection-admin.php:144
119
+ #: quotes-collection-admin.php:391
120
+ msgid "Public?"
121
+ msgstr "Publik?"
122
+
123
+ #: quotes-collection-admin.php:145
124
+ msgid "optional"
125
+ msgstr "opsional"
126
+
127
+ #: quotes-collection-admin.php:146
128
+ msgid "comma separated"
129
+ msgstr "terpisah koma"
130
+
131
+ #: quotes-collection-admin.php:183
132
+ #: quotes-collection-admin.php:199
133
+ msgid "Nothing done!"
134
+ msgstr "Tidak ada yang dilakukan!"
135
+
136
+ #: quotes-collection-admin.php:191
137
+ msgid "Selected quotes made public"
138
+ msgstr "Kutipan terpilih dibuat publik"
139
+
140
+ #: quotes-collection-admin.php:193
141
+ msgid "Selected quotes made private"
142
+ msgstr "Kutipan terpilih dibuat pribadi"
143
+
144
+ #: quotes-collection-admin.php:204
145
+ msgid "Quote(s) deleted"
146
+ msgstr "Kutipan terpilih"
147
+
148
+ #: quotes-collection-admin.php:231
149
+ msgid "Edit quote"
150
+ msgstr "Sunting kutipan"
151
+
152
+ #: quotes-collection-admin.php:258
153
+ #: quotes-collection-admin.php:267
154
+ #: quotes-collection-admin.php:412
155
+ msgid "Add new quote"
156
+ msgstr "Tambah kutipan baru"
157
+
158
+ #: quotes-collection-admin.php:263
159
+ #: quotes-collection-admin.php:406
160
+ msgid "No quotes in the database"
161
+ msgstr "Tidak ada kutipan di dalam basis data"
162
+
163
+ #: quotes-collection-admin.php:337
164
+ msgid "Edit"
165
+ msgstr "Sunting"
166
+
167
+ #: quotes-collection-admin.php:337
168
+ msgid "Are you sure you want to delete this quote?"
169
+ msgstr "Yakinkah Anda akan menghapus kutipan ini?"
170
+
171
+ #: quotes-collection-admin.php:337
172
+ #: quotes-collection-admin.php:358
173
+ msgid "Delete"
174
+ msgstr "Hapus"
175
+
176
+ #: quotes-collection-admin.php:344
177
+ msgid "No"
178
+ msgstr "Tidak"
179
+
180
+ #: quotes-collection-admin.php:345
181
+ msgid "Yes"
182
+ msgstr "Ya"
183
+
184
+ #: quotes-collection-admin.php:357
185
+ msgid "Bulk Actions"
186
+ msgstr "Tindakan Massal"
187
+
188
+ #: quotes-collection-admin.php:359
189
+ msgid "Make public"
190
+ msgstr "Buat publik"
191
+
192
+ #: quotes-collection-admin.php:360
193
+ msgid "Keep private"
194
+ msgstr "Buat pribadi"
195
+
196
+ #: quotes-collection-admin.php:362
197
+ msgid "Apply"
198
+ msgstr "Terapkan"
199
+
200
+ #: quotes-collection-admin.php:364
201
+ msgid "Sort by: "
202
+ msgstr "Urut berdasarkan: "
203
+
204
+ #: quotes-collection-admin.php:366
205
+ #: quotes-collection-admin.php:367
206
+ msgid "Quote"
207
+ msgstr "Kutipan"
208
+
209
+ #: quotes-collection-admin.php:370
210
+ msgid "Date added"
211
+ msgstr "Tanggal ditambahkan"
212
+
213
+ #: quotes-collection-admin.php:371
214
+ msgid "Date updated"
215
+ msgstr "Tanggal diperbarui"
216
+
217
+ #: quotes-collection-admin.php:372
218
+ msgid "Visibility"
219
+ msgstr "Penglihatan"
220
+
221
+ #: quotes-collection-admin.php:375
222
+ msgid "Go"
223
+ msgstr "Ayo"
224
+
225
+ #: quotes-collection-admin.php:377
226
+ #: quotes-collection-admin.php:397
227
+ #, php-format
228
+ msgid "%d quote"
229
+ msgid_plural "%d quotes"
230
+ msgstr[0] "%d kutipan"
231
+ msgstr[1] "%d kutipan"
232
+
233
+ #: quotes-collection-widget.php:13
234
+ #: quotes-collection-widget.php:38
235
+ msgid "Random Quote"
236
+ msgstr "Kutipan Acak"
237
+
238
+ #: quotes-collection-widget.php:65
239
+ msgid "none"
240
+ msgstr "tidak ada"
241
+
242
+ #: quotes-collection-widget.php:84
243
+ msgid "Title"
244
+ msgstr "Judul"
245
+
246
+ #: quotes-collection-widget.php:85
247
+ msgid "Show author?"
248
+ msgstr "Tampilkan penulis?"
249
+
250
+ #: quotes-collection-widget.php:86
251
+ msgid "Show source?"
252
+ msgstr "Tampilkan sumber?"
253
+
254
+ #: quotes-collection-widget.php:87
255
+ msgid "Ajax refresh feature"
256
+ msgstr "Fitur pemuatan kembali Ajax"
257
+
258
+ #: quotes-collection-widget.php:88
259
+ msgid "Advanced options"
260
+ msgstr "Opsi-Opsi Lanjutan"
261
+
262
+ #: quotes-collection-widget.php:90
263
+ msgid "Random refresh"
264
+ msgstr "Pemuatan kembali secara acak"
265
+
266
+ #: quotes-collection-widget.php:90
267
+ msgid "Unchecking this will rotate quotes in the order added, latest first."
268
+ msgstr "Menghilangkan centang di sini akan merotasi kutipan sesuai urutan penambahan, yang terakhir terlebih dahulu."
269
+
270
+ #: quotes-collection-widget.php:91
271
+ msgid "Auto refresh"
272
+ msgstr "Pemuatan kembali otomatis"
273
+
274
+ #: quotes-collection-widget.php:91
275
+ msgid "every"
276
+ msgstr "setiap"
277
+
278
+ #: quotes-collection-widget.php:91
279
+ msgid "sec"
280
+ msgstr "det"
281
+
282
+ #: quotes-collection-widget.php:92
283
+ msgid "Tags filter"
284
+ msgstr "Saringan tag"
285
+
286
+ #: quotes-collection-widget.php:92
287
+ msgid "Comma separated"
288
+ msgstr "Terpisahkan koma"
289
+
290
+ #: quotes-collection-widget.php:93
291
+ msgid "Character limit"
292
+ msgstr "Batas karakter"
293
+
294
+ #~ msgid "Currently, you have %d quote."
295
+
296
+ #~ msgid_plural "Currently, you have %d quotes."
297
+ #~ msgstr[0] "Saat ini, Anda punya %d kutipan."
298
+ #~ msgstr[1] "Saat ini, Anda punya %d kutipan."
languages/quotes-collection-it_IT.mo CHANGED
Binary file
languages/quotes-collection-it_IT.po CHANGED
@@ -2,10 +2,10 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Quotes Collection in Italiano\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
5
- "POT-Creation-Date: 2010-06-15 12:26+0530\n"
6
- "PO-Revision-Date: 2010-06-17 13:58+0100\n"
7
  "Last-Translator: Gianni Diurno (aka gidibao) <gidibao[at]gmail[dot]com>\n"
8
- "Language-Team: Gianni Diurno | gidibao.net <gidibao[at]gmail[dot]com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -14,256 +14,294 @@ msgstr ""
14
  "X-Poedit-Country: ITALY\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n"
 
 
17
 
18
- #: quotes-collection.php:16
 
19
  msgid "Next quote"
20
  msgstr "Vai alla prossima citazione"
21
 
22
- #: quotes-collection.php:88
23
  msgid "Loading..."
24
  msgstr "Un attimo..."
25
 
26
- #: quotes-collection.php:89
27
  msgid "Error getting quote"
28
  msgstr "Si é verificato un errore"
29
 
30
- #: quotes-collection.php:239
31
- #: quotes-collection.php:264
32
- msgid "Random Quote"
33
- msgstr "Citazioni a caso"
34
 
35
- #: quotes-collection.php:291
36
- msgid "none"
37
- msgstr "nessuna"
38
 
39
- #: quotes-collection.php:307
40
- msgid "Title"
41
- msgstr "Titolo"
42
 
43
- #: quotes-collection.php:308
44
- msgid "Show author?"
45
- msgstr "Desideri mostrare l'autore?"
46
 
47
- #: quotes-collection.php:309
48
- msgid "Show source?"
49
- msgstr "Desideri mostrare la fonte?"
50
 
51
- #: quotes-collection.php:310
52
- msgid "Ajax refresh feature"
53
- msgstr "Funzione di ricarica Ajax"
54
-
55
- #: quotes-collection.php:311
56
- msgid "Advanced options"
57
- msgstr "Opzioni avanzate"
58
-
59
- #: quotes-collection.php:313
60
- msgid "Random refresh"
61
- msgstr "Ricarica casuale"
62
-
63
- #: quotes-collection.php:313
64
- msgid "Unchecking this will rotate quotes in the order added, latest first."
65
- msgstr "Deselezionando questa opzione le citazioni ruoteranno secondo l'ordine di aggiunta (le ultime per prime)."
66
-
67
- #: quotes-collection.php:314
68
- msgid "Auto refresh"
69
- msgstr "ricarica automatica"
70
-
71
- #: quotes-collection.php:314
72
- msgid "every"
73
- msgstr "ogni"
74
-
75
- #: quotes-collection.php:314
76
- msgid "sec"
77
- msgstr "sec"
78
-
79
- #: quotes-collection.php:315
80
- msgid "Tags filter"
81
- msgstr "Filtro tag"
82
-
83
- #: quotes-collection.php:315
84
- msgid "Comma separated"
85
- msgstr "separa con una virgola"
86
-
87
- #: quotes-collection.php:316
88
- msgid "Character limit"
89
- msgstr "Limite caratteri:"
90
-
91
- #: quotes-collection.php:335
92
  msgid "Nothing added to the database."
93
  msgstr "Non é stato aggiunto nulla al database."
94
 
95
- #: quotes-collection.php:339
96
- #: quotes-collection.php:376
97
  msgid "Database table not found"
98
  msgstr "Non é stata trovata la tabella del database"
99
 
100
- #: quotes-collection.php:363
101
- #: quotes-collection.php:405
102
- #: quotes-collection.php:419
103
  msgid "There was an error in the MySQL query"
104
  msgstr "Si é verificato un errore nella richiesta MySQL"
105
 
106
- #: quotes-collection.php:365
107
  msgid "Quote added"
108
  msgstr "La citazione é stata aggiunta"
109
 
110
- #: quotes-collection.php:371
111
  msgid "Quote not updated."
112
  msgstr "La citazione non é stata aggiornata."
113
 
114
- #: quotes-collection.php:407
115
  msgid "Changes saved"
116
  msgstr "Le modifiche sono state salvate"
117
 
118
- #: quotes-collection.php:421
119
  msgid "Quote deleted"
120
  msgstr "La citazione é stata cancellata"
121
 
122
- #: quotes-collection.php:423
123
  msgid "The quote cannot be deleted"
124
  msgstr "La citazione non può essere cancellata"
125
 
126
- #: quotes-collection.php:439
127
- #: quotes-collection.php:536
128
  msgid "Add Quote"
129
  msgstr "Aggiungi la citazione"
130
 
131
- #: quotes-collection.php:455
132
- #: quotes-collection.php:540
133
  msgid "Save changes"
134
  msgstr "Salva le modifiche"
135
 
136
- #: quotes-collection.php:456
137
  msgid "Back"
138
  msgstr "Ritorna indietro"
139
 
140
- #: quotes-collection.php:460
141
- #: quotes-collection.php:646
142
  msgid "The quote"
143
  msgstr "Citazione"
144
 
145
- #: quotes-collection.php:461
146
- #: quotes-collection.php:629
147
- #: quotes-collection.php:648
148
  msgid "Author"
149
  msgstr "Autore"
150
 
151
- #: quotes-collection.php:462
152
- #: quotes-collection.php:630
153
- #: quotes-collection.php:648
154
  msgid "Source"
155
  msgstr "Fonte"
156
 
157
- #: quotes-collection.php:463
158
- #: quotes-collection.php:650
159
  msgid "Tags"
160
  msgstr "Tags"
161
 
162
- #: quotes-collection.php:464
163
- #: quotes-collection.php:651
164
  msgid "Public?"
165
  msgstr "Pubblico?"
166
 
167
- #: quotes-collection.php:465
168
  msgid "optional"
169
  msgstr "facoltativo"
170
 
171
- #: quotes-collection.php:466
172
  msgid "comma separated"
173
  msgstr "separa con una virgola"
174
 
175
- #: quotes-collection.php:503
176
- #: quotes-collection.php:519
177
  msgid "Nothing done!"
178
  msgstr "Non ho fatto nulla!"
179
 
180
- #: quotes-collection.php:511
181
  msgid "Selected quotes made public"
182
  msgstr "Le citazioni selezionate saranno rese pubbliche"
183
 
184
- #: quotes-collection.php:513
185
  msgid "Selected quotes made private"
186
  msgstr "Le citazioni selezionate saranno rese private"
187
 
188
- #: quotes-collection.php:524
189
  msgid "Quote(s) deleted"
190
  msgstr "Citazione(i) cancellata(e)"
191
 
192
- #: quotes-collection.php:545
193
  msgid "Edit quote"
194
  msgstr "Modifica la citazione"
195
 
196
- #: quotes-collection.php:555
197
- #: quotes-collection.php:606
198
- #: quotes-collection.php:621
199
- #: quotes-collection.php:660
200
- msgid "Delete"
201
- msgstr "Cancella"
202
-
203
- #: quotes-collection.php:557
204
- #: quotes-collection.php:622
205
- #: quotes-collection.php:661
206
- msgid "Make public"
207
- msgstr "Rendi pubblico"
208
 
209
- #: quotes-collection.php:560
210
- #: quotes-collection.php:623
211
- #: quotes-collection.php:662
212
- msgid "Keep private"
213
- msgstr "Mantieni privato"
214
 
215
- #: quotes-collection.php:605
216
  msgid "Edit"
217
  msgstr "Modifica"
218
 
219
- #: quotes-collection.php:606
220
  msgid "Are you sure you want to delete this quote?"
221
  msgstr "Sei certo di volere cancellare questa citazione?"
222
 
223
- #: quotes-collection.php:613
224
- #, php-format
225
- msgid "Currently, you have %d quote."
226
- msgid_plural "Currently, you have %d quotes."
227
- msgstr[0] "Al momento, hai %d citazione disponibile."
228
- msgstr[1] "Al momento, hai %d citazioni disponibili."
229
 
230
- #: quotes-collection.php:615
231
- #: quotes-collection.php:677
232
- msgid "Add new quote"
233
- msgstr "Aggiungi una nuova citazione"
 
 
 
234
 
235
- #: quotes-collection.php:625
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  msgid "Sort by: "
237
  msgstr "Disponi per: "
238
 
239
- #: quotes-collection.php:627
240
- #: quotes-collection.php:628
241
  msgid "Quote"
242
  msgstr "Citazione"
243
 
244
- #: quotes-collection.php:631
245
  msgid "Date added"
246
  msgstr "Data di inserimento"
247
 
248
- #: quotes-collection.php:632
249
  msgid "Date updated"
250
  msgstr "Data di aggiornamento"
251
 
252
- #: quotes-collection.php:633
253
  msgid "Visibility"
254
  msgstr "Visibilità"
255
 
256
- #: quotes-collection.php:636
257
  msgid "Go"
258
  msgstr "Vai"
259
 
260
- #: quotes-collection.php:652
261
- msgid "Action"
262
- msgstr "Azione"
 
 
 
 
263
 
264
- #: quotes-collection.php:671
265
- msgid "No quotes in the database"
266
- msgstr "Non é presente alcuna citazione nel database"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
267
 
268
  #~ msgid "Click here"
269
  #~ msgstr "Clicca qui"
2
  msgstr ""
3
  "Project-Id-Version: Quotes Collection in Italiano\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
5
+ "POT-Creation-Date: 2011-06-30 13:32+0530\n"
6
+ "PO-Revision-Date: 2011-08-08 13:28+0100\n"
7
  "Last-Translator: Gianni Diurno (aka gidibao) <gidibao[at]gmail[dot]com>\n"
8
+ "Language-Team: Gianni Diurno | gidibao.net & charmingpress.com\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Poedit-Country: ITALY\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n"
17
+ "X-Poedit-Basepath: ../\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: quotes-collection-ajax.php:6
21
+ #: quotes-collection.php:215
22
  msgid "Next quote"
23
  msgstr "Vai alla prossima citazione"
24
 
25
+ #: quotes-collection-ajax.php:7
26
  msgid "Loading..."
27
  msgstr "Un attimo..."
28
 
29
+ #: quotes-collection-ajax.php:8
30
  msgid "Error getting quote"
31
  msgstr "Si é verificato un errore"
32
 
33
+ #: quotes-collection.php:163
34
+ msgid "Go to the first page"
35
+ msgstr "Vai alla prima pagina"
 
36
 
37
+ #: quotes-collection.php:165
38
+ msgid "Go to the previous page"
39
+ msgstr "Vai alla pagina precedente"
40
 
41
+ #: quotes-collection.php:169
42
+ msgid "Go to the next page"
43
+ msgstr "Vai alla pagina successiva"
44
 
45
+ #: quotes-collection.php:171
46
+ msgid "Go to the last page"
47
+ msgstr "Vai all'ultima pagina"
48
 
49
+ #: quotes-collection.php:175
50
+ msgid "Goto page:"
51
+ msgstr "Vai alla pagina:"
52
 
53
+ #: quotes-collection-admin.php:14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  msgid "Nothing added to the database."
55
  msgstr "Non é stato aggiunto nulla al database."
56
 
57
+ #: quotes-collection-admin.php:18
58
+ #: quotes-collection-admin.php:55
59
  msgid "Database table not found"
60
  msgstr "Non é stata trovata la tabella del database"
61
 
62
+ #: quotes-collection-admin.php:42
63
+ #: quotes-collection-admin.php:84
64
+ #: quotes-collection-admin.php:98
65
  msgid "There was an error in the MySQL query"
66
  msgstr "Si é verificato un errore nella richiesta MySQL"
67
 
68
+ #: quotes-collection-admin.php:44
69
  msgid "Quote added"
70
  msgstr "La citazione é stata aggiunta"
71
 
72
+ #: quotes-collection-admin.php:50
73
  msgid "Quote not updated."
74
  msgstr "La citazione non é stata aggiornata."
75
 
76
+ #: quotes-collection-admin.php:86
77
  msgid "Changes saved"
78
  msgstr "Le modifiche sono state salvate"
79
 
80
+ #: quotes-collection-admin.php:100
81
  msgid "Quote deleted"
82
  msgstr "La citazione é stata cancellata"
83
 
84
+ #: quotes-collection-admin.php:102
85
  msgid "The quote cannot be deleted"
86
  msgstr "La citazione non può essere cancellata"
87
 
88
+ #: quotes-collection-admin.php:118
89
+ #: quotes-collection-admin.php:220
90
  msgid "Add Quote"
91
  msgstr "Aggiungi la citazione"
92
 
93
+ #: quotes-collection-admin.php:135
94
+ #: quotes-collection-admin.php:224
95
  msgid "Save changes"
96
  msgstr "Salva le modifiche"
97
 
98
+ #: quotes-collection-admin.php:136
99
  msgid "Back"
100
  msgstr "Ritorna indietro"
101
 
102
+ #: quotes-collection-admin.php:140
103
+ #: quotes-collection-admin.php:386
104
  msgid "The quote"
105
  msgstr "Citazione"
106
 
107
+ #: quotes-collection-admin.php:141
108
+ #: quotes-collection-admin.php:368
109
+ #: quotes-collection-admin.php:388
110
  msgid "Author"
111
  msgstr "Autore"
112
 
113
+ #: quotes-collection-admin.php:142
114
+ #: quotes-collection-admin.php:369
115
+ #: quotes-collection-admin.php:388
116
  msgid "Source"
117
  msgstr "Fonte"
118
 
119
+ #: quotes-collection-admin.php:143
120
+ #: quotes-collection-admin.php:390
121
  msgid "Tags"
122
  msgstr "Tags"
123
 
124
+ #: quotes-collection-admin.php:144
125
+ #: quotes-collection-admin.php:391
126
  msgid "Public?"
127
  msgstr "Pubblico?"
128
 
129
+ #: quotes-collection-admin.php:145
130
  msgid "optional"
131
  msgstr "facoltativo"
132
 
133
+ #: quotes-collection-admin.php:146
134
  msgid "comma separated"
135
  msgstr "separa con una virgola"
136
 
137
+ #: quotes-collection-admin.php:183
138
+ #: quotes-collection-admin.php:199
139
  msgid "Nothing done!"
140
  msgstr "Non ho fatto nulla!"
141
 
142
+ #: quotes-collection-admin.php:191
143
  msgid "Selected quotes made public"
144
  msgstr "Le citazioni selezionate saranno rese pubbliche"
145
 
146
+ #: quotes-collection-admin.php:193
147
  msgid "Selected quotes made private"
148
  msgstr "Le citazioni selezionate saranno rese private"
149
 
150
+ #: quotes-collection-admin.php:204
151
  msgid "Quote(s) deleted"
152
  msgstr "Citazione(i) cancellata(e)"
153
 
154
+ #: quotes-collection-admin.php:231
155
  msgid "Edit quote"
156
  msgstr "Modifica la citazione"
157
 
158
+ #: quotes-collection-admin.php:258
159
+ #: quotes-collection-admin.php:267
160
+ #: quotes-collection-admin.php:412
161
+ msgid "Add new quote"
162
+ msgstr "Aggiungi una nuova citazione"
 
 
 
 
 
 
 
163
 
164
+ #: quotes-collection-admin.php:263
165
+ #: quotes-collection-admin.php:406
166
+ msgid "No quotes in the database"
167
+ msgstr "Non é presente alcuna citazione nel database"
 
168
 
169
+ #: quotes-collection-admin.php:337
170
  msgid "Edit"
171
  msgstr "Modifica"
172
 
173
+ #: quotes-collection-admin.php:337
174
  msgid "Are you sure you want to delete this quote?"
175
  msgstr "Sei certo di volere cancellare questa citazione?"
176
 
177
+ #: quotes-collection-admin.php:337
178
+ #: quotes-collection-admin.php:358
179
+ msgid "Delete"
180
+ msgstr "Cancella"
 
 
181
 
182
+ #: quotes-collection-admin.php:344
183
+ msgid "No"
184
+ msgstr "No"
185
+
186
+ #: quotes-collection-admin.php:345
187
+ msgid "Yes"
188
+ msgstr "Sì"
189
 
190
+ #: quotes-collection-admin.php:357
191
+ msgid "Bulk Actions"
192
+ msgstr "Azione di massa"
193
+
194
+ #: quotes-collection-admin.php:359
195
+ msgid "Make public"
196
+ msgstr "Rendi pubblico"
197
+
198
+ #: quotes-collection-admin.php:360
199
+ msgid "Keep private"
200
+ msgstr "Mantieni privato"
201
+
202
+ #: quotes-collection-admin.php:362
203
+ msgid "Apply"
204
+ msgstr "Applica"
205
+
206
+ #: quotes-collection-admin.php:364
207
  msgid "Sort by: "
208
  msgstr "Disponi per: "
209
 
210
+ #: quotes-collection-admin.php:366
211
+ #: quotes-collection-admin.php:367
212
  msgid "Quote"
213
  msgstr "Citazione"
214
 
215
+ #: quotes-collection-admin.php:370
216
  msgid "Date added"
217
  msgstr "Data di inserimento"
218
 
219
+ #: quotes-collection-admin.php:371
220
  msgid "Date updated"
221
  msgstr "Data di aggiornamento"
222
 
223
+ #: quotes-collection-admin.php:372
224
  msgid "Visibility"
225
  msgstr "Visibilità"
226
 
227
+ #: quotes-collection-admin.php:375
228
  msgid "Go"
229
  msgstr "Vai"
230
 
231
+ #: quotes-collection-admin.php:377
232
+ #: quotes-collection-admin.php:397
233
+ #, php-format
234
+ msgid "%d quote"
235
+ msgid_plural "%d quotes"
236
+ msgstr[0] "citazione"
237
+ msgstr[1] "citazioni"
238
 
239
+ #: quotes-collection-widget.php:13
240
+ #: quotes-collection-widget.php:38
241
+ msgid "Random Quote"
242
+ msgstr "Citazioni a caso"
243
+
244
+ #: quotes-collection-widget.php:65
245
+ msgid "none"
246
+ msgstr "nessuna"
247
+
248
+ #: quotes-collection-widget.php:84
249
+ msgid "Title"
250
+ msgstr "Titolo"
251
+
252
+ #: quotes-collection-widget.php:85
253
+ msgid "Show author?"
254
+ msgstr "Desideri mostrare l'autore?"
255
+
256
+ #: quotes-collection-widget.php:86
257
+ msgid "Show source?"
258
+ msgstr "Desideri mostrare la fonte?"
259
+
260
+ #: quotes-collection-widget.php:87
261
+ msgid "Ajax refresh feature"
262
+ msgstr "Funzione di ricarica Ajax"
263
+
264
+ #: quotes-collection-widget.php:88
265
+ msgid "Advanced options"
266
+ msgstr "Opzioni avanzate"
267
+
268
+ #: quotes-collection-widget.php:90
269
+ msgid "Random refresh"
270
+ msgstr "Ricarica casuale"
271
+
272
+ #: quotes-collection-widget.php:90
273
+ msgid "Unchecking this will rotate quotes in the order added, latest first."
274
+ msgstr "Deselezionando questa opzione le citazioni ruoteranno secondo l'ordine di aggiunta (le ultime per prime)."
275
+
276
+ #: quotes-collection-widget.php:91
277
+ msgid "Auto refresh"
278
+ msgstr "ricarica automatica"
279
+
280
+ #: quotes-collection-widget.php:91
281
+ msgid "every"
282
+ msgstr "ogni"
283
+
284
+ #: quotes-collection-widget.php:91
285
+ msgid "sec"
286
+ msgstr "sec"
287
+
288
+ #: quotes-collection-widget.php:92
289
+ msgid "Tags filter"
290
+ msgstr "Filtro tag"
291
+
292
+ #: quotes-collection-widget.php:92
293
+ msgid "Comma separated"
294
+ msgstr "separa con una virgola"
295
+
296
+ #: quotes-collection-widget.php:93
297
+ msgid "Character limit"
298
+ msgstr "Limite caratteri:"
299
+
300
+ #~ msgid "Currently, you have %d quote."
301
+
302
+ #~ msgid_plural "Currently, you have %d quotes."
303
+ #~ msgstr[0] "Al momento, hai %d citazione disponibile."
304
+ #~ msgstr[1] "Al momento, hai %d citazioni disponibili."
305
 
306
  #~ msgid "Click here"
307
  #~ msgstr "Clicca qui"
languages/quotes-collection-ja.mo CHANGED
Binary file
languages/quotes-collection-ja.po CHANGED
@@ -1,266 +1,305 @@
1
  # Quotes Collection plugin for WordPress: Localization template.
2
- # Copyright (C) 2008 Srini G
3
  # This file is distributed under the same license as the Quotes Collection package.
4
- # Srini G <srinig.com@gmail.com>, 2008.
5
  #
6
  msgid ""
7
  msgstr ""
8
- "Project-Id-Version: Quotes Collection 1.1\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
10
- "POT-Creation-Date: 2008-05-24 14:49+0530\n"
11
- "PO-Revision-Date: 2009-05-26 00:30+0900\n"
12
  "Last-Translator: urepko <urepko@gmail.com>\n"
13
- "Language-Team: JAPANESE <http ://wppluginsj.sourceforge.jp/i18n-ja_jp/>\\n <urepko@gmail.com> <urepko@gmail.com> <urepko@users.sourceforge.jp> <urepko@gmail.com>\n"
14
  "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=utf-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "X-Poedit-Language: Japanese\n"
18
  "X-Poedit-Country: JAPAN\n"
19
  "X-Poedit-SourceCharset: utf-8\n"
20
- "X-Poedit-KeywordsList: _e;__\n"
21
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
22
 
23
- #: quotes-collection.php:60
24
- #: quotes-collection.php:96
25
- #: quotes-collection.php:100
26
  msgid "Next quote"
27
  msgstr "次の引用文"
28
 
29
- #: quotes-collection.php:61
30
  msgid "Loading..."
31
  msgstr "ローディング中・・・"
32
 
33
- #: quotes-collection.php:62
34
  msgid "Error getting quote"
35
  msgstr "引用に失敗しました"
36
 
37
- #: quotes-collection.php:120
38
- #: quotes-collection.php:137
39
- msgid "Random Quote"
40
- msgstr "Random Quote"
41
-
42
- #: quotes-collection.php:164
43
- msgid "Title"
44
- msgstr "タイトル"
45
 
46
  #: quotes-collection.php:165
47
- msgid "Show author?"
48
- msgstr "作者を見る?"
49
-
50
- #: quotes-collection.php:166
51
- msgid "Show source?"
52
- msgstr "ソースを見る?"
53
-
54
- #: quotes-collection.php:167
55
- msgid "Ajax refresh feature"
56
- msgstr "Ajaxで更新する"
57
 
58
  #: quotes-collection.php:169
59
- msgid "Manage your collection of quotes at"
60
- msgstr "あなたの引用文を管理します。"
61
 
62
- #: quotes-collection.php:169
63
- msgid "Manage"
64
- msgstr "管理"
 
 
 
 
65
 
66
- #: quotes-collection.php:186
67
  msgid "Nothing added to the database."
68
  msgstr "データベースに追加する物はありません。"
69
 
70
- #: quotes-collection.php:190
71
- #: quotes-collection.php:228
72
  msgid "Database table not found"
73
  msgstr "データベースのテーブルがありません。"
74
 
75
- #: quotes-collection.php:215
76
- #: quotes-collection.php:258
77
- #: quotes-collection.php:272
78
  msgid "There was an error in the MySQL query"
79
  msgstr "MySQLのクエリに間違いが有りました。"
80
 
81
- #: quotes-collection.php:217
82
  msgid "Quote added"
83
  msgstr "引用文の追加"
84
 
85
- #: quotes-collection.php:223
86
  msgid "Quote not updated."
87
  msgstr "引用文を更新しない"
88
 
89
- #: quotes-collection.php:260
90
  msgid "Changes saved"
91
- msgstr "変更し保存"
92
 
93
- #: quotes-collection.php:274
94
  msgid "Quote deleted"
95
  msgstr "引用文を削除"
96
 
97
- #: quotes-collection.php:276
98
  msgid "The quote cannot be deleted"
99
  msgstr "引用文を削除できません。"
100
 
101
- #: quotes-collection.php:292
102
- #: quotes-collection.php:385
103
  msgid "Add Quote"
104
  msgstr "引用文を追加"
105
 
106
- #: quotes-collection.php:308
107
- #: quotes-collection.php:389
108
  msgid "Save changes"
109
  msgstr "保存して変更"
110
 
111
- #: quotes-collection.php:309
112
  msgid "Back"
113
  msgstr "戻る"
114
 
115
- #: quotes-collection.php:313
116
- #: quotes-collection.php:491
117
  msgid "The quote"
118
  msgstr "引用文"
119
 
120
- #: quotes-collection.php:314
121
- #: quotes-collection.php:477
122
- #: quotes-collection.php:493
123
  msgid "Author"
124
  msgstr "作者"
125
 
126
- #: quotes-collection.php:315
127
- #: quotes-collection.php:478
128
- #: quotes-collection.php:493
129
  msgid "Source"
130
  msgstr "引用元(ソース)"
131
 
132
- #: quotes-collection.php:316
133
- #: quotes-collection.php:495
134
  msgid "Tags"
135
  msgstr "タグ"
136
 
137
- #: quotes-collection.php:317
138
- #: quotes-collection.php:496
139
- msgid "Visible?"
140
- msgstr "表示する?"
141
 
142
- #: quotes-collection.php:318
143
  msgid "optional"
144
  msgstr "オプション"
145
 
146
- #: quotes-collection.php:319
147
  msgid "comma separated"
148
  msgstr "カンマで区切る"
149
 
150
- #: quotes-collection.php:355
151
- #: quotes-collection.php:368
152
  msgid "Nothing done!"
153
  msgstr "何もしませんでした。"
154
 
155
- #: quotes-collection.php:362
156
- #, php-format
157
- msgid "Visibility status of selected quotes set to '%s'"
158
- msgstr "選択した引用文 '%s' を表示するようにしました。"
159
 
160
- #: quotes-collection.php:373
 
 
 
 
161
  msgid "Quote(s) deleted"
162
  msgstr "引用文の削除"
163
 
164
- #: quotes-collection.php:394
165
  msgid "Edit quote"
166
  msgstr "引用文の編集"
167
 
168
- #: quotes-collection.php:404
169
- #: quotes-collection.php:455
170
- #: quotes-collection.php:469
171
- #: quotes-collection.php:505
172
- msgid "Delete"
173
- msgstr "削除"
174
-
175
- #: quotes-collection.php:406
176
- #: quotes-collection.php:470
177
- #: quotes-collection.php:506
178
- msgid "Make visible"
179
- msgstr "表示する"
180
 
181
- #: quotes-collection.php:409
182
- #: quotes-collection.php:471
183
- #: quotes-collection.php:507
184
- msgid "Make invisible"
185
- msgstr "表示しない"
186
 
187
- #: quotes-collection.php:454
188
  msgid "Edit"
189
  msgstr "編集"
190
 
191
- #: quotes-collection.php:455
192
  msgid "Are you sure you want to delete this quote?"
193
  msgstr "本当にこの引用文を削除しますか?"
194
 
195
- #: quotes-collection.php:462
196
- #, php-format
197
- msgid "Currently, you have %d quote."
198
- msgid_plural "Currently, you have %d quotes."
199
- msgstr[0] "現在、 %d 個の引用文があります。"
200
- msgstr[1] "現在、 %d 個の引用文があります。"
201
-
202
- #msgid "Currently, you have %d quotes."
203
- #msgstr "現在、 %d 個の引用文があります。"
204
- #msgid "Currently, you have %d quote."
205
- #msgstr "現在、 %d 個の引用文があります。"
206
- #: quotes-collection.php:462
207
- #: quotes-collection.php:464
208
- #: quotes-collection.php:521
209
- #, php-format
210
- msgid "Add new quote"
211
- msgstr "引用文の追加"
212
 
213
- #: quotes-collection.php:473
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
214
  msgid "Sort by: "
215
  msgstr "並べ替え: "
216
 
217
- #: quotes-collection.php:475
218
- #: quotes-collection.php:476
219
  msgid "Quote"
220
  msgstr "引用文"
221
 
222
- #: quotes-collection.php:479
223
  msgid "Date added"
224
  msgstr "追加日"
225
 
226
- #: quotes-collection.php:480
227
  msgid "Date updated"
228
  msgstr "更新日"
229
 
230
- #: quotes-collection.php:481
231
  msgid "Visibility"
232
  msgstr "可視化"
233
 
234
- #: quotes-collection.php:484
235
  msgid "Go"
236
  msgstr "実行"
237
 
238
- #: quotes-collection.php:497
239
- msgid "Action"
240
- msgstr "アクション"
 
 
241
 
242
- #: quotes-collection.php:515
243
- msgid "No quotes in the database"
244
- msgstr "データベースに引用文はありません。"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
 
246
- #add ver 1.3
247
- #: quotes-collection.php:257
248
  msgid "Tags filter"
249
  msgstr "タグフィルター"
250
 
251
- #: quotes-collection.php:257
252
  msgid "Comma separated"
253
  msgstr "カンマで区切る"
254
 
255
- #: quotes-collection.php:258
256
  msgid "Character limit"
257
  msgstr "文字数制限"
258
 
259
- #: quotes-collection.php:260
260
- msgid "Click here"
261
- msgstr "ここをクリック"
262
 
263
- #: quotes-collection.php:260
264
- msgid "to manage your collection of quotes"
265
- msgstr "すれば、引用文 の管理画面へ"
266
 
1
  # Quotes Collection plugin for WordPress: Localization template.
2
+ # Copyright (C) 2011 Srini G
3
  # This file is distributed under the same license as the Quotes Collection package.
4
+ # Srini G <srinig.com@gmail.com>, 2011.
5
  #
6
  msgid ""
7
  msgstr ""
8
+ "Project-Id-Version: Quotes Collection 1.5\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
10
+ "POT-Creation-Date: 2011-06-30 13:32+0530\n"
11
+ "PO-Revision-Date: 2011-08-10 17:59+0900\n"
12
  "Last-Translator: urepko <urepko@gmail.com>\n"
13
+ "Language-Team: JAPANESE <http ://wppluginsj.sourceforge.jp/i18n-ja_jp/> <urepko@gmail.com>\n"
14
  "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "X-Poedit-Language: Japanese\n"
18
  "X-Poedit-Country: JAPAN\n"
19
  "X-Poedit-SourceCharset: utf-8\n"
20
+ "X-Poedit-Bookmarks: 17,-1,-1,-1,-1,-1,-1,-1,-1,-1\n"
 
21
 
22
+ #: quotes-collection-ajax.php:6
23
+ #: quotes-collection.php:215
 
24
  msgid "Next quote"
25
  msgstr "次の引用文"
26
 
27
+ #: quotes-collection-ajax.php:7
28
  msgid "Loading..."
29
  msgstr "ローディング中・・・"
30
 
31
+ #: quotes-collection-ajax.php:8
32
  msgid "Error getting quote"
33
  msgstr "引用に失敗しました"
34
 
35
+ #: quotes-collection.php:163
36
+ msgid "Go to the first page"
37
+ msgstr "最初のページへ"
 
 
 
 
 
38
 
39
  #: quotes-collection.php:165
40
+ msgid "Go to the previous page"
41
+ msgstr "前のページへ"
 
 
 
 
 
 
 
 
42
 
43
  #: quotes-collection.php:169
44
+ msgid "Go to the next page"
45
+ msgstr "次のページへ"
46
 
47
+ #: quotes-collection.php:171
48
+ msgid "Go to the last page"
49
+ msgstr "最後のページへ"
50
+
51
+ #: quotes-collection.php:175
52
+ msgid "Goto page:"
53
+ msgstr "指定ページへ"
54
 
55
+ #: quotes-collection-admin.php:14
56
  msgid "Nothing added to the database."
57
  msgstr "データベースに追加する物はありません。"
58
 
59
+ #: quotes-collection-admin.php:18
60
+ #: quotes-collection-admin.php:55
61
  msgid "Database table not found"
62
  msgstr "データベースのテーブルがありません。"
63
 
64
+ #: quotes-collection-admin.php:42
65
+ #: quotes-collection-admin.php:84
66
+ #: quotes-collection-admin.php:98
67
  msgid "There was an error in the MySQL query"
68
  msgstr "MySQLのクエリに間違いが有りました。"
69
 
70
+ #: quotes-collection-admin.php:44
71
  msgid "Quote added"
72
  msgstr "引用文の追加"
73
 
74
+ #: quotes-collection-admin.php:50
75
  msgid "Quote not updated."
76
  msgstr "引用文を更新しない"
77
 
78
+ #: quotes-collection-admin.php:86
79
  msgid "Changes saved"
80
+ msgstr "変更し保存しました"
81
 
82
+ #: quotes-collection-admin.php:100
83
  msgid "Quote deleted"
84
  msgstr "引用文を削除"
85
 
86
+ #: quotes-collection-admin.php:102
87
  msgid "The quote cannot be deleted"
88
  msgstr "引用文を削除できません。"
89
 
90
+ #: quotes-collection-admin.php:118
91
+ #: quotes-collection-admin.php:220
92
  msgid "Add Quote"
93
  msgstr "引用文を追加"
94
 
95
+ #: quotes-collection-admin.php:135
96
+ #: quotes-collection-admin.php:224
97
  msgid "Save changes"
98
  msgstr "保存して変更"
99
 
100
+ #: quotes-collection-admin.php:136
101
  msgid "Back"
102
  msgstr "戻る"
103
 
104
+ #: quotes-collection-admin.php:140
105
+ #: quotes-collection-admin.php:386
106
  msgid "The quote"
107
  msgstr "引用文"
108
 
109
+ #: quotes-collection-admin.php:141
110
+ #: quotes-collection-admin.php:368
111
+ #: quotes-collection-admin.php:388
112
  msgid "Author"
113
  msgstr "作者"
114
 
115
+ #: quotes-collection-admin.php:142
116
+ #: quotes-collection-admin.php:369
117
+ #: quotes-collection-admin.php:388
118
  msgid "Source"
119
  msgstr "引用元(ソース)"
120
 
121
+ #: quotes-collection-admin.php:143
122
+ #: quotes-collection-admin.php:390
123
  msgid "Tags"
124
  msgstr "タグ"
125
 
126
+ #: quotes-collection-admin.php:144
127
+ #: quotes-collection-admin.php:391
128
+ msgid "Public?"
129
+ msgstr "公開します?"
130
 
131
+ #: quotes-collection-admin.php:145
132
  msgid "optional"
133
  msgstr "オプション"
134
 
135
+ #: quotes-collection-admin.php:146
136
  msgid "comma separated"
137
  msgstr "カンマで区切る"
138
 
139
+ #: quotes-collection-admin.php:183
140
+ #: quotes-collection-admin.php:199
141
  msgid "Nothing done!"
142
  msgstr "何もしませんでした。"
143
 
144
+ #: quotes-collection-admin.php:191
145
+ msgid "Selected quotes made public"
146
+ msgstr "選択した引用文 '%s' を公開にしました。"
 
147
 
148
+ #: quotes-collection-admin.php:193
149
+ msgid "Selected quotes made private"
150
+ msgstr "選択した引用文 '%s' を非公開にしました。"
151
+
152
+ #: quotes-collection-admin.php:204
153
  msgid "Quote(s) deleted"
154
  msgstr "引用文の削除"
155
 
156
+ #: quotes-collection-admin.php:231
157
  msgid "Edit quote"
158
  msgstr "引用文の編集"
159
 
160
+ #: quotes-collection-admin.php:258
161
+ #: quotes-collection-admin.php:267
162
+ #: quotes-collection-admin.php:412
163
+ msgid "Add new quote"
164
+ msgstr "引用文の追加"
 
 
 
 
 
 
 
165
 
166
+ #: quotes-collection-admin.php:263
167
+ #: quotes-collection-admin.php:406
168
+ msgid "No quotes in the database"
169
+ msgstr "データベースに引用文はありません。"
 
170
 
171
+ #: quotes-collection-admin.php:337
172
  msgid "Edit"
173
  msgstr "編集"
174
 
175
+ #: quotes-collection-admin.php:337
176
  msgid "Are you sure you want to delete this quote?"
177
  msgstr "本当にこの引用文を削除しますか?"
178
 
179
+ #: quotes-collection-admin.php:337
180
+ #: quotes-collection-admin.php:358
181
+ msgid "Delete"
182
+ msgstr "削除"
 
 
 
 
 
 
 
 
 
 
 
 
 
183
 
184
+ #: quotes-collection-admin.php:344
185
+ msgid "No"
186
+ msgstr "いいえ"
187
+
188
+ #: quotes-collection-admin.php:345
189
+ msgid "Yes"
190
+ msgstr "はい"
191
+
192
+ #: quotes-collection-admin.php:357
193
+ msgid "Bulk Actions"
194
+ msgstr "一括操作"
195
+
196
+ #: quotes-collection-admin.php:359
197
+ msgid "Make public"
198
+ msgstr "公開"
199
+
200
+ #: quotes-collection-admin.php:360
201
+ msgid "Keep private"
202
+ msgstr "非公開"
203
+
204
+ #: quotes-collection-admin.php:362
205
+ msgid "Apply"
206
+ msgstr "適用する"
207
+
208
+ #: quotes-collection-admin.php:364
209
  msgid "Sort by: "
210
  msgstr "並べ替え: "
211
 
212
+ #: quotes-collection-admin.php:366
213
+ #: quotes-collection-admin.php:367
214
  msgid "Quote"
215
  msgstr "引用文"
216
 
217
+ #: quotes-collection-admin.php:370
218
  msgid "Date added"
219
  msgstr "追加日"
220
 
221
+ #: quotes-collection-admin.php:371
222
  msgid "Date updated"
223
  msgstr "更新日"
224
 
225
+ #: quotes-collection-admin.php:372
226
  msgid "Visibility"
227
  msgstr "可視化"
228
 
229
+ #: quotes-collection-admin.php:375
230
  msgid "Go"
231
  msgstr "実行"
232
 
233
+ #: quotes-collection-admin.php:377
234
+ #: quotes-collection-admin.php:397
235
+ #, php-format
236
+ msgid "%d quote"
237
+ msgstr "%d 個の引用文があります"
238
 
239
+ #: quotes-collection-widget.php:13
240
+ #: quotes-collection-widget.php:38
241
+ msgid "Random Quote"
242
+ msgstr "Random Quote"
243
+
244
+ #: quotes-collection-widget.php:65
245
+ msgid "none"
246
+ msgstr "なし"
247
+
248
+ #: quotes-collection-widget.php:84
249
+ msgid "Title"
250
+ msgstr "タイトル"
251
+
252
+ #: quotes-collection-widget.php:85
253
+ msgid "Show author?"
254
+ msgstr "作者を見る?"
255
+
256
+ #: quotes-collection-widget.php:86
257
+ msgid "Show source?"
258
+ msgstr "ソースを見る?"
259
+
260
+ #: quotes-collection-widget.php:87
261
+ msgid "Ajax refresh feature"
262
+ msgstr "Ajaxで更新する"
263
+
264
+ #: quotes-collection-widget.php:88
265
+ msgid "Advanced options"
266
+ msgstr "高度なオプション"
267
+
268
+ #: quotes-collection-widget.php:90
269
+ msgid "Random refresh"
270
+ msgstr "ランダムに表示"
271
+
272
+ #: quotes-collection-widget.php:90
273
+ msgid "Unchecking this will rotate quotes in the order added, latest first."
274
+ msgstr "このチェックをはずすと、新しいものから、追加した順番に引用分を順次表示します。"
275
+
276
+ #: quotes-collection-widget.php:91
277
+ msgid "Auto refresh"
278
+ msgstr "Ajaxで更新する"
279
+
280
+ #: quotes-collection-widget.php:91
281
+ msgid "every"
282
+ msgstr "毎"
283
+
284
+ #: quotes-collection-widget.php:91
285
+ msgid "sec"
286
+ msgstr "秒"
287
 
288
+ #: quotes-collection-widget.php:92
 
289
  msgid "Tags filter"
290
  msgstr "タグフィルター"
291
 
292
+ #: quotes-collection-widget.php:92
293
  msgid "Comma separated"
294
  msgstr "カンマで区切る"
295
 
296
+ #: quotes-collection-widget.php:93
297
  msgid "Character limit"
298
  msgstr "文字数制限"
299
 
300
+ msgid "ASC"
301
+ msgstr "昇順"
 
302
 
303
+ msgid "DESC"
304
+ msgstr "降順"
 
305
 
languages/quotes-collection-mk_MK.mo ADDED
Binary file
languages/quotes-collection-mk_MK.po ADDED
@@ -0,0 +1,285 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Quotes Collection plugin for WordPress: Localization template.
2
+ # Copyright (C) 2011 Srini G
3
+ # This file is distributed under the same license as the Quotes Collection package.
4
+ # Srini G <srinig.com@gmail.com>, 2011.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: Quotes Collection 1.5.6\n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
10
+ "POT-Creation-Date: 2011-06-30 13:32+0530\n"
11
+ "PO-Revision-Date: 2012-10-18 21:42+0100\n"
12
+ "Last-Translator: Diana <diana@wpcouponshop.com>\n"
13
+ "Language-Team: \n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=2; plural= n==1 || n%10==1 ? 0 : 1;\n"
18
+ "X-Generator: Poedit 1.5.4\n"
19
+ "X-Poedit-SourceCharset: UTF-8\n"
20
+ "Language: Macedonian\n"
21
+
22
+ #: quotes-collection-ajax.php:6 quotes-collection.php:215
23
+ msgid "Next quote"
24
+ msgstr "Sleden citat"
25
+
26
+ #: quotes-collection-ajax.php:7
27
+ msgid "Loading..."
28
+ msgstr "Ucitavanje"
29
+
30
+ #: quotes-collection-ajax.php:8
31
+ msgid "Error getting quote"
32
+ msgstr "Greska vo dobivanje na citatot"
33
+
34
+ #: quotes-collection.php:163
35
+ msgid "Go to the first page"
36
+ msgstr "Odi na prva stranica"
37
+
38
+ #: quotes-collection.php:165
39
+ msgid "Go to the previous page"
40
+ msgstr "Odi na prethodna stranica"
41
+
42
+ #: quotes-collection.php:169
43
+ msgid "Go to the next page"
44
+ msgstr "Odi na slednata stranica"
45
+
46
+ #: quotes-collection.php:171
47
+ msgid "Go to the last page"
48
+ msgstr "Odi na posledna stranica"
49
+
50
+ #: quotes-collection.php:175
51
+ msgid "Goto page:"
52
+ msgstr "Odi na stranica:"
53
+
54
+ #: quotes-collection-admin.php:14
55
+ msgid "Nothing added to the database."
56
+ msgstr "Nisto ne e dodadeno vo database"
57
+
58
+ #: quotes-collection-admin.php:18 quotes-collection-admin.php:55
59
+ msgid "Database table not found"
60
+ msgstr "Database tablata ne e najdena"
61
+
62
+ #: quotes-collection-admin.php:42 quotes-collection-admin.php:84
63
+ #: quotes-collection-admin.php:98
64
+ msgid "There was an error in the MySQL query"
65
+ msgstr "Greska vo MySQL query"
66
+
67
+ #: quotes-collection-admin.php:44
68
+ msgid "Quote added"
69
+ msgstr "Citat dodaden"
70
+
71
+ #: quotes-collection-admin.php:50
72
+ msgid "Quote not updated."
73
+ msgstr "Citatot ne e azuriran"
74
+
75
+ #: quotes-collection-admin.php:86
76
+ msgid "Changes saved"
77
+ msgstr "Izmenite se socuvani"
78
+
79
+ #: quotes-collection-admin.php:100
80
+ msgid "Quote deleted"
81
+ msgstr "Citatot e izbrisan"
82
+
83
+ #: quotes-collection-admin.php:102
84
+ msgid "The quote cannot be deleted"
85
+ msgstr "Citatot ne moze da se izbrise"
86
+
87
+ #: quotes-collection-admin.php:118 quotes-collection-admin.php:220
88
+ msgid "Add Quote"
89
+ msgstr "Dodavanje na citat"
90
+
91
+ #: quotes-collection-admin.php:135 quotes-collection-admin.php:224
92
+ msgid "Save changes"
93
+ msgstr "Socuvaj gi izmenite"
94
+
95
+ #: quotes-collection-admin.php:136
96
+ msgid "Back"
97
+ msgstr "Nazad"
98
+
99
+ #: quotes-collection-admin.php:140 quotes-collection-admin.php:386
100
+ msgid "The quote"
101
+ msgstr "Citatot"
102
+
103
+ #: quotes-collection-admin.php:141 quotes-collection-admin.php:368
104
+ #: quotes-collection-admin.php:388
105
+ msgid "Author"
106
+ msgstr "Avtorot"
107
+
108
+ #: quotes-collection-admin.php:142 quotes-collection-admin.php:369
109
+ #: quotes-collection-admin.php:388
110
+ msgid "Source"
111
+ msgstr "Izvor"
112
+
113
+ #: quotes-collection-admin.php:143 quotes-collection-admin.php:390
114
+ msgid "Tags"
115
+ msgstr "Tagovi"
116
+
117
+ #: quotes-collection-admin.php:144 quotes-collection-admin.php:391
118
+ msgid "Public?"
119
+ msgstr "Javno?"
120
+
121
+ #: quotes-collection-admin.php:145
122
+ msgid "optional"
123
+ msgstr "Opcionalno"
124
+
125
+ #: quotes-collection-admin.php:146
126
+ msgid "comma separated"
127
+ msgstr "razdvoeno so zapirka"
128
+
129
+ #: quotes-collection-admin.php:183 quotes-collection-admin.php:199
130
+ msgid "Nothing done!"
131
+ msgstr "Nisto ne e zavrseno!"
132
+
133
+ #: quotes-collection-admin.php:191
134
+ msgid "Selected quotes made public"
135
+ msgstr "Izbranite citati se javni"
136
+
137
+ #: quotes-collection-admin.php:193
138
+ msgid "Selected quotes made private"
139
+ msgstr "Izbranite citati se privatni "
140
+
141
+ #: quotes-collection-admin.php:204
142
+ msgid "Quote(s) deleted"
143
+ msgstr "Citat(i) izbrisani"
144
+
145
+ #: quotes-collection-admin.php:231
146
+ msgid "Edit quote"
147
+ msgstr "Izmeni go citatot"
148
+
149
+ #: quotes-collection-admin.php:258 quotes-collection-admin.php:267
150
+ #: quotes-collection-admin.php:412
151
+ msgid "Add new quote"
152
+ msgstr "Dodavanje na nov citat"
153
+
154
+ #: quotes-collection-admin.php:263 quotes-collection-admin.php:406
155
+ msgid "No quotes in the database"
156
+ msgstr "Nema citati vo database"
157
+
158
+ #: quotes-collection-admin.php:337
159
+ msgid "Edit"
160
+ msgstr "Izmeni"
161
+
162
+ #: quotes-collection-admin.php:337
163
+ msgid "Are you sure you want to delete this quote?"
164
+ msgstr "Da li ste sigurni deka sakate da go izbrisete ovoj citat?"
165
+
166
+ #: quotes-collection-admin.php:337 quotes-collection-admin.php:358
167
+ msgid "Delete"
168
+ msgstr "Izbrisi"
169
+
170
+ #: quotes-collection-admin.php:344
171
+ msgid "No"
172
+ msgstr "Ne"
173
+
174
+ #: quotes-collection-admin.php:345
175
+ msgid "Yes"
176
+ msgstr "Da"
177
+
178
+ #: quotes-collection-admin.php:357
179
+ msgid "Bulk Actions"
180
+ msgstr "Bulk akcii"
181
+
182
+ #: quotes-collection-admin.php:359
183
+ msgid "Make public"
184
+ msgstr "Napravi go javno"
185
+
186
+ #: quotes-collection-admin.php:360
187
+ msgid "Keep private"
188
+ msgstr "Zadrzi go privatno"
189
+
190
+ #: quotes-collection-admin.php:362
191
+ msgid "Apply"
192
+ msgstr "Primeni"
193
+
194
+ #: quotes-collection-admin.php:364
195
+ msgid "Sort by: "
196
+ msgstr "Sortiraj po:"
197
+
198
+ #: quotes-collection-admin.php:366 quotes-collection-admin.php:367
199
+ msgid "Quote"
200
+ msgstr "Citat"
201
+
202
+ #: quotes-collection-admin.php:370
203
+ msgid "Date added"
204
+ msgstr "Data na dodavanje"
205
+
206
+ #: quotes-collection-admin.php:371
207
+ msgid "Date updated"
208
+ msgstr "Data na apdejt"
209
+
210
+ #: quotes-collection-admin.php:372
211
+ msgid "Visibility"
212
+ msgstr "Vidlivost"
213
+
214
+ #: quotes-collection-admin.php:375
215
+ msgid "Go"
216
+ msgstr "Odi"
217
+
218
+ #: quotes-collection-admin.php:377 quotes-collection-admin.php:397
219
+ #, php-format
220
+ msgid "%d quote"
221
+ msgid_plural "%d quotes"
222
+ msgstr[0] "%d citat"
223
+ msgstr[1] "%d citati"
224
+
225
+ #: quotes-collection-widget.php:13 quotes-collection-widget.php:38
226
+ msgid "Random Quote"
227
+ msgstr "Slucaen citat"
228
+
229
+ #: quotes-collection-widget.php:65
230
+ msgid "none"
231
+ msgstr "Nieden"
232
+
233
+ #: quotes-collection-widget.php:84
234
+ msgid "Title"
235
+ msgstr "Naslov"
236
+
237
+ #: quotes-collection-widget.php:85
238
+ msgid "Show author?"
239
+ msgstr "Prikazi go autorot?"
240
+
241
+ #: quotes-collection-widget.php:86
242
+ msgid "Show source?"
243
+ msgstr "Prikazi go izvorot?"
244
+
245
+ #: quotes-collection-widget.php:87
246
+ msgid "Ajax refresh feature"
247
+ msgstr "Ajax refresh opcija"
248
+
249
+ #: quotes-collection-widget.php:88
250
+ msgid "Advanced options"
251
+ msgstr "Napredni opcii"
252
+
253
+ #: quotes-collection-widget.php:90
254
+ msgid "Random refresh"
255
+ msgstr "Slucaen refresh"
256
+
257
+ #: quotes-collection-widget.php:90
258
+ msgid "Unchecking this will rotate quotes in the order added, latest first."
259
+ msgstr ""
260
+ "Ako go odcekirate ova citatite kje se rotiraat po redosled po koj se "
261
+ "dodadeni, poslednata prva. "
262
+
263
+ #: quotes-collection-widget.php:91
264
+ msgid "Auto refresh"
265
+ msgstr "Auto refresh"
266
+
267
+ #: quotes-collection-widget.php:91
268
+ msgid "every"
269
+ msgstr "sekoj"
270
+
271
+ #: quotes-collection-widget.php:91
272
+ msgid "sec"
273
+ msgstr "sek"
274
+
275
+ #: quotes-collection-widget.php:92
276
+ msgid "Tags filter"
277
+ msgstr "Tag filter"
278
+
279
+ #: quotes-collection-widget.php:92
280
+ msgid "Comma separated"
281
+ msgstr "Razdvoeno so zapirka"
282
+
283
+ #: quotes-collection-widget.php:93
284
+ msgid "Character limit"
285
+ msgstr "Limit na karakteri"
languages/quotes-collection-ro_RO.mo ADDED
Binary file
languages/quotes-collection-ro_RO.po ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: \n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: Web Geeks\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+
12
+ #: quotes-collection-ajax.php:6
13
+ #: quotes-collection.php:215
14
+ msgid "Next quote"
15
+ msgstr "Următorul citat"
16
+
17
+ #: quotes-collection-ajax.php:7
18
+ msgid "Loading..."
19
+ msgstr "Încărcare..."
20
+
21
+ #: quotes-collection-ajax.php:8
22
+ msgid "Error getting quote"
23
+ msgstr "Eroare citat Noţiuni de bază"
24
+
25
+ #: quotes-collection.php:163
26
+ msgid "Go to the first page"
27
+ msgstr "Du-te la prima pagină"
28
+
29
+ #: quotes-collection.php:165
30
+ msgid "Go to the previous page"
31
+ msgstr "Du-te la pagina anterioară"
32
+
33
+ #: quotes-collection.php:169
34
+ msgid "Go to the next page"
35
+ msgstr "Du-te la pagina următoare"
36
+
37
+ #: quotes-collection.php:171
38
+ msgid "Go to the last page"
39
+ msgstr "Du-te la ultima pagină"
40
+
41
+ #: quotes-collection.php:175
42
+ msgid "Goto page:"
43
+ msgstr "Du-te la pagina:"
44
+
45
+ #: quotes-collection-admin.php:14
46
+ msgid "Nothing added to the database."
47
+ msgstr "Adăugat nimic de la baza de date."
48
+
49
+ #: quotes-collection-admin.php:18
50
+ #: quotes-collection-admin.php:55
51
+ msgid "Database table not found"
52
+ msgstr "Tabelul bazei de date nu a fost găsit"
53
+
54
+ #: quotes-collection-admin.php:42
55
+ #: quotes-collection-admin.php:84
56
+ #: quotes-collection-admin.php:98
57
+ msgid "There was an error in the MySQL query"
58
+ msgstr "Acolo a fost o eroare în interogare MySQL"
59
+
60
+ #: quotes-collection-admin.php:44
61
+ msgid "Quote added"
62
+ msgstr "Cita adăugat"
63
+
64
+ #: quotes-collection-admin.php:50
65
+ msgid "Quote not updated."
66
+ msgstr "Ofertă nu a actualizat."
67
+
68
+ #: quotes-collection-admin.php:86
69
+ msgid "Changes saved"
70
+ msgstr "Modificările salvate"
71
+
72
+ #: quotes-collection-admin.php:100
73
+ msgid "Quote deleted"
74
+ msgstr "Cita şterse"
75
+
76
+ #: quotes-collection-admin.php:102
77
+ msgid "The quote cannot be deleted"
78
+ msgstr "Oferta nu poate fi şters"
79
+
80
+ #: quotes-collection-admin.php:118
81
+ #: quotes-collection-admin.php:220
82
+ msgid "Add Quote"
83
+ msgstr "Adăugaţi citat"
84
+
85
+ #: quotes-collection-admin.php:135
86
+ #: quotes-collection-admin.php:224
87
+ msgid "Save changes"
88
+ msgstr "Salvaţi modificările"
89
+
90
+ #: quotes-collection-admin.php:136
91
+ msgid "Back"
92
+ msgstr "Spate"
93
+
94
+ #: quotes-collection-admin.php:140
95
+ #: quotes-collection-admin.php:386
96
+ msgid "The quote"
97
+ msgstr "Citat"
98
+
99
+ #: quotes-collection-admin.php:141
100
+ #: quotes-collection-admin.php:368
101
+ #: quotes-collection-admin.php:388
102
+ msgid "Author"
103
+ msgstr "Autor"
104
+
105
+ #: quotes-collection-admin.php:142
106
+ #: quotes-collection-admin.php:369
107
+ #: quotes-collection-admin.php:388
108
+ msgid "Source"
109
+ msgstr "Sursă"
110
+
111
+ #: quotes-collection-admin.php:143
112
+ #: quotes-collection-admin.php:390
113
+ msgid "Tags"
114
+ msgstr "Tag-uri"
115
+
116
+ #: quotes-collection-admin.php:144
117
+ #: quotes-collection-admin.php:391
118
+ msgid "Public?"
119
+ msgstr "Public?"
120
+
121
+ #: quotes-collection-admin.php:145
122
+ msgid "optional"
123
+ msgstr "opţional"
124
+
125
+ #: quotes-collection-admin.php:146
126
+ msgid "comma separated"
127
+ msgstr "separate prin virgulă"
128
+
129
+ #: quotes-collection-admin.php:183
130
+ #: quotes-collection-admin.php:199
131
+ msgid "Nothing done!"
132
+ msgstr "Nimic de făcut!"
133
+
134
+ #: quotes-collection-admin.php:191
135
+ msgid "Selected quotes made public"
136
+ msgstr "Citate selectată făcute publice"
137
+
138
+ #: quotes-collection-admin.php:193
139
+ msgid "Selected quotes made private"
140
+ msgstr "Citate selectat face privat"
141
+
142
+ #: quotes-collection-admin.php:204
143
+ msgid "Quote(s) deleted"
144
+ msgstr "Quote(s) elimină"
145
+
146
+ #: quotes-collection-admin.php:231
147
+ msgid "Edit quote"
148
+ msgstr "Editare citat"
149
+
150
+ #: quotes-collection-admin.php:258
151
+ #: quotes-collection-admin.php:267
152
+ #: quotes-collection-admin.php:412
153
+ msgid "Add new quote"
154
+ msgstr "Adăugare nou citat"
155
+
156
+ #: quotes-collection-admin.php:263
157
+ #: quotes-collection-admin.php:406
158
+ msgid "No quotes in the database"
159
+ msgstr "Fără ghilimele în baza de date"
160
+
161
+ #: quotes-collection-admin.php:337
162
+ msgid "Edit"
163
+ msgstr "Editare"
164
+
165
+ #: quotes-collection-admin.php:337
166
+ msgid "Are you sure you want to delete this quote?"
167
+ msgstr "Sigur doriţi să ştergeţi acest citat?"
168
+
169
+ #: quotes-collection-admin.php:337
170
+ #: quotes-collection-admin.php:358
171
+ msgid "Delete"
172
+ msgstr "Ştergere"
173
+
174
+ #: quotes-collection-admin.php:344
175
+ msgid "No"
176
+ msgstr "nu"
177
+
178
+ #: quotes-collection-admin.php:345
179
+ msgid "Yes"
180
+ msgstr "da"
181
+
182
+ #: quotes-collection-admin.php:357
183
+ msgid "Bulk Actions"
184
+ msgstr "Acţiuni în masă"
185
+
186
+ #: quotes-collection-admin.php:359
187
+ msgid "Make public"
188
+ msgstr "Face publice"
189
+
190
+ #: quotes-collection-admin.php:360
191
+ msgid "Keep private"
192
+ msgstr "Păstraţi private"
193
+
194
+ #: quotes-collection-admin.php:362
195
+ msgid "Apply"
196
+ msgstr "Aplică"
197
+
198
+ #: quotes-collection-admin.php:364
199
+ msgid "Sort by: "
200
+ msgstr "Sortare după: "
201
+
202
+ #: quotes-collection-admin.php:366
203
+ #: quotes-collection-admin.php:367
204
+ msgid "Quote"
205
+ msgstr "Cita"
206
+
207
+ #: quotes-collection-admin.php:370
208
+ msgid "Date added"
209
+ msgstr "Data adaugarii"
210
+
211
+ #: quotes-collection-admin.php:371
212
+ msgid "Date updated"
213
+ msgstr "Data actualizate"
214
+
215
+ #: quotes-collection-admin.php:372
216
+ msgid "Visibility"
217
+ msgstr "Vizibilitatea"
218
+
219
+ #: quotes-collection-admin.php:375
220
+ msgid "Go"
221
+ msgstr "Du-te"
222
+
223
+ #: quotes-collection-admin.php:377
224
+ #: quotes-collection-admin.php:397
225
+ #, php-format
226
+ msgid "%d quotes"
227
+ msgstr "citate de %d"
228
+
229
+ #: quotes-collection-widget.php:13
230
+ #: quotes-collection-widget.php:38
231
+ msgid "Random Quote"
232
+ msgstr "Citat aleatoriu"
233
+
234
+ #: quotes-collection-widget.php:65
235
+ msgid "none"
236
+ msgstr "nici unul"
237
+
238
+ #: quotes-collection-widget.php:84
239
+ msgid "Title"
240
+ msgstr "Titlul"
241
+
242
+ #: quotes-collection-widget.php:85
243
+ msgid "Show author?"
244
+ msgstr "Autor Arată?"
245
+
246
+ #: quotes-collection-widget.php:86
247
+ msgid "Show source?"
248
+ msgstr "Arată sursa?"
249
+
250
+ #: quotes-collection-widget.php:87
251
+ msgid "Ajax refresh feature"
252
+ msgstr "Ajax reîmprospătare caracteristică"
253
+
254
+ #: quotes-collection-widget.php:88
255
+ msgid "Advanced options"
256
+ msgstr "Opţiuni avansate"
257
+
258
+ #: quotes-collection-widget.php:90
259
+ msgid "Random refresh"
260
+ msgstr "Reîmprospătare aleatoare"
261
+
262
+ #: quotes-collection-widget.php:90
263
+ msgid "Unchecking this will rotate quotes in the order added, latest first."
264
+ msgstr "Unchecking aceasta va roti citate în ordinea adaugă, mai târziu primul."
265
+
266
+ #: quotes-collection-widget.php:91
267
+ msgid "Auto refresh"
268
+ msgstr "Reîmprospătare automată"
269
+
270
+ #: quotes-collection-widget.php:91
271
+ msgid "every"
272
+ msgstr "fiecare"
273
+
274
+ #: quotes-collection-widget.php:91
275
+ msgid "sec"
276
+ msgstr "SEC"
277
+
278
+ #: quotes-collection-widget.php:92
279
+ msgid "Tags filter"
280
+ msgstr "Tag-uri filtru"
281
+
282
+ #: quotes-collection-widget.php:92
283
+ msgid "Comma separated"
284
+ msgstr "Separate prin virgulă"
285
+
286
+ #: quotes-collection-widget.php:93
287
+ msgid "Character limit"
288
+ msgstr "Limita de caractere"
289
+
languages/quotes-collection-sk_SK.mo ADDED
Binary file
languages/quotes-collection-sk_SK.po ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Quotes Collection 1.1.2\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-05-28 16:38+0300\n"
6
+ "PO-Revision-Date: 2011-07-06 22:35+0100\n"
7
+ "Last-Translator: Stefan Stieranka <test@email.sk>\n"
8
+ "Language-Team: <diequeeq@gmail.com>\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: Slovak\n"
14
+ "X-Poedit-Country: SLOVAKIA\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n"
17
+ "X-Poedit-Basepath: .\n"
18
+ "X-Poedit-SearchPath-0: ..\n"
19
+
20
+ #: ../quotes-collection.php:60
21
+ #: ../quotes-collection.php:96
22
+ #: ../quotes-collection.php:100
23
+ msgid "Next quote"
24
+ msgstr "Ďalší citát"
25
+
26
+ #: ../quotes-collection.php:61
27
+ msgid "Loading..."
28
+ msgstr "Načítavam..."
29
+
30
+ #: ../quotes-collection.php:62
31
+ msgid "Error getting quote"
32
+ msgstr "Chyba načítania citátu"
33
+
34
+ #: ../quotes-collection.php:120
35
+ #: ../quotes-collection.php:137
36
+ msgid "Random Quote"
37
+ msgstr "Náhodný citát"
38
+
39
+ #: ../quotes-collection.php:164
40
+ msgid "Title"
41
+ msgstr "Titulok"
42
+
43
+ #: ../quotes-collection.php:165
44
+ msgid "Show author?"
45
+ msgstr "Ukazovať autora?"
46
+
47
+ #: ../quotes-collection.php:166
48
+ msgid "Show source?"
49
+ msgstr "Ukazovať zdroj?"
50
+
51
+ #: ../quotes-collection.php:167
52
+ msgid "Ajax refresh feature"
53
+ msgstr "vlastnosť načítania Ajax"
54
+
55
+ #: ../quotes-collection.php:169
56
+ msgid "Manage your collection of quotes at"
57
+ msgstr "Spravovať zbierku citátov v"
58
+
59
+ #: ../quotes-collection.php:169
60
+ msgid "Manage"
61
+ msgstr "Spravovať"
62
+
63
+ #: ../quotes-collection.php:186
64
+ msgid "Nothing added to the database."
65
+ msgstr "Do databázy nebolo nic pridané."
66
+
67
+ #: ../quotes-collection.php:190
68
+ #: ../quotes-collection.php:228
69
+ msgid "Database table not found"
70
+ msgstr "Tabulka databázy nebola nájdená"
71
+
72
+ #: ../quotes-collection.php:215
73
+ #: ../quotes-collection.php:258
74
+ #: ../quotes-collection.php:272
75
+ msgid "There was an error in the MySQL query"
76
+ msgstr "V MySQL dotaze bola chyba"
77
+
78
+ #: ../quotes-collection.php:217
79
+ msgid "Quote added"
80
+ msgstr "Citát bol pridaný"
81
+
82
+ #: ../quotes-collection.php:223
83
+ msgid "Quote not updated."
84
+ msgstr "Citát nebol opravený."
85
+
86
+ #: ../quotes-collection.php:260
87
+ msgid "Changes saved"
88
+ msgstr "Zmeny boli uložené"
89
+
90
+ #: ../quotes-collection.php:274
91
+ msgid "Quote deleted"
92
+ msgstr "Citát bol zmazaný"
93
+
94
+ #: ../quotes-collection.php:276
95
+ msgid "The quote cannot be deleted"
96
+ msgstr "Citát nemôže byť zmazaný"
97
+
98
+ #: ../quotes-collection.php:292
99
+ #: ../quotes-collection.php:385
100
+ msgid "Add Quote"
101
+ msgstr "Vložiť citát"
102
+
103
+ #: ../quotes-collection.php:308
104
+ #: ../quotes-collection.php:389
105
+ msgid "Save changes"
106
+ msgstr "Uložiť zmeny"
107
+
108
+ #: ../quotes-collection.php:309
109
+ msgid "Back"
110
+ msgstr "Späť"
111
+
112
+ #: ../quotes-collection.php:313
113
+ #: ../quotes-collection.php:491
114
+ msgid "The quote"
115
+ msgstr "Citát"
116
+
117
+ #: ../quotes-collection.php:314
118
+ #: ../quotes-collection.php:477
119
+ #: ../quotes-collection.php:493
120
+ msgid "Author"
121
+ msgstr "Autor"
122
+
123
+ #: ../quotes-collection.php:315
124
+ #: ../quotes-collection.php:478
125
+ #: ../quotes-collection.php:493
126
+ msgid "Source"
127
+ msgstr "Zdroj"
128
+
129
+ #: ../quotes-collection.php:316
130
+ #: ../quotes-collection.php:495
131
+ msgid "Tags"
132
+ msgstr "Štítky"
133
+
134
+ #: ../quotes-collection.php:317
135
+ #: ../quotes-collection.php:496
136
+ msgid "Visible?"
137
+ msgstr "Viditeľný?"
138
+
139
+ #: ../quotes-collection.php:318
140
+ msgid "optional"
141
+ msgstr "voliteľne"
142
+
143
+ #: ../quotes-collection.php:319
144
+ msgid "comma separated"
145
+ msgstr "oddelené čiarkou"
146
+
147
+ #: ../quotes-collection.php:355
148
+ #: ../quotes-collection.php:368
149
+ msgid "Nothing done!"
150
+ msgstr "Nič nebolo vykonané!"
151
+
152
+ #: ../quotes-collection.php:362
153
+ #, php-format
154
+ msgid "Visibility status of selected quotes set to '%s'"
155
+ msgstr "Stav viditeľnosti vybraných citátov je nastavený na '%s'"
156
+
157
+ #: ../quotes-collection.php:373
158
+ msgid "Quote(s) deleted"
159
+ msgstr "Citát(y) zmazané(y)"
160
+
161
+ #: ../quotes-collection.php:394
162
+ msgid "Edit quote"
163
+ msgstr "Edituj citát"
164
+
165
+ #: ../quotes-collection.php:404
166
+ #: ../quotes-collection.php:455
167
+ #: ../quotes-collection.php:469
168
+ #: ../quotes-collection.php:505
169
+ msgid "Delete"
170
+ msgstr "Zmazať"
171
+
172
+ #: ../quotes-collection.php:406
173
+ #: ../quotes-collection.php:470
174
+ #: ../quotes-collection.php:506
175
+ msgid "Make visible"
176
+ msgstr "Viditeľný"
177
+
178
+ #: ../quotes-collection.php:409
179
+ #: ../quotes-collection.php:471
180
+ #: ../quotes-collection.php:507
181
+ msgid "Make invisible"
182
+ msgstr "Neviditeľný"
183
+
184
+ #: ../quotes-collection.php:454
185
+ msgid "Edit"
186
+ msgstr "Editácia"
187
+
188
+ #: ../quotes-collection.php:455
189
+ msgid "Are you sure you want to delete this quote?"
190
+ msgstr "Skutočne chcete zmazať tento citát?"
191
+
192
+ #: ../quotes-collection.php:462
193
+ #, php-format
194
+ msgid "Currently, you have %d quote."
195
+ msgid_plural "Currently, you have %d quotes."
196
+ msgstr[0] "Aktuálne máš %d citát."
197
+ msgstr[1] "Aktuálne máš %d citátů."
198
+
199
+ #: ../quotes-collection.php:464
200
+ #: ../quotes-collection.php:521
201
+ msgid "Add new quote"
202
+ msgstr "Vložiť nový citát"
203
+
204
+ #: ../quotes-collection.php:473
205
+ msgid "Sort by: "
206
+ msgstr "Triediť podľa:"
207
+
208
+ #: ../quotes-collection.php:475
209
+ #: ../quotes-collection.php:476
210
+ msgid "Quote"
211
+ msgstr "Citát"
212
+
213
+ #: ../quotes-collection.php:479
214
+ msgid "Date added"
215
+ msgstr "Dátum vloženia"
216
+
217
+ #: ../quotes-collection.php:480
218
+ msgid "Date updated"
219
+ msgstr "Dátum aktualizácie"
220
+
221
+ #: ../quotes-collection.php:481
222
+ msgid "Visibility"
223
+ msgstr "Viditeľnosť"
224
+
225
+ #: ../quotes-collection.php:484
226
+ msgid "Go"
227
+ msgstr "Choď"
228
+
229
+ #: ../quotes-collection.php:497
230
+ msgid "Action"
231
+ msgstr "Akcia"
232
+
233
+ #: ../quotes-collection.php:515
234
+ msgid "No quotes in the database"
235
+ msgstr "V databáze nie sú citáty"
236
+
237
+ #~ msgid "from"
238
+ #~ msgstr "aus"
languages/quotes-collection-ta_IN.mo CHANGED
Binary file
languages/quotes-collection-ta_IN.po CHANGED
@@ -1,11 +1,12 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Quotes Collection 1.1\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
5
- "POT-Creation-Date: 2010-06-15 12:26+0530\n"
6
- "PO-Revision-Date: 2010-06-19 12:10+0530\n"
7
- "Last-Translator: Srinivasan G <srinig.com@gmail.com>\n"
8
  "Language-Team: \n"
 
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -14,264 +15,307 @@ msgstr ""
14
  "X-Poedit-Country: India\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
 
17
- #: quotes-collection.php:16
 
18
  msgid "Next quote"
19
  msgstr "அடுத்த வாசகம்"
20
 
21
- #: quotes-collection.php:88
22
  msgid "Loading..."
23
  msgstr "இதோ வருகிறது..."
24
 
25
- #: quotes-collection.php:89
26
  msgid "Error getting quote"
27
  msgstr "வாசகத்தினை மீட்பதில் சிக்கல்"
28
 
29
- #: quotes-collection.php:239
30
- #: quotes-collection.php:264
31
- msgid "Random Quote"
32
- msgstr "வாசகம் ஒன்று"
33
-
34
- #: quotes-collection.php:291
35
- msgid "none"
36
- msgstr "-"
37
-
38
- #: quotes-collection.php:307
39
- msgid "Title"
40
- msgstr "தலைப்பு"
41
-
42
- #: quotes-collection.php:308
43
- msgid "Show author?"
44
- msgstr "சொன்னவரின் பெயரை காண்பிக்க வேண்டுமா?"
45
-
46
- #: quotes-collection.php:309
47
- msgid "Show source?"
48
- msgstr "எங்கே சொல்லப்பட்டது என்பதை காண்பிக்க வேண்டுமா?"
49
-
50
- #: quotes-collection.php:310
51
- msgid "Ajax refresh feature"
52
- msgstr "அடுத்த வாசகத்தினை மீட்கும் சுட்டி"
53
 
54
- #: quotes-collection.php:311
55
- msgid "Advanced options"
56
- msgstr "மற்றைய குறிப்புகள்"
57
 
58
- #: quotes-collection.php:313
59
- msgid "Random refresh"
60
- msgstr "எடுத்தேற்ற மீட்டல் முறை"
61
 
62
- #: quotes-collection.php:313
63
- msgid "Unchecking this will rotate quotes in the order added, latest first."
64
- msgstr "இல்லை என்றால் வாசகங்கள் கடைசியாக சேர்க்கப்பட்ட வரிசையில் ஒன்றன் பின் ஒன்றாக மீட்கப்படும். "
65
 
66
- #: quotes-collection.php:314
67
- msgid "Auto refresh"
68
- msgstr "தானியக்க மீட்டல் முறை"
69
 
70
- #: quotes-collection.php:314
71
- msgid "every"
72
- msgstr "ஒவ்வொரு"
73
-
74
- #: quotes-collection.php:314
75
- msgid "sec"
76
- msgstr "வினாடிகளும்"
77
-
78
- #: quotes-collection.php:315
79
- msgid "Tags filter"
80
- msgstr "குறிச்சொற்கள்"
81
-
82
- #: quotes-collection.php:315
83
- msgid "Comma separated"
84
- msgstr "comma separated"
85
-
86
- #: quotes-collection.php:316
87
- msgid "Character limit"
88
- msgstr "வாசகத்தின் அதிகபட்ச நீளம்"
89
-
90
- #: quotes-collection.php:335
91
  msgid "Nothing added to the database."
92
  msgstr "சேர்ப்பதற்கு ஒன்றுமில்லை."
93
 
94
- #: quotes-collection.php:339
95
- #: quotes-collection.php:376
96
  msgid "Database table not found"
97
  msgstr "Database table காணவில்லை!"
98
 
99
- #: quotes-collection.php:363
100
- #: quotes-collection.php:405
101
- #: quotes-collection.php:419
102
  msgid "There was an error in the MySQL query"
103
  msgstr "MySQL queryஇல் பிழை இருந்தது"
104
 
105
- #: quotes-collection.php:365
106
  msgid "Quote added"
107
  msgstr "வாசகம் சேர்க்கப்பட்டது"
108
 
109
- #: quotes-collection.php:371
110
  msgid "Quote not updated."
111
  msgstr "வாசகம் திருத்தப்படவில்லை"
112
 
113
- #: quotes-collection.php:407
114
  msgid "Changes saved"
115
  msgstr "மாற்றங்கள் சேமிக்கப்பட்டன"
116
 
117
- #: quotes-collection.php:421
118
  msgid "Quote deleted"
119
  msgstr "வாசகம் அழிக்கப்பட்டது"
120
 
121
- #: quotes-collection.php:423
122
  msgid "The quote cannot be deleted"
123
  msgstr "வாசகத்தினை அழிக்க முடியவில்லை"
124
 
125
- #: quotes-collection.php:439
126
- #: quotes-collection.php:536
127
  msgid "Add Quote"
128
  msgstr "சேர்க்கவும்"
129
 
130
- #: quotes-collection.php:455
131
- #: quotes-collection.php:540
132
  msgid "Save changes"
133
  msgstr "மாற்றங்களை சேமிக்கவும்"
134
 
135
- #: quotes-collection.php:456
136
  msgid "Back"
137
  msgstr "பின்வாங்கவும்"
138
 
139
- #: quotes-collection.php:460
140
- #: quotes-collection.php:646
141
  msgid "The quote"
142
  msgstr "வாசகம்"
143
 
144
- #: quotes-collection.php:461
145
- #: quotes-collection.php:629
146
- #: quotes-collection.php:648
147
  msgid "Author"
148
  msgstr "சொன்னவர்"
149
 
150
- #: quotes-collection.php:462
151
- #: quotes-collection.php:630
152
- #: quotes-collection.php:648
153
  msgid "Source"
154
  msgstr "எங்கே சொல்லப்பட்டது"
155
 
156
- #: quotes-collection.php:463
157
- #: quotes-collection.php:650
158
  msgid "Tags"
159
  msgstr "குறிச்சொற்கள்"
160
 
161
- #: quotes-collection.php:464
162
- #: quotes-collection.php:651
163
  msgid "Public?"
164
  msgstr "பொதுப் பார்வைக்கா?"
165
 
166
- #: quotes-collection.php:465
167
  msgid "optional"
168
  msgstr "அவசியமில்லை"
169
 
170
- #: quotes-collection.php:466
171
  msgid "comma separated"
172
- msgstr "comma separated"
173
 
174
- #: quotes-collection.php:503
175
- #: quotes-collection.php:519
176
  msgid "Nothing done!"
177
  msgstr "ஒன்றும் செய்வதற்கில்லை!"
178
 
179
- #: quotes-collection.php:511
180
  msgid "Selected quotes made public"
181
  msgstr "தேர்ந்தெடுக்கப்பட்ட வாசகங்கள் பொதுப் பார்வைக்கு வைக்கப்பட்டன."
182
 
183
- #: quotes-collection.php:513
184
  msgid "Selected quotes made private"
185
  msgstr "தேர்ந்தெடுக்கப்பட்ட வாசகங்கள் பொதுப் பார்வையிலிருந்து மறைக்கப்பட்டன."
186
 
187
- #: quotes-collection.php:524
188
  msgid "Quote(s) deleted"
189
  msgstr "வாசகங்கள் அழிக்கப்பட்டன"
190
 
191
- #: quotes-collection.php:545
192
  msgid "Edit quote"
193
  msgstr "வாசகத்தினை திருத்தவும்"
194
 
195
- #: quotes-collection.php:555
196
- #: quotes-collection.php:606
197
- #: quotes-collection.php:621
198
- #: quotes-collection.php:660
199
- msgid "Delete"
200
- msgstr "அழிக்கவும்"
201
-
202
- #: quotes-collection.php:557
203
- #: quotes-collection.php:622
204
- #: quotes-collection.php:661
205
- msgid "Make public"
206
- msgstr "பொதுப் பார்வைக்கு வைக்கவும்"
207
 
208
- #: quotes-collection.php:560
209
- #: quotes-collection.php:623
210
- #: quotes-collection.php:662
211
- msgid "Keep private"
212
- msgstr "பொதுப் பார்வையிலிருந்து மறைக்கவும்."
213
 
214
- #: quotes-collection.php:605
215
  msgid "Edit"
216
  msgstr "திருத்தவும்"
217
 
218
- #: quotes-collection.php:606
219
  msgid "Are you sure you want to delete this quote?"
220
  msgstr "இந்த வாசகத்தினை அழித்துத்தான் ஆக வேண்டுமா?"
221
 
222
- #: quotes-collection.php:613
223
- #, php-format
224
- msgid "Currently, you have %d quote."
225
- msgid_plural "Currently, you have %d quotes."
226
- msgstr[0] "இதுவரை ஒரு வாசகம் சேர்க்கப்பட்டுள்ளது"
227
- msgstr[1] "இதுவரை %d வாசகங்கள் சேர்க்கப்பட்டுள்ளன"
228
 
229
- #: quotes-collection.php:615
230
- #: quotes-collection.php:677
231
- msgid "Add new quote"
232
- msgstr "புதிய வாசகம் ஒன்றை சேர்க்கவும்"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
233
 
234
- #: quotes-collection.php:625
 
 
 
 
235
  msgid "Sort by: "
236
  msgstr "வாசகங்களின் வரிசை முறை: "
237
 
238
- #: quotes-collection.php:627
239
- #: quotes-collection.php:628
240
  msgid "Quote"
241
  msgstr "வாசகம்"
242
 
243
- #: quotes-collection.php:631
244
  msgid "Date added"
245
  msgstr "சேர்த்த நாள்"
246
 
247
- #: quotes-collection.php:632
248
  msgid "Date updated"
249
  msgstr "திருத்திய நாள்"
250
 
251
- #: quotes-collection.php:633
252
  msgid "Visibility"
253
  msgstr "பொதுப் பார்வை"
254
 
255
- #: quotes-collection.php:636
256
  msgid "Go"
257
  msgstr "ஆகட்டும்"
258
 
259
- #: quotes-collection.php:652
260
- msgid "Action"
261
- msgstr "வாசகத்தினை திருத்த/அழிக்க"
 
 
 
 
262
 
263
- #: quotes-collection.php:671
264
- msgid "No quotes in the database"
265
- msgstr "வாசகங்கள் ஏதும் இதுவரை சேர்க்கப்படவில்லை"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
 
267
  #~ msgid "Click here"
268
  #~ msgstr "இங்கே சென்று"
 
269
  #~ msgid "to manage your collection of quotes"
270
  #~ msgstr "நீங்கள் சேர்த்து வைத்துள்ள வாசகங்களை தொகுக்கவும்"
 
271
  #~ msgid "Visible?"
272
  #~ msgstr "Visible?"
 
273
  #~ msgid "Visibility status of selected quotes set to '%s'"
274
  #~ msgstr "தேர்ந்தெடுக்கப்பட்ட வாசகங்கள் %s ஆக்கப்பட்டன"
 
275
  #~ msgid "Make invisible"
276
  #~ msgstr "invisible ஆக்கவும்"
277
-
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Quotes Collection 1.5\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
5
+ "POT-Creation-Date: 2011-06-30 13:32+0530\n"
6
+ "PO-Revision-Date: 2011-06-30 13:54+0530\n"
7
+ "Last-Translator: Srini G <srinig112@gmail.com>\n"
8
  "Language-Team: \n"
9
+ "Language: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
15
  "X-Poedit-Country: India\n"
16
  "X-Poedit-SourceCharset: utf-8\n"
17
 
18
+ #: quotes-collection-ajax.php:6
19
+ #: quotes-collection.php:215
20
  msgid "Next quote"
21
  msgstr "அடுத்த வாசகம்"
22
 
23
+ #: quotes-collection-ajax.php:7
24
  msgid "Loading..."
25
  msgstr "இதோ வருகிறது..."
26
 
27
+ #: quotes-collection-ajax.php:8
28
  msgid "Error getting quote"
29
  msgstr "வாசகத்தினை மீட்பதில் சிக்கல்"
30
 
31
+ #: quotes-collection.php:163
32
+ msgid "Go to the first page"
33
+ msgstr "முதல் பக்கத்திற்கு செல்லவும்"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
+ #: quotes-collection.php:165
36
+ msgid "Go to the previous page"
37
+ msgstr "பின் பக்கத்துக்கு செல்லவும்"
38
 
39
+ #: quotes-collection.php:169
40
+ msgid "Go to the next page"
41
+ msgstr "அடுத்த பக்கத்துக்கு செல்லவும்"
42
 
43
+ #: quotes-collection.php:171
44
+ msgid "Go to the last page"
45
+ msgstr "கடைசி ப்க்கத்துக்கு செல்லவும்"
46
 
47
+ #: quotes-collection.php:175
48
+ msgid "Goto page:"
49
+ msgstr "பக்கங்கள்:"
50
 
51
+ #: quotes-collection-admin.php:14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  msgid "Nothing added to the database."
53
  msgstr "சேர்ப்பதற்கு ஒன்றுமில்லை."
54
 
55
+ #: quotes-collection-admin.php:18
56
+ #: quotes-collection-admin.php:55
57
  msgid "Database table not found"
58
  msgstr "Database table காணவில்லை!"
59
 
60
+ #: quotes-collection-admin.php:42
61
+ #: quotes-collection-admin.php:84
62
+ #: quotes-collection-admin.php:98
63
  msgid "There was an error in the MySQL query"
64
  msgstr "MySQL queryஇல் பிழை இருந்தது"
65
 
66
+ #: quotes-collection-admin.php:44
67
  msgid "Quote added"
68
  msgstr "வாசகம் சேர்க்கப்பட்டது"
69
 
70
+ #: quotes-collection-admin.php:50
71
  msgid "Quote not updated."
72
  msgstr "வாசகம் திருத்தப்படவில்லை"
73
 
74
+ #: quotes-collection-admin.php:86
75
  msgid "Changes saved"
76
  msgstr "மாற்றங்கள் சேமிக்கப்பட்டன"
77
 
78
+ #: quotes-collection-admin.php:100
79
  msgid "Quote deleted"
80
  msgstr "வாசகம் அழிக்கப்பட்டது"
81
 
82
+ #: quotes-collection-admin.php:102
83
  msgid "The quote cannot be deleted"
84
  msgstr "வாசகத்தினை அழிக்க முடியவில்லை"
85
 
86
+ #: quotes-collection-admin.php:118
87
+ #: quotes-collection-admin.php:220
88
  msgid "Add Quote"
89
  msgstr "சேர்க்கவும்"
90
 
91
+ #: quotes-collection-admin.php:135
92
+ #: quotes-collection-admin.php:224
93
  msgid "Save changes"
94
  msgstr "மாற்றங்களை சேமிக்கவும்"
95
 
96
+ #: quotes-collection-admin.php:136
97
  msgid "Back"
98
  msgstr "பின்வாங்கவும்"
99
 
100
+ #: quotes-collection-admin.php:140
101
+ #: quotes-collection-admin.php:386
102
  msgid "The quote"
103
  msgstr "வாசகம்"
104
 
105
+ #: quotes-collection-admin.php:141
106
+ #: quotes-collection-admin.php:368
107
+ #: quotes-collection-admin.php:388
108
  msgid "Author"
109
  msgstr "சொன்னவர்"
110
 
111
+ #: quotes-collection-admin.php:142
112
+ #: quotes-collection-admin.php:369
113
+ #: quotes-collection-admin.php:388
114
  msgid "Source"
115
  msgstr "எங்கே சொல்லப்பட்டது"
116
 
117
+ #: quotes-collection-admin.php:143
118
+ #: quotes-collection-admin.php:390
119
  msgid "Tags"
120
  msgstr "குறிச்சொற்கள்"
121
 
122
+ #: quotes-collection-admin.php:144
123
+ #: quotes-collection-admin.php:391
124
  msgid "Public?"
125
  msgstr "பொதுப் பார்வைக்கா?"
126
 
127
+ #: quotes-collection-admin.php:145
128
  msgid "optional"
129
  msgstr "அவசியமில்லை"
130
 
131
+ #: quotes-collection-admin.php:146
132
  msgid "comma separated"
133
+ msgstr "ஒன்றுக்கு மேற்பட்ட சொற்களை 'கமா'வால் பிரிக்கவும்"
134
 
135
+ #: quotes-collection-admin.php:183
136
+ #: quotes-collection-admin.php:199
137
  msgid "Nothing done!"
138
  msgstr "ஒன்றும் செய்வதற்கில்லை!"
139
 
140
+ #: quotes-collection-admin.php:191
141
  msgid "Selected quotes made public"
142
  msgstr "தேர்ந்தெடுக்கப்பட்ட வாசகங்கள் பொதுப் பார்வைக்கு வைக்கப்பட்டன."
143
 
144
+ #: quotes-collection-admin.php:193
145
  msgid "Selected quotes made private"
146
  msgstr "தேர்ந்தெடுக்கப்பட்ட வாசகங்கள் பொதுப் பார்வையிலிருந்து மறைக்கப்பட்டன."
147
 
148
+ #: quotes-collection-admin.php:204
149
  msgid "Quote(s) deleted"
150
  msgstr "வாசகங்கள் அழிக்கப்பட்டன"
151
 
152
+ #: quotes-collection-admin.php:231
153
  msgid "Edit quote"
154
  msgstr "வாசகத்தினை திருத்தவும்"
155
 
156
+ #: quotes-collection-admin.php:258
157
+ #: quotes-collection-admin.php:267
158
+ #: quotes-collection-admin.php:412
159
+ msgid "Add new quote"
160
+ msgstr "புதிய வாசகம் ஒன்றை சேர்க்கவும்"
 
 
 
 
 
 
 
161
 
162
+ #: quotes-collection-admin.php:263
163
+ #: quotes-collection-admin.php:406
164
+ msgid "No quotes in the database"
165
+ msgstr "வாசகங்கள் ஏதும் இதுவரை சேர்க்கப்படவில்லை"
 
166
 
167
+ #: quotes-collection-admin.php:337
168
  msgid "Edit"
169
  msgstr "திருத்தவும்"
170
 
171
+ #: quotes-collection-admin.php:337
172
  msgid "Are you sure you want to delete this quote?"
173
  msgstr "இந்த வாசகத்தினை அழித்துத்தான் ஆக வேண்டுமா?"
174
 
175
+ #: quotes-collection-admin.php:337
176
+ #: quotes-collection-admin.php:358
177
+ msgid "Delete"
178
+ msgstr "அழிக்கவும்"
 
 
179
 
180
+ #: quotes-collection-admin.php:344
181
+ msgid "No"
182
+ msgstr "இல்லை"
183
+
184
+ #: quotes-collection-admin.php:345
185
+ #, fuzzy
186
+ msgid "Yes"
187
+ msgstr "ஆம்"
188
+
189
+ #: quotes-collection-admin.php:357
190
+ msgid "Bulk Actions"
191
+ msgstr "மொத்தமாக..."
192
+
193
+ #: quotes-collection-admin.php:359
194
+ msgid "Make public"
195
+ msgstr "பொதுப் பார்வைக்கு வைக்கவும்"
196
+
197
+ #: quotes-collection-admin.php:360
198
+ msgid "Keep private"
199
+ msgstr "பொதுப் பார்வையிலிருந்து மறைக்கவும்."
200
 
201
+ #: quotes-collection-admin.php:362
202
+ msgid "Apply"
203
+ msgstr "செய்க"
204
+
205
+ #: quotes-collection-admin.php:364
206
  msgid "Sort by: "
207
  msgstr "வாசகங்களின் வரிசை முறை: "
208
 
209
+ #: quotes-collection-admin.php:366
210
+ #: quotes-collection-admin.php:367
211
  msgid "Quote"
212
  msgstr "வாசகம்"
213
 
214
+ #: quotes-collection-admin.php:370
215
  msgid "Date added"
216
  msgstr "சேர்த்த நாள்"
217
 
218
+ #: quotes-collection-admin.php:371
219
  msgid "Date updated"
220
  msgstr "திருத்திய நாள்"
221
 
222
+ #: quotes-collection-admin.php:372
223
  msgid "Visibility"
224
  msgstr "பொதுப் பார்வை"
225
 
226
+ #: quotes-collection-admin.php:375
227
  msgid "Go"
228
  msgstr "ஆகட்டும்"
229
 
230
+ #: quotes-collection-admin.php:377
231
+ #: quotes-collection-admin.php:397
232
+ #, php-format
233
+ msgid "%d quote"
234
+ msgid_plural "%d quotes"
235
+ msgstr[0] "%d வாசகம்"
236
+ msgstr[1] "%d வாசகங்கள்"
237
 
238
+ #: quotes-collection-widget.php:13
239
+ #: quotes-collection-widget.php:38
240
+ msgid "Random Quote"
241
+ msgstr "வாசகம் ஒன்று"
242
+
243
+ #: quotes-collection-widget.php:65
244
+ msgid "none"
245
+ msgstr "-"
246
+
247
+ #: quotes-collection-widget.php:84
248
+ msgid "Title"
249
+ msgstr "தலைப்பு"
250
+
251
+ #: quotes-collection-widget.php:85
252
+ msgid "Show author?"
253
+ msgstr "சொன்னவரின் பெயரை காண்பிக்க வேண்டுமா?"
254
+
255
+ #: quotes-collection-widget.php:86
256
+ msgid "Show source?"
257
+ msgstr "எங்கே சொல்லப்பட்டது என்பதை காண்பிக்க வேண்டுமா?"
258
+
259
+ #: quotes-collection-widget.php:87
260
+ msgid "Ajax refresh feature"
261
+ msgstr "அடுத்த வாசகத்தினை மீட்கும் சுட்டி"
262
+
263
+ #: quotes-collection-widget.php:88
264
+ msgid "Advanced options"
265
+ msgstr "மற்றைய குறிப்புகள்"
266
+
267
+ #: quotes-collection-widget.php:90
268
+ msgid "Random refresh"
269
+ msgstr "எடுத்தேற்ற மீட்டல் முறை"
270
+
271
+ #: quotes-collection-widget.php:90
272
+ msgid "Unchecking this will rotate quotes in the order added, latest first."
273
+ msgstr "இல்லை என்றால் வாசகங்கள் கடைசியாக சேர்க்கப்பட்ட வரிசையில் ஒன்றன் பின் ஒன்றாக மீட்கப்படும். "
274
+
275
+ #: quotes-collection-widget.php:91
276
+ msgid "Auto refresh"
277
+ msgstr "தானியக்க மீட்டல் முறை"
278
+
279
+ #: quotes-collection-widget.php:91
280
+ msgid "every"
281
+ msgstr "ஒவ்வொரு"
282
+
283
+ #: quotes-collection-widget.php:91
284
+ msgid "sec"
285
+ msgstr "வினாடிகளும்"
286
+
287
+ #: quotes-collection-widget.php:92
288
+ msgid "Tags filter"
289
+ msgstr "குறிச்சொற்கள்"
290
+
291
+ #: quotes-collection-widget.php:92
292
+ msgid "Comma separated"
293
+ msgstr "ஒன்றுக்கு மேற்பட்ட சொற்களை 'கமா'வால் பிரிக்கவும்"
294
+
295
+ #: quotes-collection-widget.php:93
296
+ msgid "Character limit"
297
+ msgstr "வாசகத்தின் அதிகபட்ச நீளம்"
298
+
299
+ #~ msgid "no"
300
+ #~ msgstr "இல்லை"
301
+
302
+ #~ msgid "Currently, you have %d quote."
303
+
304
+ #~ msgid_plural "Currently, you have %d quotes."
305
+ #~ msgstr[0] "இதுவரை ஒரு வாசகம் சேர்க்கப்பட்டுள்ளது"
306
+ #~ msgstr[1] "இதுவரை %d வாசகங்கள் சேர்க்கப்பட்டுள்ளன"
307
 
308
  #~ msgid "Click here"
309
  #~ msgstr "இங்கே சென்று"
310
+
311
  #~ msgid "to manage your collection of quotes"
312
  #~ msgstr "நீங்கள் சேர்த்து வைத்துள்ள வாசகங்களை தொகுக்கவும்"
313
+
314
  #~ msgid "Visible?"
315
  #~ msgstr "Visible?"
316
+
317
  #~ msgid "Visibility status of selected quotes set to '%s'"
318
  #~ msgstr "தேர்ந்தெடுக்கப்பட்ட வாசகங்கள் %s ஆக்கப்பட்டன"
319
+
320
  #~ msgid "Make invisible"
321
  #~ msgstr "invisible ஆக்கவும்"
 
languages/quotes-collection.pot CHANGED
@@ -1,14 +1,14 @@
1
  # Quotes Collection plugin for WordPress: Localization template.
2
- # Copyright (C) 2010 Srini G
3
  # This file is distributed under the same license as the Quotes Collection package.
4
- # Srini G <srinig.com@gmail.com>, 2010.
5
  #
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: Quotes Collection 1.4\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
11
- "POT-Creation-Date: 2010-06-15 12:26+0530\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,253 +17,285 @@ msgstr ""
17
  "Content-Transfer-Encoding: 8bit\n"
18
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
19
 
20
- #: quotes-collection.php:16
 
 
 
21
  msgid "Next quote"
22
  msgstr ""
23
 
24
- #: quotes-collection.php:88
25
  msgid "Loading..."
26
  msgstr ""
27
 
28
- #: quotes-collection.php:89
29
  msgid "Error getting quote"
30
  msgstr ""
31
 
32
- #: quotes-collection.php:239
33
- #: quotes-collection.php:264
34
- msgid "Random Quote"
35
- msgstr ""
36
-
37
- #: quotes-collection.php:291
38
- msgid "none"
39
- msgstr ""
40
-
41
- #: quotes-collection.php:307
42
- msgid "Title"
43
  msgstr ""
44
 
45
- #: quotes-collection.php:308
46
- msgid "Show author?"
47
  msgstr ""
48
 
49
- #: quotes-collection.php:309
50
- msgid "Show source?"
51
  msgstr ""
52
 
53
- #: quotes-collection.php:310
54
- msgid "Ajax refresh feature"
55
  msgstr ""
56
 
57
- #: quotes-collection.php:311
58
- msgid "Advanced options"
59
  msgstr ""
60
 
61
- #: quotes-collection.php:313
62
- msgid "Random refresh"
63
- msgstr ""
64
-
65
- #: quotes-collection.php:313
66
- msgid "Unchecking this will rotate quotes in the order added, latest first."
67
- msgstr ""
68
-
69
- #: quotes-collection.php:314
70
- msgid "Auto refresh"
71
- msgstr ""
72
-
73
- #: quotes-collection.php:314
74
- msgid "every"
75
- msgstr ""
76
-
77
- #: quotes-collection.php:314
78
- msgid "sec"
79
- msgstr ""
80
-
81
- #: quotes-collection.php:315
82
- msgid "Tags filter"
83
- msgstr ""
84
-
85
- #: quotes-collection.php:315
86
- msgid "Comma separated"
87
- msgstr ""
88
-
89
- #: quotes-collection.php:316
90
- msgid "Character limit"
91
- msgstr ""
92
-
93
- #: quotes-collection.php:335
94
  msgid "Nothing added to the database."
95
  msgstr ""
96
 
97
- #: quotes-collection.php:339
98
- #: quotes-collection.php:376
99
  msgid "Database table not found"
100
  msgstr ""
101
 
102
- #: quotes-collection.php:363
103
- #: quotes-collection.php:405
104
- #: quotes-collection.php:419
105
  msgid "There was an error in the MySQL query"
106
  msgstr ""
107
 
108
- #: quotes-collection.php:365
109
  msgid "Quote added"
110
  msgstr ""
111
 
112
- #: quotes-collection.php:371
113
  msgid "Quote not updated."
114
  msgstr ""
115
 
116
- #: quotes-collection.php:407
117
  msgid "Changes saved"
118
  msgstr ""
119
 
120
- #: quotes-collection.php:421
121
  msgid "Quote deleted"
122
  msgstr ""
123
 
124
- #: quotes-collection.php:423
125
  msgid "The quote cannot be deleted"
126
  msgstr ""
127
 
128
- #: quotes-collection.php:439
129
- #: quotes-collection.php:536
130
  msgid "Add Quote"
131
  msgstr ""
132
 
133
- #: quotes-collection.php:455
134
- #: quotes-collection.php:540
135
  msgid "Save changes"
136
  msgstr ""
137
 
138
- #: quotes-collection.php:456
139
  msgid "Back"
140
  msgstr ""
141
 
142
- #: quotes-collection.php:460
143
- #: quotes-collection.php:646
144
  msgid "The quote"
145
  msgstr ""
146
 
147
- #: quotes-collection.php:461
148
- #: quotes-collection.php:629
149
- #: quotes-collection.php:648
150
  msgid "Author"
151
  msgstr ""
152
 
153
- #: quotes-collection.php:462
154
- #: quotes-collection.php:630
155
- #: quotes-collection.php:648
156
  msgid "Source"
157
  msgstr ""
158
 
159
- #: quotes-collection.php:463
160
- #: quotes-collection.php:650
161
  msgid "Tags"
162
  msgstr ""
163
 
164
- #: quotes-collection.php:464
165
- #: quotes-collection.php:651
166
  msgid "Public?"
167
  msgstr ""
168
 
169
- #: quotes-collection.php:465
170
  msgid "optional"
171
  msgstr ""
172
 
173
- #: quotes-collection.php:466
174
  msgid "comma separated"
175
  msgstr ""
176
 
177
- #: quotes-collection.php:503
178
- #: quotes-collection.php:519
179
  msgid "Nothing done!"
180
  msgstr ""
181
 
182
- #: quotes-collection.php:511
183
  msgid "Selected quotes made public"
184
  msgstr ""
185
 
186
- #: quotes-collection.php:513
187
  msgid "Selected quotes made private"
188
  msgstr ""
189
 
190
- #: quotes-collection.php:524
191
  msgid "Quote(s) deleted"
192
  msgstr ""
193
 
194
- #: quotes-collection.php:545
195
  msgid "Edit quote"
196
  msgstr ""
197
 
198
- #: quotes-collection.php:555
199
- #: quotes-collection.php:606
200
- #: quotes-collection.php:621
201
- #: quotes-collection.php:660
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  msgid "Delete"
203
  msgstr ""
204
 
205
- #: quotes-collection.php:557
206
- #: quotes-collection.php:622
207
- #: quotes-collection.php:661
208
- msgid "Make public"
209
  msgstr ""
210
 
211
- #: quotes-collection.php:560
212
- #: quotes-collection.php:623
213
- #: quotes-collection.php:662
214
- msgid "Keep private"
215
  msgstr ""
216
 
217
- #: quotes-collection.php:605
218
- msgid "Edit"
219
  msgstr ""
220
 
221
- #: quotes-collection.php:606
222
- msgid "Are you sure you want to delete this quote?"
223
  msgstr ""
224
 
225
- #: quotes-collection.php:613
226
- #, php-format
227
- msgid "Currently, you have %d quote."
228
- msgid_plural "Currently, you have %d quotes."
229
- msgstr[0] ""
230
- msgstr[1] ""
231
 
232
- #: quotes-collection.php:615
233
- #: quotes-collection.php:677
234
- msgid "Add new quote"
235
  msgstr ""
236
 
237
- #: quotes-collection.php:625
238
  msgid "Sort by: "
239
  msgstr ""
240
 
241
- #: quotes-collection.php:627
242
- #: quotes-collection.php:628
243
  msgid "Quote"
244
  msgstr ""
245
 
246
- #: quotes-collection.php:631
247
  msgid "Date added"
248
  msgstr ""
249
 
250
- #: quotes-collection.php:632
251
  msgid "Date updated"
252
  msgstr ""
253
 
254
- #: quotes-collection.php:633
255
  msgid "Visibility"
256
  msgstr ""
257
 
258
- #: quotes-collection.php:636
259
  msgid "Go"
260
  msgstr ""
261
 
262
- #: quotes-collection.php:652
263
- msgid "Action"
 
 
 
 
 
 
 
 
 
264
  msgstr ""
265
 
266
- #: quotes-collection.php:671
267
- msgid "No quotes in the database"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
268
  msgstr ""
269
 
1
  # Quotes Collection plugin for WordPress: Localization template.
2
+ # Copyright (C) 2011 Srini G
3
  # This file is distributed under the same license as the Quotes Collection package.
4
+ # Srini G <srinig.com@gmail.com>, 2011.
5
  #
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
+ "Project-Id-Version: Quotes Collection 1.5\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
11
+ "POT-Creation-Date: 2011-06-30 13:32+0530\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
19
 
20
+
21
+
22
+ #: quotes-collection-ajax.php:6
23
+ #: quotes-collection.php:215
24
  msgid "Next quote"
25
  msgstr ""
26
 
27
+ #: quotes-collection-ajax.php:7
28
  msgid "Loading..."
29
  msgstr ""
30
 
31
+ #: quotes-collection-ajax.php:8
32
  msgid "Error getting quote"
33
  msgstr ""
34
 
35
+ #: quotes-collection.php:163
36
+ msgid "Go to the first page"
 
 
 
 
 
 
 
 
 
37
  msgstr ""
38
 
39
+ #: quotes-collection.php:165
40
+ msgid "Go to the previous page"
41
  msgstr ""
42
 
43
+ #: quotes-collection.php:169
44
+ msgid "Go to the next page"
45
  msgstr ""
46
 
47
+ #: quotes-collection.php:171
48
+ msgid "Go to the last page"
49
  msgstr ""
50
 
51
+ #: quotes-collection.php:175
52
+ msgid "Goto page:"
53
  msgstr ""
54
 
55
+ #: quotes-collection-admin.php:14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  msgid "Nothing added to the database."
57
  msgstr ""
58
 
59
+ #: quotes-collection-admin.php:18
60
+ #: quotes-collection-admin.php:55
61
  msgid "Database table not found"
62
  msgstr ""
63
 
64
+ #: quotes-collection-admin.php:42
65
+ #: quotes-collection-admin.php:84
66
+ #: quotes-collection-admin.php:98
67
  msgid "There was an error in the MySQL query"
68
  msgstr ""
69
 
70
+ #: quotes-collection-admin.php:44
71
  msgid "Quote added"
72
  msgstr ""
73
 
74
+ #: quotes-collection-admin.php:50
75
  msgid "Quote not updated."
76
  msgstr ""
77
 
78
+ #: quotes-collection-admin.php:86
79
  msgid "Changes saved"
80
  msgstr ""
81
 
82
+ #: quotes-collection-admin.php:100
83
  msgid "Quote deleted"
84
  msgstr ""
85
 
86
+ #: quotes-collection-admin.php:102
87
  msgid "The quote cannot be deleted"
88
  msgstr ""
89
 
90
+ #: quotes-collection-admin.php:118
91
+ #: quotes-collection-admin.php:220
92
  msgid "Add Quote"
93
  msgstr ""
94
 
95
+ #: quotes-collection-admin.php:135
96
+ #: quotes-collection-admin.php:224
97
  msgid "Save changes"
98
  msgstr ""
99
 
100
+ #: quotes-collection-admin.php:136
101
  msgid "Back"
102
  msgstr ""
103
 
104
+ #: quotes-collection-admin.php:140
105
+ #: quotes-collection-admin.php:386
106
  msgid "The quote"
107
  msgstr ""
108
 
109
+ #: quotes-collection-admin.php:141
110
+ #: quotes-collection-admin.php:368
111
+ #: quotes-collection-admin.php:388
112
  msgid "Author"
113
  msgstr ""
114
 
115
+ #: quotes-collection-admin.php:142
116
+ #: quotes-collection-admin.php:369
117
+ #: quotes-collection-admin.php:388
118
  msgid "Source"
119
  msgstr ""
120
 
121
+ #: quotes-collection-admin.php:143
122
+ #: quotes-collection-admin.php:390
123
  msgid "Tags"
124
  msgstr ""
125
 
126
+ #: quotes-collection-admin.php:144
127
+ #: quotes-collection-admin.php:391
128
  msgid "Public?"
129
  msgstr ""
130
 
131
+ #: quotes-collection-admin.php:145
132
  msgid "optional"
133
  msgstr ""
134
 
135
+ #: quotes-collection-admin.php:146
136
  msgid "comma separated"
137
  msgstr ""
138
 
139
+ #: quotes-collection-admin.php:183
140
+ #: quotes-collection-admin.php:199
141
  msgid "Nothing done!"
142
  msgstr ""
143
 
144
+ #: quotes-collection-admin.php:191
145
  msgid "Selected quotes made public"
146
  msgstr ""
147
 
148
+ #: quotes-collection-admin.php:193
149
  msgid "Selected quotes made private"
150
  msgstr ""
151
 
152
+ #: quotes-collection-admin.php:204
153
  msgid "Quote(s) deleted"
154
  msgstr ""
155
 
156
+ #: quotes-collection-admin.php:231
157
  msgid "Edit quote"
158
  msgstr ""
159
 
160
+ #: quotes-collection-admin.php:258
161
+ #: quotes-collection-admin.php:267
162
+ #: quotes-collection-admin.php:412
163
+ msgid "Add new quote"
164
+ msgstr ""
165
+
166
+ #: quotes-collection-admin.php:263
167
+ #: quotes-collection-admin.php:406
168
+ msgid "No quotes in the database"
169
+ msgstr ""
170
+
171
+ #: quotes-collection-admin.php:337
172
+ msgid "Edit"
173
+ msgstr ""
174
+
175
+ #: quotes-collection-admin.php:337
176
+ msgid "Are you sure you want to delete this quote?"
177
+ msgstr ""
178
+
179
+ #: quotes-collection-admin.php:337
180
+ #: quotes-collection-admin.php:358
181
  msgid "Delete"
182
  msgstr ""
183
 
184
+ #: quotes-collection-admin.php:344
185
+ msgid "No"
 
 
186
  msgstr ""
187
 
188
+ #: quotes-collection-admin.php:345
189
+ msgid "Yes"
 
 
190
  msgstr ""
191
 
192
+ #: quotes-collection-admin.php:357
193
+ msgid "Bulk Actions"
194
  msgstr ""
195
 
196
+ #: quotes-collection-admin.php:359
197
+ msgid "Make public"
198
  msgstr ""
199
 
200
+ #: quotes-collection-admin.php:360
201
+ msgid "Keep private"
202
+ msgstr ""
 
 
 
203
 
204
+ #: quotes-collection-admin.php:362
205
+ msgid "Apply"
 
206
  msgstr ""
207
 
208
+ #: quotes-collection-admin.php:364
209
  msgid "Sort by: "
210
  msgstr ""
211
 
212
+ #: quotes-collection-admin.php:366
213
+ #: quotes-collection-admin.php:367
214
  msgid "Quote"
215
  msgstr ""
216
 
217
+ #: quotes-collection-admin.php:370
218
  msgid "Date added"
219
  msgstr ""
220
 
221
+ #: quotes-collection-admin.php:371
222
  msgid "Date updated"
223
  msgstr ""
224
 
225
+ #: quotes-collection-admin.php:372
226
  msgid "Visibility"
227
  msgstr ""
228
 
229
+ #: quotes-collection-admin.php:375
230
  msgid "Go"
231
  msgstr ""
232
 
233
+ #: quotes-collection-admin.php:377
234
+ #: quotes-collection-admin.php:397
235
+ #, php-format
236
+ msgid "%d quote"
237
+ msgid_plural "%d quotes"
238
+ msgstr[0] ""
239
+ msgstr[1] ""
240
+
241
+ #: quotes-collection-widget.php:13
242
+ #: quotes-collection-widget.php:38
243
+ msgid "Random Quote"
244
  msgstr ""
245
 
246
+ #: quotes-collection-widget.php:65
247
+ msgid "none"
248
+ msgstr ""
249
+
250
+ #: quotes-collection-widget.php:84
251
+ msgid "Title"
252
+ msgstr ""
253
+
254
+ #: quotes-collection-widget.php:85
255
+ msgid "Show author?"
256
+ msgstr ""
257
+
258
+ #: quotes-collection-widget.php:86
259
+ msgid "Show source?"
260
+ msgstr ""
261
+
262
+ #: quotes-collection-widget.php:87
263
+ msgid "Ajax refresh feature"
264
+ msgstr ""
265
+
266
+ #: quotes-collection-widget.php:88
267
+ msgid "Advanced options"
268
+ msgstr ""
269
+
270
+ #: quotes-collection-widget.php:90
271
+ msgid "Random refresh"
272
+ msgstr ""
273
+
274
+ #: quotes-collection-widget.php:90
275
+ msgid "Unchecking this will rotate quotes in the order added, latest first."
276
+ msgstr ""
277
+
278
+ #: quotes-collection-widget.php:91
279
+ msgid "Auto refresh"
280
+ msgstr ""
281
+
282
+ #: quotes-collection-widget.php:91
283
+ msgid "every"
284
+ msgstr ""
285
+
286
+ #: quotes-collection-widget.php:91
287
+ msgid "sec"
288
+ msgstr ""
289
+
290
+ #: quotes-collection-widget.php:92
291
+ msgid "Tags filter"
292
+ msgstr ""
293
+
294
+ #: quotes-collection-widget.php:92
295
+ msgid "Comma separated"
296
+ msgstr ""
297
+
298
+ #: quotes-collection-widget.php:93
299
+ msgid "Character limit"
300
  msgstr ""
301
 
quotes-collection-admin.php ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function quotescollection_admin_menu()
4
+ {
5
+ global $quotescollection_admin_userlevel;
6
+ add_object_page('Quotes Collection', 'Quotes', $quotescollection_admin_userlevel, 'quotes-collection', 'quotescollection_quotes_management');
7
+ }
8
+ add_action('admin_menu', 'quotescollection_admin_menu');
9
+
10
+
11
+
12
+ function quotescollection_addquote($quote, $author = "", $source = "", $tags = "", $public = 'yes')
13
+ {
14
+ if(!$quote) return __('Nothing added to the database.', 'quotes-collection');
15
+ global $wpdb;
16
+ $table_name = $wpdb->prefix . "quotescollection";
17
+ if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name)
18
+ return __('Database table not found', 'quotes-collection');
19
+ else //Add the quote data to the database
20
+ {
21
+ global $allowedposttags;
22
+ $quote = wp_kses( stripslashes($quote), $allowedposttags );
23
+ $author = wp_kses( stripslashes($author), array( 'a' => array( 'href' => array(),'title' => array() ) ) ) ;
24
+ $source = wp_kses( stripslashes($source), array( 'a' => array( 'href' => array(),'title' => array() ) ) ) ;
25
+ $tags = strip_tags( stripslashes($tags) );
26
+
27
+ $quote = "'".$wpdb->escape($quote)."'";
28
+ $author = $author?"'".$wpdb->escape($author)."'":"NULL";
29
+ $source = $source?"'".$wpdb->escape($source)."'":"NULL";
30
+ $tags = explode(',', $tags);
31
+ foreach ($tags as $key => $tag)
32
+ $tags[$key] = trim($tag);
33
+ $tags = implode(',', $tags);
34
+ $tags = $tags?"'".$wpdb->escape($tags)."'":"NULL";
35
+ if(!$public) $public = "'no'";
36
+ else $public = "'yes'";
37
+ $insert = "INSERT INTO " . $table_name .
38
+ "(quote, author, source, tags, public, time_added)" .
39
+ "VALUES ({$quote}, {$author}, {$source}, {$tags}, {$public}, NOW())";
40
+ $results = $wpdb->query( $insert );
41
+ if(FALSE === $results)
42
+ return __('There was an error in the MySQL query', 'quotes-collection');
43
+ else
44
+ return __('Quote added', 'quotes-collection');
45
+ }
46
+ }
47
+
48
+ function quotescollection_editquote($quote_id, $quote, $author = "", $source = "", $tags = "", $public = 'yes')
49
+ {
50
+ if(!$quote) return __('Quote not updated.', 'quotes-collection');
51
+ if(!$quote_id) return srgq_addquote($quote, $author, $source, $public);
52
+ global $wpdb;
53
+ $table_name = $wpdb->prefix . "quotescollection";
54
+ if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name)
55
+ return __('Database table not found', 'quotes-collection');
56
+ else //Update database
57
+ {
58
+ global $allowedposttags;
59
+ $quote = wp_kses( stripslashes($quote), $allowedposttags );
60
+ $author = wp_kses( stripslashes($author), array( 'a' => array( 'href' => array(),'title' => array() ) ) ) ;
61
+ $source = wp_kses( stripslashes($source), array( 'a' => array( 'href' => array(),'title' => array() ) ) ) ;
62
+ $tags = strip_tags( stripslashes($tags) );
63
+
64
+ $quote = "'".$wpdb->escape($quote)."'";
65
+ $author = $author?"'".$wpdb->escape($author)."'":"NULL";
66
+ $source = $source?"'".$wpdb->escape($source)."'":"NULL";
67
+ $tags = explode(',', $tags);
68
+ foreach ($tags as $key => $tag)
69
+ $tags[$key] = trim($tag);
70
+ $tags = implode(',', $tags);
71
+ $tags = $tags?"'".$wpdb->escape($tags)."'":"NULL";
72
+ if(!$public) $public = "'no'";
73
+ else $public = "'yes'";
74
+ $update = "UPDATE " . $table_name . "
75
+ SET quote = {$quote},
76
+ author = {$author},
77
+ source = {$source},
78
+ tags = {$tags},
79
+ public = {$public},
80
+ time_updated = NOW()
81
+ WHERE quote_id = $quote_id";
82
+ $results = $wpdb->query( $update );
83
+ if(FALSE === $results)
84
+ return __('There was an error in the MySQL query', 'quotes-collection');
85
+ else
86
+ return __('Changes saved', 'quotes-collection');
87
+ }
88
+ }
89
+
90
+
91
+ function quotescollection_deletequote($quote_id)
92
+ {
93
+ if($quote_id) {
94
+ global $wpdb;
95
+ $sql = "DELETE from " . $wpdb->prefix ."quotescollection" .
96
+ " WHERE quote_id = " . $quote_id;
97
+ if(FALSE === $wpdb->query($sql))
98
+ return __('There was an error in the MySQL query', 'quotes-collection');
99
+ else
100
+ return __('Quote deleted', 'quotes-collection');
101
+ }
102
+ else return __('The quote cannot be deleted', 'quotes-collection');
103
+ }
104
+
105
+ function quotescollection_getquotedata($quote_id)
106
+ {
107
+ global $wpdb;
108
+ $sql = "SELECT quote_id, quote, author, source, tags, public
109
+ FROM " . $wpdb->prefix . "quotescollection
110
+ WHERE quote_id = {$quote_id}";
111
+ $quote_data = $wpdb->get_row($sql, ARRAY_A);
112
+ return $quote_data;
113
+ }
114
+
115
+ function quotescollection_editform($quote_id = 0)
116
+ {
117
+ $public_selected = " checked=\"checked\"";
118
+ $submit_value = __('Add Quote', 'quotes-collection');
119
+ $form_name = "addquote";
120
+ $action_url = get_bloginfo('wpurl')."/wp-admin/admin.php?page=quotes-collection#addnew";
121
+ $quote = $author = $source = $tags = $hidden_input = $back = "";
122
+
123
+ if($quote_id) {
124
+ $form_name = "editquote";
125
+ $quote_data = quotescollection_getquotedata($quote_id);
126
+ foreach($quote_data as $key => $value)
127
+ $quote_data[$key] = $quote_data[$key];
128
+ extract($quote_data);
129
+ $quote = htmlspecialchars($quote);
130
+ $author = htmlspecialchars($author);
131
+ $source = htmlspecialchars($source);
132
+ $tags = implode(', ', explode(',', $tags));
133
+ $hidden_input = "<input type=\"hidden\" name=\"quote_id\" value=\"{$quote_id}\" />";
134
+ if($public == 'no') $public_selected = "";
135
+ $submit_value = __('Save changes', 'quotes-collection');
136
+ $back = "<input type=\"submit\" name=\"submit\" value=\"".__('Back', 'quotes-collection')."\" />&nbsp;";
137
+ $action_url = get_bloginfo('wpurl')."/wp-admin/admin.php?page=quotes-collection";
138
+ }
139
+
140
+ $quote_label = __('The quote', 'quotes-collection');
141
+ $author_label = __('Author', 'quotes-collection');
142
+ $source_label = __('Source', 'quotes-collection');
143
+ $tags_label = __('Tags', 'quotes-collection');
144
+ $public_label = __('Public?', 'quotes-collection');
145
+ $optional_text = __('optional', 'quotes-collection');
146
+ $comma_separated_text = __('comma separated', 'quotes-collection');
147
+
148
+
149
+ $display =<<< EDITFORM
150
+ <form name="{$form_name}" method="post" action="{$action_url}">
151
+ {$hidden_input}
152
+ <table class="form-table" cellpadding="5" cellspacing="2" width="100%">
153
+ <tbody><tr class="form-field form-required">
154
+ <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_quote">{$quote_label}</label></th>
155
+ <td><textarea id="quotescollection_quote" name="quote" rows="5" cols="50" style="width: 97%;">{$quote}</textarea></td>
156
+ </tr>
157
+ <tr class="form-field">
158
+ <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_author">{$author_label}</label></th>
159
+ <td><input type="text" id="quotescollection_author" name="author" size="40" value="{$author}" /><br />{$optional_text}</td>
160
+ </tr>
161
+ <tr class="form-field">
162
+ <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_source">{$source_label}</label></th>
163
+ <td><input type="text" id="quotescollection_source" name="source" size="40" value="{$source}" /><br />{$optional_text}</td>
164
+ </tr>
165
+ <tr class="form-field">
166
+ <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_tags">{$tags_label}</label></th>
167
+ <td><input type="text" id="quotescollection_tags" name="tags" size="40" value="{$tags}" /><br />{$optional_text}, {$comma_separated_text}</small></td>
168
+ </tr>
169
+ <tr>
170
+ <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_public">{$public_label}</label></th>
171
+ <td><input type="checkbox" id="quotescollection_public" name="public"{$public_selected} />
172
+ </tr></tbody>
173
+ </table>
174
+ <p class="submit">{$back}<input name="submit" value="{$submit_value}" type="submit" class="button button-primary" /></p>
175
+ </form>
176
+ EDITFORM;
177
+ return $display;
178
+ }
179
+
180
+ function quotescollection_changevisibility($quote_ids, $public = 'yes')
181
+ {
182
+ if(!$quote_ids)
183
+ return __('Nothing done!', 'quotes-collection');
184
+ global $wpdb;
185
+ $sql = "UPDATE ".$wpdb->prefix."quotescollection
186
+ SET public = '".$public."',
187
+ time_updated = NOW()
188
+ WHERE quote_id IN (".implode(', ', $quote_ids).")";
189
+ $wpdb->query($sql);
190
+ if($public == 'yes')
191
+ return __("Selected quotes made public", 'quotes-collection');
192
+ else
193
+ return __("Selected quotes made private", 'quotes-collection');
194
+ }
195
+
196
+ function quotescollection_bulkdelete($quote_ids)
197
+ {
198
+ if(!$quote_ids)
199
+ return __('Nothing done!', 'quotes-collection');
200
+ global $wpdb;
201
+ $sql = "DELETE FROM ".$wpdb->prefix."quotescollection
202
+ WHERE quote_id IN (".implode(', ', $quote_ids).")";
203
+ $wpdb->query($sql);
204
+ return __('Quote(s) deleted', 'quotes-collection');
205
+ }
206
+
207
+
208
+
209
+ function quotescollection_quotes_management()
210
+ {
211
+
212
+ global $quotescollection_db_version;
213
+ $options = get_option('quotescollection');
214
+ $display = $msg = $quotes_list = $alternate = "";
215
+
216
+ if($options['db_version'] != $quotescollection_db_version )
217
+ quotescollection_install();
218
+
219
+ if(isset($_REQUEST['submit'])) {
220
+ if($_REQUEST['submit'] == __('Add Quote', 'quotes-collection')) {
221
+ extract($_REQUEST);
222
+ $msg = quotescollection_addquote($quote, $author, $source, $tags, $public);
223
+ }
224
+ else if($_REQUEST['submit'] == __('Save changes', 'quotes-collection')) {
225
+ extract($_REQUEST);
226
+ $msg = quotescollection_editquote($quote_id, $quote, $author, $source, $tags, $public);
227
+ }
228
+ }
229
+ else if(isset($_REQUEST['action'])) {
230
+ if($_REQUEST['action'] == 'editquote') {
231
+ $display .= "<div class=\"wrap\">\n<h2>Quotes Collection &raquo; ".__('Edit quote', 'quotes-collection')."</h2>";
232
+ $display .= quotescollection_editform($_REQUEST['id']);
233
+ $display .= "</div>";
234
+ echo $display;
235
+ return;
236
+ }
237
+ else if($_REQUEST['action'] == 'delquote') {
238
+ $msg = quotescollection_deletequote($_REQUEST['id']);
239
+ }
240
+ }
241
+ else if(isset($_REQUEST['bulkactionsubmit'])) {
242
+ if($_REQUEST['bulkaction'] == 'delete')
243
+ $msg = quotescollection_bulkdelete($_REQUEST['bulkcheck']);
244
+ if($_REQUEST['bulkaction'] == 'make_public') {
245
+ $msg = quotescollection_changevisibility($_REQUEST['bulkcheck'], 'yes');
246
+ }
247
+ if($_REQUEST['bulkaction'] == 'keep_private') {
248
+ $msg = quotescollection_changevisibility($_REQUEST['bulkcheck'], 'no');
249
+ }
250
+ }
251
+
252
+
253
+ $display .= "<div class=\"wrap\">";
254
+
255
+ if($msg)
256
+ $display .= "<div id=\"message\" class=\"updated fade\"><p>{$msg}</p></div>";
257
+
258
+ $display .= "<h2>Quotes Collection <a href=\"#addnew\" class=\"add-new-h2\">".__('Add new quote', 'quotes-collection')."</a></h2>";
259
+
260
+ $num_quotes = quotescollection_count();
261
+
262
+ if(!$num_quotes) {
263
+ $display .= "<p>".__('No quotes in the database', 'quotes-collection')."</p>";
264
+
265
+ $display .= "</div>";
266
+
267
+ $display .= "<div id=\"addnew\" class=\"wrap\">\n<h2>".__('Add new quote', 'quotes-collection')."</h2>";
268
+ $display .= quotescollection_editform();
269
+ $display .= "</div>";
270
+
271
+ echo $display;
272
+ return;
273
+ }
274
+
275
+ global $wpdb;
276
+
277
+ $sql = "SELECT quote_id, quote, author, source, tags, public
278
+ FROM " . $wpdb->prefix . "quotescollection";
279
+
280
+ $option_selected = array (
281
+ 'quote_id' => '',
282
+ 'quote' => '',
283
+ 'author' => '',
284
+ 'source' => '',
285
+ 'time_added' => '',
286
+ 'time_updated' => '',
287
+ 'public' => '',
288
+ 'ASC' => '',
289
+ 'DESC' => '',
290
+ );
291
+ if(isset($_REQUEST['orderby'])) {
292
+ $sql .= " ORDER BY " . $_REQUEST['orderby'] . " " . $_REQUEST['order'];
293
+ $option_selected[$_REQUEST['orderby']] = " selected=\"selected\"";
294
+ $option_selected[$_REQUEST['order']] = " selected=\"selected\"";
295
+ }
296
+ else {
297
+ $sql .= " ORDER BY quote_id ASC";
298
+ $option_selected['quote_id'] = " selected=\"selected\"";
299
+ $option_selected['ASC'] = " selected=\"selected\"";
300
+ }
301
+
302
+ if(isset($_REQUEST['paged']) && $_REQUEST['paged'] && is_numeric($_REQUEST['paged']))
303
+ $paged = $_REQUEST['paged'];
304
+ else
305
+ $paged = 1;
306
+
307
+ $limit_per_page = 20;
308
+
309
+
310
+
311
+ $total_pages = ceil($num_quotes / $limit_per_page);
312
+
313
+
314
+ if($paged > $total_pages) $paged = $total_pages;
315
+
316
+ $admin_url = get_bloginfo('wpurl'). "/wp-admin/admin.php?page=quotes-collection";
317
+ if(isset($_REQUEST['orderby']))
318
+ $admin_url .= "&orderby=".$_REQUEST['orderby']."&order=".$_REQUEST['order'];
319
+
320
+ $page_nav = quotescollection_pagenav($total_pages, $paged, 2, 'paged', $admin_url);
321
+
322
+ $start = ($paged - 1) * $limit_per_page;
323
+
324
+ $sql .= " LIMIT {$start}, {$limit_per_page}";
325
+
326
+ // Get all the quotes from the database
327
+ $quotes = $wpdb->get_results($sql);
328
+
329
+ foreach($quotes as $quote_data) {
330
+ if($alternate) $alternate = "";
331
+ else $alternate = " class=\"alternate\"";
332
+ $quotes_list .= "<tr{$alternate}>";
333
+ $quotes_list .= "<th scope=\"row\" class=\"check-column\"><input type=\"checkbox\" name=\"bulkcheck[]\" value=\"".$quote_data->quote_id."\" /></th>";
334
+ $quotes_list .= "<td>" . $quote_data->quote_id . "</td>";
335
+ $quotes_list .= "<td>";
336
+ $quotes_list .= wptexturize(nl2br(make_clickable($quote_data->quote)));
337
+ $quotes_list .= "<div class=\"row-actions\"><span class=\"edit\"><a href=\"{$admin_url}&action=editquote&amp;id=".$quote_data->quote_id."\" class=\"edit\">".__('Edit', 'quotes-collection')."</a></span> | <span class=\"trash\"><a href=\"{$admin_url}&action=delquote&amp;id=".$quote_data->quote_id."\" onclick=\"return confirm( '".__('Are you sure you want to delete this quote?', 'quotes-collection')."');\" class=\"delete\">".__('Delete', 'quotes-collection')."</a></span></div>";
338
+ $quotes_list .= "</td>";
339
+ $quotes_list .= "<td>" . make_clickable($quote_data->author);
340
+ if($quote_data->author && $quote_data->source)
341
+ $quotes_list .= " / ";
342
+ $quotes_list .= make_clickable($quote_data->source) ."</td>";
343
+ $quotes_list .= "<td>" . implode(', ', explode(',', $quote_data->tags)) . "</td>";
344
+ if($quote_data->public == 'no') $public = __('No', 'quotes-collection');
345
+ else $public = __('Yes', 'quotes-collection');
346
+ $quotes_list .= "<td>" . $public ."</td>";
347
+ $quotes_list .= "</tr>";
348
+ }
349
+
350
+ if($quotes_list) {
351
+ $quotes_count = quotescollection_count();
352
+
353
+ $display .= "<form id=\"quotescollection\" method=\"post\" action=\"".get_bloginfo('wpurl')."/wp-admin/admin.php?page=quotes-collection\">";
354
+ $display .= "<div class=\"tablenav\">";
355
+ $display .= "<div class=\"alignleft actions\">";
356
+ $display .= "<select name=\"bulkaction\">";
357
+ $display .= "<option value=\"0\">".__('Bulk Actions')."</option>";
358
+ $display .= "<option value=\"delete\">".__('Delete', 'quotes-collection')."</option>";
359
+ $display .= "<option value=\"make_public\">".__('Make public', 'quotes-collection')."</option>";
360
+ $display .= "<option value=\"keep_private\">".__('Keep private', 'quotes-collection')."</option>";
361
+ $display .= "</select>";
362
+ $display .= "<input type=\"submit\" name=\"bulkactionsubmit\" value=\"".__('Apply', 'quotes-collection')."\" class=\"button-secondary\" />";
363
+ $display .= "&nbsp;&nbsp;&nbsp;";
364
+ $display .= __('Sort by: ', 'quotes-collection');
365
+ $display .= "<select name=\"orderby\">";
366
+ $display .= "<option value=\"quote_id\"{$option_selected['quote_id']}>".__('Quote', 'quotes-collection')." ID</option>";
367
+ $display .= "<option value=\"quote\"{$option_selected['quote']}>".__('Quote', 'quotes-collection')."</option>";
368
+ $display .= "<option value=\"author\"{$option_selected['author']}>".__('Author', 'quotes-collection')."</option>";
369
+ $display .= "<option value=\"source\"{$option_selected['source']}>".__('Source', 'quotes-collection')."</option>";
370
+ $display .= "<option value=\"time_added\"{$option_selected['time_added']}>".__('Date added', 'quotes-collection')."</option>";
371
+ $display .= "<option value=\"time_updated\"{$option_selected['time_updated']}>".__('Date updated', 'quotes-collection')."</option>";
372
+ $display .= "<option value=\"public\"{$option_selected['public']}>".__('Visibility', 'quotes-collection')."</option>";
373
+ $display .= "</select>";
374
+ $display .= "<select name=\"order\"><option{$option_selected['ASC']}>ASC</option><option{$option_selected['DESC']}>DESC</option></select>";
375
+ $display .= "<input type=\"submit\" name=\"orderbysubmit\" value=\"".__('Go', 'quotes-collection')."\" class=\"button-secondary\" />";
376
+ $display .= "</div>";
377
+ $display .= '<div class="tablenav-pages"><span class="displaying-num">'.sprintf(_n('%d quote', '%d quotes', $quotes_count, 'quotes-collection'), $quotes_count).'</span><span class="pagination-links">'. $page_nav. "</span></div>";
378
+ $display .= "<div class=\"clear\"></div>";
379
+ $display .= "</div>";
380
+
381
+
382
+
383
+ $display .= "<table class=\"widefat\">";
384
+ $display .= "<thead><tr>
385
+ <th class=\"check-column\"><input type=\"checkbox\" onclick=\"quotescollection_checkAll(document.getElementById('quotescollection'));\" /></th>
386
+ <th>ID</th><th>".__('The quote', 'quotes-collection')."</th>
387
+ <th>
388
+ ".__('Author', 'quotes-collection')." / ".__('Source', 'quotes-collection')."
389
+ </th>
390
+ <th>".__('Tags', 'quotes-collection')."</th>
391
+ <th>".__('Public?', 'quotes-collection')."</th>
392
+ </tr></thead>";
393
+ $display .= "<tbody id=\"the-list\">{$quotes_list}</tbody>";
394
+ $display .= "</table>";
395
+
396
+ $display .= "<div class=\"tablenav\">";
397
+ $display .= '<div class="tablenav-pages"><span class="displaying-num">'.sprintf(_n('%d quote', '%d quotes', $quotes_count, 'quotes-collection'), $quotes_count).'</span><span class="pagination-links">'. $page_nav. "</span></div>";
398
+ $display .= "<div class=\"clear\"></div>";
399
+ $display .= "</div>";
400
+
401
+ $display .= "</form>";
402
+ $display .= "<br style=\"clear:both;\" />";
403
+
404
+ }
405
+ else
406
+ $display .= "<p>".__('No quotes in the database', 'quotes-collection')."</p>";
407
+
408
+
409
+
410
+ $display .= "</div>";
411
+
412
+ $display .= "<div id=\"addnew\" class=\"wrap\">\n<h2>".__('Add new quote', 'quotes-collection')."</h2>";
413
+ $display .= quotescollection_editform();
414
+ $display .= "</div>";
415
+
416
+
417
+ echo $display;
418
+
419
+ }
420
+
421
+
422
+ function quotescollection_admin_footer()
423
+ {
424
+ ?>
425
+ <script type="text/javascript">
426
+ function quotescollection_checkAll(form) {
427
+ for (i = 0, n = form.elements.length; i < n; i++) {
428
+ if(form.elements[i].type == "checkbox" && !(form.elements[i].hasAttribute('onclick'))) {
429
+ if(form.elements[i].checked == true)
430
+ form.elements[i].checked = false;
431
+ else
432
+ form.elements[i].checked = true;
433
+ }
434
+ }
435
+ }
436
+ </script>
437
+
438
+ <?php
439
+ }
440
+
441
+ add_action('admin_footer', 'quotescollection_admin_footer');
442
+
443
+ ?>
quotes-collection-ajax.php CHANGED
@@ -1,30 +1,48 @@
1
  <?php
2
- // If you have your 'wp-content' directory in a place other than the default location, please specify your blog directory here. This is not your blog url. It is the address in your server. For example: '/public_html/myblog'
3
- $blogdir = "";
 
4
 
5
- if(isset($_POST['refresh'])) {
 
 
 
6
 
7
- if (!$blogdir) {
8
- $blogdir = preg_replace('|/wp-content.*$|','', __FILE__);
9
- }
10
- if($blogdir == __FILE__) {
11
- $blogdir = preg_replace('|\wp-content.*$|','', __FILE__);
12
- include_once($blogdir.'\wp-config.php');
13
- include_once($blogdir.'\wp-includes\wp-db.php');
14
- }
15
- else {
16
- include_once($blogdir.'/wp-config.php');
17
- include_once($blogdir.'/wp-includes/wp-db.php');
18
- }
19
- include_once(str_replace("-ajax", "", __FILE__));
 
 
 
 
 
 
 
 
 
 
 
 
20
  $show_author = isset($_POST['show_author'])?$_POST['show_author']:1;
21
  $show_source = isset($_POST['show_source'])?$_POST['show_source']:1;
22
  $auto_refresh = isset($_POST['auto_refresh'])?$_POST['auto_refresh']:0;
23
  $random_refresh = isset($_POST['random_refresh'])?$_POST['random_refresh']:1;
24
  $char_limit = (isset($_POST['char_limit']) && is_numeric($_POST['char_limit']))?$_POST['char_limit']:'';
25
 
26
- if($random_refresh && $_POST['current'] && is_numeric($_POST['current']))
27
  $exclude = $_POST['current'];
 
 
28
  else {
29
  if ($_POST['current'] && is_numeric($_POST['current']))
30
  $current = $_POST['current'];
@@ -37,11 +55,12 @@ if(isset($_POST['refresh'])) {
37
 
38
 
39
  if($response = quotescollection_quote($args)) {
40
- @header("Content-type: text/javascript; charset=utf-8");
41
  die( $response );
42
  }
43
  else
44
  die( $error );
45
  }
46
-
 
47
  ?>
1
  <?php
2
+ function quotescollection_scripts()
3
+ {
4
+ global $quotescollection_auto_refresh_max, $quotescollection_next_quote, $quotescollection_version;
5
 
6
+ $nextquote = $quotescollection_next_quote?$quotescollection_next_quote:__('Next quote', 'quotes-collection')."&nbsp;&raquo;";
7
+ $loading = __('Loading...', 'quotes-collection');
8
+ $error = __('Error getting quote', 'quotes-collection');
9
+ $auto_refresh_max = $quotescollection_auto_refresh_max;
10
 
11
+ wp_enqueue_script( 'quotescollection', plugin_dir_url(__FILE__).'quotes-collection.js', array('jquery'), $quotescollection_version );
12
+ wp_localize_script( 'quotescollection', 'QCAjax', array(
13
+ // URL to wp-admin/admin-ajax.php to process the request
14
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
15
+
16
+ // generate a nonce with a unique ID "myajax-post-comment-nonce"
17
+ // so that you can check it later when an AJAX request is sent
18
+ 'nonce' => wp_create_nonce( 'quotescollection' ),
19
+
20
+ 'nextquote' => $nextquote,
21
+ 'loading' => $loading,
22
+ 'error' => $error,
23
+ 'auto_refresh_max' => $quotescollection_auto_refresh_max,
24
+ 'auto_refresh_count' => 0
25
+ )
26
+ );
27
+ }
28
+ add_action('init', 'quotescollection_scripts');
29
+
30
+
31
+ function quotescollection_load()
32
+ {
33
+ check_ajax_referer('quotescollection');
34
+
35
+
36
  $show_author = isset($_POST['show_author'])?$_POST['show_author']:1;
37
  $show_source = isset($_POST['show_source'])?$_POST['show_source']:1;
38
  $auto_refresh = isset($_POST['auto_refresh'])?$_POST['auto_refresh']:0;
39
  $random_refresh = isset($_POST['random_refresh'])?$_POST['random_refresh']:1;
40
  $char_limit = (isset($_POST['char_limit']) && is_numeric($_POST['char_limit']))?$_POST['char_limit']:'';
41
 
42
+ if($random_refresh && $_POST['current'] && is_numeric($_POST['current'])) {
43
  $exclude = $_POST['current'];
44
+ $current = '';
45
+ }
46
  else {
47
  if ($_POST['current'] && is_numeric($_POST['current']))
48
  $current = $_POST['current'];
55
 
56
 
57
  if($response = quotescollection_quote($args)) {
58
+ @header("Content-type: text/html; charset=utf-8");
59
  die( $response );
60
  }
61
  else
62
  die( $error );
63
  }
64
+ add_action ("wp_ajax_quotescollection", "quotescollection_load");
65
+ add_action ("wp_ajax_nopriv_quotescollection", "quotescollection_load");
66
  ?>
quotes-collection-shortcodes.php ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function quotescollection_shortcode_output_format($quotes)
4
+ {
5
+ $display = "";
6
+
7
+ foreach($quotes as $quote_data) {
8
+ $display .= "<blockquote class=\"quotescollection\" id=\"quote-".$quote_data['quote_id']."\">";
9
+ $display .= quotescollection_output_format( $quote_data );
10
+ $display .= "</blockquote>\n";
11
+ }
12
+ return apply_filters( 'quotescollection_shortcode_output_format', $display );
13
+ }
14
+
15
+
16
+ function quotescollection_shortcodes($atts = array())
17
+ {
18
+ extract( shortcode_atts( array(
19
+ 'limit' => 0,
20
+ 'id' => 0,
21
+ 'author' => '',
22
+ 'source' => '',
23
+ 'tags' => '',
24
+ 'orderby' => 'quote_id',
25
+ 'order' => 'ASC',
26
+ 'paging' => false,
27
+ 'limit_per_page' => 10
28
+ ), $atts ) );
29
+
30
+ $condition = " WHERE public = 'yes'";
31
+
32
+ if(isset($quote_id) && is_numeric($quote_id)) $id = $quote_id;
33
+
34
+ if($id && is_numeric($id)) {
35
+ $condition .= " AND quote_id = ".$id;
36
+
37
+ if ($quote = quotescollection_get_quotes($condition))
38
+ return quotescollection_shortcode_output_format($quote);
39
+ else
40
+ return "";
41
+ }
42
+
43
+ if($author)
44
+ $condition .= " AND author = '".$author."'";
45
+ if($source)
46
+ $condition .= " AND source = '".$source."'";
47
+ if ($tags) {
48
+ $tags = html_entity_decode($tags);
49
+ if(!$tags)
50
+ break;
51
+ $taglist = explode(',', $tags);
52
+ $tags_condition = "";
53
+ foreach($taglist as $tag) {
54
+ $tag = trim($tag);
55
+ if($tags_condition) $tags_condition .= " OR ";
56
+ $tags_condition .= "tags = '{$tag}' OR tags LIKE '{$tag},%' OR tags LIKE '%,{$tag},%' OR tags LIKE '%,{$tag}'";
57
+ }
58
+ if($tags_condition) $condition .= " AND ".$tags_condition;
59
+ }
60
+
61
+
62
+
63
+ if($orderby == 'id' || !$orderby) $orderby = 'quote_id';
64
+ else if ($orderby == 'date_added') $orderby = 'time_added';
65
+ else if($orderby == 'random' || $orderby == 'rand') {
66
+ $orderby = 'RAND(UNIX_TIMESTAMP(NOW()))';
67
+ $order = '';
68
+ $paging = false;
69
+ };
70
+ $order = strtoupper($order);
71
+ if($order && $order != 'DESC')
72
+ $order = 'ASC';
73
+
74
+ $condition .= " ORDER BY {$orderby} {$order}";
75
+
76
+ if($paging == true || $paging == 1) {
77
+
78
+ $num_quotes = quotescollection_count($condition);
79
+
80
+ $total_pages = ceil($num_quotes / $limit_per_page);
81
+
82
+
83
+ if(!isset($_GET['quotes_page']) || !$_GET['quotes_page'] || !is_numeric($_GET['quotes_page']))
84
+ $page = 1;
85
+ else
86
+ $page = $_GET['quotes_page'];
87
+
88
+ if($page > $total_pages) $page = $total_pages;
89
+
90
+ if($page_nav = quotescollection_pagenav($total_pages, $page, 0, 'quotes_page'))
91
+ $page_nav = '<div class="quotescollection_pagenav">'.$page_nav.'</div>';
92
+
93
+ $start = ($page - 1) * $limit_per_page;
94
+
95
+ $condition .= " LIMIT {$start}, {$limit_per_page}";
96
+
97
+ // return $condition;
98
+
99
+ if($quotes = quotescollection_get_quotes($condition))
100
+ return $page_nav.quotescollection_shortcode_output_format($quotes).$page_nav;
101
+ else
102
+ return "";
103
+
104
+ }
105
+
106
+ else if($limit && is_numeric($limit))
107
+ $condition .= " LIMIT ".$limit;
108
+
109
+ // return $condition;
110
+
111
+ if($quotes = quotescollection_get_quotes($condition))
112
+ return quotescollection_shortcode_output_format($quotes);
113
+ else
114
+ return "";
115
+ }
116
+
117
+ add_shortcode('quotescollection', 'quotescollection_shortcodes');
118
+ add_shortcode('quotcoll', 'quotescollection_shortcodes');
119
+ add_shortcode('quotecoll', 'quotescollection_shortcodes'); // just in case, somebody misspells the shortcode
120
+
121
+
122
+
123
+
124
+ /* Backward compatibility for [quote] */
125
+
126
+
127
+
128
+ function quotescollection_displayquote($matches)
129
+ {
130
+ if(!isset($matches[1]) || (isset($matches[1]) && !$matches[1]) || $matches[0] == "[quote|random]")
131
+ $atts = array( 'orderby' => 'random', 'limit' => 1 );
132
+ else
133
+ $atts = array ( 'id' => $matches[1] );
134
+
135
+ return quotescollection_shortcodes($atts);
136
+ }
137
+
138
+
139
+ function quotescollection_displayquotes_author($matches)
140
+ {
141
+ return quotescollection_shortcodes(array('author'=>$matches[1]));
142
+ }
143
+
144
+
145
+ function quotescollection_displayquotes_source($matches)
146
+ {
147
+ return quotescollection_shortcodes(array('source'=>$matches[1]));
148
+ }
149
+
150
+ function quotescollection_displayquotes_tags($matches)
151
+ {
152
+ return quotescollection_shortcodes(array('tags'=>$matches[1]));
153
+ }
154
+
155
+ function quotescollection_inpost( $text )
156
+ {
157
+ $start = strpos($text,"[quote|id=");
158
+ if ($start !== FALSE) {
159
+ $text = preg_replace_callback( "/\[quote\|id=(\d+)\]/i", "quotescollection_displayquote", $text );
160
+ }
161
+ $start = strpos($text,"[quote|random]");
162
+ if ($start !== FALSE) {
163
+ $text = preg_replace_callback( "/\[quote\|random\]/i", "quotescollection_displayquote", $text );
164
+ }
165
+ $start = strpos($text,"[quote|all]");
166
+ if ($start !== FALSE) {
167
+ $text = preg_replace_callback( "/\[quote\|all\]/i", "quotescollection_shortcodes", $text );
168
+ }
169
+ $start = strpos($text,"[quote|author=");
170
+ if($start !== FALSE) {
171
+ $text = preg_replace_callback("/\[quote\|author=(.{1,})?\]/i", "quotescollection_displayquotes_author", $text);
172
+ }
173
+ $start = strpos($text,"[quote|source=");
174
+ if($start !== FALSE) {
175
+ $text = preg_replace_callback("/\[quote\|source=(.{1,})?\]/i", "quotescollection_displayquotes_source", $text);
176
+ }
177
+ $start = strpos($text,"[quote|tags=");
178
+ if($start !== FALSE) {
179
+ $text = preg_replace_callback("/\[quote\|tags=(.{1,})?\]/i", "quotescollection_displayquotes_tags", $text);
180
+ } return $text;
181
+ }
182
+ add_filter('the_content', 'quotescollection_inpost', 7);
183
+ add_filter('the_excerpt', 'quotescollection_inpost', 7);
184
+
185
+ ?>
quotes-collection-widget.php ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function quotescollection_widget_init()
4
+ {
5
+ if(function_exists('load_plugin_textdomain'))
6
+ load_plugin_textdomain('quotes-collection', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
7
+
8
+ if ( !function_exists('register_sidebar_widget') || !function_exists('register_widget_control') )
9
+ return;
10
+
11
+ function quotescollection_widget($args) {
12
+ $options = get_option('quotescollection');
13
+ $title = isset($options['title'])?apply_filters('the_title', $options['title']):__('Random Quote', 'quotes-collection');
14
+ $show_author = isset($options['show_author'])?$options['show_author']:1;
15
+ $show_source = isset($options['show_source'])?$options['show_source']:1;
16
+ $ajax_refresh = isset($options['ajax_refresh'])?$options['ajax_refresh']:1;
17
+ $auto_refresh = isset($options['auto_refresh'])?$options['auto_refresh']:0;
18
+ $random_refresh = isset($options['random_refresh'])?$options['random_refresh']:1;
19
+ if($auto_refresh)
20
+ $auto_refresh = isset($options['refresh_interval'])?$options['refresh_interval']:5;
21
+ $char_limit = $options['char_limit'];
22
+ $tags = $options['tags'];
23
+ $parms = "echo=0&show_author={$show_author}&show_source={$show_source}&ajax_refresh={$ajax_refresh}&auto_refresh={$auto_refresh}&char_limit={$char_limit}&tags={$tags}&random={$random_refresh}";
24
+ if($random_quote = quotescollection_quote($parms)) {
25
+ extract($args);
26
+ echo $before_widget;
27
+ if($title) echo $before_title . $title . $after_title . "\n";
28
+ echo $random_quote;
29
+ echo $after_widget;
30
+ }
31
+ }
32
+
33
+ function quotescollection_widget_control()
34
+ {
35
+
36
+ // default values for options
37
+ $options = array(
38
+ 'title' => __('Random Quote', 'quotes-collection'),
39
+ 'show_author' => 1,
40
+ 'show_source' => 0,
41
+ 'ajax_refresh' => 1,
42
+ 'auto_refresh' => 0,
43
+ 'random_refresh' => 1,
44
+ 'refresh_interval' => 5,
45
+ 'tags' => '',
46
+ 'char_limit' => 500
47
+ );
48
+
49
+ if($options_saved = get_option('quotescollection'))
50
+ $options = array_merge($options, $options_saved);
51
+
52
+ // Update options in db when user updates options in the widget page
53
+ if(isset($_REQUEST['quotescollection-submit']) && $_REQUEST['quotescollection-submit']) {
54
+ $options['title']
55
+ = strip_tags(stripslashes($_REQUEST['quotescollection-title']));
56
+ $options['show_author'] = (isset($_REQUEST['quotescollection-show_author']) && $_REQUEST['quotescollection-show_author'])?1:0;
57
+ $options['show_source'] = (isset($_REQUEST['quotescollection-show_source']) && $_REQUEST['quotescollection-show_source'])?1:0;
58
+ $options['ajax_refresh'] = (isset($_REQUEST['quotescollection-ajax_refresh']) && $_REQUEST['quotescollection-ajax_refresh'])?1:0;
59
+ $options['auto_refresh'] = (isset($_REQUEST['quotescollection-auto_refresh']) && $_REQUEST['quotescollection-auto_refresh'])?1:0;
60
+ $options['refresh_interval'] = $_REQUEST['quotescollection-refresh_interval'];
61
+ $options['random_refresh'] = (isset($_REQUEST['quotescollection-random_refresh']) && $_REQUEST['quotescollection-random_refresh'])?1:0;
62
+ $options['tags'] = strip_tags(stripslashes($_REQUEST['quotescollection-tags']));
63
+ $options['char_limit'] = strip_tags(stripslashes($_REQUEST['quotescollection-char_limit']));
64
+ if(!$options['char_limit'])
65
+ $options['char_limit'] = __('none', 'quotes-collection');
66
+ update_option('quotescollection', $options);
67
+ }
68
+
69
+ // Now we define the display of widget options menu
70
+ $show_author_checked = $show_source_checked = $ajax_refresh_checked = $auto_refresh_checked = $random_refresh_checked = '';
71
+ $int_select = array ( '5' => '', '10' => '', '15' => '', '20' => '', '30' => '', '60' => '');
72
+ if($options['show_author'])
73
+ $show_author_checked = ' checked="checked"';
74
+ if($options['show_source'])
75
+ $show_source_checked = ' checked="checked"';
76
+ if($options['ajax_refresh'])
77
+ $ajax_refresh_checked = ' checked="checked"';
78
+ if($options['auto_refresh'])
79
+ $auto_refresh_checked = ' checked="checked"';
80
+ if($options['random_refresh'])
81
+ $random_refresh_checked = ' checked="checked"';
82
+ $int_select[$options['refresh_interval']] = ' selected="selected"';
83
+
84
+ echo "<p style=\"text-align:left;\"><label for=\"quotescollection-title\">".__('Title', 'quotes-collection')." </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-title\" name=\"quotescollection-title\" value=\"".htmlspecialchars($options['title'], ENT_QUOTES)."\" /></p>";
85
+ echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-show_author\" name=\"quotescollection-show_author\" value=\"1\"{$show_author_checked} /> <label for=\"quotescollection-show_author\">".__('Show author?', 'quotes-collection')."</label></p>";
86
+ echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-show_source\" name=\"quotescollection-show_source\" value=\"1\"{$show_source_checked} /> <label for=\"quotescollection-show_source\">".__('Show source?', 'quotes-collection')."</label></p>";
87
+ echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-ajax_refresh\" name=\"quotescollection-ajax_refresh\" value=\"1\"{$ajax_refresh_checked} /> <label for=\"quotescollection-ajax_refresh\">".__('Ajax refresh feature', 'quotes-collection')."</label></p>";
88
+ echo "<p style=\"text-align:left;\"><small><a id=\"quotescollection-adv_key\" style=\"cursor:pointer;\" onclick=\"jQuery('div#quotescollection-adv_opts').slideToggle();\">".__('Advanced options', 'quotes-collection')." &raquo;</a></small></p>";
89
+ echo "<div id=\"quotescollection-adv_opts\" style=\"display:none\">";
90
+ echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-random_refresh\" name=\"quotescollection-random_refresh\" value=\"1\"{$random_refresh_checked} /> <label for=\"quotescollection-random_refresh\">".__('Random refresh', 'quotes-collection')."</label><br/><span class=\"setting-description\"><small>".__('Unchecking this will rotate quotes in the order added, latest first.', 'quotes-collection')."</small></span></p>";
91
+ echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-auto_refresh\" name=\"quotescollection-auto_refresh\" value=\"1\"{$auto_refresh_checked} /> <label for=\"quotescollection-auto_refresh\">".__('Auto refresh', 'quotes-collection')."</label> <label for=\"quotescollection-refresh_interval\">".__('every', 'quotes-collection')."</label> <select id=\"quotescollection-refresh_interval\" name=\"quotescollection-refresh_interval\"><option{$int_select['5']}>5</option><option{$int_select['10']}>10</option><option{$int_select['15']}>15</option><option{$int_select['20']}>20</option><option{$int_select['30']}>30</option><option{$int_select['60']}>60</option></select> ".__('sec', 'quotes-collection')."</p>";
92
+ echo "<p style=\"text-align:left;\"><label for=\"quotescollection-tags\">".__('Tags filter', 'quotes-collection')." </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-tags\" name=\"quotescollection-tags\" value=\"".htmlspecialchars($options['tags'], ENT_QUOTES)."\" /><br/><span class=\"setting-description\"><small>".__('Comma separated', 'quotes-collection')."</small></span></p>";
93
+ echo "<p style=\"text-align:left;\"><label for=\"quotescollection-char_limit\">".__('Character limit', 'quotes-collection')." </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-char_limit\" name=\"quotescollection-char_limit\" value=\"".htmlspecialchars($options['char_limit'], ENT_QUOTES)."\" /></p>";
94
+ echo "</div>";
95
+ echo "<input type=\"hidden\" id=\"quotescollection-submit\" name=\"quotescollection-submit\" value=\"1\" />";
96
+ }
97
+
98
+ if ( function_exists( 'wp_register_sidebar_widget' ) ) {
99
+ wp_register_sidebar_widget( 'quotescollection', 'Random Quote', 'quotescollection_widget' );
100
+ wp_register_widget_control( 'quotescollection', 'Random Quote', 'quotescollection_widget_control' );
101
+ } else {
102
+ register_sidebar_widget(array('Random Quote', 'widgets'), 'quotescollection_widget');
103
+ register_widget_control('Random Quote', 'quotescollection_widget_control', 250, 350);
104
+ }
105
+ }
106
+
107
+ add_action('plugins_loaded', 'quotescollection_widget_init');
108
+ ?>
quotes-collection.css CHANGED
@@ -42,6 +42,9 @@ blockquote.quotescollection cite {
42
  font-size:0.83em;
43
  }
44
 
 
 
 
45
 
46
  /* See http://www.w3schools.com/css/pr_gen_quotes.asp */
47
  q:lang(en)
42
  font-size:0.83em;
43
  }
44
 
45
+ a.disabled {
46
+ cursor:default;
47
+ }
48
 
49
  /* See http://www.w3schools.com/css/pr_gen_quotes.asp */
50
  q:lang(en)
quotes-collection.js CHANGED
@@ -1,21 +1,9 @@
1
- var quotcoll_requrl, quotcoll_nextquote, quotcoll_loading, quotcoll_errortext, quotcoll_auto_refresh_max;
2
- var quotcoll_auto_refresh_count = 0;
3
-
4
- function quotescollection_init(requrl, nextquote, loading, errortext, auto_refresh_max)
5
- {
6
- quotcoll_requrl = requrl;
7
- quotcoll_nextquote = nextquote;
8
- quotcoll_loading = loading;
9
- quotcoll_errortext = errortext;
10
- quotcoll_auto_refresh_max = auto_refresh_max;
11
- }
12
-
13
  function quotescollection_timer(instance, current, show_author, show_source, filter_tags, char_limit, auto_refresh, random_refresh)
14
  {
15
  var time_interval = auto_refresh * 1000;
16
- if( (quotcoll_auto_refresh_max == 0) || (quotcoll_auto_refresh_count < quotcoll_auto_refresh_max) ) {
17
  setTimeout("quotescollection_refresh("+instance+", "+current+", "+show_author+", "+show_source+", '"+filter_tags+"', "+char_limit+", "+auto_refresh+", "+random_refresh+")", time_interval);
18
- quotcoll_auto_refresh_count += 1;
19
  }
20
  }
21
 
@@ -23,20 +11,28 @@ function quotescollection_timer(instance, current, show_author, show_source, fil
23
 
24
  function quotescollection_refresh(instance, current, show_author, show_source, filter_tags, char_limit, auto_refresh, random_refresh)
25
  {
26
- jQuery("#quotescollection_nextquote-"+instance).html(quotcoll_loading);
27
  jQuery.ajax({
28
  type: "POST",
29
- url: quotcoll_requrl,
30
- data: "refresh="+instance+"&current="+current+"&show_author="+show_author+"&show_source="+show_source+"&char_limit="+char_limit+"&tags="+filter_tags+"&auto_refresh="+auto_refresh+"&random_refresh="+random_refresh,
31
  success: function(response) {
32
- jQuery("#quotescollection_randomquote-"+instance).hide();
33
- jQuery("#quotescollection_randomquote-"+instance).html( response );
34
- jQuery("#quotescollection_randomquote-"+instance).fadeIn("slow");
 
 
 
 
 
 
 
 
35
  },
36
  error: function(xhr, textStatus, errorThrown) {
37
- // alert(textStatus+' '+xhr.status+': '+errorThrown);
38
  if(auto_refresh == 0)
39
- jQuery("#quotescollection_nextquote-"+instance).html('<a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh('+instance+', '+exclude+', '+show_author+', '+show_source+', \''+filter_tags+'\', '+char_limit+')\">'+quotcoll_nextquote+'</a>');
40
  }
41
  });
42
  }
 
 
 
 
 
 
 
 
 
 
 
 
1
  function quotescollection_timer(instance, current, show_author, show_source, filter_tags, char_limit, auto_refresh, random_refresh)
2
  {
3
  var time_interval = auto_refresh * 1000;
4
+ if( (QCAjax.auto_refresh_max == 0) || (QCAjax.auto_refresh_count < QCAjax.auto_refresh_max) ) {
5
  setTimeout("quotescollection_refresh("+instance+", "+current+", "+show_author+", "+show_source+", '"+filter_tags+"', "+char_limit+", "+auto_refresh+", "+random_refresh+")", time_interval);
6
+ QCAjax.auto_refresh_count += 1;
7
  }
8
  }
9
 
11
 
12
  function quotescollection_refresh(instance, current, show_author, show_source, filter_tags, char_limit, auto_refresh, random_refresh)
13
  {
14
+ jQuery("#quotescollection_nextquote-"+instance).html(QCAjax.loading);
15
  jQuery.ajax({
16
  type: "POST",
17
+ url: QCAjax.ajaxurl,
18
+ data: "action=quotescollection&_ajax_nonce="+QCAjax.nonce+"&refresh="+instance+"&current="+current+"&show_author="+show_author+"&show_source="+show_source+"&char_limit="+char_limit+"&tags="+filter_tags+"&auto_refresh="+auto_refresh+"&random_refresh="+random_refresh,
19
  success: function(response) {
20
+ if(response == '-1') {
21
+ if(auto_refresh == 0)
22
+ jQuery("#quotescollection_nextquote-"+instance).html('<a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh(\''+instance+'\', \''+current+'\', \''+show_author+'\', \''+show_source+'\', \''+filter_tags+'\', \''+char_limit+'\', \'0\', \''+random_refresh+'\');\">'+QCAjax.nextquote+'</a>');
23
+ else
24
+ quotescollection_timer(instance, current, show_author, show_source, filter_tags, char_limit, auto_refresh, random_refresh);
25
+ }
26
+ else {
27
+ jQuery("#quotescollection_randomquote-"+instance).hide();
28
+ jQuery("#quotescollection_randomquote-"+instance).html( response );
29
+ jQuery("#quotescollection_randomquote-"+instance).fadeIn("slow");
30
+ }
31
  },
32
  error: function(xhr, textStatus, errorThrown) {
33
+ console.log(textStatus+' '+xhr.status+': '+errorThrown);
34
  if(auto_refresh == 0)
35
+ jQuery("#quotescollection_nextquote-"+instance).html('<a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh(\''+instance+'\', \''+current+'\', \''+show_author+'\', \''+show_source+'\', \''+filter_tags+'\', \''+char_limit+'\', \'0\', \''+random_refresh+'\');\">'+QCAjax.nextquote+'</a>');
36
  }
37
  });
38
  }
quotes-collection.php CHANGED
@@ -3,15 +3,31 @@
3
  Plugin Name: Quotes Collection
4
  Plugin URI: http://srinig.com/wordpress/plugins/quotes-collection/
5
  Description: Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes on your WordPress blog.
 
6
  Author: Srini G
7
- Version: 1.4.4
8
  Author URI: http://srinig.com/wordpress/
 
9
  */
10
- /* Released under GPL:
11
- http://wordpress.org/about/gpl/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  */
13
 
14
 
 
15
  /* The 'Next quote »' link text
16
  By default, this is 'Next quote »' (or the corresponding translation).
17
  You can change it if you wish */
@@ -25,13 +41,16 @@ $quotescollection_auto_refresh_max = 30;
25
 
26
 
27
  /* Refer http://codex.wordpress.org/Roles_and_Capabilities */
28
- $quotescollection_admin_userlevel = 2;
29
-
30
 
 
31
  $quotescollection_db_version = '1.4';
32
 
33
 
34
-
 
 
 
35
 
36
  function quotescollection_get_randomquote($exclude = 0)
37
  {
@@ -40,20 +59,34 @@ function quotescollection_get_randomquote($exclude = 0)
40
  return quotescollection_get_quote($condition);
41
  }
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  function quotescollection_get_quote($condition = '', $random = 1, $current = 0)
44
  {
45
  global $wpdb;
46
  $sql = "SELECT quote_id, quote, author, source
47
  FROM " . $wpdb->prefix . "quotescollection";
48
  if ($condition)
49
- $sql .= " WHERE ".$condition;
50
  if(!$random) {
51
  if($current)
52
  $sql .= " AND quote_id < {$current}";
53
  $sql .= " ORDER BY quote_id DESC";
54
  }
55
  else
56
- $sql .= " ORDER BY RAND()";
57
  $sql .= " LIMIT 1";
58
  $random_quote = $wpdb->get_row($sql, ARRAY_A);
59
  if ( empty($random_quote) ) {
@@ -70,44 +103,99 @@ function quotescollection_get_quote($condition = '', $random = 1, $current = 0)
70
  function quotescollection_count($condition = "")
71
  {
72
  global $wpdb;
73
- if($condition) $condition = " WHERE ".$condition;
74
  $sql = "SELECT COUNT(*) FROM " . $wpdb->prefix . "quotescollection ".$condition;
75
  $count = $wpdb->get_var($sql);
76
  return $count;
77
  }
78
 
79
- function quotescollection_js_head()
80
  {
81
- if ( !defined('WP_PLUGIN_URL') )
82
- $wp_plugin_url = get_bloginfo( 'url' )."/wp-content/plugins";
83
- else
84
- $wp_plugin_url = WP_PLUGIN_URL;
85
-
86
- global $quotescollection_auto_refresh_max, $quotescollection_next_quote;
87
-
88
- $requrl = $wp_plugin_url . "/quotes-collection/quotes-collection-ajax.php";
89
- $nextquote = $quotescollection_next_quote?$quotescollection_next_quote:__('Next quote', 'quotes-collection')."&nbsp;&raquo;";
90
- $loading = __('Loading...', 'quotes-collection');
91
- $error = __('Error getting quote', 'quotes-collection');
92
- $auto_refresh_max = $quotescollection_auto_refresh_max;
93
-
94
- ?>
95
- <!-- Quotes Collection -->
96
- <script type="text/javascript" src="<?php echo $wp_plugin_url; ?>/quotes-collection/quotes-collection.js"></script>
97
- <script type="text/javascript">
98
- quotescollection_init(<?php echo "'{$requrl}', '{$nextquote}', '{$loading}', '{$error}', '{$auto_refresh_max}'"; ?>);
99
- </script>
100
- <?php
101
- }
102
- add_action('wp_head', 'quotescollection_js_head' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
 
 
 
 
 
 
 
104
 
105
- function quotescollection_enqueue()
106
- {
107
- wp_enqueue_script('jquery');
108
- }
109
- add_action('init', 'quotescollection_enqueue');
110
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
 
112
  function quotescollection_txtfmt($quotedata = array())
113
  {
@@ -115,9 +203,7 @@ function quotescollection_txtfmt($quotedata = array())
115
  return;
116
 
117
  foreach($quotedata as $key => $value){
118
- $value = " {$value} ";
119
- $value = ereg_replace("[[:space:]][[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]"," <a href=\"\\0\">\\0</a>", $value);
120
- $value = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/][[:space:]]","<a href=\"\\0\">\\0</a> ", $value);
121
  $value = wptexturize(str_replace(array("\r\n", "\r", "\n"), '', nl2br(trim($value))));
122
  $quotedata[$key] = $value;
123
  }
@@ -125,6 +211,30 @@ function quotescollection_txtfmt($quotedata = array())
125
  return $quotedata;
126
  }
127
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
 
129
  function quotescollection_display_randomquote($show_author = 1, $show_source = 1, $ajax_refresh = 1, $random_quote = array())
130
  {
@@ -156,12 +266,13 @@ function quotescollection_quote($args = '')
156
  'char_limit' => 500,
157
  'echo' => 1,
158
  'random' => 1,
159
- 'exclude' => ''
 
160
  );
161
 
162
  $options = array_merge($options_default, $options);
163
 
164
- $condition = "public = 'yes'";
165
 
166
  if($options['random'])
167
  $current = 0;
@@ -177,6 +288,7 @@ function quotescollection_quote($args = '')
177
 
178
  if($options['tags']) {
179
  $taglist = explode(',', $options['tags']);
 
180
  foreach($taglist as $tag) {
181
  $tag = mysql_real_escape_string(strip_tags(trim($tag)));
182
  if($tag_condition) $tag_condition .= " OR ";
@@ -191,16 +303,7 @@ function quotescollection_quote($args = '')
191
 
192
  $random_quote = quotescollection_txtfmt($random_quote);
193
 
194
- $display = "<p><q>". $random_quote['quote'] ."</q>";
195
- if($options['show_author'] && $random_quote['author'])
196
- $cite = '<span class="quotescollection_author">'. $random_quote['author'] .'</span>';
197
-
198
- if($options['show_source'] && $random_quote['source']) {
199
- if($cite) $cite .= ", ";
200
- $cite .= '<span class="quotescollection_source">'. $random_quote['source'] .'</span>';
201
- }
202
- if($cite) $cite = " <cite>&mdash;&nbsp;{$cite}</cite>";
203
- $display .= $cite."</p>";
204
 
205
  // We don't want to display the 'next quote' link if there is no more than 1 quote
206
  $quotes_count = quotescollection_count($condition);
@@ -229,483 +332,7 @@ function quotescollection_quote($args = '')
229
  return $display;
230
  }
231
 
232
- function quotescollection_init()
233
- {
234
- if(function_exists('load_plugin_textdomain'))
235
- load_plugin_textdomain('quotes-collection', 'wp-content/plugins/quotes-collection/languages/');
236
-
237
- if ( !function_exists('register_sidebar_widget') || !function_exists('register_widget_control') )
238
- return;
239
-
240
- function quotescollection_widget($args) {
241
- $options = get_option('quotescollection');
242
- $title = isset($options['title'])?apply_filters('the_title', $options['title']):__('Random Quote', 'quotes-collection');
243
- $show_author = isset($options['show_author'])?$options['show_author']:1;
244
- $show_source = isset($options['show_source'])?$options['show_source']:1;
245
- $ajax_refresh = isset($options['ajax_refresh'])?$options['ajax_refresh']:1;
246
- $auto_refresh = isset($options['auto_refresh'])?$options['auto_refresh']:0;
247
- $random_refresh = isset($options['random_refresh'])?$options['random_refresh']:1;
248
- if($auto_refresh)
249
- $auto_refresh = isset($options['refresh_interval'])?$options['refresh_interval']:5;
250
- $char_limit = $options['char_limit'];
251
- $tags = $options['tags'];
252
- $parms = "echo=0&show_author={$show_author}&show_source={$show_source}&ajax_refresh={$ajax_refresh}&auto_refresh={$auto_refresh}&char_limit={$char_limit}&tags={$tags}&random={$random_refresh}";
253
- if($random_quote = quotescollection_quote($parms)) {
254
- extract($args);
255
- echo $before_widget;
256
- if($title) echo $before_title . $title . $after_title . "\n";
257
- echo $random_quote;
258
- echo $after_widget;
259
- }
260
- }
261
-
262
- function quotescollection_widget_control()
263
- {
264
-
265
- // default values for options
266
- $options = array(
267
- 'title' => __('Random Quote', 'quotes-collection'),
268
- 'show_author' => 1,
269
- 'show_source' => 0,
270
- 'ajax_refresh' => 1,
271
- 'auto_refresh' => 0,
272
- 'random_refresh' => 1,
273
- 'refresh_interval' => 5,
274
- 'tags' => '',
275
- 'char_limit' => 500
276
- );
277
-
278
- if($options_saved = get_option('quotescollection'))
279
- $options = array_merge($options, $options_saved);
280
-
281
- // Update options in db when user updates options in the widget page
282
- if($_REQUEST['quotescollection-submit']) {
283
- $options['title']
284
- = strip_tags(stripslashes($_REQUEST['quotescollection-title']));
285
- $options['show_author'] = $_REQUEST['quotescollection-show_author']?1:0;
286
- $options['show_source'] = $_REQUEST['quotescollection-show_source']?1:0;
287
- $options['ajax_refresh'] = $_REQUEST['quotescollection-ajax_refresh']?1:0;
288
- $options['auto_refresh'] = $_REQUEST['quotescollection-auto_refresh']?1:0;
289
- $options['refresh_interval'] = $_REQUEST['quotescollection-refresh_interval'];
290
- $options['random_refresh'] = $_REQUEST['quotescollection-random_refresh']?1:0;
291
- $options['tags'] = strip_tags(stripslashes($_REQUEST['quotescollection-tags']));
292
- $options['char_limit'] = strip_tags(stripslashes($_REQUEST['quotescollection-char_limit']));
293
- if(!$options['char_limit'])
294
- $options['char_limit'] = __('none', 'quotes-collection');
295
- update_option('quotescollection', $options);
296
- }
297
-
298
- // Now we define the display of widget options menu
299
- if($options['show_author'])
300
- $show_author_checked = ' checked="checked"';
301
- if($options['show_source'])
302
- $show_source_checked = ' checked="checked"';
303
- if($options['ajax_refresh'])
304
- $ajax_refresh_checked = ' checked="checked"';
305
- if($options['auto_refresh'])
306
- $auto_refresh_checked = ' checked="checked"';
307
- if($options['random_refresh'])
308
- $random_refresh_checked = ' checked="checked"';
309
- $int_select[$options['refresh_interval']] = ' selected="selected"';
310
- echo "<p style=\"text-align:left;\"><label for=\"quotescollection-title\">".__('Title', 'quotes-collection')." </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-title\" name=\"quotescollection-title\" value=\"".htmlspecialchars($options['title'], ENT_QUOTES)."\" /></p>";
311
- echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-show_author\" name=\"quotescollection-show_author\" value=\"1\"{$show_author_checked} /> <label for=\"quotescollection-show_author\">".__('Show author?', 'quotes-collection')."</label></p>";
312
- echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-show_source\" name=\"quotescollection-show_source\" value=\"1\"{$show_source_checked} /> <label for=\"quotescollection-show_source\">".__('Show source?', 'quotes-collection')."</label></p>";
313
- echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-ajax_refresh\" name=\"quotescollection-ajax_refresh\" value=\"1\"{$ajax_refresh_checked} /> <label for=\"quotescollection-ajax_refresh\">".__('Ajax refresh feature', 'quotes-collection')."</label></p>";
314
- echo "<p style=\"text-align:left;\"><small><a id=\"quotescollection-adv_key\" style=\"cursor:pointer;\" onclick=\"jQuery('div#quotescollection-adv_opts').slideToggle();\">".__('Advanced options', 'quotes-collection')." &raquo;</a></small></p>";
315
- echo "<div id=\"quotescollection-adv_opts\" style=\"display:none\">";
316
- echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-random_refresh\" name=\"quotescollection-random_refresh\" value=\"1\"{$random_refresh_checked} /> <label for=\"quotescollection-random_refresh\">".__('Random refresh', 'quotes-collection')."</label><br/><span class=\"setting-description\"><small>".__('Unchecking this will rotate quotes in the order added, latest first.', 'quotes-collection')."</small></span></p>";
317
- echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-auto_refresh\" name=\"quotescollection-auto_refresh\" value=\"1\"{$auto_refresh_checked} /> <label for=\"quotescollection-auto_refresh\">".__('Auto refresh', 'quotes-collection')."</label> <label for=\"quotescollection-refresh_interval\">".__('every', 'quotes-collection')."</label> <select id=\"quotescollection-refresh_interval\" name=\"quotescollection-refresh_interval\"><option{$int_select['5']}>5</option><option{$int_select['10']}>10</option><option{$int_select['15']}>15</option><option{$int_select['20']}>20</option></select> ".__('sec', 'quotes-collection')."</p>";
318
- echo "<p style=\"text-align:left;\"><label for=\"quotescollection-tags\">".__('Tags filter', 'quotes-collection')." </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-tags\" name=\"quotescollection-tags\" value=\"".htmlspecialchars($options['tags'], ENT_QUOTES)."\" /><br/><span class=\"setting-description\"><small>".__('Comma separated', 'quotes-collection')."</small></span></p>";
319
- echo "<p style=\"text-align:left;\"><label for=\"quotescollection-char_limit\">".__('Character limit', 'quotes-collection')." </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-char_limit\" name=\"quotescollection-char_limit\" value=\"".htmlspecialchars($options['char_limit'], ENT_QUOTES)."\" /></p>";
320
- echo "</div>";
321
- echo "<input type=\"hidden\" id=\"quotescollection-submit\" name=\"quotescollection-submit\" value=\"1\" />";
322
- }
323
-
324
-
325
- register_sidebar_widget(array('Random Quote', 'widgets'), 'quotescollection_widget');
326
- register_widget_control('Random Quote', 'quotescollection_widget_control', 250, 350);
327
- }
328
-
329
-
330
- function quotescollection_admin_menu()
331
- {
332
- global $quotescollection_admin_userlevel;
333
- add_menu_page('Quotes Collection', 'Quotes Collection', $quotescollection_admin_userlevel, 'quotes-collection', 'quotescollection_quotes_management');
334
- }
335
-
336
- function quotescollection_addquote($quote, $author = "", $source = "", $tags = "", $public = 'yes')
337
- {
338
- if(!$quote) return __('Nothing added to the database.', 'quotes-collection');
339
- global $wpdb;
340
- $table_name = $wpdb->prefix . "quotescollection";
341
- if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name)
342
- return __('Database table not found', 'quotes-collection');
343
- else //Add the quote data to the database
344
- {
345
-
346
- $quote = stripslashes($quote);
347
- $author = stripslashes($author);
348
- $source = stripslashes($source);
349
- $tags = stripslashes($tags);
350
-
351
- $quote = "'".$wpdb->escape($quote)."'";
352
- $author = $author?"'".$wpdb->escape($author)."'":"NULL";
353
- $source = $source?"'".$wpdb->escape($source)."'":"NULL";
354
- $tags = explode(',', $tags);
355
- foreach ($tags as $key => $tag)
356
- $tags[$key] = trim($tag);
357
- $tags = implode(',', $tags);
358
- $tags = $tags?"'".$wpdb->escape($tags)."'":"NULL";
359
- if(!$public) $public = "'no'";
360
- else $public = "'yes'";
361
- $insert = "INSERT INTO " . $table_name .
362
- "(quote, author, source, tags, public, time_added)" .
363
- "VALUES ({$quote}, {$author}, {$source}, {$tags}, {$public}, NOW())";
364
- $results = $wpdb->query( $insert );
365
- if(FALSE === $results)
366
- return __('There was an error in the MySQL query', 'quotes-collection');
367
- else
368
- return __('Quote added', 'quotes-collection');
369
- }
370
- }
371
-
372
- function quotescollection_editquote($quote_id, $quote, $author = "", $source = "", $tags = "", $public = 'yes')
373
- {
374
- if(!$quote) return __('Quote not updated.', 'quotes-collection');
375
- if(!$quote_id) return srgq_addquote($quote, $author, $source, $public);
376
- global $wpdb;
377
- $table_name = $wpdb->prefix . "quotescollection";
378
- if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name)
379
- return __('Database table not found', 'quotes-collection');
380
- else //Update database
381
- {
382
-
383
- $quote = stripslashes($quote);
384
- $author = stripslashes($author);
385
- $source = stripslashes($source);
386
- $tags = stripslashes($tags);
387
-
388
- $quote = "'".$wpdb->escape($quote)."'";
389
- $author = $author?"'".$wpdb->escape($author)."'":"NULL";
390
- $source = $source?"'".$wpdb->escape($source)."'":"NULL";
391
- $tags = explode(',', $tags);
392
- foreach ($tags as $key => $tag)
393
- $tags[$key] = trim($tag);
394
- $tags = implode(',', $tags);
395
- $tags = $tags?"'".$wpdb->escape($tags)."'":"NULL";
396
- if(!$public) $public = "'no'";
397
- else $public = "'yes'";
398
- $update = "UPDATE " . $table_name . "
399
- SET quote = {$quote},
400
- author = {$author},
401
- source = {$source},
402
- tags = {$tags},
403
- public = {$public},
404
- time_updated = NOW()
405
- WHERE quote_id = $quote_id";
406
- $results = $wpdb->query( $update );
407
- if(FALSE === $results)
408
- return __('There was an error in the MySQL query', 'quotes-collection');
409
- else
410
- return __('Changes saved', 'quotes-collection');
411
- }
412
- }
413
-
414
-
415
- function quotescollection_deletequote($quote_id)
416
- {
417
- if($quote_id) {
418
- global $wpdb;
419
- $sql = "DELETE from " . $wpdb->prefix ."quotescollection" .
420
- " WHERE quote_id = " . $quote_id;
421
- if(FALSE === $wpdb->query($sql))
422
- return __('There was an error in the MySQL query', 'quotes-collection');
423
- else
424
- return __('Quote deleted', 'quotes-collection');
425
- }
426
- else return __('The quote cannot be deleted', 'quotes-collection');
427
- }
428
-
429
- function quotescollection_getquotedata($quote_id)
430
- {
431
- global $wpdb;
432
- $sql = "SELECT quote_id, quote, author, source, tags, public
433
- FROM " . $wpdb->prefix . "quotescollection
434
- WHERE quote_id = {$quote_id}";
435
- $quote_data = $wpdb->get_row($sql, ARRAY_A);
436
- return $quote_data;
437
- }
438
-
439
- function quotescollection_editform($quote_id = 0)
440
- {
441
- $public_selected = " checked=\"checked\"";
442
- $submit_value = __('Add Quote', 'quotes-collection');
443
- $form_name = "addquote";
444
- $action_url = get_bloginfo('wpurl')."/wp-admin/admin.php?page=quotes-collection#addnew";
445
-
446
- if($quote_id) {
447
- $form_name = "editquote";
448
- $quote_data = quotescollection_getquotedata($quote_id);
449
- foreach($quote_data as $key => $value)
450
- $quote_data[$key] = $quote_data[$key];
451
- extract($quote_data);
452
- $quote = htmlspecialchars($quote);
453
- $author = htmlspecialchars($author);
454
- $source = htmlspecialchars($source);
455
- $tags = implode(', ', explode(',', $tags));
456
- $hidden_input = "<input type=\"hidden\" name=\"quote_id\" value=\"{$quote_id}\" />";
457
- if($public == 'no') $public_selected = "";
458
- $submit_value = __('Save changes', 'quotes-collection');
459
- $back = "<input type=\"submit\" name=\"submit\" value=\"".__('Back', 'quotes-collection')."\" />&nbsp;";
460
- $action_url = get_bloginfo('wpurl')."/wp-admin/admin.php?page=quotes-collection";
461
- }
462
-
463
- $quote_label = __('The quote', 'quotes-collection');
464
- $author_label = __('Author', 'quotes-collection');
465
- $source_label = __('Source', 'quotes-collection');
466
- $tags_label = __('Tags', 'quotes-collection');
467
- $public_label = __('Public?', 'quotes-collection');
468
- $optional_text = __('optional', 'quotes-collection');
469
- $comma_separated_text = __('comma separated', 'quotes-collection');
470
-
471
-
472
- $display .=<<< EDITFORM
473
- <form name="{$form_name}" method="post" action="{$action_url}">
474
- {$hidden_input}
475
- <table class="form-table" cellpadding="5" cellspacing="2" width="100%">
476
- <tbody><tr class="form-field form-required">
477
- <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_quote">{$quote_label}</label></th>
478
- <td><textarea id="quotescollection_quote" name="quote" rows="5" cols="50" style="width: 97%;">{$quote}</textarea></td>
479
- </tr>
480
- <tr class="form-field">
481
- <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_author">{$author_label}</label></th>
482
- <td><input type="text" id="quotescollection_author" name="author" size="40" value="{$author}" /><br />{$optional_text}</td>
483
- </tr>
484
- <tr class="form-field">
485
- <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_source">{$source_label}</label></th>
486
- <td><input type="text" id="quotescollection_source" name="source" size="40" value="{$source}" /><br />{$optional_text}</td>
487
- </tr>
488
- <tr class="form-field">
489
- <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_tags">{$tags_label}</label></th>
490
- <td><input type="text" id="quotescollection_tags" name="tags" size="40" value="{$tags}" /><br />{$optional_text}, {$comma_separated_text}</small></td>
491
- </tr>
492
- <tr>
493
- <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_public">{$public_label}</label></th>
494
- <td><input type="checkbox" id="quotescollection_public" name="public"{$public_selected} />
495
- </tr></tbody>
496
- </table>
497
- <p class="submit">{$back}<input name="submit" value="{$submit_value}" type="submit" class="button button-primary" /></p>
498
- </form>
499
- EDITFORM;
500
- return $display;
501
- }
502
-
503
- function quotescollection_changevisibility($quote_ids, $public = 'yes')
504
- {
505
- if(!$quote_ids)
506
- return __('Nothing done!', 'quotes-collection');
507
- global $wpdb;
508
- $sql = "UPDATE ".$wpdb->prefix."quotescollection
509
- SET public = '".$public."',
510
- time_updated = NOW()
511
- WHERE quote_id IN (".implode(', ', $quote_ids).")";
512
- $wpdb->query($sql);
513
- if($public == 'yes')
514
- return __("Selected quotes made public", 'quotes-collection');
515
- else
516
- return __("Selected quotes made private", 'quotes-collection');
517
- }
518
-
519
- function quotescollection_bulkdelete($quote_ids)
520
- {
521
- if(!$quote_ids)
522
- return __('Nothing done!', 'quotes-collection');
523
- global $wpdb;
524
- $sql = "DELETE FROM ".$wpdb->prefix."quotescollection
525
- WHERE quote_id IN (".implode(', ', $quote_ids).")";
526
- $wpdb->query($sql);
527
- return __('Quote(s) deleted', 'quotes-collection');
528
- }
529
-
530
-
531
-
532
- function quotescollection_quotes_management()
533
- {
534
- global $quotescollection_db_version;
535
- $options = get_option('quotescollection');
536
- if($options['db_version'] != $quotescollection_db_version )
537
- quotescollection_install();
538
-
539
- if($_REQUEST['submit'] == __('Add Quote', 'quotes-collection')) {
540
- extract($_REQUEST);
541
- $msg = quotescollection_addquote($quote, $author, $source, $tags, $public);
542
- }
543
- else if($_REQUEST['submit'] == __('Save changes', 'quotes-collection')) {
544
- extract($_REQUEST);
545
- $msg = quotescollection_editquote($quote_id, $quote, $author, $source, $tags, $public);
546
- }
547
- else if($_REQUEST['action'] == 'editquote') {
548
- $display .= "<div class=\"wrap\">\n<h2>Quotes Collection &raquo; ".__('Edit quote', 'quotes-collection')."</h2>";
549
- $display .= quotescollection_editform($_REQUEST['id']);
550
- $display .= "</div>";
551
- echo $display;
552
- return;
553
- }
554
- else if($_REQUEST['action'] == 'delquote') {
555
- $msg = quotescollection_deletequote($_REQUEST['id']);
556
- }
557
- else if(isset($_REQUEST['bulkaction'])) {
558
- if($_REQUEST['bulkaction'] == __('Delete', 'quotes-collection'))
559
- $msg = quotescollection_bulkdelete($_REQUEST['bulkcheck']);
560
- if($_REQUEST['bulkaction'] == __('Make public', 'quotes-collection')) {
561
- $msg = quotescollection_changevisibility($_REQUEST['bulkcheck'], 'yes');
562
- }
563
- if($_REQUEST['bulkaction'] == __('Keep private', 'quotes-collection')) {
564
- $msg = quotescollection_changevisibility($_REQUEST['bulkcheck'], 'no');
565
- }
566
- }
567
-
568
- $display .= "<div class=\"wrap\">";
569
-
570
- if($msg)
571
- $display .= "<div id=\"message\" class=\"updated fade\"><p>{$msg}</p></div>";
572
-
573
- $display .= "<h2>Quotes Collection</h2>";
574
-
575
-
576
- // Get all the quotes from the database
577
- global $wpdb;
578
-
579
- $sql = "SELECT quote_id, quote, author, source, tags, public
580
- FROM " . $wpdb->prefix . "quotescollection";
581
-
582
- if(isset($_REQUEST['orderby'])) {
583
- $sql .= " ORDER BY " . $_REQUEST['criteria'] . " " . $_REQUEST['order'];
584
- $option_selected[$_REQUEST['criteria']] = " selected=\"selected\"";
585
- $option_selected[$_REQUEST['order']] = " selected=\"selected\"";
586
- }
587
- else {
588
- $sql .= " ORDER BY quote_id ASC";
589
- $option_selected['quote_id'] = " selected=\"selected\"";
590
- $option_selected['ASC'] = " selected=\"selected\"";
591
- }
592
-
593
- $quotes = $wpdb->get_results($sql);
594
-
595
- foreach($quotes as $quote_data) {
596
- if($alternate) $alternate = "";
597
- else $alternate = " class=\"alternate\"";
598
- $quotes_list .= "<tr{$alternate}>";
599
- $quotes_list .= "<th scope=\"row\" class=\"check-column\"><input type=\"checkbox\" name=\"bulkcheck[]\" value=\"".$quote_data->quote_id."\" /></th>";
600
- $quotes_list .= "<td>" . $quote_data->quote_id . "</td>";
601
- $quotes_list .= "<td>" . wptexturize(nl2br($quote_data->quote)) ."</td>";
602
- $quotes_list .= "<td>" . $quote_data->author;
603
- if($quote_data->author && $quote_data->source)
604
- $quotes_list .= " / ";
605
- $quotes_list .= $quote_data->source ."</td>";
606
- $quotes_list .= "<td>" . implode(', ', explode(',', $quote_data->tags)) . "</td>";
607
- $quotes_list .= "<td>" . $quote_data->public ."</td>";
608
- $quotes_list .= "<td><a href=\"" . get_bloginfo('wpurl') . "/wp-admin/admin.php?page=quotes-collection&action=editquote&amp;id=".$quote_data->quote_id."\" class=\"edit\">".__('Edit', 'quotes-collection')."</a></td>
609
- <td><a href=\"" . get_bloginfo('wpurl'). "/wp-admin/admin.php?page=quotes-collection&action=delquote&amp;id=".$quote_data->quote_id."\" onclick=\"return confirm( '".__('Are you sure you want to delete this quote?', 'quotes-collection')."');\" class=\"delete\">".__('Delete', 'quotes-collection')."</a> </td>";
610
- $quotes_list .= "</tr>";
611
- }
612
-
613
- if($quotes_list) {
614
- $display .= "<p>";
615
- $quotes_count = quotescollection_count();
616
- $display .= sprintf(__ngettext('Currently, you have %d quote.', 'Currently, you have %d quotes.', $quotes_count, 'quotes-collection'), $quotes_count);
617
- // anchor to add new quote
618
- $display .= " (<a href=\"#addnew\"><strong>".__('Add new quote', 'quotes-collection')."</strong></a>)";
619
- $display .= "</p>";
620
-
621
- $display .= "<form id=\"quotescollection\" method=\"post\" action=\"".get_bloginfo('wpurl')."/wp-admin/admin.php?page=quotes-collection\">";
622
- $display .= "<div class=\"tablenav\">";
623
- $display .= "<div class=\"alignleft actions\">";
624
- $display .= "<input type=\"submit\" name=\"bulkaction\" value=\"".__('Delete', 'quotes-collection')."\" class=\"button-secondary\" />";
625
- $display .= "<input type=\"submit\" name=\"bulkaction\" value=\"".__('Make public', 'quotes-collection')."\" class=\"button-secondary\" />";
626
- $display .= "<input type=\"submit\" name=\"bulkaction\" value=\"".__('Keep private', 'quotes-collection')."\" class=\"button-secondary\" />";
627
- $display .= "&nbsp;&nbsp;&nbsp;";
628
- $display .= __('Sort by: ', 'quotes-collection');
629
- $display .= "<select name=\"criteria\">";
630
- $display .= "<option value=\"quote_id\"{$option_selected['quote_id']}>".__('Quote', 'quotes-collection')." ID</option>";
631
- $display .= "<option value=\"quote\"{$option_selected['quote']}>".__('Quote', 'quotes-collection')."</option>";
632
- $display .= "<option value=\"author\"{$option_selected['author']}>".__('Author', 'quotes-collection')."</option>";
633
- $display .= "<option value=\"source\"{$option_selected['source']}>".__('Source', 'quotes-collection')."</option>";
634
- $display .= "<option value=\"time_added\"{$option_selected['time_added']}>".__('Date added', 'quotes-collection')."</option>";
635
- $display .= "<option value=\"time_updated\"{$option_selected['time_updated']}>".__('Date updated', 'quotes-collection')."</option>";
636
- $display .= "<option value=\"public\"{$option_selected['public']}>".__('Visibility', 'quotes-collection')."</option>";
637
- $display .= "</select>";
638
- $display .= "<select name=\"order\"><option{$option_selected['ASC']}>ASC</option><option{$option_selected['DESC']}>DESC</option></select>";
639
- $display .= "<input type=\"submit\" name=\"orderby\" value=\"".__('Go', 'quotes-collection')."\" class=\"button-secondary\" />";
640
- $display .= "</div>";
641
- $display .= "<div class=\"clear\"></div>";
642
- $display .= "</div>";
643
-
644
-
645
-
646
- $display .= "<table class=\"widefat\">";
647
- $display .= "<thead><tr>
648
- <th class=\"check-column\"><input type=\"checkbox\" onclick=\"quotescollection_checkAll(document.getElementById('quotescollection'));\" /></th>
649
- <th>ID</th><th>".__('The quote', 'quotes-collection')."</th>
650
- <th>
651
- ".__('Author', 'quotes-collection')." / ".__('Source', 'quotes-collection')."
652
- </th>
653
- <th>".__('Tags', 'quotes-collection')."</th>
654
- <th>".__('Public?', 'quotes-collection')."</th>
655
- <th colspan=\"2\" style=\"text-align:center\">".__('Action', 'quotes-collection')."</th>
656
- </tr></thead>";
657
- $display .= "<tbody id=\"the-list\">{$quotes_list}</tbody>";
658
- $display .= "</table>";
659
-
660
-
661
- $display .= "<div class=\"tablenav\">";
662
- $display .= "<div class=\"alignleft actions\">";
663
- $display .= "<input type=\"submit\" name=\"bulkaction\" value=\"".__('Delete', 'quotes-collection')."\" class=\"button-secondary\" />";
664
- $display .= "<input type=\"submit\" name=\"bulkaction\" value=\"".__('Make public', 'quotes-collection')."\" class=\"button-secondary\" />";
665
- $display .= "<input type=\"submit\" name=\"bulkaction\" value=\"".__('Keep private', 'quotes-collection')."\" class=\"button-secondary\" />";
666
- $display .= "</div>";
667
-
668
- $display .= "</div>";
669
- $display .= "</form>";
670
- $display .= "<br style=\"clear:both;\" />";
671
-
672
- }
673
- else
674
- $display .= "<p>".__('No quotes in the database', 'quotes-collection')."</p>";
675
-
676
-
677
 
678
- $display .= "</div>";
679
-
680
- $display .= "<div id=\"addnew\" class=\"wrap\">\n<h2>".__('Add new quote', 'quotes-collection')."</h2>";
681
- $display .= quotescollection_editform();
682
- $display .= "</div>";
683
-
684
-
685
- echo $display;
686
-
687
- }
688
-
689
- function quotescollection_admin_footer()
690
- {
691
- ?>
692
- <script type="text/javascript">
693
- function quotescollection_checkAll(form) {
694
- for (i = 0, n = form.elements.length; i < n; i++) {
695
- if(form.elements[i].type == "checkbox" && !(form.elements[i].hasAttribute('onclick'))) {
696
- if(form.elements[i].checked == true)
697
- form.elements[i].checked = false;
698
- else
699
- form.elements[i].checked = true;
700
- }
701
- }
702
- }
703
- </script>
704
-
705
- <?php
706
- }
707
-
708
- add_action('admin_footer', 'quotescollection_admin_footer');
709
 
710
  function quotescollection_install()
711
  {
@@ -760,157 +387,16 @@ function quotescollection_install()
760
  }
761
 
762
 
763
- function quotescollection_displayquote($quote_id = 0)
764
  {
765
- global $wpdb;
766
- $sql = "SELECT quote_id, quote, author, source
767
- FROM " . $wpdb->prefix . "quotescollection
768
- WHERE public = 'yes' ";
769
- if(!$quote_id) {
770
- $sql .= "ORDER BY RAND()
771
- LIMIT 1";
772
- }
773
- else {
774
- $sql .= "AND quote_id = {$quote_id}";
775
  }
776
- $quote_data = $wpdb->get_row($sql, ARRAY_A);
777
- if ( !empty($quote_data) ) {
778
- $quote_data = quotescollection_txtfmt($quote_data);
779
- $display = "<blockquote class=\"quotescollection\"><q>".$quote_data['quote']."</q>";
780
- if($quote_data['author'])
781
- $cite = $quote_data['author'];
782
- if($quote_data['source']) {
783
- if($cite) $cite .= ", ";
784
- $cite .= $quote_data['source'];
785
- }
786
- if($cite) $cite = " <cite>&mdash;&nbsp;{$cite}</cite>";
787
- $display .= $cite."</blockquote>";
788
- return $display;
789
- }
790
- else
791
- return "";
792
  }
793
-
794
- function quotescollection_displayquotes($source = "")
795
- {
796
- global $wpdb;
797
- $source = html_entity_decode($source);
798
- $sql = "SELECT quote_id, quote, author, source
799
- FROM " . $wpdb->prefix . "quotescollection
800
- WHERE public = 'yes' ";
801
- if(!$source) {
802
- $sql .= "ORDER BY quote";
803
- }
804
- else if($source == "Anonymous" || $source == "anonymous") {
805
- $sql .= "AND (author IS NULL OR author = '' OR author ='Anonymous')";
806
- }
807
- else {
808
- $sql .= "AND (source = '{$source}' OR author = '{$source}')";
809
- }
810
- $quotes = $wpdb->get_results($sql, ARRAY_A);
811
- if ( !empty($quotes) ) {
812
- foreach($quotes as $quote_data) {
813
- $quote_data = quotescollection_txtfmt($quote_data);
814
- $display .= "<blockquote class=\"quotescollection\"><q>".$quote_data['quote']."</q>";
815
- $cite = "";
816
- if($quote_data['author'])
817
- $cite = $quote_data['author'];
818
- if($quote_data['source']) {
819
- if($cite) $cite .= ", ";
820
- $cite .= $quote_data['source'];
821
- }
822
- if($cite) $cite = " <cite>&mdash;&nbsp;{$cite}</cite>";
823
- $display .= $cite."</blockquote>";
824
- }
825
- return $display;
826
- }
827
- else
828
- return "";
829
- }
830
-
831
- function quotescollection_displayquotes_tags($tags = "")
832
- {
833
- global $wpdb;
834
- $tags = html_entity_decode($tags);
835
- if(!$tags)
836
- return "";
837
- $taglist = explode(',', $tags);
838
- foreach($taglist as $tag) {
839
- $tag = trim($tag);
840
- if($sql_condition) $sql_condition .= " OR ";
841
- $sql_condition .= "tags = '{$tag}' OR tags LIKE '{$tag},%' OR tags LIKE '%,{$tag},%' OR tags LIKE '%,{$tag}'";
842
- }
843
- $sql = "SELECT quote_id, quote, author, source
844
- FROM " . $wpdb->prefix . "quotescollection
845
- WHERE public = 'yes' AND ({$sql_condition})";
846
- $quotes = $wpdb->get_results($sql, ARRAY_A);
847
- if ( !empty($quotes) ) {
848
- foreach($quotes as $quote_data) {
849
- $quote_data = quotescollection_txtfmt($quote_data);
850
- $display .= "<blockquote class=\"quotescollection\"><q>".$quote_data['quote']."</q>";
851
- $cite = "";
852
- if($quote_data['author'])
853
- $cite = $quote_data['author'];
854
- if($quote_data['source']) {
855
- if($cite) $cite .= ", ";
856
- $cite .= $quote_data['source'];
857
- }
858
- if($cite) $cite = " <cite>&mdash;&nbsp;{$cite}</cite>";
859
- $display .= $cite."</blockquote>";
860
- }
861
- return $display;
862
- }
863
- else
864
- return "";
865
- }
866
-
867
- function quotescollection_inpost( $text ) {
868
- $start = strpos($text,"[quote|id=");
869
- if ($start !== FALSE) {
870
- $text = preg_replace( "/\[quote\|id=(\d+)\]/ie", "quotescollection_displayquote('\\1')", $text );
871
- }
872
- $start = strpos($text,"[quote|random]");
873
- if ($start !== FALSE) {
874
- $text = preg_replace( "/\[quote\|random\]/ie", "quotescollection_displayquote()", $text );
875
- }
876
- $start = strpos($text,"[quote|all]");
877
- if ($start !== FALSE) {
878
- $text = preg_replace( "/\[quote\|all\]/ie", "quotescollection_displayquotes()", $text );
879
- }
880
- $start = strpos($text,"[quote|author=");
881
- if($start !== FALSE) {
882
- $text = preg_replace("/\[quote\|author=(.{1,})?\]/ie", "quotescollection_displayquotes(\"\\1\")", $text);
883
- }
884
- $start = strpos($text,"[quote|source=");
885
- if($start !== FALSE) {
886
- $text = preg_replace("/\[quote\|source=(.{1,})?\]/ie", "quotescollection_displayquotes(\"\\1\")", $text);
887
- }
888
- $start = strpos($text,"[quote|tags=");
889
- if($start !== FALSE) {
890
- $text = preg_replace("/\[quote\|tags=(.{1,})?\]/ie", "quotescollection_displayquotes_tags(\"\\1\")", $text);
891
- } return $text;
892
- }
893
-
894
- function quotescollection_css_head()
895
- {
896
-
897
- if ( !defined('WP_PLUGIN_URL') )
898
- $wp_plugin_url = get_bloginfo( 'url' )."/wp-content/plugins";
899
- else
900
- $wp_plugin_url = WP_PLUGIN_URL;
901
- ?>
902
- <link rel="stylesheet" type="text/css" href="<?php echo $wp_plugin_url; ?>/quotes-collection/quotes-collection.css" />
903
- <?php
904
- }
905
-
906
-
907
- add_action('wp_head', 'quotescollection_css_head' );
908
-
909
 
910
 
911
- add_filter('the_content', 'quotescollection_inpost', 7);
912
- add_filter('the_excerpt', 'quotescollection_inpost', 7);
913
  register_activation_hook( __FILE__, 'quotescollection_install' );
914
- add_action('admin_menu', 'quotescollection_admin_menu');
915
- add_action('plugins_loaded', 'quotescollection_init');
916
  ?>
3
  Plugin Name: Quotes Collection
4
  Plugin URI: http://srinig.com/wordpress/plugins/quotes-collection/
5
  Description: Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes on your WordPress blog.
6
+ Version: 1.5.9
7
  Author: Srini G
 
8
  Author URI: http://srinig.com/wordpress/
9
+ License: GPL2
10
  */
11
+
12
+ /* Copyright 2007-2012 Srini G (email : srinig.com@gmail.com)
13
+
14
+ This program is free software; you can redistribute it and/or modify
15
+ it under the terms of the GNU General Public License as published by
16
+ the Free Software Foundation; either version 2 of the License, or
17
+ (at your option) any later version.
18
+
19
+ This program is distributed in the hope that it will be useful,
20
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
21
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
+ GNU General Public License for more details.
23
+
24
+ You should have received a copy of the GNU General Public License
25
+ along with this program; if not, write to the Free Software
26
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27
  */
28
 
29
 
30
+
31
  /* The 'Next quote »' link text
32
  By default, this is 'Next quote »' (or the corresponding translation).
33
  You can change it if you wish */
41
 
42
 
43
  /* Refer http://codex.wordpress.org/Roles_and_Capabilities */
44
+ $quotescollection_admin_userlevel = 'edit_posts';
 
45
 
46
+ $quotescollection_version = '1.5.7';
47
  $quotescollection_db_version = '1.4';
48
 
49
 
50
+ require_once('quotes-collection-ajax.php');
51
+ require_once('quotes-collection-widget.php');
52
+ require_once('quotes-collection-admin.php');
53
+ require_once('quotes-collection-shortcodes.php');
54
 
55
  function quotescollection_get_randomquote($exclude = 0)
56
  {
59
  return quotescollection_get_quote($condition);
60
  }
61
 
62
+ function quotescollection_get_quotes($condition = "")
63
+ {
64
+ global $wpdb;
65
+ $sql = "SELECT quote_id, quote, author, source, tags, public
66
+ FROM " . $wpdb->prefix . "quotescollection"
67
+ . $condition;
68
+
69
+ if($quotes = $wpdb->get_results($sql, ARRAY_A))
70
+ return $quotes;
71
+ else
72
+ return array();
73
+
74
+ }
75
+
76
  function quotescollection_get_quote($condition = '', $random = 1, $current = 0)
77
  {
78
  global $wpdb;
79
  $sql = "SELECT quote_id, quote, author, source
80
  FROM " . $wpdb->prefix . "quotescollection";
81
  if ($condition)
82
+ $sql .= $condition;
83
  if(!$random) {
84
  if($current)
85
  $sql .= " AND quote_id < {$current}";
86
  $sql .= " ORDER BY quote_id DESC";
87
  }
88
  else
89
+ $sql .= " ORDER BY RAND(UNIX_TIMESTAMP(NOW()))";
90
  $sql .= " LIMIT 1";
91
  $random_quote = $wpdb->get_row($sql, ARRAY_A);
92
  if ( empty($random_quote) ) {
103
  function quotescollection_count($condition = "")
104
  {
105
  global $wpdb;
 
106
  $sql = "SELECT COUNT(*) FROM " . $wpdb->prefix . "quotescollection ".$condition;
107
  $count = $wpdb->get_var($sql);
108
  return $count;
109
  }
110
 
111
+ function quotescollection_pagenav($total, $current = 1, $format = 0, $paged = 'paged', $url = "")
112
  {
113
+ if($total == 1 && $current == 1) return "";
114
+
115
+ if(!$url) {
116
+ $url = 'http';
117
+ if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") {$url .= "s";}
118
+ $url .= "://";
119
+ if ($_SERVER["SERVER_PORT"] != "80") {
120
+ $url .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"];
121
+ } else {
122
+ $url .= $_SERVER["SERVER_NAME"];
123
+ }
124
+
125
+ if ( get_option('permalink_structure') != '' ) {
126
+ if($_SERVER['REQUEST_URI']) {
127
+ $request_uri = explode('?', $_SERVER['REQUEST_URI']);
128
+ $url .= $request_uri[0];
129
+ }
130
+ else $url .= "/";
131
+ }
132
+ else {
133
+ $url .= $_SERVER["PHP_SELF"];
134
+ }
135
+
136
+ if($query_string = $_SERVER['QUERY_STRING']) {
137
+ $parms = explode('&', $query_string);
138
+ $y = '';
139
+ foreach($parms as $parm) {
140
+ $x = explode('=', $parm);
141
+ if($x[0] == $paged) {
142
+ $query_string = str_replace($y.$parm, '', $query_string);
143
+ }
144
+ else $y = '&';
145
+ }
146
+ if($query_string) {
147
+ $url .= '?'.$query_string;
148
+ $a = '&';
149
+ }
150
+ else $a = '?';
151
+ }
152
+ else $a = '?';
153
+ }
154
+ else {
155
+ $a = '?';
156
+ if(strpos($url, '?')) $a = '&';
157
+ }
158
+
159
+ if(!$format || $format > 2 || $format < 0 || !is_numeric($format)) {
160
+ if($total <= 8) $format = 1;
161
+ else $format = 2;
162
+ }
163
+
164
+
165
+ if($current > $total) $current = $total;
166
+ $pagenav = "";
167
 
168
+ if($format == 2) {
169
+ $first_disabled = $prev_disabled = $next_disabled = $last_disabled = '';
170
+ if($current == 1)
171
+ $first_disabled = $prev_disabled = ' disabled';
172
+ if($current == $total)
173
+ $next_disabled = $last_disabled = ' disabled';
174
 
175
+ $pagenav .= "<a class=\"first-page{$first_disabled}\" title=\"".__('Go to the first page', 'quotes-collection')."\" href=\"{$url}\">&laquo;</a>&nbsp;&nbsp;";
176
+
177
+ $pagenav .= "<a class=\"prev-page{$prev_disabled}\" title=\"".__('Go to the previous page', 'quotes-collection')."\" href=\"{$url}{$a}{$paged}=".($current - 1)."\">&#139;</a>&nbsp;&nbsp;";
178
+
179
+ $pagenav .= '<span class="paging-input">'.$current.' of <span class="total-pages">'.$total.'</span></span>';
180
 
181
+ $pagenav .= "&nbsp;&nbsp;<a class=\"next-page{$next_disabled}\" title=\"".__('Go to the next page', 'quotes-collection')."\" href=\"{$url}{$a}{$paged}=".($current + 1)."\">&#155;</a>";
182
+
183
+ $pagenav .= "&nbsp;&nbsp;<a class=\"last-page{$last_disabled}\" title=\"".__('Go to the last page', 'quotes-collection')."\" href=\"{$url}{$a}{$paged}={$total}\">&raquo;</a>";
184
+
185
+ }
186
+ else {
187
+ $pagenav = __("Goto page:", 'quotes-collection');
188
+ for( $i = 1; $i <= $total; $i++ ) {
189
+ if($i == $current)
190
+ $pagenav .= "&nbsp;<strong>{$i}</strong>";
191
+ else if($i == 1)
192
+ $pagenav .= "&nbsp;<a href=\"{$url}\">{$i}</a>";
193
+ else
194
+ $pagenav .= "&nbsp;<a href=\"{$url}{$a}{$paged}={$i}\">{$i}</a>";
195
+ }
196
+ }
197
+ return $pagenav;
198
+ }
199
 
200
  function quotescollection_txtfmt($quotedata = array())
201
  {
203
  return;
204
 
205
  foreach($quotedata as $key => $value){
206
+ $value = make_clickable($value);
 
 
207
  $value = wptexturize(str_replace(array("\r\n", "\r", "\n"), '', nl2br(trim($value))));
208
  $quotedata[$key] = $value;
209
  }
211
  return $quotedata;
212
  }
213
 
214
+ function quotescollection_output_format( $quote_data, $options = array('show_author' => 1, 'show_source' => 1) )
215
+ {
216
+ $display = "";
217
+
218
+ $quote_data = quotescollection_txtfmt($quote_data);
219
+
220
+ $display .= "<p><q>".$quote_data['quote']."</q>";
221
+
222
+ $cite = "";
223
+
224
+ if($options['show_author'] && $quote_data['author'])
225
+ $cite = '<span class="quotescollection_author">'. $quote_data['author'] .'</span>';
226
+
227
+ if($options['show_source'] && $quote_data['source']) {
228
+ if($cite) $cite .= ", ";
229
+ $cite .= '<span class="quotescollection_source">'. $quote_data['source'] .'</span>';
230
+ }
231
+
232
+ if($cite) $cite = " <cite>&mdash;&nbsp;{$cite}</cite>";
233
+ $display .= $cite."</p>";
234
+
235
+ return apply_filters( 'quotescollection_output_format', $display );
236
+ }
237
+
238
 
239
  function quotescollection_display_randomquote($show_author = 1, $show_source = 1, $ajax_refresh = 1, $random_quote = array())
240
  {
266
  'char_limit' => 500,
267
  'echo' => 1,
268
  'random' => 1,
269
+ 'exclude' => '',
270
+ 'current' => 0
271
  );
272
 
273
  $options = array_merge($options_default, $options);
274
 
275
+ $condition = " WHERE public = 'yes'";
276
 
277
  if($options['random'])
278
  $current = 0;
288
 
289
  if($options['tags']) {
290
  $taglist = explode(',', $options['tags']);
291
+ $tag_condition = "";
292
  foreach($taglist as $tag) {
293
  $tag = mysql_real_escape_string(strip_tags(trim($tag)));
294
  if($tag_condition) $tag_condition .= " OR ";
303
 
304
  $random_quote = quotescollection_txtfmt($random_quote);
305
 
306
+ $display = quotescollection_output_format($random_quote, $options);
 
 
 
 
 
 
 
 
 
307
 
308
  // We don't want to display the 'next quote' link if there is no more than 1 quote
309
  $quotes_count = quotescollection_count($condition);
332
  return $display;
333
  }
334
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
335
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
336
 
337
  function quotescollection_install()
338
  {
387
  }
388
 
389
 
390
+ function quotescollection_css_head()
391
  {
392
+ global $quotescollection_version;
393
+ if ( !is_admin() ) {
394
+ wp_register_style( 'quotescollection-style', plugins_url('quotes-collection.css', __FILE__), false, $quotescollection_version );
395
+ wp_enqueue_style( 'quotescollection-style' );
 
 
 
 
 
 
396
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
397
  }
398
+ add_action( 'wp_enqueue_scripts', 'quotescollection_css_head' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
399
 
400
 
 
 
401
  register_activation_hook( __FILE__, 'quotescollection_install' );
 
 
402
  ?>
readme.txt CHANGED
@@ -1,20 +1,23 @@
1
  === Quotes Collection ===
2
  Contributors: SriniG
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HDWT2K8TXXHUN
4
- Tags: quotes collection, quotes, quotations, random quote, sidebar, widget, ajax
5
- Requires at least: 2.2
6
- Tested up to: 3.1 beta1
7
  Stable tag: trunk
 
8
 
9
- Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes on your WordPress blog.
10
 
11
  == Description ==
12
 
13
- Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect, manage and display your favourite quotations on your WordPress blog. All quotes or a set of quotes can also be displayed on a page using a `[quote]` shortcode.
14
 
15
- Features and notes:
16
 
17
- * Random Quote sidebar widget with Ajax refresh feature -- you will be able to get another random quote on the same space without refreshing the web page. Following is the list of options in the widget control panel:
 
 
 
18
  * Widget title
19
  * Option to show/hide quote author
20
  * Option to show/hide quote source
@@ -23,23 +26,21 @@ Features and notes:
23
  * Option to refresh the quote automatically
24
  * Show only quotes with certain tags
25
  * Specify a character limit and filter out bigger quotes
26
- * The template function `quotescollection_quote()` can be used to display a random quote in places other than sidebar. See [other notes](http://wordpress.org/extend/plugins/quotes-collection/other_notes/) for details.
27
- * Quotes can be displayed in a page by placing a shortcode such as the ones below.
28
- * Placing `[quote|all]` in the page displays all quotes.
29
- * `[quote|author=Somebody]` displays quotes authored by Somebody.
30
- * `[quote|source=Something]` displays quotes with source as 'Something'
31
- * `[quote|tags=sometag]` displays quotes tagged sometag
32
- * `[quote|tags=tag1,tag2,tag3]` displays quotes tagged tag1 or tag2 or tag3, one or more or all of these
33
- * `[quote|id=3]` displays quote with ID 3
34
- * `[quote|random]` displays a random quote
35
- * The plugin comes with a nice admin interface to add, edit and manage quotes.
36
  * Compatible with WordPress 3.0 multi-site functionality.
37
- * The plugin suppports localization. See [other notes](http://wordpress.org/extend/plugins/quotes-collection/other_notes/) for the full list of available languages and the respective translators.
 
 
38
 
39
  == Installation ==
40
  1. Upload `quotes-collection` directory to the `/wp-content/plugins/` directory
41
  1. Activate the 'Quotes Collection' plugin through the 'Plugins' menu in WordPress
42
- 1. Add and manage the quotes through the 'Quotes Collection' menu in the WordPress admin area
43
  1. To display a random quote in the sidebar, go to 'Widgets' menu and drag the 'Random Quote' widget into the sidebar
44
 
45
  == Frequently Asked Questions ==
@@ -50,45 +51,35 @@ Open the quotes-collection.css file that comes along with the plugin, scroll dow
50
 
51
  = How to change the random quote text color? =
52
 
53
- Styling such as text color, font size, background color, etc., of the random quote can be customized by editing the quotes-collection.css file.
54
 
55
  = How to hide the 'Next quote »' link? =
56
 
57
- You can do this by turning off the 'Ajax Refresh feature' in widget options.
58
 
59
  = How to change the link text from 'Next quote »' to something else? =
60
 
61
- Change the value of the variable `$quotescollection_next_quote` on line 16 of the quotes-collection.php file.
62
 
63
  = The 'Next quote »' link is not working. Why? =
64
 
65
- You have to check a couple of things,
66
-
67
- 1. Make sure your theme's header.php file has the code `<?php wp_head(); ?>` just before `</head>`.
68
 
69
- 2. Make sure the plugin files are uploaded in the correct location. The files should be uploaded in a location as follows
70
- <pre> wp-content/
71
- |-- plugins/
72
- |-- quotes-collection/
73
- |-- quotes-collection.php
74
- |-- quotes-collection.js
75
- |-- quotes-collection.css
76
- |-- quotes-collection-ajax.php</pre>
77
-
78
- If you still experience the problem even after the above conditions are met, [contact](http://srinig.com/contact/) the plugin author.
79
 
 
80
 
81
- = What are the parameters that can be passed on to `quotescollection_quote()` template function? =
82
 
83
- Please refer [other notes](http://wordpress.org/extend/plugins/quotes-collection/other_notes/)
84
 
85
  = How to change the admin access level setting for the quotes collection admin page? =
86
 
87
- Change the value of the variable `$quotescollection_admin_userlevel` on line 26 of the quotes-collection.php file. Refer [WordPress documentation](http://codex.wordpress.org/Roles_and_Capabilities) for more information about user roles and capabilities.
88
 
89
- = I have a long list of quotes, and `[quote|all]` puts all of the quotes in a single page. Is there a way to introduce pagination and break the long list of quotes into different pages? =
90
 
91
- Inbuilt pagination support may be introduced in a future version. As of now, you can separate different set of quotes based on author name `[quote|author=]` or tags `[quote|tags=]` and introduce a [`<!--nextpage-->`](http://codex.wordpress.org/Styling_Page-Links) in between.
92
 
93
  = How about a feature to backup/export/import the bulk of quotes in CSV/text format? =
94
 
@@ -96,10 +87,57 @@ Such a feature will be available in a future version of the plugin, though no pr
96
 
97
  == Screenshots ==
98
 
99
- 1. Admin interface (in WordPress 3.0)
100
- 2. 'Random Quote' widget options (WordPress 3.0)
101
- 3. An example of the random quote displayed on a sidebar
102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  == The quotescollection_quote() template function ==
104
 
105
  The quotescollection_quote() template function can be used to display a random quote in places other than sidebar.
@@ -161,29 +199,36 @@ The list of parameters (arguments) that can be passed on to this function:
161
  Versions 1.1 and greater support localization. As of the current version, localization is available in the following languages (code / language / author):
162
 
163
  * `ar` / Arabic / [Ahmed Alharfi](http://www.alharfi.com/)
 
164
  * `bg_BG` / Bulgarian / [Martin Petrov](http://mpetrov.net/)
165
  * `bs_BA` / Bosnian / Vukasin Stojkov
166
- * `by_BY` / Belarusian / [Илья](http://www.fatcow.com/)
167
  * `cs_CZ` / Czech / Josef Ondruch
168
  * `da_DK` / Danish / [Rune Clausen](http://www.runemester.dk/)
169
  * `de_DE` / German / [Tobias Koch](http://tobias.kochs-online.net/2008/05/multilingual-blogging-using-wordpress/)
 
170
  * `es_ES` / Spanish / [Germán L. Martínez (Gershu)](http://www.gershu.com.ar/)
 
171
  * `fa_IR` / Persian / [Ehsan SH](http://mastaneh.ir/)
172
  * `fi_FI` / Finnish / [Jussi Ruokomäki](http://jussi.ruokomaki.fi/)
173
  * `fr_FR` / French / [psykotik](http://www.ikiru.ch/blog), Laurent Naudier
 
174
  * `hi_IN` / Hindi / [Ashish J.](http://outshinesolutions.com/)
175
  * `hr_HR` / Croatian / [1984da](http://faks.us/)
176
  * `hu_HU` / Hungarian / [KOOS, Tamas](http://www.koosfoto.hu/)
 
177
  * `it_IT` / Italian / [Gianni Diurno (aka gidibao)](http://gidibao.net/index.php/2008/05/26/quotes-collection-in-italiano/)
178
- * `ja` / Japanese / [Urepko Asaba](http://sourceforge.jp/projects/wppluginsj/downloads/36796/quotes-collection%201.2.3%20Lang-ja.zip)
179
  * `lt_LT` / Lithuanian / Lulilo
180
  * `lv_LV` / Latvian / [Maris Svirksts](http://www.moskjis.com/)
 
181
  * `nb_NO` / Norwegian (Bokmål) / [Christian K. Nordtømme](http://nextpage.no/)
182
  * `nl_NL` / Dutch / [Kristof Vercruyssen](http://www.simplit.be/)
183
  * `pl_PL` / Polish / Marcin Gucia
184
  * `pt_BR` / Brazilian Portugese / Tzor More
185
  * `pt_PT` / Portugese / [Djamilo Jacinto](http://www.maxibim.net/)
 
186
  * `ru_RU` / Russian / Andrew Malarchuk
 
187
  * `sr_RS` / Serbian / Vukasin Stojkov
188
  * `sv_SE` / Swedish / [Julian Kommunikation](http://julian.se/)
189
  * `ta_IN` / Tamil / [Srini](http://srinig.com/)
@@ -191,9 +236,59 @@ Versions 1.1 and greater support localization. As of the current version, locali
191
  * `uk_UA` / Ukrainian / Stas
192
  * `zh_CN` / Simplified Chinese / [天毅许](http://www.freewarecn.com/)
193
 
194
- You can translate the plugin in your language if it's not done already. The localization template file (quotes-collection.pot) can be found in the 'languages' folder of the plugin. After translating send the localized files to the [plugin author](http://srinig.com/contact/) so that it's included in the next update. If you are not sure how to go about translating, contact the [plugin author](http://srinig.com/contact/).
195
 
196
  ==Changelog==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  * **2010-12-03: Version 1.4.4**
198
  * Updated Simplified Chinese localization
199
 
@@ -323,7 +418,7 @@ You can translate the plugin in your language if it's not done already. The loca
323
  * Bug fixes and various other improvements
324
 
325
  * **2008-02-06: Version 0.9.5**
326
- * Fixed problem with non English characters in author names while using the tag [quote|author=]
327
 
328
  * **2008-01-16: Version 0.9.4**
329
  * Support for utf-8 characters
@@ -342,7 +437,10 @@ You can translate the plugin in your language if it's not done already. The loca
342
  * **2007-12-15: Version 0.9**
343
  * Initial release
344
 
 
345
  == Upgrade Notice ==
346
 
347
- = 1.4.4 =
348
- Upgrade if your blog is Simplified Chinese.
 
 
1
  === Quotes Collection ===
2
  Contributors: SriniG
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HDWT2K8TXXHUN
4
+ Tags: quotes collection, quotes, quotations, random quote, sidebar, widget, ajax, shortcode
5
+ Requires at least: 2.8
6
+ Tested up to: 3.5
7
  Stable tag: trunk
8
+ License: GNU General Public License
9
 
10
+ Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes in your WordPress blog.
11
 
12
  == Description ==
13
 
14
+ Quotes Collection plugin helps you collect, manage and display your favourite quotations in your WordPress blog.
15
 
 
16
 
17
+ **Features and notes**
18
+
19
+ * **Admin interface**: An admin interface to add, edit and manage quotes. Details such as author and source of the quote, and attributes like tags and visibility, can be specified. The 'Quotes' menu in the WP admin navigation leads to the quotes admin interface.
20
+ * **Sidebar widget**: The Random Quote sidebar widget with Ajax refresh feature -- you will be able to get another random quote on the same space without refreshing the web page. Following is the list of options in the widget control panel:
21
  * Widget title
22
  * Option to show/hide quote author
23
  * Option to show/hide quote source
26
  * Option to refresh the quote automatically
27
  * Show only quotes with certain tags
28
  * Specify a character limit and filter out bigger quotes
29
+ * **Shortcode**: Quotes can be displayed in a WordPress page by placing a `[quotcoll]`shortcode. Few examples are provided below. For more examples and the full list of arguments, please refer the [plugin homepage](http://srinig.com/wordpress/plugins/quotes-collection/) or 'other notes'. *(Note: The new `[quotcoll]` shortcode is introduced in version 1.5, that makes use of the WordPress shortcode API. The older `[quote]` shortcode is deprecated, though it will still work as a measure of backwards compatibility.)*
30
+ * Placing `[quotcoll]` in the page displays all quotes.
31
+ * `[quotcoll author="Somebody"]` displays quotes authored by Somebody.
32
+ * `[quotcoll tags="tag1,tag2,tag3"]` displays quotes tagged tag1 or tag2 or tag3, one or more or all of these
33
+ * `[quotcoll orderby="random" limit=1]` displays a random quote
34
+ * **The template function**: To code the random quote functionality directly into a template file, the template function `quotescollection_quote()` can be used. Please refer the plugin homepage or 'other notes' for details.
 
 
 
 
35
  * Compatible with WordPress 3.0 multi-site functionality.
36
+ * The plugin suppports localization. Refer the plugin page or 'other notes' for the full list of available languages and the respective translators.
37
+
38
+ For more information, visit the [plugin homepage](http://srinig.com/wordpress/plugins/quotes-collection/). Please provide your feedback at the [WordPress support forums](http://wordpress.org/tags/quotes-collection?forum_id=10).
39
 
40
  == Installation ==
41
  1. Upload `quotes-collection` directory to the `/wp-content/plugins/` directory
42
  1. Activate the 'Quotes Collection' plugin through the 'Plugins' menu in WordPress
43
+ 1. Add and manage the quotes through the 'Quotes' menu in the WordPress admin area
44
  1. To display a random quote in the sidebar, go to 'Widgets' menu and drag the 'Random Quote' widget into the sidebar
45
 
46
  == Frequently Asked Questions ==
51
 
52
  = How to change the random quote text color? =
53
 
54
+ Styling such as text color, font size, background color, etc., of the random quote can be customized by editing the quotes-collection.css file. Please also note that any updates to the plugin will overwrite your customized css file, so it's advisable to backup your customization before updating the plugin.
55
 
56
  = How to hide the 'Next quote »' link? =
57
 
58
+ You can do this by turning off the 'Ajax Refresh' feature in widget options.
59
 
60
  = How to change the link text from 'Next quote »' to something else? =
61
 
62
+ Change the value of the variable `$quotescollection_next_quote` on line 34 of the quotes-collection.php file.
63
 
64
  = The 'Next quote »' link is not working. Why? =
65
 
66
+ Make sure your theme's header.php file has the code `<?php wp_head(); ?>` just before `</head>`. If you still experience the problem, [contact](http://srinig.com/wordpress/contact/) the plugin author.
 
 
67
 
68
+ = I have added a number of quotes, but some of the quotes never get displayed in the widget. Why? =
 
 
 
 
 
 
 
 
 
69
 
70
+ If you want all of the quotes to display, make sure all all the quotes fall within the 'Character limit'. There is an option named 'Character limit' for the widget (bottom most, under the 'advanced options') with a default value of '500'. The value can be changed, or simply removed and the field left blank so that none of the quotes get filtered out based on length.
71
 
72
+ = Why multiple instances of the widget is not available? =
73
 
74
+ There can be conflicts and undesirable behaviour when more than one instance of the random quote function call is used in the same page, especially with the ajax refresh turned on for all the instances. It is for this reason the multiple instances of the widget is currently unavailable. For the same reason, it is not advised to use the `quotescollection_quote()` function call more than once in the same page. And for the same reason, the ajax refresh option is not made available for the shortcodes. These limitations shall be overcome in a future version of the plugin.
75
 
76
  = How to change the admin access level setting for the quotes collection admin page? =
77
 
78
+ Change the value of the variable `$quotescollection_admin_userlevel` on line 44 of the quotes-collection.php file. Refer [WordPress documentation](http://codex.wordpress.org/Roles_and_Capabilities) for more information about user roles and capabilities.
79
 
80
+ = I have a long list of quotes, and the `[quotcoll]` shortcode puts all of the quotes in a single page. Is there a way to introduce pagination and break the long list of quotes into different pages? =
81
 
82
+ Yes, pagination is supporterd in versions 1.5 and greater. `paging` and `limit_per_page` attributes can be used to achieve this. For example, `[quotcoll paging=true limit_per_page=30]` will introduce pagination with a maximum of 30 quotes per page.
83
 
84
  = How about a feature to backup/export/import the bulk of quotes in CSV/text format? =
85
 
87
 
88
  == Screenshots ==
89
 
90
+ 1. Admin interface (in WordPress 3.2)
91
+ 2. 'Random Quote' widget options (WordPress 3.2)
92
+ 3. A random quote in the sidebar
93
 
94
+ == The [quotcoll] shortcode ==
95
+ Quotes can be displayed in a page by placing the shortcode `[quotcoll]`. This will display all the public quotes ordered by the quote id.
96
+
97
+ Different attributes can be specified to customize the way the quotes are displayed. Here's the list of attributes:
98
+
99
+ * **id** *(integer)*
100
+ * For example, `[quotcoll id=3]` displays a single quote, the id of which is 3. If there is no quote with the id 3, nothing is displayed.
101
+ * This overrides all other attributes. That is, if id attribute is specified, any other attribute specified is ignored.
102
+
103
+ * **author** *(string)*
104
+ * `[quotcoll author="Somebody"]` displays all quotes authored by 'Somebody'.
105
+
106
+ * **source** *(string)*
107
+ * `[quotcoll source="Something"]` displays all quotes from the source 'Something'.
108
+
109
+ * **tags** *(string, comma separated)*
110
+ * `[quotcoll tags="tag1"]` displays all quotes tagged 'tag1'.
111
+ * `[quotcoll tags="tag1, tag2, tag3"]` displays quotes tagged 'tag1' or 'tag2' or 'tag3', one or more or all of these.
112
+ * `[quotcoll author="Somebody" tags="tag1"]` displays quotes authored by 'Somebody' AND tagged 'tag1'.
113
+
114
+ * **orderby** *(string)*
115
+ * When multiple quotes are displayed, the quotes or ordered based on this value. The value can be either of these:
116
+ * 'quote_id' (default)
117
+ * 'author'
118
+ * 'source'
119
+ * 'time_added'
120
+ * 'random'
121
+
122
+ * **order** *(string)*
123
+ * The value can be either 'ASC' (default) or 'DESC', for ascending and descending order respectively.
124
+ * For example, `[quotcoll orderby="time_added" order="DESC"]` will display all the quotes in the order of date added, latest first and the earliest last.
125
+
126
+ * **paging** *(boolean)*
127
+ * The values can be:
128
+ * false (or 0) (default)
129
+ * true (or 1) -- introduces paging. This is used in conjunction with `limit_per_page` (see below).
130
+ * For example, `[quotcoll paging=true limit_per_page=30]` will introduce paging with maximum of 30 quotes per page.
131
+ * Note: if `orderby="random"` is used, paging is ignored.
132
+
133
+ * **limit_per_page** *(integer)*
134
+ * The maximum number of quotes to be displayed in a page when paging is introduced, as described above.
135
+ * The defualt value is 10. For example, `[quotcoll paging=true]` will introduce paging with maximum of 10 quotes per page.
136
+
137
+ * **limit** *(integer)*
138
+ * The maximum number of quotes to be displayed in a single page ie., when paging is 'false'.
139
+ * This can be used, for example, to display just a random quote. `[quotcoll orderby="random" limit=1]`
140
+
141
  == The quotescollection_quote() template function ==
142
 
143
  The quotescollection_quote() template function can be used to display a random quote in places other than sidebar.
199
  Versions 1.1 and greater support localization. As of the current version, localization is available in the following languages (code / language / author):
200
 
201
  * `ar` / Arabic / [Ahmed Alharfi](http://www.alharfi.com/)
202
+ * `be_BY` / Belarusian / [Alexander Ovsov](http://webhostinggeeks.com/)
203
  * `bg_BG` / Bulgarian / [Martin Petrov](http://mpetrov.net/)
204
  * `bs_BA` / Bosnian / Vukasin Stojkov
 
205
  * `cs_CZ` / Czech / Josef Ondruch
206
  * `da_DK` / Danish / [Rune Clausen](http://www.runemester.dk/)
207
  * `de_DE` / German / [Tobias Koch](http://tobias.kochs-online.net/2008/05/multilingual-blogging-using-wordpress/)
208
+ * `el` / Greek / [Spiros Doikas](http://www.translatum.gr/)
209
  * `es_ES` / Spanish / [Germán L. Martínez (Gershu)](http://www.gershu.com.ar/)
210
+ * `et_EE` / Estonian / [Iflexion](http://iflexion.com/)
211
  * `fa_IR` / Persian / [Ehsan SH](http://mastaneh.ir/)
212
  * `fi_FI` / Finnish / [Jussi Ruokomäki](http://jussi.ruokomaki.fi/)
213
  * `fr_FR` / French / [psykotik](http://www.ikiru.ch/blog), Laurent Naudier
214
+ * `he_IL` / Hebrew / Tailor Vijay
215
  * `hi_IN` / Hindi / [Ashish J.](http://outshinesolutions.com/)
216
  * `hr_HR` / Croatian / [1984da](http://faks.us/)
217
  * `hu_HU` / Hungarian / [KOOS, Tamas](http://www.koosfoto.hu/)
218
+ * `id_ID` / Bahasa Indonesia / [Kelayang](http://kelayang.com/)
219
  * `it_IT` / Italian / [Gianni Diurno (aka gidibao)](http://gidibao.net/index.php/2008/05/26/quotes-collection-in-italiano/)
220
+ * `ja` / Japanese / [Urepko Asaba](http://www.urepko.net/)
221
  * `lt_LT` / Lithuanian / Lulilo
222
  * `lv_LV` / Latvian / [Maris Svirksts](http://www.moskjis.com/)
223
+ * `mk_MK` / Macedonian / [Diana](http://wpcouponshop.com/)
224
  * `nb_NO` / Norwegian (Bokmål) / [Christian K. Nordtømme](http://nextpage.no/)
225
  * `nl_NL` / Dutch / [Kristof Vercruyssen](http://www.simplit.be/)
226
  * `pl_PL` / Polish / Marcin Gucia
227
  * `pt_BR` / Brazilian Portugese / Tzor More
228
  * `pt_PT` / Portugese / [Djamilo Jacinto](http://www.maxibim.net/)
229
+ * `ro_RO` / Romanian / Alexander Ovsov
230
  * `ru_RU` / Russian / Andrew Malarchuk
231
+ * `sk_SK` / Slovak / [Stefan Stieranka](http://www.itec.sk/)
232
  * `sr_RS` / Serbian / Vukasin Stojkov
233
  * `sv_SE` / Swedish / [Julian Kommunikation](http://julian.se/)
234
  * `ta_IN` / Tamil / [Srini](http://srinig.com/)
236
  * `uk_UA` / Ukrainian / Stas
237
  * `zh_CN` / Simplified Chinese / [天毅许](http://www.freewarecn.com/)
238
 
239
+ You can translate the plugin in your language if it's not done already. The localization template file (quotes-collection.pot) can be found in the 'languages' folder of the plugin. After translating send the localized files to the [plugin author](http://srinig.com/wordpress/contact/) so that it's included in the next update. If you are not sure how to go about translating, contact the plugin author.
240
 
241
  ==Changelog==
242
+
243
+ * **2012-12-16: Version 1.5.9**
244
+ * Fix for cases where random refresh always fetches only two quotes
245
+ * Bugfix for widget
246
+
247
+ * **2012-12-10: Version 1.5.8**
248
+ * Modified html tags filtering for 'quote'. Now all html tags allowed for blog posts can be used in the 'quote' field.
249
+ * Fixed quotes count display in admin so that plural shows as 'quotes' and not as 'quote'.
250
+ * Fixed Ajax refresh bug.
251
+
252
+ * **2012-12-08: Version 1.5.7**
253
+ * Localization in Macedonian language added, Persian language updated.
254
+ * Code improvements
255
+ * Documentation changes (FAQ updated)
256
+
257
+ * **2012-07-02: Version 1.5.6**
258
+ * Security fix (pointed out by Charlie Eriksen via Secunia SVCRP)
259
+
260
+ * **2012-03-28: Version 1.5.5.1**
261
+ * Minor fix (the missing semicolon in <code>&amp;nbsp;</code>)
262
+
263
+ * **2012-03-27: Version 1.5.5**
264
+ * Security fixes
265
+ * Shortcode output pagination issue fixed
266
+ * Shortcode: 'time_added' value for 'orderby' parameter fixed.
267
+ * Localization in Estonian, Greek, Belarusian and Romanian languages added.
268
+
269
+ * **2011-08-31: Version 1.5.4**
270
+ * 30 and 60 seconds added to widget auto refresh time option.
271
+ * Updates for Italian and Japanese localizations.
272
+
273
+ * **2011-08-08: Version 1.5.3**
274
+ * Hebrew localization added
275
+ * id attribute added for blockquote tags for shortcode quotes.
276
+
277
+ * **2011-07-18: Version 1.5.2**
278
+ * Slovak localization added
279
+ * Fixes
280
+
281
+ * **2011-07-01: Version 1.5.1**
282
+ * Bahasa Indonesia localization updated
283
+
284
+ * **2011-06-30: Version 1.5**
285
+ * Shortcodes revamp. The new shortcode `[quotcoll]` uses the WordPress shortcode API and comes with various options. The old `[quote]` is deprecated, but will still work as a measure of backwards compatibility.
286
+ * Ajax calls are now made to `wp-admin/admin-ajax.php`. This could potentially fix problems some websites had with the older system.
287
+ * Pagination in admin page. Other minor improvements in the admin page.
288
+ * Fixes for deprecated functions and undefined variables. Various other minor fixes and improvements.
289
+ * Bahasa Indonesia (id_ID) localization added. Tamil localization updated.
290
+ * The `.po` template file `quotes-collection.pot` is updated. New strings added, few strings have become obsolete.
291
+
292
  * **2010-12-03: Version 1.4.4**
293
  * Updated Simplified Chinese localization
294
 
418
  * Bug fixes and various other improvements
419
 
420
  * **2008-02-06: Version 0.9.5**
421
+ * Fixed problem with non English characters in author names while using the tag `[quote|author=]`
422
 
423
  * **2008-01-16: Version 0.9.4**
424
  * Support for utf-8 characters
437
  * **2007-12-15: Version 0.9**
438
  * Initial release
439
 
440
+
441
  == Upgrade Notice ==
442
 
443
+ = 1.5.9 =
444
+ Upgrade if random refresh always fetches only two quotes, also if the there are problems with the widget controls.
445
+
446
+
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file