Quotes Collection - Version 1.4.4

Version Description

Download this release

Release Info

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

Code changes from version 1.3.8 to 1.4.4

languages/quotes-collection-fr_FR.mo CHANGED
Binary file
languages/quotes-collection-fr_FR.po CHANGED
@@ -13,173 +13,315 @@ msgstr ""
13
  "X-Poedit-Language: French\n"
14
  "X-Poedit-Country: FRANCE\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n"
17
-
 
 
 
 
 
 
18
  msgid "Next quote"
19
  msgstr "Citation suivante"
20
 
 
 
21
  msgid "Loading..."
22
  msgstr "Chargement..."
23
 
 
 
24
  msgid "Error getting quote"
25
  msgstr "Erreur d'obtention de la citation"
26
 
27
- msgid "from"
28
- msgstr "de"
29
-
30
  msgid "Random Quote"
31
  msgstr "Citation au hasard"
32
 
 
 
33
  msgid "Title"
34
  msgstr "Titre"
35
 
 
 
36
  msgid "Show author?"
37
  msgstr "Montrer l'auteur ?"
38
 
 
 
39
  msgid "Show source?"
40
  msgstr "Montrer la source ?"
41
 
 
 
42
  msgid "Ajax refresh feature"
43
  msgstr "Composant Ajax de mise à jour"
44
 
45
- msgid "Manage your collection of quotes at"
46
- msgstr "Gérer votre collection de citation à "
47
-
48
- msgid "Manage"
49
- msgstr "Gérer"
50
-
51
  msgid "Nothing added to the database."
52
  msgstr "Rien n'a été ajouté à la base."
53
 
54
- msgid "Database table not found!"
55
- msgstr "Aucun table trouvée dans la base !"
56
-
 
57
  msgid "There was an error in the MySQL query"
58
  msgstr "Erreur dans le requête MySQL"
59
 
 
 
60
  msgid "Quote added"
61
  msgstr "Citation ajoutêe"
62
 
 
 
63
  msgid "Quote not updated."
64
  msgstr "Citation pas mise à jour."
65
 
 
 
66
  msgid "Changes saved"
67
  msgstr "Changements sauvegardés"
68
 
 
 
69
  msgid "Quote deleted"
70
  msgstr "Citation effacée"
71
 
 
 
72
  msgid "The quote cannot be deleted"
73
  msgstr "La citation ne peut être effacée"
74
 
 
 
 
75
  msgid "Add Quote"
76
  msgstr "Ajouter citation"
77
 
 
 
 
78
  msgid "Save changes"
79
  msgstr "Sauvegarder les changements"
80
 
 
 
81
  msgid "Back"
82
  msgstr "Retour"
83
 
 
 
 
84
  msgid "The quote"
85
  msgstr "La citation"
86
 
 
 
 
 
87
  msgid "Author"
88
  msgstr "Auteur"
89
 
 
 
 
 
90
  msgid "Source"
91
  msgstr "Source"
92
 
 
 
 
93
  msgid "Tags"
94
  msgstr "Mots-clé"
95
 
96
- msgid "Visible?"
97
- msgstr "Visible ?"
98
-
99
  msgid "optional"
100
  msgstr "optionnel"
101
 
 
 
102
  msgid "comma separated"
103
  msgstr "séparé par des virgules"
104
 
 
 
 
105
  msgid "Nothing done!"
106
  msgstr "Rien n'a été fait !"
107
 
108
- msgid "Visibility status of selected quotes set to '%s'"
109
- msgstr "Statut de visibilité des citations sélectionnées positionné à '%s'"
110
-
111
  msgid "Quote(s) deleted"
112
  msgstr "Citation(s) effacée(s)"
113
 
 
 
114
  msgid "Edit quote"
115
  msgstr "Editer la citation"
116
 
 
 
 
 
 
117
  msgid "Delete"
118
  msgstr "Effacer"
119
 
120
- msgid "Make visible"
121
- msgstr "Rendre visible"
122
-
123
- msgid "Make invisible"
124
- msgstr "Rendre invisible"
125
-
126
  msgid "Add new quote"
127
  msgstr "Ajouter une nouvelle citation"
128
 
 
 
129
  msgid "Edit"
130
  msgstr "Editer"
131
 
 
 
132
  msgid "Are you sure you want to delete this quote?"
133
  msgstr "Etes vous sûr de vouloir effacer cette citation ?"
134
 
 
 
135
  msgid "Sort by: "
136
  msgstr "Trier par :"
137
 
 
 
 
138
  msgid "Quote"
139
  msgstr "Citation"
140
 
 
 
141
  msgid "Date added"
142
  msgstr "Date d'ajout"
143
 
 
 
144
  msgid "Date updated"
145
  msgstr "Date de mise à jour"
146
 
 
 
147
  msgid "Visibility"
148
  msgstr "Visibilité"
149
 
 
 
150
  msgid "Go"
151
  msgstr "Aller"
152
 
 
 
153
  msgid "Action"
154
  msgstr "Action"
155
 
 
 
156
  msgid "No quotes in the database"
157
  msgstr "Aucune citation dans la base"
158
 
159
- #: quotes-collection.php:462
160
  #, php-format
 
161
  msgid "Currently, you have %d quote."
162
  msgid_plural "Currently, you have %d quotes."
163
  msgstr[0] "Actuellement, vous avez %d citation."
164
  msgstr[1] "Actuellement, vous avez %d citations."
165
 
166
- #: quotes-collection.php:257
 
167
  msgid "Tags filter"
168
  msgstr "Filtre de tags"
169
 
170
- #: quotes-collection.php:257
 
171
  msgid "Comma separated"
172
  msgstr "Séparé par virgule"
173
 
174
- #: quotes-collection.php:258
 
175
  msgid "Character limit"
176
  msgstr "Limite des charactères"
177
 
178
- #: quotes-collection.php:260
179
- msgid "Click here"
180
- msgstr "Cliquez ici"
181
-
182
- #: quotes-collection.php:260
183
- msgid "to manage your collection of quotes"
184
- msgstr "pour gérer votre collection de citations"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
 
13
  "X-Poedit-Language: French\n"
14
  "X-Poedit-Country: FRANCE\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: \n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: quotes-collection.php:16
23
+ #@ quotes-collection
24
  msgid "Next quote"
25
  msgstr "Citation suivante"
26
 
27
+ #: quotes-collection.php:88
28
+ #@ quotes-collection
29
  msgid "Loading..."
30
  msgstr "Chargement..."
31
 
32
+ #: quotes-collection.php:89
33
+ #@ quotes-collection
34
  msgid "Error getting quote"
35
  msgstr "Erreur d'obtention de la citation"
36
 
37
+ #: quotes-collection.php:239
38
+ #: quotes-collection.php:264
39
+ #@ quotes-collection
40
  msgid "Random Quote"
41
  msgstr "Citation au hasard"
42
 
43
+ #: quotes-collection.php:307
44
+ #@ quotes-collection
45
  msgid "Title"
46
  msgstr "Titre"
47
 
48
+ #: quotes-collection.php:308
49
+ #@ quotes-collection
50
  msgid "Show author?"
51
  msgstr "Montrer l'auteur ?"
52
 
53
+ #: quotes-collection.php:309
54
+ #@ quotes-collection
55
  msgid "Show source?"
56
  msgstr "Montrer la source ?"
57
 
58
+ #: quotes-collection.php:310
59
+ #@ quotes-collection
60
  msgid "Ajax refresh feature"
61
  msgstr "Composant Ajax de mise à jour"
62
 
63
+ #: quotes-collection.php:335
64
+ #@ quotes-collection
 
 
 
 
65
  msgid "Nothing added to the database."
66
  msgstr "Rien n'a été ajouté à la base."
67
 
68
+ #: quotes-collection.php:363
69
+ #: quotes-collection.php:405
70
+ #: quotes-collection.php:419
71
+ #@ quotes-collection
72
  msgid "There was an error in the MySQL query"
73
  msgstr "Erreur dans le requête MySQL"
74
 
75
+ #: quotes-collection.php:365
76
+ #@ quotes-collection
77
  msgid "Quote added"
78
  msgstr "Citation ajoutêe"
79
 
80
+ #: quotes-collection.php:371
81
+ #@ quotes-collection
82
  msgid "Quote not updated."
83
  msgstr "Citation pas mise à jour."
84
 
85
+ #: quotes-collection.php:407
86
+ #@ quotes-collection
87
  msgid "Changes saved"
88
  msgstr "Changements sauvegardés"
89
 
90
+ #: quotes-collection.php:421
91
+ #@ quotes-collection
92
  msgid "Quote deleted"
93
  msgstr "Citation effacée"
94
 
95
+ #: quotes-collection.php:423
96
+ #@ quotes-collection
97
  msgid "The quote cannot be deleted"
98
  msgstr "La citation ne peut être effacée"
99
 
100
+ #: quotes-collection.php:439
101
+ #: quotes-collection.php:536
102
+ #@ quotes-collection
103
  msgid "Add Quote"
104
  msgstr "Ajouter citation"
105
 
106
+ #: quotes-collection.php:455
107
+ #: quotes-collection.php:540
108
+ #@ quotes-collection
109
  msgid "Save changes"
110
  msgstr "Sauvegarder les changements"
111
 
112
+ #: quotes-collection.php:456
113
+ #@ quotes-collection
114
  msgid "Back"
115
  msgstr "Retour"
116
 
117
+ #: quotes-collection.php:460
118
+ #: quotes-collection.php:646
119
+ #@ quotes-collection
120
  msgid "The quote"
121
  msgstr "La citation"
122
 
123
+ #: quotes-collection.php:461
124
+ #: quotes-collection.php:629
125
+ #: quotes-collection.php:648
126
+ #@ quotes-collection
127
  msgid "Author"
128
  msgstr "Auteur"
129
 
130
+ #: quotes-collection.php:462
131
+ #: quotes-collection.php:630
132
+ #: quotes-collection.php:648
133
+ #@ quotes-collection
134
  msgid "Source"
135
  msgstr "Source"
136
 
137
+ #: quotes-collection.php:463
138
+ #: quotes-collection.php:650
139
+ #@ quotes-collection
140
  msgid "Tags"
141
  msgstr "Mots-clé"
142
 
143
+ #: quotes-collection.php:465
144
+ #@ quotes-collection
 
145
  msgid "optional"
146
  msgstr "optionnel"
147
 
148
+ #: quotes-collection.php:466
149
+ #@ quotes-collection
150
  msgid "comma separated"
151
  msgstr "séparé par des virgules"
152
 
153
+ #: quotes-collection.php:503
154
+ #: quotes-collection.php:519
155
+ #@ quotes-collection
156
  msgid "Nothing done!"
157
  msgstr "Rien n'a été fait !"
158
 
159
+ #: quotes-collection.php:524
160
+ #@ quotes-collection
 
161
  msgid "Quote(s) deleted"
162
  msgstr "Citation(s) effacée(s)"
163
 
164
+ #: quotes-collection.php:545
165
+ #@ quotes-collection
166
  msgid "Edit quote"
167
  msgstr "Editer la citation"
168
 
169
+ #: quotes-collection.php:555
170
+ #: quotes-collection.php:606
171
+ #: quotes-collection.php:621
172
+ #: quotes-collection.php:660
173
+ #@ quotes-collection
174
  msgid "Delete"
175
  msgstr "Effacer"
176
 
177
+ #: quotes-collection.php:615
178
+ #: quotes-collection.php:677
179
+ #@ quotes-collection
 
 
 
180
  msgid "Add new quote"
181
  msgstr "Ajouter une nouvelle citation"
182
 
183
+ #: quotes-collection.php:605
184
+ #@ quotes-collection
185
  msgid "Edit"
186
  msgstr "Editer"
187
 
188
+ #: quotes-collection.php:606
189
+ #@ quotes-collection
190
  msgid "Are you sure you want to delete this quote?"
191
  msgstr "Etes vous sûr de vouloir effacer cette citation ?"
192
 
193
+ #: quotes-collection.php:625
194
+ #@ quotes-collection
195
  msgid "Sort by: "
196
  msgstr "Trier par :"
197
 
198
+ #: quotes-collection.php:627
199
+ #: quotes-collection.php:628
200
+ #@ quotes-collection
201
  msgid "Quote"
202
  msgstr "Citation"
203
 
204
+ #: quotes-collection.php:631
205
+ #@ quotes-collection
206
  msgid "Date added"
207
  msgstr "Date d'ajout"
208
 
209
+ #: quotes-collection.php:632
210
+ #@ quotes-collection
211
  msgid "Date updated"
212
  msgstr "Date de mise à jour"
213
 
214
+ #: quotes-collection.php:633
215
+ #@ quotes-collection
216
  msgid "Visibility"
217
  msgstr "Visibilité"
218
 
219
+ #: quotes-collection.php:636
220
+ #@ quotes-collection
221
  msgid "Go"
222
  msgstr "Aller"
223
 
224
+ #: quotes-collection.php:652
225
+ #@ quotes-collection
226
  msgid "Action"
227
  msgstr "Action"
228
 
229
+ #: quotes-collection.php:671
230
+ #@ quotes-collection
231
  msgid "No quotes in the database"
232
  msgstr "Aucune citation dans la base"
233
 
234
+ #: quotes-collection.php:613
235
  #, php-format
236
+ #@ quotes-collection
237
  msgid "Currently, you have %d quote."
238
  msgid_plural "Currently, you have %d quotes."
239
  msgstr[0] "Actuellement, vous avez %d citation."
240
  msgstr[1] "Actuellement, vous avez %d citations."
241
 
242
+ #: quotes-collection.php:315
243
+ #@ quotes-collection
244
  msgid "Tags filter"
245
  msgstr "Filtre de tags"
246
 
247
+ #: quotes-collection.php:315
248
+ #@ quotes-collection
249
  msgid "Comma separated"
250
  msgstr "Séparé par virgule"
251
 
252
+ #: quotes-collection.php:316
253
+ #@ quotes-collection
254
  msgid "Character limit"
255
  msgstr "Limite des charactères"
256
 
257
+ #: quotes-collection.php:291
258
+ #@ quotes-collection
259
+ msgid "none"
260
+ msgstr "aucun"
261
+
262
+ #: quotes-collection.php:311
263
+ #@ quotes-collection
264
+ msgid "Advanced options"
265
+ msgstr "Options avancées"
266
+
267
+ #: quotes-collection.php:313
268
+ #@ quotes-collection
269
+ msgid "Random refresh"
270
+ msgstr "Rafraîchir aléatoirement"
271
+
272
+ #: quotes-collection.php:313
273
+ #@ quotes-collection
274
+ msgid "Unchecking this will rotate quotes in the order added, latest first."
275
+ msgstr "Décocher cette option va faire tourner les citations dans l'ordre d'ajout, les dernières en premier."
276
+
277
+ #: quotes-collection.php:314
278
+ #@ quotes-collection
279
+ msgid "Auto refresh"
280
+ msgstr "Rafraîchir automatiquement"
281
+
282
+ #: quotes-collection.php:314
283
+ #@ quotes-collection
284
+ msgid "every"
285
+ msgstr "toutes les "
286
+
287
+ #: quotes-collection.php:314
288
+ #@ quotes-collection
289
+ msgid "sec"
290
+ msgstr "sec."
291
+
292
+ #: quotes-collection.php:339
293
+ #: quotes-collection.php:376
294
+ #@ quotes-collection
295
+ msgid "Database table not found"
296
+ msgstr "Aucune table n'a été trouvée dans la base de données."
297
+
298
+ #: quotes-collection.php:464
299
+ #: quotes-collection.php:651
300
+ #@ quotes-collection
301
+ msgid "Public?"
302
+ msgstr "Public?"
303
+
304
+ #: quotes-collection.php:511
305
+ #@ quotes-collection
306
+ msgid "Selected quotes made public"
307
+ msgstr "Les citations sélectionnées sont maintenant visibles par tous."
308
+
309
+ #: quotes-collection.php:513
310
+ #@ quotes-collection
311
+ msgid "Selected quotes made private"
312
+ msgstr "Les citations sélectionnées ne sont désormais visible que par vous."
313
+
314
+ #: quotes-collection.php:557
315
+ #: quotes-collection.php:622
316
+ #: quotes-collection.php:661
317
+ #@ quotes-collection
318
+ msgid "Make public"
319
+ msgstr "Rendre public"
320
+
321
+ #: quotes-collection.php:560
322
+ #: quotes-collection.php:623
323
+ #: quotes-collection.php:662
324
+ #@ quotes-collection
325
+ msgid "Keep private"
326
+ msgstr "Garder privé"
327
 
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: 2009-05-25 10:15+0530\n"
6
- "PO-Revision-Date: 2009-05-25 13:00+0100\n"
7
- "Last-Translator: Gianni Diurno (aka gidibao) <gidibao@gmail.com>\n"
8
- "Language-Team: gidibao.net <gidibao@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -15,241 +15,274 @@ msgstr ""
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:62
19
- #: quotes-collection.php:175
20
- #: quotes-collection.php:179
21
  msgid "Next quote"
22
  msgstr "Vai alla prossima citazione"
23
 
24
- #: quotes-collection.php:63
25
  msgid "Loading..."
26
  msgstr "Un attimo..."
27
 
28
- #: quotes-collection.php:64
29
  msgid "Error getting quote"
30
  msgstr "Si é verificato un errore"
31
 
32
- #: quotes-collection.php:200
33
- #: quotes-collection.php:221
34
  msgid "Random Quote"
35
  msgstr "Citazioni a caso"
36
 
37
- #: quotes-collection.php:242
38
  msgid "none"
39
  msgstr "nessuna"
40
 
41
- #: quotes-collection.php:253
42
  msgid "Title"
43
  msgstr "Titolo"
44
 
45
- #: quotes-collection.php:254
46
  msgid "Show author?"
47
  msgstr "Desideri mostrare l'autore?"
48
 
49
- #: quotes-collection.php:255
50
  msgid "Show source?"
51
  msgstr "Desideri mostrare la fonte?"
52
 
53
- #: quotes-collection.php:256
54
  msgid "Ajax refresh feature"
55
  msgstr "Funzione di ricarica Ajax"
56
 
57
- #: quotes-collection.php:257
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  msgid "Tags filter"
59
  msgstr "Filtro tag"
60
 
61
- #: quotes-collection.php:257
62
  msgid "Comma separated"
63
  msgstr "separa con una virgola"
64
 
65
- #: quotes-collection.php:258
66
  msgid "Character limit"
67
  msgstr "Limite caratteri:"
68
 
69
- #: quotes-collection.php:260
70
- msgid "Click here"
71
- msgstr "Clicca qui"
72
-
73
- #: quotes-collection.php:260
74
- msgid "to manage your collection of quotes"
75
- msgstr "per la gestione della tua collezione di citazioni"
76
-
77
- #: quotes-collection.php:277
78
  msgid "Nothing added to the database."
79
  msgstr "Non é stato aggiunto nulla al database."
80
 
81
- #: quotes-collection.php:281
82
- #: quotes-collection.php:319
83
  msgid "Database table not found"
84
  msgstr "Non é stata trovata la tabella del database"
85
 
86
- #: quotes-collection.php:306
87
- #: quotes-collection.php:349
88
  #: quotes-collection.php:363
 
 
89
  msgid "There was an error in the MySQL query"
90
  msgstr "Si é verificato un errore nella richiesta MySQL"
91
 
92
- #: quotes-collection.php:308
93
  msgid "Quote added"
94
  msgstr "La citazione é stata aggiunta"
95
 
96
- #: quotes-collection.php:314
97
  msgid "Quote not updated."
98
  msgstr "La citazione non é stata aggiornata."
99
 
100
- #: quotes-collection.php:351
101
  msgid "Changes saved"
102
  msgstr "Le modifiche sono state salvate"
103
 
104
- #: quotes-collection.php:365
105
  msgid "Quote deleted"
106
  msgstr "La citazione é stata cancellata"
107
 
108
- #: quotes-collection.php:367
109
  msgid "The quote cannot be deleted"
110
  msgstr "La citazione non può essere cancellata"
111
 
112
- #: quotes-collection.php:383
113
- #: quotes-collection.php:477
114
  msgid "Add Quote"
115
  msgstr "Aggiungi la citazione"
116
 
117
- #: quotes-collection.php:399
118
- #: quotes-collection.php:481
119
  msgid "Save changes"
120
  msgstr "Salva le modifiche"
121
 
122
- #: quotes-collection.php:400
123
  msgid "Back"
124
  msgstr "Ritorna indietro"
125
 
126
- #: quotes-collection.php:404
127
- #: quotes-collection.php:587
128
  msgid "The quote"
129
  msgstr "Citazione"
130
 
131
- #: quotes-collection.php:405
132
- #: quotes-collection.php:570
133
- #: quotes-collection.php:589
134
  msgid "Author"
135
  msgstr "Autore"
136
 
137
- #: quotes-collection.php:406
138
- #: quotes-collection.php:571
139
- #: quotes-collection.php:589
140
  msgid "Source"
141
  msgstr "Fonte"
142
 
143
- #: quotes-collection.php:407
144
- #: quotes-collection.php:591
145
  msgid "Tags"
146
  msgstr "Tags"
147
 
148
- #: quotes-collection.php:408
149
- #: quotes-collection.php:592
150
- msgid "Visible?"
151
- msgstr "Desideri che sia visibile?"
152
 
153
- #: quotes-collection.php:409
154
  msgid "optional"
155
  msgstr "facoltativo"
156
 
157
- #: quotes-collection.php:410
158
  msgid "comma separated"
159
  msgstr "separa con una virgola"
160
 
161
- #: quotes-collection.php:447
162
- #: quotes-collection.php:460
163
  msgid "Nothing done!"
164
  msgstr "Non ho fatto nulla!"
165
 
166
- #: quotes-collection.php:454
167
- #, php-format
168
- msgid "Visibility status of selected quotes set to '%s'"
169
- msgstr "Lo stato di visibilità delle citazioni selezionate é impostato come '%s'"
170
 
171
- #: quotes-collection.php:465
 
 
 
 
172
  msgid "Quote(s) deleted"
173
  msgstr "Citazione(i) cancellata(e)"
174
 
175
- #: quotes-collection.php:486
176
  msgid "Edit quote"
177
  msgstr "Modifica la citazione"
178
 
179
- #: quotes-collection.php:496
180
- #: quotes-collection.php:547
181
- #: quotes-collection.php:562
182
- #: quotes-collection.php:601
183
  msgid "Delete"
184
  msgstr "Cancella"
185
 
186
- #: quotes-collection.php:498
187
- #: quotes-collection.php:563
188
- #: quotes-collection.php:602
189
- msgid "Make visible"
190
- msgstr "Rendi visibile"
191
 
192
- #: quotes-collection.php:501
193
- #: quotes-collection.php:564
194
- #: quotes-collection.php:603
195
- msgid "Make invisible"
196
- msgstr "Nascondi"
197
 
198
- #: quotes-collection.php:546
199
  msgid "Edit"
200
  msgstr "Modifica"
201
 
202
- #: quotes-collection.php:547
203
  msgid "Are you sure you want to delete this quote?"
204
  msgstr "Sei certo di volere cancellare questa citazione?"
205
 
206
- #: quotes-collection.php:554
207
  #, php-format
208
  msgid "Currently, you have %d quote."
209
  msgid_plural "Currently, you have %d quotes."
210
  msgstr[0] "Al momento, hai %d citazione disponibile."
211
  msgstr[1] "Al momento, hai %d citazioni disponibili."
212
 
213
- #: quotes-collection.php:556
214
- #: quotes-collection.php:618
215
  msgid "Add new quote"
216
  msgstr "Aggiungi una nuova citazione"
217
 
218
- #: quotes-collection.php:566
219
  msgid "Sort by: "
220
  msgstr "Disponi per: "
221
 
222
- #: quotes-collection.php:568
223
- #: quotes-collection.php:569
224
  msgid "Quote"
225
  msgstr "Citazione"
226
 
227
- #: quotes-collection.php:572
228
  msgid "Date added"
229
  msgstr "Data di inserimento"
230
 
231
- #: quotes-collection.php:573
232
  msgid "Date updated"
233
  msgstr "Data di aggiornamento"
234
 
235
- #: quotes-collection.php:574
236
  msgid "Visibility"
237
  msgstr "Visibilità"
238
 
239
- #: quotes-collection.php:577
240
  msgid "Go"
241
  msgstr "Vai"
242
 
243
- #: quotes-collection.php:593
244
  msgid "Action"
245
  msgstr "Azione"
246
 
247
- #: quotes-collection.php:612
248
  msgid "No quotes in the database"
249
  msgstr "Non é presente alcuna citazione nel database"
250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  #~ msgid "Manage"
252
  #~ msgstr "Gestione"
 
253
  #~ msgid "from"
254
  #~ msgstr "da"
255
-
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"
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"
270
+
271
+ #~ msgid "to manage your collection of quotes"
272
+ #~ msgstr "per la gestione della tua collezione di citazioni"
273
+
274
+ #~ msgid "Visible?"
275
+ #~ msgstr "Desideri che sia visibile?"
276
+
277
+ #~ msgid "Visibility status of selected quotes set to '%s'"
278
+ #~ msgstr ""
279
+ #~ "Lo stato di visibilità delle citazioni selezionate é impostato come '%s'"
280
+
281
+ #~ msgid "Make invisible"
282
+ #~ msgstr "Nascondi"
283
+
284
  #~ msgid "Manage"
285
  #~ msgstr "Gestione"
286
+
287
  #~ msgid "from"
288
  #~ msgstr "da"
 
languages/quotes-collection-nb_NO.mo ADDED
Binary file
languages/quotes-collection-nb_NO.po ADDED
@@ -0,0 +1,327 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Quotes Collection v1.4.2\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2010-09-06 12:49+0000\n"
7
+ "Last-Translator: Christian K. Nordtømme <christian@skriftlig.no>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: Norwegian (Bokmål)\n"
14
+ "X-Poedit-Country: NORWAY\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: ../\n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: quotes-collection.php:16
23
+ #@ quotes-collection
24
+ msgid "Next quote"
25
+ msgstr "Neste sitat"
26
+
27
+ #: quotes-collection.php:88
28
+ #@ quotes-collection
29
+ msgid "Loading..."
30
+ msgstr "Laster..."
31
+
32
+ #: quotes-collection.php:89
33
+ #@ quotes-collection
34
+ msgid "Error getting quote"
35
+ msgstr "Feil i henting av sitat"
36
+
37
+ #: quotes-collection.php:239
38
+ #: quotes-collection.php:264
39
+ #@ quotes-collection
40
+ msgid "Random Quote"
41
+ msgstr "Tilfeldig sitat"
42
+
43
+ #: quotes-collection.php:291
44
+ #@ quotes-collection
45
+ msgid "none"
46
+ msgstr "ingen"
47
+
48
+ #: quotes-collection.php:307
49
+ #@ quotes-collection
50
+ msgid "Title"
51
+ msgstr "Tittel"
52
+
53
+ #: quotes-collection.php:308
54
+ #@ quotes-collection
55
+ msgid "Show author?"
56
+ msgstr "Vis opphavsperson?"
57
+
58
+ #: quotes-collection.php:309
59
+ #@ quotes-collection
60
+ msgid "Show source?"
61
+ msgstr "Vis kilde?"
62
+
63
+ #: quotes-collection.php:310
64
+ #@ quotes-collection
65
+ msgid "Ajax refresh feature"
66
+ msgstr "Ajax-gjenoppfrisking"
67
+
68
+ #: quotes-collection.php:311
69
+ #@ quotes-collection
70
+ msgid "Advanced options"
71
+ msgstr "Avanserte valgmuligheter"
72
+
73
+ #: quotes-collection.php:313
74
+ #@ quotes-collection
75
+ msgid "Random refresh"
76
+ msgstr "Tilfeldig gjenoppfrisking"
77
+
78
+ #: quotes-collection.php:313
79
+ #@ quotes-collection
80
+ msgid "Unchecking this will rotate quotes in the order added, latest first."
81
+ msgstr "Når denne boksen avsjekkes vil sitatene rotere i henhold til rekkefølgen de ble lagt til i, de siste først."
82
+
83
+ #: quotes-collection.php:314
84
+ #@ quotes-collection
85
+ msgid "Auto refresh"
86
+ msgstr "Automatisk gjenoppfrisking"
87
+
88
+ #: quotes-collection.php:314
89
+ #@ quotes-collection
90
+ msgid "every"
91
+ msgstr "hvert"
92
+
93
+ #: quotes-collection.php:314
94
+ #@ quotes-collection
95
+ msgid "sec"
96
+ msgstr "sekund"
97
+
98
+ #: quotes-collection.php:315
99
+ #@ quotes-collection
100
+ msgid "Tags filter"
101
+ msgstr "Nøkkelordfiltrering"
102
+
103
+ #: quotes-collection.php:315
104
+ #@ quotes-collection
105
+ msgid "Comma separated"
106
+ msgstr "Kommadelt"
107
+
108
+ #: quotes-collection.php:316
109
+ #@ quotes-collection
110
+ msgid "Character limit"
111
+ msgstr "Tegnbegrensning"
112
+
113
+ #: quotes-collection.php:335
114
+ #@ quotes-collection
115
+ msgid "Nothing added to the database."
116
+ msgstr "Ingenting er lagt til i databasen."
117
+
118
+ #: quotes-collection.php:339
119
+ #: quotes-collection.php:376
120
+ #@ quotes-collection
121
+ msgid "Database table not found"
122
+ msgstr "Databasetabellen kan ikke finnes."
123
+
124
+ #: quotes-collection.php:363
125
+ #: quotes-collection.php:405
126
+ #: quotes-collection.php:419
127
+ #@ quotes-collection
128
+ msgid "There was an error in the MySQL query"
129
+ msgstr "Det oppsto en feil i MySQL-forespørselen"
130
+
131
+ #: quotes-collection.php:365
132
+ #@ quotes-collection
133
+ msgid "Quote added"
134
+ msgstr "Sitat lagt til"
135
+
136
+ #: quotes-collection.php:371
137
+ #@ quotes-collection
138
+ msgid "Quote not updated."
139
+ msgstr "Sitatet er ikke oppdatert."
140
+
141
+ #: quotes-collection.php:407
142
+ #@ quotes-collection
143
+ msgid "Changes saved"
144
+ msgstr "Endringer lagret"
145
+
146
+ #: quotes-collection.php:421
147
+ #@ quotes-collection
148
+ msgid "Quote deleted"
149
+ msgstr "Sitat slettet"
150
+
151
+ #: quotes-collection.php:423
152
+ #@ quotes-collection
153
+ msgid "The quote cannot be deleted"
154
+ msgstr "Sitatet kan ikke slettes"
155
+
156
+ #: quotes-collection.php:439
157
+ #: quotes-collection.php:536
158
+ #@ quotes-collection
159
+ msgid "Add Quote"
160
+ msgstr "Legg til sitat"
161
+
162
+ #: quotes-collection.php:455
163
+ #: quotes-collection.php:540
164
+ #@ quotes-collection
165
+ msgid "Save changes"
166
+ msgstr "Lagre endringer"
167
+
168
+ #: quotes-collection.php:456
169
+ #@ quotes-collection
170
+ msgid "Back"
171
+ msgstr "Tilbake"
172
+
173
+ #: quotes-collection.php:460
174
+ #: quotes-collection.php:646
175
+ #@ quotes-collection
176
+ msgid "The quote"
177
+ msgstr "Sitatet"
178
+
179
+ #: quotes-collection.php:461
180
+ #: quotes-collection.php:629
181
+ #: quotes-collection.php:648
182
+ #@ quotes-collection
183
+ msgid "Author"
184
+ msgstr "Opphavsperson"
185
+
186
+ #: quotes-collection.php:462
187
+ #: quotes-collection.php:630
188
+ #: quotes-collection.php:648
189
+ #@ quotes-collection
190
+ msgid "Source"
191
+ msgstr "Kilde"
192
+
193
+ #: quotes-collection.php:463
194
+ #: quotes-collection.php:650
195
+ #@ quotes-collection
196
+ msgid "Tags"
197
+ msgstr "Nøkkelord"
198
+
199
+ #: quotes-collection.php:464
200
+ #: quotes-collection.php:651
201
+ #@ quotes-collection
202
+ msgid "Public?"
203
+ msgstr "Offentlig?"
204
+
205
+ #: quotes-collection.php:465
206
+ #@ quotes-collection
207
+ msgid "optional"
208
+ msgstr "valgfritt"
209
+
210
+ #: quotes-collection.php:466
211
+ #@ quotes-collection
212
+ msgid "comma separated"
213
+ msgstr "kommadelt"
214
+
215
+ #: quotes-collection.php:503
216
+ #: quotes-collection.php:519
217
+ #@ quotes-collection
218
+ msgid "Nothing done!"
219
+ msgstr "Ingenting utført."
220
+
221
+ #: quotes-collection.php:511
222
+ #@ quotes-collection
223
+ msgid "Selected quotes made public"
224
+ msgstr "Valgte sitater er offentliggjort"
225
+
226
+ #: quotes-collection.php:513
227
+ #@ quotes-collection
228
+ msgid "Selected quotes made private"
229
+ msgstr "Valgte sitater er skjult fra offentligheten"
230
+
231
+ #: quotes-collection.php:524
232
+ #@ quotes-collection
233
+ msgid "Quote(s) deleted"
234
+ msgstr "Sitat(er) slettet"
235
+
236
+ #: quotes-collection.php:545
237
+ #@ quotes-collection
238
+ msgid "Edit quote"
239
+ msgstr "Redigere sitat"
240
+
241
+ #: quotes-collection.php:555
242
+ #: quotes-collection.php:606
243
+ #: quotes-collection.php:621
244
+ #: quotes-collection.php:660
245
+ #@ quotes-collection
246
+ msgid "Delete"
247
+ msgstr "Slett"
248
+
249
+ #: quotes-collection.php:557
250
+ #: quotes-collection.php:622
251
+ #: quotes-collection.php:661
252
+ #@ quotes-collection
253
+ msgid "Make public"
254
+ msgstr "Gjør offentlig"
255
+
256
+ #: quotes-collection.php:560
257
+ #: quotes-collection.php:623
258
+ #: quotes-collection.php:662
259
+ #@ quotes-collection
260
+ msgid "Keep private"
261
+ msgstr "Hold privat"
262
+
263
+ #: quotes-collection.php:605
264
+ #@ quotes-collection
265
+ msgid "Edit"
266
+ msgstr "Redigere"
267
+
268
+ #: quotes-collection.php:606
269
+ #@ quotes-collection
270
+ msgid "Are you sure you want to delete this quote?"
271
+ msgstr "Er du sikker på at du vil slette dette sitatet?"
272
+
273
+ #: quotes-collection.php:613
274
+ #, php-format
275
+ #@ quotes-collection
276
+ msgid "Currently, you have %d quote."
277
+ msgid_plural "Currently, you have %d quotes."
278
+ msgstr[0] "Du har %d sitat."
279
+ msgstr[1] "Du har %d sitater."
280
+
281
+ #: quotes-collection.php:615
282
+ #: quotes-collection.php:677
283
+ #@ quotes-collection
284
+ msgid "Add new quote"
285
+ msgstr "Nytt sitat"
286
+
287
+ #: quotes-collection.php:625
288
+ #@ quotes-collection
289
+ msgid "Sort by: "
290
+ msgstr "Sortere etter:"
291
+
292
+ #: quotes-collection.php:627
293
+ #: quotes-collection.php:628
294
+ #@ quotes-collection
295
+ msgid "Quote"
296
+ msgstr "Sitat"
297
+
298
+ #: quotes-collection.php:631
299
+ #@ quotes-collection
300
+ msgid "Date added"
301
+ msgstr "Dato lagt til"
302
+
303
+ #: quotes-collection.php:632
304
+ #@ quotes-collection
305
+ msgid "Date updated"
306
+ msgstr "Dato oppdatert"
307
+
308
+ #: quotes-collection.php:633
309
+ #@ quotes-collection
310
+ msgid "Visibility"
311
+ msgstr "Synlighet"
312
+
313
+ #: quotes-collection.php:636
314
+ #@ quotes-collection
315
+ msgid "Go"
316
+ msgstr "Kjør"
317
+
318
+ #: quotes-collection.php:652
319
+ #@ quotes-collection
320
+ msgid "Action"
321
+ msgstr "Handling"
322
+
323
+ #: quotes-collection.php:671
324
+ #@ quotes-collection
325
+ msgid "No quotes in the database"
326
+ msgstr "Ingen sitater i databasen"
327
+
languages/quotes-collection-ta_IN.mo CHANGED
Binary file
languages/quotes-collection-ta_IN.po CHANGED
@@ -2,9 +2,9 @@ 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: 2009-05-25 10:15+0530\n"
6
- "PO-Revision-Date: 2009-05-25 12:26+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"
@@ -14,237 +14,264 @@ msgstr ""
14
  "X-Poedit-Country: India\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
 
17
- #: quotes-collection.php:62
18
- #: quotes-collection.php:175
19
- #: quotes-collection.php:179
20
  msgid "Next quote"
21
  msgstr "அடுத்த வாசகம்"
22
 
23
- #: quotes-collection.php:63
24
  msgid "Loading..."
25
  msgstr "இதோ வருகிறது..."
26
 
27
- #: quotes-collection.php:64
28
  msgid "Error getting quote"
29
  msgstr "வாசகத்தினை மீட்பதில் சிக்கல்"
30
 
31
- #: quotes-collection.php:200
32
- #: quotes-collection.php:221
33
  msgid "Random Quote"
34
  msgstr "வாசகம் ஒன்று"
35
 
36
- #: quotes-collection.php:242
37
  msgid "none"
38
- msgstr ""
39
 
40
- #: quotes-collection.php:253
41
  msgid "Title"
42
  msgstr "தலைப்பு"
43
 
44
- #: quotes-collection.php:254
45
  msgid "Show author?"
46
  msgstr "சொன்னவரின் பெயரை காண்பிக்க வேண்டுமா?"
47
 
48
- #: quotes-collection.php:255
49
  msgid "Show source?"
50
  msgstr "எங்கே சொல்லப்பட்டது என்பதை காண்பிக்க வேண்டுமா?"
51
 
52
- #: quotes-collection.php:256
53
  msgid "Ajax refresh feature"
54
  msgstr "அடுத்த வாசகத்தினை மீட்கும் சுட்டி"
55
 
56
- #: quotes-collection.php:257
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  msgid "Tags filter"
58
- msgstr ""
59
 
60
- #: quotes-collection.php:257
61
- #, fuzzy
62
  msgid "Comma separated"
63
  msgstr "comma separated"
64
 
65
- #: quotes-collection.php:258
66
  msgid "Character limit"
67
- msgstr ""
68
-
69
- #: quotes-collection.php:260
70
- msgid "Click here"
71
- msgstr "இங்கே சென்று"
72
-
73
- #: quotes-collection.php:260
74
- msgid "to manage your collection of quotes"
75
- msgstr "நீங்கள் சேர்த்து வைத்துள்ள வாசகங்களை தொகுக்கவும்"
76
 
77
- #: quotes-collection.php:277
78
  msgid "Nothing added to the database."
79
  msgstr "சேர்ப்பதற்கு ஒன்றுமில்லை."
80
 
81
- #: quotes-collection.php:281
82
- #: quotes-collection.php:319
83
  msgid "Database table not found"
84
  msgstr "Database table காணவில்லை!"
85
 
86
- #: quotes-collection.php:306
87
- #: quotes-collection.php:349
88
  #: quotes-collection.php:363
 
 
89
  msgid "There was an error in the MySQL query"
90
  msgstr "MySQL queryஇல் பிழை இருந்தது"
91
 
92
- #: quotes-collection.php:308
93
  msgid "Quote added"
94
  msgstr "வாசகம் சேர்க்கப்பட்டது"
95
 
96
- #: quotes-collection.php:314
97
  msgid "Quote not updated."
98
  msgstr "வாசகம் திருத்தப்படவில்லை"
99
 
100
- #: quotes-collection.php:351
101
  msgid "Changes saved"
102
  msgstr "மாற்றங்கள் சேமிக்கப்பட்டன"
103
 
104
- #: quotes-collection.php:365
105
  msgid "Quote deleted"
106
  msgstr "வாசகம் அழிக்கப்பட்டது"
107
 
108
- #: quotes-collection.php:367
109
  msgid "The quote cannot be deleted"
110
  msgstr "வாசகத்தினை அழிக்க முடியவில்லை"
111
 
112
- #: quotes-collection.php:383
113
- #: quotes-collection.php:477
114
  msgid "Add Quote"
115
  msgstr "சேர்க்கவும்"
116
 
117
- #: quotes-collection.php:399
118
- #: quotes-collection.php:481
119
  msgid "Save changes"
120
  msgstr "மாற்றங்களை சேமிக்கவும்"
121
 
122
- #: quotes-collection.php:400
123
  msgid "Back"
124
  msgstr "பின்வாங்கவும்"
125
 
126
- #: quotes-collection.php:404
127
- #: quotes-collection.php:587
128
  msgid "The quote"
129
  msgstr "வாசகம்"
130
 
131
- #: quotes-collection.php:405
132
- #: quotes-collection.php:570
133
- #: quotes-collection.php:589
134
  msgid "Author"
135
  msgstr "சொன்னவர்"
136
 
137
- #: quotes-collection.php:406
138
- #: quotes-collection.php:571
139
- #: quotes-collection.php:589
140
  msgid "Source"
141
  msgstr "எங்கே சொல்லப்பட்டது"
142
 
143
- #: quotes-collection.php:407
144
- #: quotes-collection.php:591
145
  msgid "Tags"
146
  msgstr "குறிச்சொற்கள்"
147
 
148
- #: quotes-collection.php:408
149
- #: quotes-collection.php:592
150
- msgid "Visible?"
151
- msgstr "Visible?"
152
 
153
- #: quotes-collection.php:409
154
  msgid "optional"
155
  msgstr "அவசியமில்லை"
156
 
157
- #: quotes-collection.php:410
158
  msgid "comma separated"
159
  msgstr "comma separated"
160
 
161
- #: quotes-collection.php:447
162
- #: quotes-collection.php:460
163
  msgid "Nothing done!"
164
  msgstr "ஒன்றும் செய்வதற்கில்லை!"
165
 
166
- #: quotes-collection.php:454
167
- #, php-format
168
- msgid "Visibility status of selected quotes set to '%s'"
169
- msgstr "தேர்ந்தெடுக்கப்பட்ட வாசகங்கள் %s ஆக்கப்பட்டன"
170
 
171
- #: quotes-collection.php:465
 
 
 
 
172
  msgid "Quote(s) deleted"
173
  msgstr "வாசகங்கள் அழிக்கப்பட்டன"
174
 
175
- #: quotes-collection.php:486
176
  msgid "Edit quote"
177
  msgstr "வாசகத்தினை திருத்தவும்"
178
 
179
- #: quotes-collection.php:496
180
- #: quotes-collection.php:547
181
- #: quotes-collection.php:562
182
- #: quotes-collection.php:601
183
  msgid "Delete"
184
  msgstr "அழிக்கவும்"
185
 
186
- #: quotes-collection.php:498
187
- #: quotes-collection.php:563
188
- #: quotes-collection.php:602
189
- msgid "Make visible"
190
- msgstr "visible ஆக்கவும்"
191
 
192
- #: quotes-collection.php:501
193
- #: quotes-collection.php:564
194
- #: quotes-collection.php:603
195
- msgid "Make invisible"
196
- msgstr "invisible ஆக்கவும்"
197
 
198
- #: quotes-collection.php:546
199
  msgid "Edit"
200
  msgstr "திருத்தவும்"
201
 
202
- #: quotes-collection.php:547
203
  msgid "Are you sure you want to delete this quote?"
204
  msgstr "இந்த வாசகத்தினை அழித்துத்தான் ஆக வேண்டுமா?"
205
 
206
- #: quotes-collection.php:554
207
  #, php-format
208
  msgid "Currently, you have %d quote."
209
  msgid_plural "Currently, you have %d quotes."
210
  msgstr[0] "இதுவரை ஒரு வாசகம் சேர்க்கப்பட்டுள்ளது"
211
  msgstr[1] "இதுவரை %d வாசகங்கள் சேர்க்கப்பட்டுள்ளன"
212
 
213
- #: quotes-collection.php:556
214
- #: quotes-collection.php:618
215
  msgid "Add new quote"
216
  msgstr "புதிய வாசகம் ஒன்றை சேர்க்கவும்"
217
 
218
- #: quotes-collection.php:566
219
  msgid "Sort by: "
220
  msgstr "வாசகங்களின் வரிசை முறை: "
221
 
222
- #: quotes-collection.php:568
223
- #: quotes-collection.php:569
224
  msgid "Quote"
225
  msgstr "வாசகம்"
226
 
227
- #: quotes-collection.php:572
228
  msgid "Date added"
229
  msgstr "சேர்த்த நாள்"
230
 
231
- #: quotes-collection.php:573
232
  msgid "Date updated"
233
  msgstr "திருத்திய நாள்"
234
 
235
- #: quotes-collection.php:574
236
  msgid "Visibility"
237
- msgstr ""
238
 
239
- #: quotes-collection.php:577
240
  msgid "Go"
241
  msgstr "ஆகட்டும்"
242
 
243
- #: quotes-collection.php:593
244
  msgid "Action"
245
  msgstr "வாசகத்தினை திருத்த/அழிக்க"
246
 
247
- #: quotes-collection.php:612
248
  msgid "No quotes in the database"
249
  msgstr "வாசகங்கள் ஏதும் இதுவரை சேர்க்கப்படவில்லை"
250
 
 
 
 
 
 
 
 
 
 
 
 
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"
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
+
languages/quotes-collection-zh_CN.mo CHANGED
Binary file
languages/quotes-collection-zh_CN.po CHANGED
@@ -3,8 +3,8 @@ msgstr ""
3
  "Project-Id-Version: Quotes Collection\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
5
  "POT-Creation-Date: 2009-05-25 10:15+0530\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: YYLZ <yylzcom@gmail.com>\n"
8
  "Language-Team: YYLZ <yylzcom@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
@@ -14,236 +14,253 @@ msgstr ""
14
  "X-Poedit-Country: CHINA\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
 
17
- #: quotes-collection.php:62
18
- #: quotes-collection.php:175
19
- #: quotes-collection.php:179
20
  msgid "Next quote"
21
  msgstr "下一条"
22
 
23
- #: quotes-collection.php:63
24
  msgid "Loading..."
25
  msgstr "正在装载"
26
 
27
- #: quotes-collection.php:64
28
  msgid "Error getting quote"
29
  msgstr "获取信息错误"
30
 
31
- #: quotes-collection.php:200
32
- #: quotes-collection.php:221
33
  msgid "Random Quote"
34
  msgstr "随机显示"
35
 
36
- #: quotes-collection.php:242
37
  msgid "none"
38
  msgstr "没有"
39
 
40
- #: quotes-collection.php:253
41
  msgid "Title"
42
  msgstr "标题"
43
 
44
- #: quotes-collection.php:254
45
  msgid "Show author?"
46
  msgstr "显示作者?"
47
 
48
- #: quotes-collection.php:255
49
  msgid "Show source?"
50
  msgstr "显示来源?"
51
 
52
- #: quotes-collection.php:256
53
  msgid "Ajax refresh feature"
54
  msgstr "Ajax 刷新特性"
55
 
56
- #: quotes-collection.php:257
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  msgid "Tags filter"
58
  msgstr "标签过滤"
59
 
60
- #: quotes-collection.php:257
61
  msgid "Comma separated"
62
  msgstr "逗号分割"
63
 
64
- #: quotes-collection.php:258
65
  msgid "Character limit"
66
  msgstr "字数限制"
67
 
68
- #: quotes-collection.php:260
69
- msgid "Click here"
70
- msgstr "点击此处"
71
-
72
- #: quotes-collection.php:260
73
- msgid "to manage your collection of quotes"
74
- msgstr "管理您的信息"
75
-
76
- #: quotes-collection.php:277
77
  msgid "Nothing added to the database."
78
  msgstr "没有任何信息添加到数据库。"
79
 
80
- #: quotes-collection.php:281
81
- #: quotes-collection.php:319
82
  msgid "Database table not found"
83
  msgstr "数据表没有找到"
84
 
85
- #: quotes-collection.php:306
86
- #: quotes-collection.php:349
87
  #: quotes-collection.php:363
 
 
88
  msgid "There was an error in the MySQL query"
89
  msgstr "出现MySQL错误"
90
 
91
- #: quotes-collection.php:308
92
  msgid "Quote added"
93
  msgstr "信息已添加"
94
 
95
- #: quotes-collection.php:314
96
  msgid "Quote not updated."
97
  msgstr "信息没有更新"
98
 
99
- #: quotes-collection.php:351
100
  msgid "Changes saved"
101
  msgstr "变更成功"
102
 
103
- #: quotes-collection.php:365
104
  msgid "Quote deleted"
105
  msgstr "信息已删除"
106
 
107
- #: quotes-collection.php:367
108
  msgid "The quote cannot be deleted"
109
  msgstr "这条信息不能被删除"
110
 
111
- #: quotes-collection.php:383
112
- #: quotes-collection.php:477
113
  msgid "Add Quote"
114
  msgstr "添加信息"
115
 
116
- #: quotes-collection.php:399
117
- #: quotes-collection.php:481
118
  msgid "Save changes"
119
  msgstr "保存更改"
120
 
121
- #: quotes-collection.php:400
122
  msgid "Back"
123
  msgstr "返回"
124
 
125
- #: quotes-collection.php:404
126
- #: quotes-collection.php:587
127
  msgid "The quote"
128
  msgstr "信息"
129
 
130
- #: quotes-collection.php:405
131
- #: quotes-collection.php:570
132
- #: quotes-collection.php:589
133
  msgid "Author"
134
  msgstr "作者"
135
 
136
- #: quotes-collection.php:406
137
- #: quotes-collection.php:571
138
- #: quotes-collection.php:589
139
  msgid "Source"
140
  msgstr "来源"
141
 
142
- #: quotes-collection.php:407
143
- #: quotes-collection.php:591
144
  msgid "Tags"
145
  msgstr "标签"
146
 
147
- #: quotes-collection.php:408
148
- #: quotes-collection.php:592
149
- msgid "Visible?"
150
- msgstr "可见"
151
 
152
- #: quotes-collection.php:409
153
  msgid "optional"
154
  msgstr "可选"
155
 
156
- #: quotes-collection.php:410
157
  msgid "comma separated"
158
  msgstr "逗号分隔"
159
 
160
- #: quotes-collection.php:447
161
- #: quotes-collection.php:460
162
  msgid "Nothing done!"
163
  msgstr "没有任何改变"
164
 
165
- #: quotes-collection.php:454
166
- #, php-format
167
- msgid "Visibility status of selected quotes set to '%s'"
168
- msgstr "选中项目的显示状态改变为 '%s'"
169
 
170
- #: quotes-collection.php:465
 
 
 
 
171
  msgid "Quote(s) deleted"
172
  msgstr "信息已删除"
173
 
174
- #: quotes-collection.php:486
175
  msgid "Edit quote"
176
  msgstr "编辑信息"
177
 
178
- #: quotes-collection.php:496
179
- #: quotes-collection.php:547
180
- #: quotes-collection.php:562
181
- #: quotes-collection.php:601
182
  msgid "Delete"
183
  msgstr "删除"
184
 
185
- #: quotes-collection.php:498
186
- #: quotes-collection.php:563
187
- #: quotes-collection.php:602
188
- msgid "Make visible"
189
- msgstr "可见"
190
 
191
- #: quotes-collection.php:501
192
- #: quotes-collection.php:564
193
- #: quotes-collection.php:603
194
- msgid "Make invisible"
195
- msgstr "不可见"
196
 
197
- #: quotes-collection.php:546
198
  msgid "Edit"
199
  msgstr "编辑"
200
 
201
- #: quotes-collection.php:547
202
  msgid "Are you sure you want to delete this quote?"
203
  msgstr "您确信要删除这些信息么"
204
 
205
- #: quotes-collection.php:554
206
  #, php-format
207
  msgid "Currently, you have %d quote."
208
  msgid_plural "Currently, you have %d quotes."
209
  msgstr[0] "目前您有%d条信息."
210
  msgstr[1] "目前您有%d条信息."
211
 
212
- #: quotes-collection.php:556
213
- #: quotes-collection.php:618
214
  msgid "Add new quote"
215
  msgstr "添加新信息"
216
 
217
- #: quotes-collection.php:566
218
  msgid "Sort by: "
219
  msgstr "排序:"
220
 
221
- #: quotes-collection.php:568
222
- #: quotes-collection.php:569
223
  msgid "Quote"
224
  msgstr "信息"
225
 
226
- #: quotes-collection.php:572
227
  msgid "Date added"
228
  msgstr "添加日期"
229
 
230
- #: quotes-collection.php:573
231
  msgid "Date updated"
232
  msgstr "变更日期"
233
 
234
- #: quotes-collection.php:574
235
  msgid "Visibility"
236
  msgstr "显示状态"
237
 
238
- #: quotes-collection.php:577
239
  msgid "Go"
240
  msgstr "确定"
241
 
242
- #: quotes-collection.php:593
243
  msgid "Action"
244
  msgstr "动作"
245
 
246
- #: quotes-collection.php:612
247
  msgid "No quotes in the database"
248
  msgstr "在数据库中没有信息"
249
 
3
  "Project-Id-Version: Quotes Collection\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
5
  "POT-Creation-Date: 2009-05-25 10:15+0530\n"
6
+ "PO-Revision-Date: 2010-12-01 09:54+0800\n"
7
+ "Last-Translator: 天毅 <yylzcom@gmail.com>\n"
8
  "Language-Team: YYLZ <yylzcom@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
14
  "X-Poedit-Country: CHINA\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 "Ajax 刷新特性"
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 "不选中此项会反转quotes的添加顺序,最后添加的排在最前"
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 "逗号分割"
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 "数据表没有找到"
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错误"
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 "逗号分隔"
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] "目前您有%d条信息."
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
 
languages/quotes-collection.pot CHANGED
@@ -1,251 +1,269 @@
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
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: Quotes Collection 1.3\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n"
11
- "POT-Creation-Date: 2009-05-25 10:15+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"
15
  "MIME-Version: 1.0\n"
16
- "Content-Type: text/plain; charset=CHARSET\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
19
 
20
- #: quotes-collection.php:62
21
- #: quotes-collection.php:175
22
- #: quotes-collection.php:179
23
  msgid "Next quote"
24
  msgstr ""
25
 
26
- #: quotes-collection.php:63
27
  msgid "Loading..."
28
  msgstr ""
29
 
30
- #: quotes-collection.php:64
31
  msgid "Error getting quote"
32
  msgstr ""
33
 
34
- #: quotes-collection.php:200
35
- #: quotes-collection.php:221
36
  msgid "Random Quote"
37
  msgstr ""
38
 
39
- #: quotes-collection.php:242
40
  msgid "none"
41
  msgstr ""
42
 
43
- #: quotes-collection.php:253
44
  msgid "Title"
45
  msgstr ""
46
 
47
- #: quotes-collection.php:254
48
  msgid "Show author?"
49
  msgstr ""
50
 
51
- #: quotes-collection.php:255
52
  msgid "Show source?"
53
  msgstr ""
54
 
55
- #: quotes-collection.php:256
56
  msgid "Ajax refresh feature"
57
  msgstr ""
58
 
59
- #: quotes-collection.php:257
60
- msgid "Tags filter"
61
  msgstr ""
62
 
63
- #: quotes-collection.php:257
64
- msgid "Comma separated"
65
  msgstr ""
66
 
67
- #: quotes-collection.php:258
68
- msgid "Character limit"
69
  msgstr ""
70
 
71
- #: quotes-collection.php:260
72
- msgid "Click here"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  msgstr ""
74
 
75
- #: quotes-collection.php:260
76
- msgid "to manage your collection of quotes"
77
  msgstr ""
78
 
79
- #: quotes-collection.php:277
80
  msgid "Nothing added to the database."
81
  msgstr ""
82
 
83
- #: quotes-collection.php:281
84
- #: quotes-collection.php:319
85
  msgid "Database table not found"
86
  msgstr ""
87
 
88
- #: quotes-collection.php:306
89
- #: quotes-collection.php:349
90
  #: quotes-collection.php:363
 
 
91
  msgid "There was an error in the MySQL query"
92
  msgstr ""
93
 
94
- #: quotes-collection.php:308
95
  msgid "Quote added"
96
  msgstr ""
97
 
98
- #: quotes-collection.php:314
99
  msgid "Quote not updated."
100
  msgstr ""
101
 
102
- #: quotes-collection.php:351
103
  msgid "Changes saved"
104
  msgstr ""
105
 
106
- #: quotes-collection.php:365
107
  msgid "Quote deleted"
108
  msgstr ""
109
 
110
- #: quotes-collection.php:367
111
  msgid "The quote cannot be deleted"
112
  msgstr ""
113
 
114
- #: quotes-collection.php:383
115
- #: quotes-collection.php:477
116
  msgid "Add Quote"
117
  msgstr ""
118
 
119
- #: quotes-collection.php:399
120
- #: quotes-collection.php:481
121
  msgid "Save changes"
122
  msgstr ""
123
 
124
- #: quotes-collection.php:400
125
  msgid "Back"
126
  msgstr ""
127
 
128
- #: quotes-collection.php:404
129
- #: quotes-collection.php:587
130
  msgid "The quote"
131
  msgstr ""
132
 
133
- #: quotes-collection.php:405
134
- #: quotes-collection.php:570
135
- #: quotes-collection.php:589
136
  msgid "Author"
137
  msgstr ""
138
 
139
- #: quotes-collection.php:406
140
- #: quotes-collection.php:571
141
- #: quotes-collection.php:589
142
  msgid "Source"
143
  msgstr ""
144
 
145
- #: quotes-collection.php:407
146
- #: quotes-collection.php:591
147
  msgid "Tags"
148
  msgstr ""
149
 
150
- #: quotes-collection.php:408
151
- #: quotes-collection.php:592
152
- msgid "Visible?"
153
  msgstr ""
154
 
155
- #: quotes-collection.php:409
156
  msgid "optional"
157
  msgstr ""
158
 
159
- #: quotes-collection.php:410
160
  msgid "comma separated"
161
  msgstr ""
162
 
163
- #: quotes-collection.php:447
164
- #: quotes-collection.php:460
165
  msgid "Nothing done!"
166
  msgstr ""
167
 
168
- #: quotes-collection.php:454
169
- #, php-format
170
- msgid "Visibility status of selected quotes set to '%s'"
171
  msgstr ""
172
 
173
- #: quotes-collection.php:465
 
 
 
 
174
  msgid "Quote(s) deleted"
175
  msgstr ""
176
 
177
- #: quotes-collection.php:486
178
  msgid "Edit quote"
179
  msgstr ""
180
 
181
- #: quotes-collection.php:496
182
- #: quotes-collection.php:547
183
- #: quotes-collection.php:562
184
- #: quotes-collection.php:601
185
  msgid "Delete"
186
  msgstr ""
187
 
188
- #: quotes-collection.php:498
189
- #: quotes-collection.php:563
190
- #: quotes-collection.php:602
191
- msgid "Make visible"
192
  msgstr ""
193
 
194
- #: quotes-collection.php:501
195
- #: quotes-collection.php:564
196
- #: quotes-collection.php:603
197
- msgid "Make invisible"
198
  msgstr ""
199
 
200
- #: quotes-collection.php:546
201
  msgid "Edit"
202
  msgstr ""
203
 
204
- #: quotes-collection.php:547
205
  msgid "Are you sure you want to delete this quote?"
206
  msgstr ""
207
 
208
- #: quotes-collection.php:554
209
  #, php-format
210
  msgid "Currently, you have %d quote."
211
  msgid_plural "Currently, you have %d quotes."
212
  msgstr[0] ""
213
  msgstr[1] ""
214
 
215
- #: quotes-collection.php:556
216
- #: quotes-collection.php:618
217
  msgid "Add new quote"
218
  msgstr ""
219
 
220
- #: quotes-collection.php:566
221
  msgid "Sort by: "
222
  msgstr ""
223
 
224
- #: quotes-collection.php:568
225
- #: quotes-collection.php:569
226
  msgid "Quote"
227
  msgstr ""
228
 
229
- #: quotes-collection.php:572
230
  msgid "Date added"
231
  msgstr ""
232
 
233
- #: quotes-collection.php:573
234
  msgid "Date updated"
235
  msgstr ""
236
 
237
- #: quotes-collection.php:574
238
  msgid "Visibility"
239
  msgstr ""
240
 
241
- #: quotes-collection.php:577
242
  msgid "Go"
243
  msgstr ""
244
 
245
- #: quotes-collection.php:593
246
  msgid "Action"
247
  msgstr ""
248
 
249
- #: quotes-collection.php:612
250
  msgid "No quotes in the database"
251
  msgstr ""
 
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"
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
+ #: 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
+
quotes-collection-ajax.php CHANGED
@@ -19,16 +19,21 @@ if(isset($_POST['refresh'])) {
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
  $char_limit = (isset($_POST['char_limit']) && is_numeric($_POST['char_limit']))?$_POST['char_limit']:'';
23
 
24
-
25
- if($_POST['exclude'] && is_numeric($_POST['exclude']))
26
- $exclude = $_POST['exclude'];
27
- else $exclude = '';
 
 
 
28
 
29
  $tags = $_POST['tags'];
30
 
31
- $args = "echo=0&ajax_refresh=2&show_author={$show_author}&show_source={$show_source}&char_limit={$char_limit}&exclude={$exclude}&tags={$tags}";
32
 
33
 
34
  if($response = quotescollection_quote($args)) {
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'];
31
+ $exclude = '';
32
+ }
33
 
34
  $tags = $_POST['tags'];
35
 
36
+ $args = "echo=0&ajax_refresh=2&auto_refresh={$auto_refresh}&show_author={$show_author}&show_source={$show_source}&char_limit={$char_limit}&exclude={$exclude}&tags={$tags}&random={$random_refresh}&current={$current}";
37
 
38
 
39
  if($response = quotescollection_quote($args)) {
quotes-collection.css CHANGED
@@ -12,7 +12,7 @@
12
  }
13
 
14
  .quotescollection_source { /* source */
15
-
16
  }
17
 
18
  .quotescollection_nextquote { /* 'Next Quote »' link */
@@ -42,8 +42,14 @@ blockquote.quotescollection cite {
42
  font-size:0.83em;
43
  }
44
 
45
- /* Uncomment the block below if you want to get rid of the quotation marks before and after the quote */
46
 
 
 
 
 
 
 
 
47
  /*
48
  q:before, q:after {
49
  content:"";
12
  }
13
 
14
  .quotescollection_source { /* source */
15
+ font-style: italic;
16
  }
17
 
18
  .quotescollection_nextquote { /* 'Next Quote »' link */
42
  font-size:0.83em;
43
  }
44
 
 
45
 
46
+ /* See http://www.w3schools.com/css/pr_gen_quotes.asp */
47
+ q:lang(en)
48
+ {
49
+ quotes: "“" "”" "‘" "’";
50
+ }
51
+
52
+ /* Uncomment the block below if you want to get rid of the quotation marks before and after the quote */
53
  /*
54
  q:before, q:after {
55
  content:"";
quotes-collection.js CHANGED
@@ -1,30 +1,42 @@
1
- var quotcoll_requrl, quotcoll_nextquote, quotcoll_loading, quotcoll_errortext;
 
2
 
3
- function quotescollection_init(requrl, nextquote, loading, errortext)
4
  {
5
  quotcoll_requrl = requrl;
6
  quotcoll_nextquote = nextquote;
7
  quotcoll_loading = loading;
8
  quotcoll_errortext = errortext;
 
 
 
 
 
 
 
 
 
 
9
  }
10
 
11
 
12
 
13
- function quotescollection_refresh(instance, exclude, show_author, show_source, filter_tags, char_limit)
14
  {
15
  jQuery("#quotescollection_nextquote-"+instance).html(quotcoll_loading);
16
  jQuery.ajax({
17
  type: "POST",
18
  url: quotcoll_requrl,
19
- data: "refresh="+instance+"&exclude="+exclude+"&show_author="+show_author+"&show_source="+show_source+"&char_limit="+char_limit+"&tags="+filter_tags,
20
  success: function(response) {
21
  jQuery("#quotescollection_randomquote-"+instance).hide();
22
  jQuery("#quotescollection_randomquote-"+instance).html( response );
23
  jQuery("#quotescollection_randomquote-"+instance).fadeIn("slow");
24
  },
25
  error: function(xhr, textStatus, errorThrown) {
26
- alert(textStatus+' '+xhr.status+': '+errorThrown);
27
- 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+' &raquo;</a>');
 
28
  }
29
  });
30
  }
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
 
22
 
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
  }
quotes-collection.php CHANGED
@@ -4,18 +4,34 @@ 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.3.8
8
- Author URI: http://srinig.com/
9
  */
10
  /* Released under GPL:
11
- http://www.opensource.org/licenses/gpl-license.php
12
  */
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  $quotescollection_admin_userlevel = 2;
15
- // Refer http://codex.wordpress.org/Roles_and_Capabilities
16
 
17
 
18
- $quotescollection_db_version = '1.1';
 
 
 
19
 
20
  function quotescollection_get_randomquote($exclude = 0)
21
  {
@@ -24,20 +40,30 @@ function quotescollection_get_randomquote($exclude = 0)
24
  return quotescollection_get_quote($condition);
25
  }
26
 
27
- function quotescollection_get_quote($condition = '')
28
  {
29
  global $wpdb;
30
  $sql = "SELECT quote_id, quote, author, source
31
  FROM " . $wpdb->prefix . "quotescollection";
32
  if ($condition)
33
  $sql .= " WHERE ".$condition;
34
- $sql .= " ORDER BY RAND() LIMIT 1";
 
 
 
 
 
 
 
35
  $random_quote = $wpdb->get_row($sql, ARRAY_A);
36
- if ( !empty($random_quote) ) {
37
- return $random_quote;
 
 
 
38
  }
39
  else
40
- return 0;
41
  }
42
 
43
 
@@ -56,16 +82,20 @@ function quotescollection_js_head()
56
  $wp_plugin_url = get_bloginfo( 'url' )."/wp-content/plugins";
57
  else
58
  $wp_plugin_url = WP_PLUGIN_URL;
 
 
 
59
  $requrl = $wp_plugin_url . "/quotes-collection/quotes-collection-ajax.php";
60
- $nextquote = __('Next quote', 'quotes-collection');
61
  $loading = __('Loading...', 'quotes-collection');
62
  $error = __('Error getting quote', 'quotes-collection');
 
63
 
64
  ?>
65
  <!-- Quotes Collection -->
66
  <script type="text/javascript" src="<?php echo $wp_plugin_url; ?>/quotes-collection/quotes-collection.js"></script>
67
  <script type="text/javascript">
68
- quotescollection_init(<?php echo "'{$requrl}', '{$nextquote}', '{$loading}', '{$error}'"; ?>);
69
  </script>
70
  <?php
71
  }
@@ -85,9 +115,10 @@ function quotescollection_txtfmt($quotedata = array())
85
  return;
86
 
87
  foreach($quotedata as $key => $value){
88
- $value = wptexturize(str_replace(array("\r\n", "\r", "\n"), '', nl2br(trim($value))));
89
  $value = ereg_replace("[[:space:]][[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]"," <a href=\"\\0\">\\0</a>", $value);
90
  $value = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/][[:space:]]","<a href=\"\\0\">\\0</a> ", $value);
 
91
  $quotedata[$key] = $value;
92
  }
93
 
@@ -104,7 +135,8 @@ function quotescollection_display_randomquote($show_author = 1, $show_source = 1
104
 
105
  function quotescollection_quote($args = '')
106
  {
107
- global $quotescollection_instances;
 
108
  if(!($instance = $quotescollection_instances))
109
  $instance = $quotescollection_instances = 0;
110
 
@@ -119,16 +151,21 @@ function quotescollection_quote($args = '')
119
  'show_author' => 1,
120
  'show_source' => 1,
121
  'ajax_refresh' => 1,
 
122
  'tags' => '',
123
  'char_limit' => 500,
124
  'echo' => 1,
125
- 'order' => 'random',
126
  'exclude' => ''
127
  );
128
 
129
  $options = array_merge($options_default, $options);
130
 
131
- $condition = "visible = 'yes'";
 
 
 
 
132
 
133
  if($options['char_limit'] && is_numeric($options['char_limit']))
134
  $condition .= " AND CHAR_LENGTH(quote) <= ".$options['char_limit'];
@@ -147,7 +184,7 @@ function quotescollection_quote($args = '')
147
  }
148
  $condition .= " AND ({$tag_condition})";
149
  }
150
- $random_quote = quotescollection_get_quote($condition);
151
 
152
  if(!$random_quote)
153
  return;
@@ -168,14 +205,20 @@ function quotescollection_quote($args = '')
168
  // We don't want to display the 'next quote' link if there is no more than 1 quote
169
  $quotes_count = quotescollection_count($condition);
170
 
171
-
172
  if($options['ajax_refresh'] == 1 && $quotes_count > 1) {
173
- $display .= "<script type=\"text/javascript\">\n<!--\ndocument.write(\"";
174
- $display .= '<p class=\"quotescollection_nextquote\" id=\"quotescollection_nextquote-'.$instance.'\"><a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh('.$instance.', '.$random_quote["quote_id"].', '. $options['show_author'] .', '.$options['show_source'].', \''.$options['tags'].'\', '.$options['char_limit'].');\">'.__('Next quote', 'quotes-collection').' &raquo;<\/a><\/p>';
175
- $display .= "\")\n//-->\n</script>\n";
 
 
 
 
176
  }
177
- if ($options['ajax_refresh'] == 2 && $quotes_count) {
178
- $display .= "<p class=\"quotescollection_nextquote\" id=\"quotescollection_nextquote-".$_REQUEST['refresh']."\"><a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh(".$_REQUEST['refresh'].", ".$random_quote['quote_id'].', '. $options['show_author'] .', '.$options['show_source'].', \''.$options['tags'].'\', '.$options['char_limit'].");\">".__('Next quote', 'quotes-collection')." &raquo;</a></p>";
 
 
 
179
  return $display;
180
  }
181
  $display = "<div id=\"quotescollection_randomquote-".$instance."\" class=\"quotescollection_randomquote\">{$display}</div>";
@@ -200,9 +243,13 @@ function quotescollection_init()
200
  $show_author = isset($options['show_author'])?$options['show_author']:1;
201
  $show_source = isset($options['show_source'])?$options['show_source']:1;
202
  $ajax_refresh = isset($options['ajax_refresh'])?$options['ajax_refresh']:1;
 
 
 
 
203
  $char_limit = $options['char_limit'];
204
  $tags = $options['tags'];
205
- $parms = "echo=0&show_author={$show_author}&show_source={$show_source}&ajax_refresh={$ajax_refresh}&char_limit={$char_limit}&tags={$tags}";
206
  if($random_quote = quotescollection_quote($parms)) {
207
  extract($args);
208
  echo $before_widget;
@@ -221,6 +268,9 @@ function quotescollection_init()
221
  'show_author' => 1,
222
  'show_source' => 0,
223
  'ajax_refresh' => 1,
 
 
 
224
  'tags' => '',
225
  'char_limit' => 500
226
  );
@@ -235,6 +285,9 @@ function quotescollection_init()
235
  $options['show_author'] = $_REQUEST['quotescollection-show_author']?1:0;
236
  $options['show_source'] = $_REQUEST['quotescollection-show_source']?1:0;
237
  $options['ajax_refresh'] = $_REQUEST['quotescollection-ajax_refresh']?1:0;
 
 
 
238
  $options['tags'] = strip_tags(stripslashes($_REQUEST['quotescollection-tags']));
239
  $options['char_limit'] = strip_tags(stripslashes($_REQUEST['quotescollection-char_limit']));
240
  if(!$options['char_limit'])
@@ -249,14 +302,23 @@ function quotescollection_init()
249
  $show_source_checked = ' checked="checked"';
250
  if($options['ajax_refresh'])
251
  $ajax_refresh_checked = ' checked="checked"';
 
 
 
 
 
252
  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>";
253
  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>";
254
  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>";
255
  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>";
256
- 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\">".__('Comma separated', 'quotes-collection')."</span></p>";
 
 
 
 
257
  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>";
 
258
  echo "<input type=\"hidden\" id=\"quotescollection-submit\" name=\"quotescollection-submit\" value=\"1\" />";
259
- echo "<p style=\"text-align:left;\">"."<a href=\"edit.php?page=quotes-collection/quotes-collection.php\">".__('Click here', 'quotes-collection')."</a> ".__('to manage your collection of quotes', 'quotes-collection').".</p>";
260
  }
261
 
262
 
@@ -268,10 +330,10 @@ function quotescollection_init()
268
  function quotescollection_admin_menu()
269
  {
270
  global $quotescollection_admin_userlevel;
271
- add_management_page('Quotes Collection', 'Quotes Collection', $quotescollection_admin_userlevel, __FILE__, 'quotescollection_quotes_management');
272
  }
273
 
274
- function quotescollection_addquote($quote, $author = "", $source = "", $tags = "", $visible = 'yes')
275
  {
276
  if(!$quote) return __('Nothing added to the database.', 'quotes-collection');
277
  global $wpdb;
@@ -294,11 +356,11 @@ function quotescollection_addquote($quote, $author = "", $source = "", $tags = "
294
  $tags[$key] = trim($tag);
295
  $tags = implode(',', $tags);
296
  $tags = $tags?"'".$wpdb->escape($tags)."'":"NULL";
297
- if(!$visible) $visible = "'no'";
298
- else $visible = "'yes'";
299
  $insert = "INSERT INTO " . $table_name .
300
- "(quote, author, source, tags, visible, time_added)" .
301
- "VALUES ({$quote}, {$author}, {$source}, {$tags}, {$visible}, NOW())";
302
  $results = $wpdb->query( $insert );
303
  if(FALSE === $results)
304
  return __('There was an error in the MySQL query', 'quotes-collection');
@@ -307,10 +369,10 @@ function quotescollection_addquote($quote, $author = "", $source = "", $tags = "
307
  }
308
  }
309
 
310
- function quotescollection_editquote($quote_id, $quote, $author = "", $source = "", $tags = "", $visible = 'yes')
311
  {
312
  if(!$quote) return __('Quote not updated.', 'quotes-collection');
313
- if(!$quote_id) return srgq_addquote($quote, $author, $source, $visible);
314
  global $wpdb;
315
  $table_name = $wpdb->prefix . "quotescollection";
316
  if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name)
@@ -331,14 +393,14 @@ function quotescollection_editquote($quote_id, $quote, $author = "", $source = "
331
  $tags[$key] = trim($tag);
332
  $tags = implode(',', $tags);
333
  $tags = $tags?"'".$wpdb->escape($tags)."'":"NULL";
334
- if(!$visible) $visible = "'no'";
335
- else $visible = "'yes'";
336
  $update = "UPDATE " . $table_name . "
337
  SET quote = {$quote},
338
  author = {$author},
339
  source = {$source},
340
  tags = {$tags},
341
- visible = {$visible},
342
  time_updated = NOW()
343
  WHERE quote_id = $quote_id";
344
  $results = $wpdb->query( $update );
@@ -367,7 +429,7 @@ function quotescollection_deletequote($quote_id)
367
  function quotescollection_getquotedata($quote_id)
368
  {
369
  global $wpdb;
370
- $sql = "SELECT quote_id, quote, author, source, tags, visible
371
  FROM " . $wpdb->prefix . "quotescollection
372
  WHERE quote_id = {$quote_id}";
373
  $quote_data = $wpdb->get_row($sql, ARRAY_A);
@@ -376,10 +438,10 @@ function quotescollection_getquotedata($quote_id)
376
 
377
  function quotescollection_editform($quote_id = 0)
378
  {
379
- $visible_selected = " checked=\"checked\"";
380
  $submit_value = __('Add Quote', 'quotes-collection');
381
  $form_name = "addquote";
382
- $action_url = $_SERVER['PHP_SELF']."?page=quotes-collection/quotes-collection.php#addnew";
383
 
384
  if($quote_id) {
385
  $form_name = "editquote";
@@ -392,17 +454,17 @@ function quotescollection_editform($quote_id = 0)
392
  $source = htmlspecialchars($source);
393
  $tags = implode(', ', explode(',', $tags));
394
  $hidden_input = "<input type=\"hidden\" name=\"quote_id\" value=\"{$quote_id}\" />";
395
- if($visible == 'no') $visible_selected = "";
396
  $submit_value = __('Save changes', 'quotes-collection');
397
  $back = "<input type=\"submit\" name=\"submit\" value=\"".__('Back', 'quotes-collection')."\" />&nbsp;";
398
- $action_url = $_SERVER['PHP_SELF']."?page=quotes-collection/quotes-collection.php";
399
  }
400
 
401
  $quote_label = __('The quote', 'quotes-collection');
402
  $author_label = __('Author', 'quotes-collection');
403
  $source_label = __('Source', 'quotes-collection');
404
  $tags_label = __('Tags', 'quotes-collection');
405
- $visible_label = __('Visible?', 'quotes-collection');
406
  $optional_text = __('optional', 'quotes-collection');
407
  $comma_separated_text = __('comma separated', 'quotes-collection');
408
 
@@ -428,8 +490,8 @@ function quotescollection_editform($quote_id = 0)
428
  <td><input type="text" id="quotescollection_tags" name="tags" size="40" value="{$tags}" /><br />{$optional_text}, {$comma_separated_text}</small></td>
429
  </tr>
430
  <tr>
431
- <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_visible">{$visible_label}</label></th>
432
- <td><input type="checkbox" id="quotescollection_visible" name="visible"{$visible_selected} />
433
  </tr></tbody>
434
  </table>
435
  <p class="submit">{$back}<input name="submit" value="{$submit_value}" type="submit" class="button button-primary" /></p>
@@ -438,17 +500,20 @@ EDITFORM;
438
  return $display;
439
  }
440
 
441
- function quotescollection_changevisibility($quote_ids, $visibility = 'yes')
442
  {
443
  if(!$quote_ids)
444
  return __('Nothing done!', 'quotes-collection');
445
  global $wpdb;
446
  $sql = "UPDATE ".$wpdb->prefix."quotescollection
447
- SET visible = '".$visibility."',
448
  time_updated = NOW()
449
  WHERE quote_id IN (".implode(', ', $quote_ids).")";
450
  $wpdb->query($sql);
451
- return sprintf(__("Visibility status of selected quotes set to '%s'", 'quotes-collection'), $visibility);
 
 
 
452
  }
453
 
454
  function quotescollection_bulkdelete($quote_ids)
@@ -473,11 +538,11 @@ function quotescollection_quotes_management()
473
 
474
  if($_REQUEST['submit'] == __('Add Quote', 'quotes-collection')) {
475
  extract($_REQUEST);
476
- $msg = quotescollection_addquote($quote, $author, $source, $tags, $visible);
477
  }
478
  else if($_REQUEST['submit'] == __('Save changes', 'quotes-collection')) {
479
  extract($_REQUEST);
480
- $msg = quotescollection_editquote($quote_id, $quote, $author, $source, $tags, $visible);
481
  }
482
  else if($_REQUEST['action'] == 'editquote') {
483
  $display .= "<div class=\"wrap\">\n<h2>Quotes Collection &raquo; ".__('Edit quote', 'quotes-collection')."</h2>";
@@ -492,10 +557,10 @@ function quotescollection_quotes_management()
492
  else if(isset($_REQUEST['bulkaction'])) {
493
  if($_REQUEST['bulkaction'] == __('Delete', 'quotes-collection'))
494
  $msg = quotescollection_bulkdelete($_REQUEST['bulkcheck']);
495
- if($_REQUEST['bulkaction'] == __('Make visible', 'quotes-collection')) {
496
  $msg = quotescollection_changevisibility($_REQUEST['bulkcheck'], 'yes');
497
  }
498
- if($_REQUEST['bulkaction'] == __('Make invisible', 'quotes-collection')) {
499
  $msg = quotescollection_changevisibility($_REQUEST['bulkcheck'], 'no');
500
  }
501
  }
@@ -511,7 +576,7 @@ function quotescollection_quotes_management()
511
  // Get all the quotes from the database
512
  global $wpdb;
513
 
514
- $sql = "SELECT quote_id, quote, author, source, tags, visible
515
  FROM " . $wpdb->prefix . "quotescollection";
516
 
517
  if(isset($_REQUEST['orderby'])) {
@@ -539,9 +604,9 @@ function quotescollection_quotes_management()
539
  $quotes_list .= " / ";
540
  $quotes_list .= $quote_data->source ."</td>";
541
  $quotes_list .= "<td>" . implode(', ', explode(',', $quote_data->tags)) . "</td>";
542
- $quotes_list .= "<td>" . $quote_data->visible ."</td>";
543
- $quotes_list .= "<td><a href=\"" . $_SERVER['PHP_SELF'] . "?page=quotes-collection/quotes-collection.php&action=editquote&amp;id=".$quote_data->quote_id."\" class=\"edit\">".__('Edit', 'quotes-collection')."</a></td>
544
- <td><a href=\"" . $_SERVER['PHP_SELF'] . "?page=quotes-collection/quotes-collection.php&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>";
545
  $quotes_list .= "</tr>";
546
  }
547
 
@@ -553,12 +618,12 @@ function quotescollection_quotes_management()
553
  $display .= " (<a href=\"#addnew\"><strong>".__('Add new quote', 'quotes-collection')."</strong></a>)";
554
  $display .= "</p>";
555
 
556
- $display .= "<form id=\"quotescollection\" method=\"post\" action=\"{$_SERVER['PHP_SELF']}?page=quotes-collection/quotes-collection.php\">";
557
  $display .= "<div class=\"tablenav\">";
558
  $display .= "<div class=\"alignleft actions\">";
559
  $display .= "<input type=\"submit\" name=\"bulkaction\" value=\"".__('Delete', 'quotes-collection')."\" class=\"button-secondary\" />";
560
- $display .= "<input type=\"submit\" name=\"bulkaction\" value=\"".__('Make visible', 'quotes-collection')."\" class=\"button-secondary\" />";
561
- $display .= "<input type=\"submit\" name=\"bulkaction\" value=\"".__('Make invisible', 'quotes-collection')."\" class=\"button-secondary\" />";
562
  $display .= "&nbsp;&nbsp;&nbsp;";
563
  $display .= __('Sort by: ', 'quotes-collection');
564
  $display .= "<select name=\"criteria\">";
@@ -568,7 +633,7 @@ function quotescollection_quotes_management()
568
  $display .= "<option value=\"source\"{$option_selected['source']}>".__('Source', 'quotes-collection')."</option>";
569
  $display .= "<option value=\"time_added\"{$option_selected['time_added']}>".__('Date added', 'quotes-collection')."</option>";
570
  $display .= "<option value=\"time_updated\"{$option_selected['time_updated']}>".__('Date updated', 'quotes-collection')."</option>";
571
- $display .= "<option value=\"visible\"{$option_selected['visible']}>".__('Visibility', 'quotes-collection')."</option>";
572
  $display .= "</select>";
573
  $display .= "<select name=\"order\"><option{$option_selected['ASC']}>ASC</option><option{$option_selected['DESC']}>DESC</option></select>";
574
  $display .= "<input type=\"submit\" name=\"orderby\" value=\"".__('Go', 'quotes-collection')."\" class=\"button-secondary\" />";
@@ -586,7 +651,7 @@ function quotescollection_quotes_management()
586
  ".__('Author', 'quotes-collection')." / ".__('Source', 'quotes-collection')."
587
  </th>
588
  <th>".__('Tags', 'quotes-collection')."</th>
589
- <th>".__('Visible?', 'quotes-collection')."</th>
590
  <th colspan=\"2\" style=\"text-align:center\">".__('Action', 'quotes-collection')."</th>
591
  </tr></thead>";
592
  $display .= "<tbody id=\"the-list\">{$quotes_list}</tbody>";
@@ -596,8 +661,8 @@ function quotescollection_quotes_management()
596
  $display .= "<div class=\"tablenav\">";
597
  $display .= "<div class=\"alignleft actions\">";
598
  $display .= "<input type=\"submit\" name=\"bulkaction\" value=\"".__('Delete', 'quotes-collection')."\" class=\"button-secondary\" />";
599
- $display .= "<input type=\"submit\" name=\"bulkaction\" value=\"".__('Make visible', 'quotes-collection')."\" class=\"button-secondary\" />";
600
- $display .= "<input type=\"submit\" name=\"bulkaction\" value=\"".__('Make invisible', 'quotes-collection')."\" class=\"button-secondary\" />";
601
  $display .= "</div>";
602
 
603
  $display .= "</div>";
@@ -621,7 +686,7 @@ function quotescollection_quotes_management()
621
 
622
  }
623
 
624
- function quotescollection_admin_head()
625
  {
626
  ?>
627
  <script type="text/javascript">
@@ -636,10 +701,11 @@ function quotescollection_checkAll(form) {
636
  }
637
  }
638
  </script>
 
639
  <?php
640
  }
641
 
642
- add_action('admin_head', 'quotescollection_admin_head');
643
 
644
  function quotescollection_install()
645
  {
@@ -666,6 +732,9 @@ function quotescollection_install()
666
  if(!($wpdb->get_results("SHOW COLUMNS FROM {$table_name} LIKE 'tags'"))) {
667
  $wpdb->query("ALTER TABLE `{$table_name}` ADD `tags` VARCHAR(255) {$db_charset} {$db_collate} AFTER `source`");
668
  }
 
 
 
669
  }
670
  else {
671
  //Creating the table ... fresh!
@@ -675,7 +744,7 @@ function quotescollection_install()
675
  author VARCHAR(255),
676
  source VARCHAR(255),
677
  tags VARCHAR(255),
678
- visible enum('yes', 'no') DEFAULT 'yes' NOT NULL,
679
  time_added datetime NOT NULL,
680
  time_updated datetime,
681
  PRIMARY KEY (quote_id)
@@ -696,7 +765,7 @@ function quotescollection_displayquote($quote_id = 0)
696
  global $wpdb;
697
  $sql = "SELECT quote_id, quote, author, source
698
  FROM " . $wpdb->prefix . "quotescollection
699
- WHERE visible = 'yes' ";
700
  if(!$quote_id) {
701
  $sql .= "ORDER BY RAND()
702
  LIMIT 1";
@@ -728,7 +797,7 @@ function quotescollection_displayquotes($source = "")
728
  $source = html_entity_decode($source);
729
  $sql = "SELECT quote_id, quote, author, source
730
  FROM " . $wpdb->prefix . "quotescollection
731
- WHERE visible = 'yes' ";
732
  if(!$source) {
733
  $sql .= "ORDER BY quote";
734
  }
@@ -773,7 +842,7 @@ function quotescollection_displayquotes_tags($tags = "")
773
  }
774
  $sql = "SELECT quote_id, quote, author, source
775
  FROM " . $wpdb->prefix . "quotescollection
776
- WHERE visible = 'yes' AND ({$sql_condition})";
777
  $quotes = $wpdb->get_results($sql, ARRAY_A);
778
  if ( !empty($quotes) ) {
779
  foreach($quotes as $quote_data) {
@@ -830,7 +899,7 @@ function quotescollection_css_head()
830
  else
831
  $wp_plugin_url = WP_PLUGIN_URL;
832
  ?>
833
- <link rel="stylesheet" type="text/css" href="<?php echo $wp_plugin_url; ?>/quotes-collection/quotes-collection.css"/>
834
  <?php
835
  }
836
 
@@ -838,6 +907,7 @@ function quotescollection_css_head()
838
  add_action('wp_head', 'quotescollection_css_head' );
839
 
840
 
 
841
  add_filter('the_content', 'quotescollection_inpost', 7);
842
  add_filter('the_excerpt', 'quotescollection_inpost', 7);
843
  register_activation_hook( __FILE__, 'quotescollection_install' );
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 */
18
+ $quotescollection_next_quote = "";
19
+
20
+
21
+
22
+ /* The maximum number iterations for the 'auto refresh'. Set this number to 0
23
+ if you want the auto refresh to happen infinitely. */
24
+ $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
  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) ) {
60
+ if(!$random && $current)
61
+ return quotescollection_get_quote($condition, 0, 0);
62
+ else
63
+ return 0;
64
  }
65
  else
66
+ return $random_quote;
67
  }
68
 
69
 
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
  }
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
  }
124
 
135
 
136
  function quotescollection_quote($args = '')
137
  {
138
+ global $quotescollection_instances, $quotescollection_next_quote;
139
+ if(!$quotescollection_next_quote) $quotescollection_next_quote = __('Next quote', 'quotes-collection')."&nbsp;&raquo;";
140
  if(!($instance = $quotescollection_instances))
141
  $instance = $quotescollection_instances = 0;
142
 
151
  'show_author' => 1,
152
  'show_source' => 1,
153
  'ajax_refresh' => 1,
154
+ 'auto_refresh' => 0,
155
  'tags' => '',
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;
168
+ else $current = $options['current'];
169
 
170
  if($options['char_limit'] && is_numeric($options['char_limit']))
171
  $condition .= " AND CHAR_LENGTH(quote) <= ".$options['char_limit'];
184
  }
185
  $condition .= " AND ({$tag_condition})";
186
  }
187
+ $random_quote = quotescollection_get_quote($condition, $options['random'], $current);
188
 
189
  if(!$random_quote)
190
  return;
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);
207
 
 
208
  if($options['ajax_refresh'] == 1 && $quotes_count > 1) {
209
+ if($options['auto_refresh'])
210
+ $display .= "<script type=\"text/javascript\">quotescollection_timer(".$instance.", ".$random_quote["quote_id"].", ". $options['show_author'] .", ".$options['show_source'].", '".$options['tags']."', ".$options['char_limit'].", ".$options['auto_refresh'].", ".$options['random'].");</script>";
211
+ else {
212
+ $display .= "<script type=\"text/javascript\">\n<!--\ndocument.write(\"";
213
+ $display .= '<p class=\"quotescollection_nextquote\" id=\"quotescollection_nextquote-'.$instance.'\"><a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh('.$instance.', '.$random_quote["quote_id"].', '. $options['show_author'] .', '.$options['show_source'].', \''.$options['tags'].'\', '.$options['char_limit'].', 0, '.$options['random'].');\">'.$quotescollection_next_quote.'<\/a><\/p>';
214
+ $display .= "\")\n//-->\n</script>\n";
215
+ }
216
  }
217
+ else if ($options['ajax_refresh'] == 2 && $quotes_count) {
218
+ if($options['auto_refresh'])
219
+ $display .= "<script type=\"text/javascript\">quotescollection_timer(".$instance.", ".$random_quote["quote_id"].", ". $options['show_author'] .", ".$options['show_source'].", '".$options['tags']."', ".$options['char_limit'].", ".$options['auto_refresh'].", ".$options['random'].");</script>";
220
+ else
221
+ $display .= "<p class=\"quotescollection_nextquote\" id=\"quotescollection_nextquote-".$_REQUEST['refresh']."\"><a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh(".$_REQUEST['refresh'].", ".$random_quote['quote_id'].', '. $options['show_author'] .', '.$options['show_source'].', \''.$options['tags'].'\', '.$options['char_limit'].", 0, ".$options['random'].");\">".$quotescollection_next_quote."</a></p>";
222
  return $display;
223
  }
224
  $display = "<div id=\"quotescollection_randomquote-".$instance."\" class=\"quotescollection_randomquote\">{$display}</div>";
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;
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
  );
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'])
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
 
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;
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');
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)
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 );
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);
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";
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
 
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>
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)
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>";
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
  }
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'])) {
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
 
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\">";
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\" />";
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>";
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>";
686
 
687
  }
688
 
689
+ function quotescollection_admin_footer()
690
  {
691
  ?>
692
  <script type="text/javascript">
701
  }
702
  }
703
  </script>
704
+
705
  <?php
706
  }
707
 
708
+ add_action('admin_footer', 'quotescollection_admin_footer');
709
 
710
  function quotescollection_install()
711
  {
732
  if(!($wpdb->get_results("SHOW COLUMNS FROM {$table_name} LIKE 'tags'"))) {
733
  $wpdb->query("ALTER TABLE `{$table_name}` ADD `tags` VARCHAR(255) {$db_charset} {$db_collate} AFTER `source`");
734
  }
735
+ if(!($wpdb->get_results("SHOW COLUMNS FROM {$table_name} LIKE 'public'"))) {
736
+ $wpdb->query("ALTER TABLE `{$table_name}` CHANGE `visible` `public` enum('yes', 'no') DEFAULT 'yes' NOT NULL");
737
+ }
738
  }
739
  else {
740
  //Creating the table ... fresh!
744
  author VARCHAR(255),
745
  source VARCHAR(255),
746
  tags VARCHAR(255),
747
+ public enum('yes', 'no') DEFAULT 'yes' NOT NULL,
748
  time_added datetime NOT NULL,
749
  time_updated datetime,
750
  PRIMARY KEY (quote_id)
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";
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
  }
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) {
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
 
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' );
readme.txt CHANGED
@@ -1,67 +1,46 @@
1
  === Quotes Collection ===
2
  Contributors: SriniG
 
3
  Tags: quotes collection, quotes, quotations, random quote, sidebar, widget, ajax
4
  Requires at least: 2.2
5
- Tested up to: 3.0-RC1
6
  Stable tag: trunk
7
 
8
  Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes on your WordPress blog.
9
 
10
  == Description ==
11
 
12
- 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]` tag.
13
 
14
- Main features and notes:
15
 
16
- * 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. This refresh feature can be optionally turned off. The widget also comes with few other options in the widget control panel.
17
- * A nice admin interface to add, edit and manage quotes.
18
- * Additional information that can be provided along with the quote: quote author, source (e.g., a book, or a website URL), tags (keywords) and visibility.
19
- * Quotes can be displayed in a page by placing a piece of code (quick tags) such as the ones below.
 
 
 
 
 
 
 
20
  * Placing `[quote|all]` in the page displays all quotes.
21
  * `[quote|author=Somebody]` displays quotes authored by Somebody.
22
- * `[quote|source=Something]` displays quotes with source as Something
23
  * `[quote|tags=sometag]` displays quotes tagged sometag
24
  * `[quote|tags=tag1,tag2,tag3]` displays quotes tagged tag1 or tag2 or tag3, one or more or all of these
25
  * `[quote|id=3]` displays quote with ID 3
26
  * `[quote|random]` displays a random quote
27
- * 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.
28
- * Support for Localization. As of version 1.3.7, translation is available in the following languages.
29
- * Arabic
30
- * Bulgarian
31
- * Bosnian
32
- * Belarusian
33
- * Czech
34
- * Danish
35
- * German
36
- * Spanish
37
- * Persian
38
- * Finnish
39
- * French
40
- * Hindi
41
- * Croatian
42
- * Hungarian
43
- * Italian
44
- * Japanese
45
- * Lithuanian
46
- * Latvian
47
- * Dutch
48
- * Polish
49
- * Portugese
50
- * Portugese (Brazilian)
51
- * Russian
52
- * Serbian
53
- * Swedish
54
- * Tamil
55
- * Turkish
56
- * Ukrainian
57
- * Simplified Chinese
58
 
59
  == Installation ==
60
-
61
- 1. Unzip and upload the `quotes-collection` directory to the `/wp-content/plugins/` directory
62
- 1. Go to `WP Admin » Plugins` and activate the Quotes Collection plugin
63
- 1. To add and manage the quotes go to `WP Admin » Tools » Quotes Collection`
64
- 1. To display a random quote in the sidebar, go to `WP Admin » Appearance » Widgets`, drag ‘Random Quote’ widget into the sidebar
65
 
66
  == Frequently Asked Questions ==
67
 
@@ -69,11 +48,23 @@ Main features and notes:
69
 
70
  Open the quotes-collection.css file that comes along with the plugin, scroll down and look towards the bottom.
71
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  = The 'Next quote »' link is not working. Why? =
73
 
74
  You have to check a couple of things,
75
 
76
- 1. Make sure your themes header.php file has the code `<?php wp_head(); ?>` just before `</head>`.
77
 
78
  2. Make sure the plugin files are uploaded in the correct location. The files should be uploaded in a location as follows
79
  <pre> wp-content/
@@ -87,30 +78,26 @@ You have to check a couple of things,
87
  If you still experience the problem even after the above conditions are met, [contact](http://srinig.com/contact/) the plugin author.
88
 
89
 
90
- = How to hide the 'Next quote »' link? =
91
-
92
- You can do this by turning off the 'Ajax Refresh feature' in widget options.
93
-
94
  = What are the parameters that can be passed on to `quotescollection_quote()` template function? =
95
 
96
  Please refer [other notes](http://wordpress.org/extend/plugins/quotes-collection/other_notes/)
97
 
98
- = How about a feature to backup/export/import the bulk of quotes in CSV/text format? =
99
-
100
- Such a feature will be available in a future version of the plugin, though no promises can be made as to when it will be available!
101
-
102
  = How to change the admin access level setting for the quotes collection admin page? =
103
 
104
- Change the value of the variable `$quotescollection_admin_userlevel` on line 16 of the quotes-collection.php file. Refer [WordPress documentation](http://codex.wordpress.org/Roles_and_Capabilities) for more information about user roles and capabilities.
105
 
106
  = 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? =
107
 
108
  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.
109
 
 
 
 
 
110
  == Screenshots ==
111
 
112
- 1. Admin interface (in WordPress 2.8)
113
- 2. Random Quote widget options (WordPress 2.8)
114
  3. An example of the random quote displayed on a sidebar
115
 
116
  == The quotescollection_quote() template function ==
@@ -135,7 +122,15 @@ The list of parameters (arguments) that can be passed on to this function:
135
  * To show/hide the 'Next quote' refresh link
136
  * 1 - shows the refresh link (default)
137
  * 0 - hides the hides the refresh link
138
-
 
 
 
 
 
 
 
 
139
  * **tags** *(string)*
140
  * Comma separated list of tags. Only quotes with one or more of these tags will be shown.
141
 
@@ -161,7 +156,65 @@ The list of parameters (arguments) that can be passed on to this function:
161
 
162
  * The 'Next quote' link is not shown, quotes with number of characters greater that 300 are left out.
163
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  ==Changelog==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  * **2010-06-06: Version 1.3.8**
166
  * Fix for the backslashes issue.
167
 
@@ -278,7 +331,7 @@ The list of parameters (arguments) that can be passed on to this function:
278
 
279
  * **2007-12-19: Version 0.9.3**
280
  * Fixed a JavaScript issue
281
- * Removed unnecessary <h2></h2> tags above random quote when title field is left blank in widget control options. <h2> tags displayed only when there is a title.
282
 
283
  * **2007-12-18: Version 0.9.2**
284
  * Provision to add random quote anywhere in the template.
@@ -288,3 +341,8 @@ The list of parameters (arguments) that can be passed on to this function:
288
 
289
  * **2007-12-15: Version 0.9**
290
  * Initial release
 
 
 
 
 
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
21
+ * Turn on/off the ajax refresh feature
22
+ * Choose random or sequential order for refresh
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 ==
46
 
48
 
49
  Open the quotes-collection.css file that comes along with the plugin, scroll down and look towards the bottom.
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/
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
+
95
+ Such a feature will be available in a future version of the plugin, though no promises can be made as to when it will be available!
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 ==
122
  * To show/hide the 'Next quote' refresh link
123
  * 1 - shows the refresh link (default)
124
  * 0 - hides the hides the refresh link
125
+
126
+ * **random** *(boolean)*
127
+ * Refresh the quote in random or sequential order
128
+ * 1 - random refresh (default)
129
+ * 0 - sequential, with the latest quote first
130
+
131
+ * **auto_refresh** *(integer)*
132
+ * To refresh the quote automatically. Time interval is the number assigned to this parameter, in seconds. For example, `<?php quotescollection_quote('auto_refresh=5'); ?>` will refresh the quote every 5 seconds. Set the value of auto_refresh to 0 to disable this functionality, which is default.
133
+
134
  * **tags** *(string)*
135
  * Comma separated list of tags. Only quotes with one or more of these tags will be shown.
136
 
156
 
157
  * The 'Next quote' link is not shown, quotes with number of characters greater that 300 are left out.
158
 
159
+ == Localization ==
160
+
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/)
190
+ * `tr_TR` / Turkish / [Gürkan Gür](http://seqizz.net/)
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
+
200
+ * **2010-11-26: Version 1.4.3**
201
+ * Norwegian translation added
202
+ * French and Simplified Chinese localizations updated
203
+
204
+ * **2010-06-24: Version 1.4.2**
205
+ * Italian localization updated
206
+
207
+ * **2010-06-19: Version 1.4.1**
208
+ * Compatibility with WP 3.0 multi-site functionality
209
+ * Tamil localization updated
210
+
211
+ * **2010-06-17: Version 1.4**
212
+ * Added ability to refresh quotes sequentially in the order added instead of random refresh.
213
+ * Added ability to refresh quotes automatically in a specified time interval
214
+ * The widget has two additional options (random refresh and auto refresh (+ time interval))
215
+ * 'Quotes Collection' admin panel is now listed as a first-level menu from being a sub-menu under 'Tools'
216
+ * Other minor fixes, changes and improvements
217
+
218
  * **2010-06-06: Version 1.3.8**
219
  * Fix for the backslashes issue.
220
 
331
 
332
  * **2007-12-19: Version 0.9.3**
333
  * Fixed a JavaScript issue
334
+ * Removed unnecessary `<h2></h2>` tags above random quote when title field is left blank in widget control options. `<h2>` tags displayed only when there is a title.
335
 
336
  * **2007-12-18: Version 0.9.2**
337
  * Provision to add random quote anywhere in the template.
341
 
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.
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file