User Submitted Posts - Version 20170326

Version Description

To upgrade User Submitted Posts, remove the old version and replace with the new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically.

Note: uninstalling the plugin from the WP Plugins screen results in the removal of all settings from the WP database. Submitted posts are NOT removed if you deactivate the plugin, reset default options, or uninstall the plugins; that is, all submitted posts must be removed manually.

Download this release

Release Info

Developer specialk
Plugin Icon 128x128 User Submitted Posts
Version 20170326
Comparing to
See all releases

Version 20170326

images/usp-logo.jpg ADDED
Binary file
images/usp-pro.png ADDED
Binary file
languages/usp-ar_AR.mo ADDED
Binary file
languages/usp-ar_AR.po ADDED
@@ -0,0 +1,1160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Loco Gettext template
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: User Submitted Posts\n"
5
+ "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2017-04-26 18:59+0100\n"
7
+ "PO-Revision-Date: 2017-05-06 11:37+0100\n"
8
+ "Last-Translator: \n"
9
+ "Language-Team: \n"
10
+ "Language: ar_MA\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "POT-Revision-Date: Sat Mar 21 2015 17:34:53 GMT-0700 (PDT)\n"
15
+ "Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
16
+ "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-Basepath: .\n"
19
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
20
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
21
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
22
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
23
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
24
+ "X-Generator: Poedit 2.0.1\n"
25
+ "X-Poedit-SearchPath-0: ..\n"
26
+
27
+ #: ../library/plugin-settings.php:31
28
+ msgid "Settings"
29
+ msgstr "الإعدادات"
30
+
31
+ #: ../library/plugin-settings.php:49
32
+ msgid "Give USP a 5-star rating at WordPress.org"
33
+ msgstr "منح USP تصنيف 5 نجوم في WordPress.org"
34
+
35
+ #: ../library/plugin-settings.php:50
36
+ msgid "Rate this plugin"
37
+ msgstr "أعط تقييما لهذه الإضافة"
38
+
39
+ #: ../library/plugin-settings.php:53
40
+ msgid "Get USP Pro!"
41
+ msgstr "الحصول على USP برو!"
42
+
43
+ #: ../library/plugin-settings.php:54
44
+ msgid "Go Pro"
45
+ msgstr "الذهاب إلى النسخة المدفوعة"
46
+
47
+ #: ../library/plugin-settings.php:86
48
+ msgid "HTML5 Form + Default CSS"
49
+ msgstr "استمارة HTML5 و CSS افتراضي"
50
+
51
+ #: ../library/plugin-settings.php:86
52
+ msgid "(Recommended)"
53
+ msgstr "(يوصي بها)"
54
+
55
+ #: ../library/plugin-settings.php:90
56
+ msgid "HTML5 Form + Disable CSS"
57
+ msgstr "استمارة HTML5 و CSS معطل"
58
+
59
+ #: ../library/plugin-settings.php:90
60
+ msgid "(Provide your own styles)"
61
+ msgstr "(تزويد الأنماط الخاصة بك)"
62
+
63
+ #: ../library/plugin-settings.php:94
64
+ msgid "Custom Form + Custom CSS"
65
+ msgstr "استمارة HTML5 و CSS مخصص"
66
+
67
+ #: ../library/plugin-settings.php:94
68
+ msgid "(Provide your own form template &amp; styles)"
69
+ msgstr "(تزويد قالب النموذج والأنماط الخاصة بك)"
70
+
71
+ #: ../library/plugin-settings.php:110 ../library/plugin-settings.php:134
72
+ #: ../library/plugin-settings.php:157
73
+ msgid "Auto-display before post content"
74
+ msgstr "عرض آلي قبل محتوى المقالة"
75
+
76
+ #: ../library/plugin-settings.php:114 ../library/plugin-settings.php:138
77
+ #: ../library/plugin-settings.php:161
78
+ msgid "Auto-display after post content"
79
+ msgstr "عرض آلي بعد محتوى المقالة"
80
+
81
+ #: ../library/plugin-settings.php:118
82
+ msgid "Do not auto-display submitted images"
83
+ msgstr "لا تعرض آليا الصور المرسلة"
84
+
85
+ #: ../library/plugin-settings.php:142
86
+ msgid "Do not auto-display submitted email"
87
+ msgstr "لا تعرض آليا البريد الإلكتروني المرسل"
88
+
89
+ #: ../library/plugin-settings.php:165
90
+ msgid "Do not auto-display submitted URL"
91
+ msgstr "لا تعرض آليا رابط URL المرسل"
92
+
93
+ #: ../library/plugin-settings.php:287
94
+ msgid ""
95
+ "There was an error. Please ensure that you have added a title, some content, "
96
+ "and that you have uploaded only images."
97
+ msgstr ""
98
+ "كان هناك خطأ. الرجاء التأكد من أنك قمت بإضافة عنوان وبعض المحتوى، وقمت برفع "
99
+ "الصور فقط."
100
+
101
+ #: ../library/plugin-settings.php:301
102
+ msgid "Please select your image(s) to upload."
103
+ msgstr "المرجو اختيار الصور للرفع."
104
+
105
+ #: ../library/plugin-settings.php:307
106
+ msgid "Success! Thank you for your submission."
107
+ msgstr "تم الإرسال بنجاح! شكرا لك."
108
+
109
+ #: ../library/plugin-settings.php:331
110
+ msgid "Email"
111
+ msgstr "البريد الإلكتروني"
112
+
113
+ #: ../library/plugin-settings.php:332
114
+ msgid "URL"
115
+ msgstr "رابط URL"
116
+
117
+ #: ../library/plugin-settings.php:543
118
+ msgid "Toggle all panels"
119
+ msgstr "تبديل كل الألواح"
120
+
121
+ #: ../library/plugin-settings.php:552
122
+ msgid "We need your support!"
123
+ msgstr "نحن بحاجة إلى دعمكم!"
124
+
125
+ #: ../library/plugin-settings.php:556 ../user-submitted-posts.php:1094
126
+ msgid "Please"
127
+ msgstr "من فضلك"
128
+
129
+ #: ../library/plugin-settings.php:556
130
+ msgid "Make a donation via PayPal"
131
+ msgstr "قم بالتبرع عن طريق باي بال"
132
+
133
+ #: ../library/plugin-settings.php:556
134
+ msgid "make a donation"
135
+ msgstr "قم بالتبرع"
136
+
137
+ #: ../library/plugin-settings.php:556
138
+ msgid "and/or"
139
+ msgstr "و/أو"
140
+
141
+ #: ../library/plugin-settings.php:557
142
+ msgid "Rate and review at the Plugin Directory"
143
+ msgstr "التقييم والمراجعة في دليل الإضافات"
144
+
145
+ #: ../library/plugin-settings.php:558
146
+ msgid "give this plugin a 5-star rating"
147
+ msgstr "أعطي هذه الإضافة تصنيف 5 نجوم"
148
+
149
+ #: ../library/plugin-settings.php:562
150
+ msgid ""
151
+ "Your generous support enables continued development of this free plugin. "
152
+ "Thank you!"
153
+ msgstr "يتيح دعمكم السخي للتطوير المستمر لهذه الإضافة المجانية. شكرا!"
154
+
155
+ #: ../library/plugin-settings.php:567
156
+ msgid "Check this box if you have shown support"
157
+ msgstr "حدد خانة الاختيار هذه إذا كنت قد أظهرت الدعم"
158
+
159
+ #: ../library/plugin-settings.php:575
160
+ msgid "Overview"
161
+ msgstr "نظرة عامة"
162
+
163
+ #: ../library/plugin-settings.php:579
164
+ msgid ""
165
+ "enables your visitors to submit posts and upload images from the front-end "
166
+ "of your site. "
167
+ msgstr "يتيح للزوار إرسال مقالات ورفع الصور من واجهة موقعك. م"
168
+
169
+ #: ../library/plugin-settings.php:580
170
+ msgid "For advanced functionality and unlimited forms, check out"
171
+ msgstr "لوظائف متقدمة ونماذج غير محدود، إدفع"
172
+
173
+ #: ../library/plugin-settings.php:581
174
+ msgid "&mdash; the ultimate solution for user-generated content."
175
+ msgstr "&mdash; الحل النهائي للمحتوى المقدم من المستخدم."
176
+
177
+ #: ../library/plugin-settings.php:585 ../library/plugin-settings.php:603
178
+ msgid "Plugin Settings"
179
+ msgstr "إعدادات الإضافة"
180
+
181
+ #: ../library/plugin-settings.php:586
182
+ msgid "Display the form"
183
+ msgstr "عرض الاستمارة"
184
+
185
+ #: ../library/plugin-settings.php:587 ../library/plugin-settings.php:1092
186
+ msgid "Plugin Homepage"
187
+ msgstr "الصفحة الرئيسية للإضافة"
188
+
189
+ #: ../library/plugin-settings.php:590
190
+ msgid "If you like this plugin, please"
191
+ msgstr "إذا أعجبتك هذه الإضافة، من فضلك"
192
+
193
+ #: ../library/plugin-settings.php:591
194
+ msgid "THANK YOU for your support!"
195
+ msgstr "شكرا على دعمكم!"
196
+
197
+ #: ../library/plugin-settings.php:591
198
+ msgid "give it a 5-star rating"
199
+ msgstr "قيّمنا بـ 5 نجوم"
200
+
201
+ #: ../library/plugin-settings.php:595
202
+ msgid "Unlimited front-end forms"
203
+ msgstr "استمارات أمامية غير محدودة"
204
+
205
+ #: ../library/plugin-settings.php:595
206
+ msgid "Get USP Pro"
207
+ msgstr "الحصول على USP برو"
208
+
209
+ #: ../library/plugin-settings.php:607
210
+ msgid "Configure your settings for User Submitted Posts."
211
+ msgstr ""
212
+ "قم بضبط الإعدادات الخاصة بك لمرسل المقالات للعضو \"User Submitted Posts.\"."
213
+
214
+ #: ../library/plugin-settings.php:609
215
+ msgid "Form Fields"
216
+ msgstr "حقول الاستمارة"
217
+
218
+ #: ../library/plugin-settings.php:614
219
+ msgid "User Name"
220
+ msgstr "اسم المستخدم"
221
+
222
+ #: ../library/plugin-settings.php:617 ../library/plugin-settings.php:627
223
+ #: ../library/plugin-settings.php:637 ../library/plugin-settings.php:647
224
+ #: ../library/plugin-settings.php:657 ../library/plugin-settings.php:667
225
+ #: ../library/plugin-settings.php:677 ../library/plugin-settings.php:687
226
+ msgid "Display and require"
227
+ msgstr "معروض ومطلوب"
228
+
229
+ #: ../library/plugin-settings.php:618 ../library/plugin-settings.php:628
230
+ #: ../library/plugin-settings.php:638 ../library/plugin-settings.php:648
231
+ #: ../library/plugin-settings.php:658 ../library/plugin-settings.php:668
232
+ #: ../library/plugin-settings.php:678
233
+ msgid "Display but do not require"
234
+ msgstr "معروض ولكن غير مطلوب"
235
+
236
+ #: ../library/plugin-settings.php:619 ../library/plugin-settings.php:629
237
+ #: ../library/plugin-settings.php:639 ../library/plugin-settings.php:649
238
+ #: ../library/plugin-settings.php:659 ../library/plugin-settings.php:669
239
+ #: ../library/plugin-settings.php:679 ../library/plugin-settings.php:688
240
+ msgid "Disable this field"
241
+ msgstr "تعطيل هذا الحقل"
242
+
243
+ #: ../library/plugin-settings.php:624
244
+ msgid "User Email"
245
+ msgstr "البريد الإلكتروني للمستخدم"
246
+
247
+ #: ../library/plugin-settings.php:634
248
+ msgid "User URL"
249
+ msgstr "رابط URL المستخدم"
250
+
251
+ #: ../library/plugin-settings.php:644 ../views/submission-form.php:70
252
+ #: ../views/submission-form.php:71
253
+ msgid "Post Title"
254
+ msgstr "عنوان المقالة"
255
+
256
+ #: ../library/plugin-settings.php:654 ../views/submission-form.php:76
257
+ #: ../views/submission-form.php:77
258
+ msgid "Post Tags"
259
+ msgstr "وسوم المقالة"
260
+
261
+ #: ../library/plugin-settings.php:664 ../views/submission-form.php:88
262
+ msgid "Post Category"
263
+ msgstr "تصنيف المقالة"
264
+
265
+ #: ../library/plugin-settings.php:674 ../views/submission-form.php:123
266
+ #: ../views/submission-form.php:124
267
+ msgid "Post Content"
268
+ msgstr "محتوى المقالة"
269
+
270
+ #: ../library/plugin-settings.php:684 ../library/plugin-settings.php:690
271
+ #: ../library/plugin-settings.php:879 ../library/plugin-settings.php:884
272
+ msgid "Challenge Question"
273
+ msgstr "التحقق البشري"
274
+
275
+ #: ../library/plugin-settings.php:690 ../library/plugin-settings.php:700
276
+ msgid "(Visit"
277
+ msgstr "(زيارة"
278
+
279
+ #: ../library/plugin-settings.php:690 ../library/plugin-settings.php:700
280
+ msgid "to configure options)"
281
+ msgstr "لضبط الخيارات)"
282
+
283
+ #: ../library/plugin-settings.php:694
284
+ msgid "Post Images"
285
+ msgstr "صور المقالة"
286
+
287
+ #: ../library/plugin-settings.php:697
288
+ msgid "Display"
289
+ msgstr "عرض"
290
+
291
+ #: ../library/plugin-settings.php:698
292
+ msgid "Disable"
293
+ msgstr "تعطيل"
294
+
295
+ #: ../library/plugin-settings.php:700 ../library/plugin-settings.php:931
296
+ msgid "Image Uploads"
297
+ msgstr "رفع الصورة"
298
+
299
+ #: ../library/plugin-settings.php:706
300
+ msgid "General Settings"
301
+ msgstr "الإعدادات العامة"
302
+
303
+ #: ../library/plugin-settings.php:711
304
+ msgid "Form Style"
305
+ msgstr "شكل الاستمارة"
306
+
307
+ #: ../library/plugin-settings.php:716
308
+ msgid "With this option, you can copy the plugin&rsquo;s default templates:"
309
+ msgstr "مع هذا الخيار، يمكنك نسخ القوالب الافتراضية للإضافة:"
310
+
311
+ #: ../library/plugin-settings.php:721
312
+ msgid "..and upload them into a directory named"
313
+ msgstr ".. وتحميلها إلى الدليل المسمى"
314
+
315
+ #: ../library/plugin-settings.php:721
316
+ msgid "in your theme:"
317
+ msgstr "في قالبك:"
318
+
319
+ #: ../library/plugin-settings.php:727
320
+ msgid ""
321
+ "That will enable you to customize the form and styles as desired. For more "
322
+ "info, check out the \"Custom Submission Form\" section in the"
323
+ msgstr ""
324
+ "هذه تمكنك من تخصيص الاستمارة والأنماط كما هو مطلوب. لمزيد من المعلومات، راجع "
325
+ "قسم \"استمارة تخصيص الإرسال\" في"
326
+
327
+ #: ../library/plugin-settings.php:728
328
+ msgid "Installation Docs"
329
+ msgstr "تنصيب المستندات"
330
+
331
+ #: ../library/plugin-settings.php:729
332
+ msgid "FYI: here is a"
333
+ msgstr "لمعلوماتك: هنا هو"
334
+
335
+ #: ../library/plugin-settings.php:729
336
+ msgid "list of USP CSS selectors"
337
+ msgstr "قائمة اختيار أنماط CSS لـ USP"
338
+
339
+ #: ../library/plugin-settings.php:735
340
+ msgid "Include JavaScript"
341
+ msgstr "تضمين الجافا سكريبت"
342
+
343
+ #: ../library/plugin-settings.php:737
344
+ msgid ""
345
+ "Check this box if you want to include the external JavaScript files "
346
+ "(recommended)."
347
+ msgstr ""
348
+ "حدد خانة الاختيار إذا كنت تريد تضمين ملفات JavaScript الخارجية (يوصى به)."
349
+
350
+ #: ../library/plugin-settings.php:740
351
+ msgid "Targeted Loading"
352
+ msgstr "التحميل المستهدف"
353
+
354
+ #: ../library/plugin-settings.php:742
355
+ msgid ""
356
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
357
+ "Here you may specify the URL of the USP form to load resources only on that "
358
+ "page. Note: leave blank to load on all pages."
359
+ msgstr ""
360
+ "عند التمكين، يتم تحميل ملفات CSS وجافا سكريبت الخارجية على كل صفحة. هنا "
361
+ "يمكنك تحديد رابط URL لاستمارة USP لتحميل الموارد على تلك الصفحة فقط. ملاحظة: "
362
+ "اتركها فارغة للتحميل على كل الصفحات."
363
+
364
+ #: ../library/plugin-settings.php:745
365
+ msgid "Auto Publish"
366
+ msgstr "نشر تلقائي"
367
+
368
+ #: ../library/plugin-settings.php:748
369
+ msgid "Always moderate via Draft"
370
+ msgstr "دائما قم بالمراجعة ك: مسودة"
371
+
372
+ #: ../library/plugin-settings.php:749
373
+ msgid "Always moderate via Pending"
374
+ msgstr "دائما قم بالمراجعة ك: في انتظار الموافقة"
375
+
376
+ #: ../library/plugin-settings.php:750
377
+ msgid "Always publish immediately"
378
+ msgstr "دائما تنشر فورا"
379
+
380
+ #: ../library/plugin-settings.php:755
381
+ msgid ""
382
+ "Post Status for submitted posts: moderate (recommended), publish "
383
+ "immediately, or publish after any number of approved posts."
384
+ msgstr ""
385
+ "حالة المقالة للمقالات المرسلة: يمكنك دائما المراجعة (يوصى به)، النشر فورا، "
386
+ "أو النشر بعد أي عدد من المقالات الموافق عليها."
387
+
388
+ #: ../library/plugin-settings.php:759
389
+ msgid "Redirect URL"
390
+ msgstr "إعادة توجيه الرابط URL"
391
+
392
+ #: ../library/plugin-settings.php:761
393
+ msgid ""
394
+ "Specify a URL to redirect the user after post-submission. Leave blank to "
395
+ "redirect back to current page."
396
+ msgstr ""
397
+ "حدد رابط URL لإعادة توجيه العضو بعد إرسال المقالة. ملاحظة: اتركها فارغة "
398
+ "لإعادة التوجيه إلى الصفحة الحالية."
399
+
400
+ #: ../library/plugin-settings.php:764
401
+ msgid "Success Message"
402
+ msgstr "رسالة نجاح"
403
+
404
+ #: ../library/plugin-settings.php:766
405
+ msgid ""
406
+ "Success message that is displayed if post-submission is successful. Basic "
407
+ "markup is allowed."
408
+ msgstr ""
409
+ "نجاح الرسالة التي يتم عرضها في حالة نجاح المقالة المرسلة. مسموح بالعلامات "
410
+ "الأساسية."
411
+
412
+ #: ../library/plugin-settings.php:769
413
+ msgid "Error Message"
414
+ msgstr "رسالة خطأ"
415
+
416
+ #: ../library/plugin-settings.php:771
417
+ msgid ""
418
+ "General error message that is displayed if post-submission fails. Basic "
419
+ "markup is allowed."
420
+ msgstr ""
421
+ "رسالة الخطأ العامة التي يتم عرضها إذا فشل إرسال المقالة. مسموح بالعلامات "
422
+ "الأساسية."
423
+
424
+ #: ../library/plugin-settings.php:774
425
+ msgid "Custom Content"
426
+ msgstr "محتوي مخصص"
427
+
428
+ #: ../library/plugin-settings.php:776
429
+ msgid ""
430
+ "Custom text/markup to be included before the submission form. Leave blank to "
431
+ "disable."
432
+ msgstr "نص/علامات مخصصة لإدراجها قبل استمارة الإرسال. اتركها فارغة لتعطيلها."
433
+
434
+ #: ../library/plugin-settings.php:779
435
+ msgid "Rich Text Editor"
436
+ msgstr "محرر نص منسق"
437
+
438
+ #: ../library/plugin-settings.php:781
439
+ msgid ""
440
+ "Check this box if you want to enable WP rich text editing for submitted "
441
+ "posts."
442
+ msgstr ""
443
+ "حدد خانة الاختيار إذا كنت تريد تمكين محرر النص المنسق لووردبريس للمقالات "
444
+ "المرسلة."
445
+
446
+ #: ../library/plugin-settings.php:784
447
+ msgid "Unique Titles"
448
+ msgstr "العناوين الفريدة"
449
+
450
+ #: ../library/plugin-settings.php:786
451
+ msgid ""
452
+ "Require submitted post titles to be unique (useful for preventing multiple/"
453
+ "duplicate submitted posts)."
454
+ msgstr ""
455
+ "مطلوب عناوين فريدة للمقالات المرسلة (مفيدة لمنع تعدد/تكرار المقالات المرسلة)."
456
+
457
+ #: ../library/plugin-settings.php:789
458
+ msgid "Disable Required"
459
+ msgstr "تعطيل مطلوب"
460
+
461
+ #: ../library/plugin-settings.php:791
462
+ msgid ""
463
+ "Disable all required attributes on default form fields (useful for "
464
+ "troubleshooting error messages)."
465
+ msgstr ""
466
+ "تعطيل السمات المطلوبة كلها في حقول الاستمارة الافتراضية (مفيدة لاستكشاف "
467
+ "أخطاء رسائل الخطأ)."
468
+
469
+ #: ../library/plugin-settings.php:794
470
+ msgid "Disable IP Tracking"
471
+ msgstr "تعطيل تتبع الـ IP"
472
+
473
+ #: ../library/plugin-settings.php:796
474
+ msgid ""
475
+ "By default USP records the IP address with each submitted post. Check this "
476
+ "box to disable all IP tracking."
477
+ msgstr ""
478
+ "بشكل افتراضي USP تسجل عنوان IP مع كل مقالة مرسلة. حدد الخانة الاختيار لتعطيل "
479
+ "جميع متتبعات الـ IP."
480
+
481
+ #: ../library/plugin-settings.php:799
482
+ msgid "Enable Shortcodes"
483
+ msgstr "السماح بالأكواد القصيرة"
484
+
485
+ #: ../library/plugin-settings.php:801
486
+ msgid ""
487
+ "Enable shortcodes in widgets. By default, WordPress does not enable "
488
+ "shortcodes in widgets. "
489
+ msgstr ""
490
+ "تمكين الأكواد القصيرة في الودجات. بشكل افتراضي، ووردبريس لا تمكن الأكواد "
491
+ "القصيرة في الودجات. "
492
+
493
+ #: ../library/plugin-settings.php:802
494
+ msgid ""
495
+ "This setting enables any/all shortcodes in widgets (even shortcodes from "
496
+ "other plugins)."
497
+ msgstr ""
498
+ "هذا الإعداد يمكين أي/كل الأكواد القصيرة في الودجات (حتى الأكواد القصيرة من "
499
+ "الإضافات الأخرى)."
500
+
501
+ #: ../library/plugin-settings.php:807 ../library/plugin-settings.php:812
502
+ msgid "Categories"
503
+ msgstr "التصنيفات"
504
+
505
+ #: ../library/plugin-settings.php:815
506
+ msgid ""
507
+ "Select which categories may be assigned to submitted posts (click to toggle)"
508
+ msgstr "حدد التصنيفات التي يمكن أن تتبع لها المقالات المرسلة (أنقر للتبديل)"
509
+
510
+ #: ../library/plugin-settings.php:832
511
+ msgid "Hidden/Default Category"
512
+ msgstr "تصنيف مخفي/افتراضي"
513
+
514
+ #: ../library/plugin-settings.php:834
515
+ msgid ""
516
+ "Use a hidden field for the post category. This may be used to specify a "
517
+ "default category when the category field is disabled."
518
+ msgstr ""
519
+ "استخدام حقل مخفي لتصنيف المقالة. يمكن استخدام هذا لتحديد التصنيف الافتراضي "
520
+ "عندما يكون حقل التصنيف معطل."
521
+
522
+ #: ../library/plugin-settings.php:837
523
+ msgid "Category ID for Hidden Field"
524
+ msgstr "معرف ID التصنيف للحقل المخفي"
525
+
526
+ #: ../library/plugin-settings.php:839
527
+ msgid ""
528
+ "Specify the ID of the category to use for the &ldquo;Hidden/Default "
529
+ "Category&rdquo; option."
530
+ msgstr "تحديد معرف ID للتصنيف للاستخدام لخيار \"التصنيف المخفي/الافتراضي\"."
531
+
532
+ #: ../library/plugin-settings.php:844
533
+ msgid "Users"
534
+ msgstr "الأعضاء"
535
+
536
+ #: ../library/plugin-settings.php:849
537
+ msgid "Assigned Author"
538
+ msgstr "الكاتب المعين"
539
+
540
+ #: ../library/plugin-settings.php:858
541
+ msgid ""
542
+ "Specify the user that should be assigned as author for user-submitted posts."
543
+ msgstr ""
544
+ "تحديد العضو الذي يجب أن يتم تعيينه ككاتب للمقالات المرسلة user-submitted."
545
+
546
+ #: ../library/plugin-settings.php:862
547
+ msgid "Registered Username"
548
+ msgstr "اسم المستخدم المسجل"
549
+
550
+ #: ../library/plugin-settings.php:864
551
+ msgid ""
552
+ "Use registered username as post author. Valid when the person submitting the "
553
+ "form is logged in to WordPress."
554
+ msgstr ""
555
+ "استخدم اسم المستخدم المسجل ككاتب للمقالة. صحيح عندما يكون الشخص الذي أرسل "
556
+ "الاستمارة مسجل الدخول في ووردبريس."
557
+
558
+ #: ../library/plugin-settings.php:867
559
+ msgid "User Profile URL"
560
+ msgstr "رابط URL الملف الشخصي للعضو"
561
+
562
+ #: ../library/plugin-settings.php:869
563
+ msgid ""
564
+ "Use registered user&rsquo;s Profile URL as the value of the URL field. Valid "
565
+ "when the person submitting the form is logged in to WordPress."
566
+ msgstr ""
567
+ "استخدم رابط URL الملف الشخصي للعضو المسجل كقيمة في حقل الرابط. صحيح عندما "
568
+ "يكون الشخص الذي أرسل الاستمارة مسجل الدخول في ووردبريس."
569
+
570
+ #: ../library/plugin-settings.php:872
571
+ msgid "Require User Login"
572
+ msgstr "يتطلب تسجيل دخول العضو"
573
+
574
+ #: ../library/plugin-settings.php:874
575
+ msgid "Require users to be logged in to WordPress to view/submit the form"
576
+ msgstr ""
577
+ "اطلب من المستخدمين أن يكونوا مسجلين الدخول إلى ووردبريس لعرض/إرسال الاستمارة"
578
+
579
+ #: ../library/plugin-settings.php:886
580
+ msgid ""
581
+ "To prevent spam, enter a question that users must answer before submitting "
582
+ "the form."
583
+ msgstr ""
584
+ "لمنع البريد المزعج، أدخل السؤال الذي يجب على الأعضاء الإجابة عليه قبل إرسال "
585
+ "الاستمارة."
586
+
587
+ #: ../library/plugin-settings.php:889
588
+ msgid "Challenge Response"
589
+ msgstr "جواب التحدي"
590
+
591
+ #: ../library/plugin-settings.php:891
592
+ msgid "Enter the *only* correct answer to the challenge question."
593
+ msgstr "أدخل *فقط* الإجابة الصحيحة لسؤال التحدي."
594
+
595
+ #: ../library/plugin-settings.php:894
596
+ msgid "Case-sensitivity"
597
+ msgstr "حساسية حالة الأحرف"
598
+
599
+ #: ../library/plugin-settings.php:896
600
+ msgid "Check this box if you want the challenge response to be case-sensitive."
601
+ msgstr "حدد خانة الاختيار إذا كنت تريد رد التحدي أن يكون حساسا لحالة الأحرف."
602
+
603
+ #: ../library/plugin-settings.php:901
604
+ msgid "Email Alerts"
605
+ msgstr "تنبيهات البريد الإلكتروني"
606
+
607
+ #: ../library/plugin-settings.php:906
608
+ msgid "Receive Email Alert"
609
+ msgstr "تلقي تنبيه البريد الإلكتروني"
610
+
611
+ #: ../library/plugin-settings.php:908
612
+ msgid ""
613
+ "Check this box if you want to be notified via email for new post submissions."
614
+ msgstr ""
615
+ "حدد خانة الاختيار إذا كنت تريد أن يتم إعلامك عن طريق البريد الإلكتروني "
616
+ "بالمقالات المرسلة حديثا."
617
+
618
+ #: ../library/plugin-settings.php:911
619
+ msgid "Email Address for Alerts"
620
+ msgstr "عنوان البريد الإلكتروني للتنبيهات"
621
+
622
+ #: ../library/plugin-settings.php:913
623
+ msgid ""
624
+ "If you checked the box to receive email alerts, indicate here the "
625
+ "address(es) to which the emails should be sent."
626
+ msgstr ""
627
+ "إذا حددت المربع لتلقي التنبيهات عبر البريد الإلكتروني، حدد هنا العنوان "
628
+ "(العناوين) الذي ينبغي أن ترسل لها رسائل البريد الإلكتروني."
629
+
630
+ #: ../library/plugin-settings.php:914
631
+ msgid "Multiple recipients may be included using a comma, like so:"
632
+ msgstr "يمكن تضمين مستلمين متعددين باستخدام فاصلة، على النحو التالي:"
633
+
634
+ #: ../library/plugin-settings.php:917
635
+ msgid "Email Alert Subject"
636
+ msgstr "موضوع تنبيه البريد الإلكتروني"
637
+
638
+ #: ../library/plugin-settings.php:919
639
+ msgid ""
640
+ "Subject line for email alerts. Leave blank to use the default subject line. "
641
+ "Note: you can use the following variables: "
642
+ msgstr ""
643
+ "سطر الموضوع لتنبيهات البريد الإلكتروني. اتركه فارغا لاستخدام سطر الموضوع "
644
+ "الافتراضي. ملاحظة: يمكنك استخدام المتغيرات التالية: "
645
+
646
+ #: ../library/plugin-settings.php:923
647
+ msgid "Email Alert Message"
648
+ msgstr "رسالة تنبيه البريد الإلكتروني"
649
+
650
+ #: ../library/plugin-settings.php:925
651
+ msgid ""
652
+ "Message for email alerts. Leave blank to use the default message. Note: you "
653
+ "can use the following variables: "
654
+ msgstr ""
655
+ "رسالة تنبيهات البريد الإلكتروني. اتركه فارغا لاستخدام الرسالة الافتراضية. "
656
+ "ملاحظة: يمكنك استخدام المتغيرات التالية: "
657
+
658
+ #: ../library/plugin-settings.php:936
659
+ msgid "Featured Image"
660
+ msgstr "الصورة البارزة"
661
+
662
+ #: ../library/plugin-settings.php:938
663
+ msgid ""
664
+ "Set submitted images as Featured Images. Requires theme support for Featured "
665
+ "Images (aka Post Thumbnails)."
666
+ msgstr ""
667
+ "تعيين الصور التي تم إرسالها كصور بارزة. يتطلب قالب يدعم الصور البارزة (ويعرف "
668
+ "أيضا باسم الصور المصغرة)."
669
+
670
+ #: ../library/plugin-settings.php:941
671
+ msgid "Upload Message"
672
+ msgstr "رسالة الرفع"
673
+
674
+ #: ../library/plugin-settings.php:943
675
+ msgid ""
676
+ "Message that appears next to the upload field. Useful for stating your "
677
+ "upload guidelines/policy/etc. Basic markup allowed."
678
+ msgstr ""
679
+ "الرسالة التي تظهر بجوار حقل التحميل. مفيدة لتحديد إرشادات التحميل/ السياسات/ "
680
+ "الخ. السماح بالترميز الأساسي."
681
+
682
+ #: ../library/plugin-settings.php:946
683
+ msgid "&ldquo;Add another image&rdquo; link"
684
+ msgstr "رابط \"إضافة صورة أخرى\""
685
+
686
+ #: ../library/plugin-settings.php:948
687
+ msgid ""
688
+ "Custom markup for the &ldquo;Add another image&rdquo; link. Leave blank to "
689
+ "use the default markup (recommended)."
690
+ msgstr ""
691
+ "ترميز مخصص لرابط \"إضافة صورة أخرى\". اتركه فارغا لاستخدام الترميز الافتراضي "
692
+ "(يوصى به)."
693
+
694
+ #: ../library/plugin-settings.php:951
695
+ msgid "Minimum number of images"
696
+ msgstr "الحد الأدنى لعدد الصور"
697
+
698
+ #: ../library/plugin-settings.php:954
699
+ msgid "Specify the minimum number of images."
700
+ msgstr "حدد الحد الأدنى لعدد الصور."
701
+
702
+ #: ../library/plugin-settings.php:958
703
+ msgid "Maximum number of images"
704
+ msgstr "الحد الأقصى لعدد الصور"
705
+
706
+ #: ../library/plugin-settings.php:961
707
+ msgid "Specify the maximum number of images."
708
+ msgstr "حدد الحد الأقصى لعدد الصور."
709
+
710
+ #: ../library/plugin-settings.php:965
711
+ msgid "Minimum image width"
712
+ msgstr "عرض الصورة الأدنى"
713
+
714
+ #: ../library/plugin-settings.php:967
715
+ msgid "Specify a minimum width (in pixels) for uploaded images."
716
+ msgstr "حدد الحد الأدنى لعرض (بالبكسل) الصور المرفوعة."
717
+
718
+ #: ../library/plugin-settings.php:970
719
+ msgid "Minimum image height"
720
+ msgstr "ارتفاع الصورة الأدنى"
721
+
722
+ #: ../library/plugin-settings.php:972
723
+ msgid "Specify a minimum height (in pixels) for uploaded images."
724
+ msgstr "حدد الحد الأدنى لارتفاع (بالبكسل) الصور المرفوعة."
725
+
726
+ #: ../library/plugin-settings.php:975
727
+ msgid "Maximum image width"
728
+ msgstr "عرض الصورة الأقصى"
729
+
730
+ #: ../library/plugin-settings.php:977
731
+ msgid "Specify a maximum width (in pixels) for uploaded images."
732
+ msgstr "حدد الحد الأقصى لعرض (بالبكسل) الصور المرفوعة."
733
+
734
+ #: ../library/plugin-settings.php:980
735
+ msgid "Maximum image height"
736
+ msgstr "ارتفاع الصورة الأقصى"
737
+
738
+ #: ../library/plugin-settings.php:982
739
+ msgid "Specify a maximum height (in pixels) for uploaded images."
740
+ msgstr "حدد الحد الأقصى لارتفاع (بالبكسل) الصور المرفوعة."
741
+
742
+ #: ../library/plugin-settings.php:985
743
+ msgid "More Options"
744
+ msgstr "المزيد من الخيارات"
745
+
746
+ #: ../library/plugin-settings.php:988
747
+ msgid ""
748
+ "For more options, like the ability to upload other file types (like PDF, "
749
+ "Word, Zip, videos, and more), check out"
750
+ msgstr ""
751
+ "لمزيد من الخيارات، مثل القدرة على رفع أنواع ملفات أخرى (مثل PDF، Word، Zip "
752
+ "ومقاطع الفيديو والمزيد)، اطلع على"
753
+
754
+ #: ../library/plugin-settings.php:989
755
+ msgid "Go Pro!"
756
+ msgstr "الذهاب إلى النسخة المدفوعة!"
757
+
758
+ #: ../library/plugin-settings.php:989
759
+ msgid "USP Pro"
760
+ msgstr "USP برو"
761
+
762
+ #: ../library/plugin-settings.php:996
763
+ msgid "Auto-Display Content"
764
+ msgstr "محتوى العرض التلقائي"
765
+
766
+ #: ../library/plugin-settings.php:1001
767
+ msgid "Images Auto-Display"
768
+ msgstr "العرض التلقائي للصور"
769
+
770
+ #: ../library/plugin-settings.php:1003
771
+ msgid "Auto-display user-submitted images:"
772
+ msgstr "عرض الصور التي أرسلها المستخدمون تلقائيا:"
773
+
774
+ #: ../library/plugin-settings.php:1008
775
+ msgid "Image Markup"
776
+ msgstr "ترميز الصورة"
777
+
778
+ #: ../library/plugin-settings.php:1010
779
+ msgid ""
780
+ "Markup to use for each submitted image (when auto-display is enabled). Can "
781
+ "use"
782
+ msgstr ""
783
+ "الترميز المستخدم لكل صورة تم إرسالها (عند تمكين العرض التلقائي). يمكن استخدام"
784
+
785
+ #: ../library/plugin-settings.php:1012
786
+ msgid "and"
787
+ msgstr "و"
788
+
789
+ #: ../library/plugin-settings.php:1015
790
+ msgid "Email Auto-Display"
791
+ msgstr "العرض التلقائي للبريد الإلكتروني"
792
+
793
+ #: ../library/plugin-settings.php:1017
794
+ msgid "Auto-display user-submitted email:"
795
+ msgstr "عرض البريد الإلكتروني الذي أرسله المستخدم تلقائيا:"
796
+
797
+ #: ../library/plugin-settings.php:1022
798
+ msgid "Email Markup"
799
+ msgstr "ترميز البريد الإلكتروني"
800
+
801
+ #: ../library/plugin-settings.php:1024
802
+ msgid ""
803
+ "Markup to use for the submitted email address (when auto-display is "
804
+ "enabled). Can use"
805
+ msgstr ""
806
+ "الترميز المستخدم لعنوان البريد الإلكتروني المرسل (عند تمكين العرض التلقائي). "
807
+ "يمكن استخدام"
808
+
809
+ #: ../library/plugin-settings.php:1027
810
+ msgid "URL Auto-Display"
811
+ msgstr "العرض التلقائي لرابط URL"
812
+
813
+ #: ../library/plugin-settings.php:1029
814
+ msgid "Auto-display user-submitted URL:"
815
+ msgstr "العرض التلقائي لرابط URL المستخدم المرسل:"
816
+
817
+ #: ../library/plugin-settings.php:1034
818
+ msgid "URL Markup"
819
+ msgstr "ترميز رابط URL"
820
+
821
+ #: ../library/plugin-settings.php:1036
822
+ msgid ""
823
+ "Markup to use for the submitted URL (when auto-display is enabled). Can use"
824
+ msgstr ""
825
+ "الترميز المستخدم لرابط URL المرسل (عند تمكين العرض التلقائي). يمكن استخدام"
826
+
827
+ #: ../library/plugin-settings.php:1041 ../library/plugin-settings.php:1075
828
+ msgid "Save Settings"
829
+ msgstr "حفظ الإعدادات"
830
+
831
+ #: ../library/plugin-settings.php:1046
832
+ msgid "Shortcode &amp; Template Tag"
833
+ msgstr "الكود القصير ووسم القالب"
834
+
835
+ #: ../library/plugin-settings.php:1049
836
+ msgid ""
837
+ "To implement USP, first configure the plugin settings, then use the "
838
+ "shortcode or template to display the form on the front-end as desired."
839
+ msgstr ""
840
+ "لتنفيذ USP، أولا اضبط إعدادات الإضافة، ثم استخدم الكود القصير أو قالب لعرض "
841
+ "الاستمارة على الواجهة الأمامية كما هو مطلوب."
842
+
843
+ #: ../library/plugin-settings.php:1051
844
+ msgid "Shortcode"
845
+ msgstr "الكود القصير"
846
+
847
+ #: ../library/plugin-settings.php:1052
848
+ msgid "Use this shortcode to display the USP Form on any WP Post or Page:"
849
+ msgstr "استخدم هذا الكود القصير لعرض USP في أي مقالة أو الصفحة:"
850
+
851
+ #: ../library/plugin-settings.php:1055
852
+ msgid "Template tag"
853
+ msgstr "وسم القالب"
854
+
855
+ #: ../library/plugin-settings.php:1056
856
+ msgid ""
857
+ "Use this template tag to display the USP Form anywhere in your theme "
858
+ "template:"
859
+ msgstr "استخدم وسم القالب هذا لعرض USP في أي مكان في القالب الخاص بك:"
860
+
861
+ #: ../library/plugin-settings.php:1062
862
+ msgid "Restore Defaults"
863
+ msgstr "استعادة الضبط الافتراضي"
864
+
865
+ #: ../library/plugin-settings.php:1066
866
+ msgid "Restore default options upon plugin deactivation/reactivation."
867
+ msgstr "استعادة الخيارات الافتراضية عند تعطيل/إعادة تفعيل الإضافة."
868
+
869
+ #: ../library/plugin-settings.php:1070
870
+ msgid "Tip:"
871
+ msgstr "تلميح:"
872
+
873
+ #: ../library/plugin-settings.php:1071
874
+ msgid "leave this option unchecked to remember your settings."
875
+ msgstr "اترك هذا الخيار غير محدد لتذكر إعداداتك."
876
+
877
+ #: ../library/plugin-settings.php:1072
878
+ msgid ""
879
+ "Or, to go ahead and restore all default options, check the box, save your "
880
+ "settings, and then deactivate/reactivate the plugin."
881
+ msgstr ""
882
+ "أو، للمضي قدما واستعادة جميع الخيارات الافتراضية، حدد المربع، وحفظ الإعدادات "
883
+ "الخاصة بك، ثم تعطيل/إعادة تفعيل الإضافة."
884
+
885
+ #: ../library/plugin-settings.php:1080
886
+ msgid "Show Support"
887
+ msgstr "إظهار الدعم"
888
+
889
+ #: ../library/plugin-settings.php:1092
890
+ msgid "by"
891
+ msgstr "بواسطة"
892
+
893
+ #: ../library/plugin-settings.php:1093
894
+ msgid "Jeff Starr on Twitter"
895
+ msgstr "Jeff Starr على تويتر"
896
+
897
+ #: ../library/plugin-settings.php:1094
898
+ msgid "Obsessive Web Design &amp; Development"
899
+ msgstr "تصميم وتطوير مواقع الويب"
900
+
901
+ #: ../library/plugin-settings.php:1105
902
+ msgid "Save Preference"
903
+ msgstr "حفظ الإعدادات"
904
+
905
+ #: ../library/plugin-settings.php:1112
906
+ msgid ""
907
+ "Are you sure you want to restore all default options? (this action cannot be "
908
+ "undone)"
909
+ msgstr ""
910
+ "هل أنت متأكد من أنك تريد استرجاع الإعدادات الافتراضية؟ (لا يمكن عكس العملية)"
911
+
912
+ #: ../library/template-tags.php:209
913
+ msgid "View full post"
914
+ msgstr "مشاهدة المقالة كاملة"
915
+
916
+ #: ../user-submitted-posts.php:26
917
+ msgid "User Submitted Posts"
918
+ msgstr "User Submitted Posts"
919
+
920
+ #: ../user-submitted-posts.php:58
921
+ msgid "requires WordPress "
922
+ msgstr "يتطلب ووردبريس"
923
+
924
+ #: ../user-submitted-posts.php:59
925
+ msgid " or higher, and has been deactivated! "
926
+ msgstr "أو أعلى، وتم تعطيلها!"
927
+
928
+ #: ../user-submitted-posts.php:60
929
+ msgid "Please return to the"
930
+ msgstr "يرجى العودة إلى"
931
+
932
+ #: ../user-submitted-posts.php:61
933
+ msgid "WordPress Admin Area"
934
+ msgstr "لوحة تحكم ووردبريس"
935
+
936
+ #: ../user-submitted-posts.php:62
937
+ msgid "to upgrade WordPress and try again."
938
+ msgstr "لترقية ووردبريس وحاول مرة أخرى."
939
+
940
+ #: ../user-submitted-posts.php:104
941
+ msgid "User Submitted Post"
942
+ msgstr "User Submitted Post"
943
+
944
+ #: ../user-submitted-posts.php:318
945
+ msgid "User Submitted Post Info"
946
+ msgstr "معلومات User Submitted Posts"
947
+
948
+ #: ../user-submitted-posts.php:348
949
+ msgid "Submitter Name: "
950
+ msgstr "اسم المرسل:"
951
+
952
+ #: ../user-submitted-posts.php:349
953
+ msgid "Submitter Email: "
954
+ msgstr "البريد الإلكتروني للمرسل:"
955
+
956
+ #: ../user-submitted-posts.php:350
957
+ msgid "Submitter URL: "
958
+ msgstr "الرابط URL المرسل:"
959
+
960
+ #: ../user-submitted-posts.php:351
961
+ msgid "Submitter IP: "
962
+ msgstr "IP المرسل:"
963
+
964
+ #: ../user-submitted-posts.php:400
965
+ msgid "Show USP Posts"
966
+ msgstr "إظهار مقالات USP"
967
+
968
+ #: ../user-submitted-posts.php:401
969
+ msgid "USP"
970
+ msgstr "USP"
971
+
972
+ #: ../user-submitted-posts.php:986
973
+ msgid " files required"
974
+ msgstr "ملفات مطلوبة"
975
+
976
+ #: ../user-submitted-posts.php:987
977
+ msgid " file required"
978
+ msgstr "ملف مطلوب"
979
+
980
+ #: ../user-submitted-posts.php:989
981
+ msgid " files"
982
+ msgstr "ملفات"
983
+
984
+ #: ../user-submitted-posts.php:990
985
+ msgid " file"
986
+ msgstr "ملف"
987
+
988
+ #: ../user-submitted-posts.php:992 ../user-submitted-posts.php:993
989
+ #: ../user-submitted-posts.php:994 ../user-submitted-posts.php:995
990
+ msgid " pixels"
991
+ msgstr "بكسلات"
992
+
993
+ #: ../user-submitted-posts.php:998
994
+ msgid "An error occurred. Please go back and try again."
995
+ msgstr "حدث خطأ. يرجى العودة والمحاولة مرة أخرى."
996
+
997
+ #: ../user-submitted-posts.php:1008
998
+ msgid "User login required"
999
+ msgstr "تسجيل الدخول مطلوب"
1000
+
1001
+ #: ../user-submitted-posts.php:1009
1002
+ msgid "User name required"
1003
+ msgstr "اسم المستخدم مطلوب"
1004
+
1005
+ #: ../user-submitted-posts.php:1010
1006
+ msgid "Post title required"
1007
+ msgstr "عنوان المقالة مطلوب"
1008
+
1009
+ #: ../user-submitted-posts.php:1011
1010
+ msgid "User URL required"
1011
+ msgstr "رابط URL العضو مطلوبة"
1012
+
1013
+ #: ../user-submitted-posts.php:1012
1014
+ msgid "Post tags required"
1015
+ msgstr "الكلمات الدلالية مطلوبة"
1016
+
1017
+ #: ../user-submitted-posts.php:1013
1018
+ msgid "Post category required"
1019
+ msgstr "تصنيف المقالة مطلوب"
1020
+
1021
+ #: ../user-submitted-posts.php:1014
1022
+ msgid "Post content required"
1023
+ msgstr "محتوى المقالة مطلوب"
1024
+
1025
+ #: ../user-submitted-posts.php:1015
1026
+ msgid "Correct captcha required"
1027
+ msgstr "التحقق البشري مطلوب"
1028
+
1029
+ #: ../user-submitted-posts.php:1016
1030
+ msgid "User email required"
1031
+ msgstr "البريد الإلكتروني للعضو مطلوب"
1032
+
1033
+ #: ../user-submitted-posts.php:1017
1034
+ msgid "Non-empty value for hidden field"
1035
+ msgstr "لا قيمة فارغة للحقل المخفي"
1036
+
1037
+ #: ../user-submitted-posts.php:1018
1038
+ msgid "Minimum number of images not met"
1039
+ msgstr "الحد الأدنى لعدد الصور لم يتحقق"
1040
+
1041
+ #: ../user-submitted-posts.php:1019
1042
+ msgid "Maximum number of images exceeded "
1043
+ msgstr "الحد الأقصى لعدد الصور لم يتحقق "
1044
+
1045
+ #: ../user-submitted-posts.php:1020
1046
+ msgid "Minimum image width not met"
1047
+ msgstr "الحد الأدنى لعرض الصورة لم يتحقق"
1048
+
1049
+ #: ../user-submitted-posts.php:1021
1050
+ msgid "Image width exceeds maximum"
1051
+ msgstr "يتجاوز عرض الصورة الحد الأقصى"
1052
+
1053
+ #: ../user-submitted-posts.php:1022
1054
+ msgid "Minimum image height not met"
1055
+ msgstr "الحد الأدنى لارتفاع الصورة لم يتحقق"
1056
+
1057
+ #: ../user-submitted-posts.php:1023
1058
+ msgid "Image height exceeds maximum"
1059
+ msgstr "يتجاوز ارتفاع الصورة الحد الأقصى"
1060
+
1061
+ #: ../user-submitted-posts.php:1024
1062
+ msgid "File type not allowed (please upload images only)"
1063
+ msgstr "نوع الملف غير مسموح به (الرجاء رفع الصور فقط)"
1064
+
1065
+ #: ../user-submitted-posts.php:1025
1066
+ msgid "The selected files could not be uploaded to the server"
1067
+ msgstr "الملفات المحددة لا يمكن رفعها للخادم"
1068
+
1069
+ #: ../user-submitted-posts.php:1029
1070
+ msgid "The file(s) could not be uploaded"
1071
+ msgstr "الملف (الملفات) لا يمكن رفعها"
1072
+
1073
+ #: ../user-submitted-posts.php:1031
1074
+ msgid "Post not created. Please contact the site administrator for help."
1075
+ msgstr ""
1076
+ "لم يتم إنشاء المقالة. الرجاء الاتصال بمسؤول الموقع للحصول على المساعدة."
1077
+
1078
+ #: ../user-submitted-posts.php:1032
1079
+ msgid "Duplicate post title. Please try again."
1080
+ msgstr "تكرار لعنوان المقالة. حاول مرة أخرى رجاء."
1081
+
1082
+ #: ../user-submitted-posts.php:1042
1083
+ msgid "Error: "
1084
+ msgstr "خطأ: "
1085
+
1086
+ #: ../user-submitted-posts.php:1068
1087
+ msgid "Return to form"
1088
+ msgstr "الرجوع إلى الاستمارة"
1089
+
1090
+ #: ../user-submitted-posts.php:1095
1091
+ msgid "log in"
1092
+ msgstr "تسجيل الدخول"
1093
+
1094
+ #: ../user-submitted-posts.php:1096
1095
+ msgid "to submit content!"
1096
+ msgstr "إرسال محتوى!"
1097
+
1098
+ #: ../views/submission-form.php:42
1099
+ msgid "Please complete the required fields."
1100
+ msgstr "يرجى إكمال جميع الحقول المطلوبة."
1101
+
1102
+ #: ../views/submission-form.php:52 ../views/submission-form.php:53
1103
+ msgid "Your Name"
1104
+ msgstr "اسمك"
1105
+
1106
+ #: ../views/submission-form.php:58 ../views/submission-form.php:59
1107
+ msgid "Your URL"
1108
+ msgstr "الرابط"
1109
+
1110
+ #: ../views/submission-form.php:64 ../views/submission-form.php:65
1111
+ msgid "Your Email"
1112
+ msgstr "بريدك الإلكتروني"
1113
+
1114
+ #: ../views/submission-form.php:83
1115
+ msgid "Antispam Question"
1116
+ msgstr "التحقق البشري"
1117
+
1118
+ #: ../views/submission-form.php:90
1119
+ msgid "Please select a category.."
1120
+ msgstr "اختر التصنيف.."
1121
+
1122
+ #: ../views/submission-form.php:132
1123
+ msgid "Upload an Image"
1124
+ msgstr "رفع صورة"
1125
+
1126
+ #: ../views/submission-form.php:141
1127
+ msgid "Add another image"
1128
+ msgstr "إضافة صورة أخرى"
1129
+
1130
+ #: ../views/submission-form.php:163
1131
+ msgid "Human verification: leave this field empty."
1132
+ msgstr "التحقق البشري: اترك هذه الخانة فارغة."
1133
+
1134
+ #: ../views/submission-form.php:185
1135
+ msgid "Submit Post"
1136
+ msgstr "أرسل المقالة"
1137
+
1138
+ #~ msgid "Submitted"
1139
+ #~ msgid_plural "Submitted"
1140
+ #~ msgstr[0] "تم الإرسال"
1141
+ #~ msgstr[1] ""
1142
+ #~ msgstr[2] ""
1143
+ #~ msgstr[3] ""
1144
+ #~ msgstr[4] ""
1145
+ #~ msgstr[5] ""
1146
+
1147
+ #~ msgid "Post url required"
1148
+ #~ msgstr "عنوان الرابط مطلوب"
1149
+
1150
+ #~ msgid "Show"
1151
+ #~ msgstr "إظهار"
1152
+
1153
+ #~ msgid "Hide"
1154
+ #~ msgstr "إخفاء"
1155
+
1156
+ #~ msgid "Post URL"
1157
+ #~ msgstr "رابط المقال"
1158
+
1159
+ #~ msgid "Challenge question (Captcha)"
1160
+ #~ msgstr "التحقق البشري"
languages/usp-de_DE.mo ADDED
Binary file
languages/usp-de_DE.po ADDED
@@ -0,0 +1,930 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Loco Gettext template
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: User Submitted Posts\n"
5
+ "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2015-08-20 14:05+0200\n"
7
+ "POT-Revision-Date: Sat Mar 21 2015 17:34:53 GMT-0700 (PDT)\n"
8
+ "PO-Revision-Date: 2015-08-20 15:34+0200\n"
9
+ "Language-Team: \n"
10
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
17
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
18
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
19
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
20
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
21
+ "X-Generator: Poedit 1.8.4\n"
22
+ "Last-Translator: \n"
23
+ "Language: de_DE\n"
24
+ "X-Poedit-SearchPath-0: ..\n"
25
+
26
+ #: ../user-submitted-posts.php:24 ../user-submitted-posts.php:66
27
+ msgid "User Submitted Posts"
28
+ msgstr "Nutzer übermittelte Beiträge"
29
+
30
+ #: ../user-submitted-posts.php:53
31
+ msgid "requires WordPress "
32
+ msgstr "benötigt Wordpress"
33
+
34
+ #: ../user-submitted-posts.php:53
35
+ msgid " or higher, and has been deactivated!"
36
+ msgstr "oder höher und ist deaktiviert!"
37
+
38
+ #: ../user-submitted-posts.php:54
39
+ msgid "Please return to the "
40
+ msgstr "Bitte zurück zu"
41
+
42
+ #: ../user-submitted-posts.php:54
43
+ msgid "WordPress Admin area"
44
+ msgstr "Wordpress-Admin-Bereich"
45
+
46
+ #: ../user-submitted-posts.php:54
47
+ msgid "to upgrade WordPress and try again."
48
+ msgstr "um WordPress zu aktualisieren und versuche es nochmal."
49
+
50
+ #: ../user-submitted-posts.php:66
51
+ msgid "Submitted"
52
+ msgid_plural "Submitted"
53
+ msgstr[0] "übermittelt"
54
+ msgstr[1] ""
55
+
56
+ #: ../user-submitted-posts.php:179
57
+ msgid "User Submitted Post Info"
58
+ msgstr "Nutzer übermittelte Beitrag Info"
59
+
60
+ #: ../user-submitted-posts.php:196
61
+ msgid "Submitter Name: "
62
+ msgstr "Übermittler Name:"
63
+
64
+ #: ../user-submitted-posts.php:197
65
+ msgid "Submitter Email: "
66
+ msgstr "Übermittler eMail:"
67
+
68
+ #: ../user-submitted-posts.php:198
69
+ msgid "Submitter URL: "
70
+ msgstr "Übermittler URL:"
71
+
72
+ #: ../user-submitted-posts.php:199
73
+ msgid "Submitter IP: "
74
+ msgstr "Übermittler IP:"
75
+
76
+ #: ../user-submitted-posts.php:326
77
+ msgid "USP"
78
+ msgstr "USP"
79
+
80
+ #: ../user-submitted-posts.php:662
81
+ msgid " files required"
82
+ msgstr "Dateien benötigt"
83
+
84
+ #: ../user-submitted-posts.php:663
85
+ msgid " file required"
86
+ msgstr "Datei benötigt"
87
+
88
+ #: ../user-submitted-posts.php:665
89
+ msgid " files"
90
+ msgstr "Dateien"
91
+
92
+ #: ../user-submitted-posts.php:666
93
+ msgid " file"
94
+ msgstr "Datei"
95
+
96
+ #: ../user-submitted-posts.php:668 ../user-submitted-posts.php:669 ../user-
97
+ #: submitted-posts.php:670 ../user-submitted-posts.php:671
98
+ msgid " pixels"
99
+ msgstr "Pixel"
100
+
101
+ #: ../user-submitted-posts.php:674
102
+ msgid "An error occurred. Please go back and try again."
103
+ msgstr ""
104
+ "Ein Fehler ist aufgetreten. Bitte gehen Sie zurück und versuchen Sie es "
105
+ "erneut."
106
+
107
+ #: ../user-submitted-posts.php:681
108
+ msgid "User login required"
109
+ msgstr "Anmeldung erforderlich"
110
+
111
+ #: ../user-submitted-posts.php:682
112
+ msgid "User name required"
113
+ msgstr "Benutzername erforderlich"
114
+
115
+ #: ../user-submitted-posts.php:683
116
+ msgid "Post title required"
117
+ msgstr "Beitrag-Titel erforderlich"
118
+
119
+ #: ../user-submitted-posts.php:684
120
+ msgid "Post url required"
121
+ msgstr "Beitrag-URL erforderlich"
122
+
123
+ #: ../user-submitted-posts.php:685
124
+ msgid "Post tags required"
125
+ msgstr "Beitrag Tags erforderlich"
126
+
127
+ #: ../user-submitted-posts.php:686
128
+ msgid "Post category required"
129
+ msgstr "Beitrag Kategorie erforderlich"
130
+
131
+ #: ../user-submitted-posts.php:687
132
+ msgid "Post content required"
133
+ msgstr "Beitrag Inhalt erforderlich"
134
+
135
+ #: ../user-submitted-posts.php:688
136
+ msgid "Correct captcha required"
137
+ msgstr "Korrektes Captcha erforderlich"
138
+
139
+ #: ../user-submitted-posts.php:689
140
+ msgid "User email required"
141
+ msgstr "Benutzer E-Mail erforderlich"
142
+
143
+ #: ../user-submitted-posts.php:690
144
+ msgid "Non-empty value for hidden field"
145
+ msgstr "Nicht leerer Wert für verstecktes Feld"
146
+
147
+ #: ../user-submitted-posts.php:691
148
+ msgid "Minimum number of images not met"
149
+ msgstr "Minimale Anzahl von Bildern nicht erreicht"
150
+
151
+ #: ../user-submitted-posts.php:692
152
+ msgid "Maximum number of images exceeded "
153
+ msgstr "Maximale Anzahl an Bildern überschritten"
154
+
155
+ #: ../user-submitted-posts.php:693
156
+ msgid "Minimum image width not met"
157
+ msgstr "Minimale Bildbreite nicht erfüllt"
158
+
159
+ #: ../user-submitted-posts.php:694
160
+ msgid "Image width exceeds maximum"
161
+ msgstr "Bildbreite überschreitet Maximum"
162
+
163
+ #: ../user-submitted-posts.php:695
164
+ msgid "Minimum image height not met"
165
+ msgstr "Minimale Bildhöhe nicht eingehalten"
166
+
167
+ #: ../user-submitted-posts.php:696
168
+ msgid "Image height exceeds maximum"
169
+ msgstr "Bildhöhe überschreitet Maximum"
170
+
171
+ #: ../user-submitted-posts.php:697
172
+ msgid "File type not allowed (please upload images only)"
173
+ msgstr "Dateityp nicht erlaubt (nur Bilder hochladen)"
174
+
175
+ #: ../user-submitted-posts.php:698
176
+ msgid "The selected files could not be uploaded to the server"
177
+ msgstr ""
178
+ "Die ausgewählten Dateien konnten nicht auf den Server hochgeladen werden"
179
+
180
+ #: ../user-submitted-posts.php:699
181
+ msgid "The file(s) could not be uploaded"
182
+ msgstr "Die Datei (en) konnte nicht hochgeladen werden"
183
+
184
+ #: ../user-submitted-posts.php:702
185
+ msgid "Post not created. Please contact the site administrator for help."
186
+ msgstr ""
187
+ "Beitrag nicht erstellt. Bitte kontaktiere einen Administrator für Hilfe."
188
+
189
+ #: ../user-submitted-posts.php:703
190
+ msgid "Duplicate post title. Please try again."
191
+ msgstr "Doppelter Beitrag-Titel. Bitte versuchen Sie es erneut."
192
+
193
+ #: ../user-submitted-posts.php:709
194
+ msgid "Error: "
195
+ msgstr "Fehler:"
196
+
197
+ #: ../user-submitted-posts.php:722
198
+ msgid "Settings"
199
+ msgstr "Einstellungen"
200
+
201
+ #: ../user-submitted-posts.php:761
202
+ msgid ""
203
+ "There was an error. Please ensure that you have added a title, some content, "
204
+ "and that you have uploaded only images."
205
+ msgstr ""
206
+ "Es gab einen Fehler. Bitte stellen Sie sicher, dass Sie einen Titel und "
207
+ "einige Inhalte hinzugefügt haben und dass Sie nur Bilder hochgeladen haben."
208
+
209
+ #: ../user-submitted-posts.php:768 ../user-submitted-posts.php:769 ../user-
210
+ #: submitted-posts.php:771 ../user-submitted-posts.php:772 ../user-submitted-
211
+ #: posts.php:773 ../user-submitted-posts.php:780
212
+ #: ../user-submitted-posts.php:781
213
+ msgid "show"
214
+ msgstr "zeigen"
215
+
216
+ #: ../user-submitted-posts.php:770 ../user-submitted-posts.php:774
217
+ msgid "hide"
218
+ msgstr "verbergen"
219
+
220
+ #: ../user-submitted-posts.php:775
221
+ msgid "Please select your image(s) to upload."
222
+ msgstr "Bitte wählen Sie Ihr Bild (er) zum hochladen."
223
+
224
+ #: ../user-submitted-posts.php:782
225
+ msgid "Success! Thank you for your submission."
226
+ msgstr "Erfolg! Vielen Dank für Ihre Übermittlung."
227
+
228
+ #: ../user-submitted-posts.php:807
229
+ msgid "HTML5 form + CSS (<small><em>Recommended</em></small>)"
230
+ msgstr "HTML5 form + CSS (<small><em>Empfohlen</em></small>)"
231
+
232
+ #: ../user-submitted-posts.php:811
233
+ msgid ""
234
+ "Custom form + CSS (<small><em>You must provide the template for this "
235
+ "option*</em></small>)"
236
+ msgstr ""
237
+ "Benutzerdefiniertes Formular + CSS (<small><em>Sie müssen die Vorlage für "
238
+ "diese Option zur Verfügung stellen*</em></small>)"
239
+
240
+ #: ../user-submitted-posts.php:815
241
+ msgid "Disable stylesheet"
242
+ msgstr "Stylesheet deaktivieren"
243
+
244
+ #: ../user-submitted-posts.php:1018
245
+ msgid "Toggle all panels"
246
+ msgstr "Alle Panele umschalten"
247
+
248
+ #: ../user-submitted-posts.php:1027
249
+ msgid "User Submitted Posts needs your support!"
250
+ msgstr "Nutzer übermittelte Beiträge braucht Ihre Unterstützung!"
251
+
252
+ #: ../user-submitted-posts.php:1031
253
+ msgid "Your support is needed to keep this free plugin going."
254
+ msgstr ""
255
+ "Ihre Unterstützung ist notwendig, um dieses kostenlose Plugin weiterzumachen."
256
+
257
+ #: ../user-submitted-posts.php:1034
258
+ msgid ""
259
+ "If you use User Submitted Posts and would like development to continue, "
260
+ "please"
261
+ msgstr ""
262
+ "Wenn Sie Nutzer übermittelte Beiträge verwenden und möchte die Entwicklung "
263
+ "weiter, bitte"
264
+
265
+ #: ../user-submitted-posts.php:1035
266
+ msgid "make a donation&nbsp;&raquo;"
267
+ msgstr "spenden Sie&nbsp;&raquo;"
268
+
269
+ #: ../user-submitted-posts.php:1038
270
+ msgid "If you are unable to donate, please"
271
+ msgstr "Wenn Sie nicht spenden können, bitte"
272
+
273
+ #: ../user-submitted-posts.php:1039
274
+ msgid "Click here to rate and review this plugin"
275
+ msgstr "Klicken Sie hier, um dieses Plugin zu bewerten"
276
+
277
+ #: ../user-submitted-posts.php:1040
278
+ msgid "give a 5-star rating at the Plugin Directory"
279
+ msgstr "geben Sie eine 5-Sterne-Bewertung im Plugin-Verzeichnis"
280
+
281
+ #: ../user-submitted-posts.php:1044
282
+ msgid ""
283
+ "Your generous support enables continued development of this plugin. Thank "
284
+ "you!"
285
+ msgstr ""
286
+ "Ihre großzügige Unterstützung ermöglicht die weitere Entwicklung dieses "
287
+ "Plugins. Danke!"
288
+
289
+ #: ../user-submitted-posts.php:1049
290
+ msgid "Check this box if you have shown support"
291
+ msgstr "Markieren Sie dieses Kästchen, wenn Sie Unterstützung gezeigt haben"
292
+
293
+ #: ../user-submitted-posts.php:1057
294
+ msgid "Overview"
295
+ msgstr "Überblick"
296
+
297
+ #: ../user-submitted-posts.php:1061
298
+ msgid ""
299
+ "(USP) enables your visitors to submit posts and upload images from anywhere "
300
+ "on your site."
301
+ msgstr ""
302
+ "(USP) ermöglicht Ihren Besuchern, Beiträge einzureichen und Bilder hochladen "
303
+ "von überall auf Ihrer Website."
304
+
305
+ #: ../user-submitted-posts.php:1062
306
+ msgid ""
307
+ "To implement, configure the plugin settings and include the USP form in any "
308
+ "post or page via shortcode or anywhere in your theme via template tag."
309
+ msgstr ""
310
+ "Zum einfügen, konfigurieren der Plugin-Einstellungen und die USP Form in "
311
+ "jedem Beitrag oder eine Seite via Shortcode einzufügen oder irgendwo in Ihr "
312
+ "Thema via Template-Tag."
313
+
314
+ #: ../user-submitted-posts.php:1063
315
+ msgid "For more functionality check out"
316
+ msgstr "Für weitere Funktionen wählen sie bitte"
317
+
318
+ #: ../user-submitted-posts.php:1064
319
+ msgid "&mdash; the ultimate solution for unlimited front-end forms."
320
+ msgstr "&mdash; Die ultimative Lösung für unbegrenzte Front-End-Formulare."
321
+
322
+ #: ../user-submitted-posts.php:1068
323
+ msgid "Configure settings"
324
+ msgstr "Einstellungen konfigurieren"
325
+
326
+ #: ../user-submitted-posts.php:1069
327
+ msgid "Get the shortcode &amp; template tag"
328
+ msgstr "Holen Sie sich das Short &amp; Template-Tag"
329
+
330
+ #: ../user-submitted-posts.php:1071
331
+ msgid "More info:"
332
+ msgstr "Weitere Infos:"
333
+
334
+ #: ../user-submitted-posts.php:1072 ../user-submitted-posts.php:1171
335
+ msgid "and"
336
+ msgstr "und"
337
+
338
+ #: ../user-submitted-posts.php:1072
339
+ msgid "homepage"
340
+ msgstr "Startseite"
341
+
342
+ #: ../user-submitted-posts.php:1074
343
+ msgid "If you like USP, please"
344
+ msgstr "Wenn Sie USP mögen, bitte"
345
+
346
+ #: ../user-submitted-posts.php:1075
347
+ msgid "Rate and review this plugin at the WP Plugin Directory"
348
+ msgstr "Bewerte dieses Plugin im WP Plugin-Verzeichnis"
349
+
350
+ #: ../user-submitted-posts.php:1076
351
+ msgid "rate it at WordPress.org"
352
+ msgstr "bewerte es bei WordPress.org"
353
+
354
+ #: ../user-submitted-posts.php:1088
355
+ msgid "Options"
356
+ msgstr "Optionen"
357
+
358
+ #: ../user-submitted-posts.php:1090
359
+ msgid ""
360
+ "Here you may configure options for USP. See the <code>readme.txt</code> for "
361
+ "more information."
362
+ msgstr ""
363
+ "Hier können Sie Optionen für USP konfigurieren. Siehe die <code>readme.txt</"
364
+ "code> für weitere Informationen."
365
+
366
+ #: ../user-submitted-posts.php:1091
367
+ msgid "Show/Hide Form Fields"
368
+ msgstr "Zeige/Verberge Formularfelder"
369
+
370
+ #: ../user-submitted-posts.php:1095 ../user-submitted-posts.php:1101 ../user-
371
+ #: submitted-posts.php:1107 ../user-submitted-posts.php:1113 ../user-submitted-
372
+ #: posts.php:1119 ../user-submitted-posts.php:1125 ../user-submitted-posts.php:
373
+ #: 1131 ../user-submitted-posts.php:1137 ../user-submitted-posts.php:1143
374
+ msgid "Show"
375
+ msgstr "Zeige"
376
+
377
+ #: ../user-submitted-posts.php:1096 ../user-submitted-posts.php:1102 ../user-
378
+ #: submitted-posts.php:1108 ../user-submitted-posts.php:1114 ../user-submitted-
379
+ #: posts.php:1120 ../user-submitted-posts.php:1126 ../user-submitted-posts.php:
380
+ #: 1132 ../user-submitted-posts.php:1138 ../user-submitted-posts.php:1144
381
+ msgid "Hide"
382
+ msgstr "Verberge"
383
+
384
+ #: ../user-submitted-posts.php:1097
385
+ msgid "User Name"
386
+ msgstr "Benutzername"
387
+
388
+ #: ../user-submitted-posts.php:1103
389
+ msgid "User Email"
390
+ msgstr "Benutzer Email"
391
+
392
+ #: ../user-submitted-posts.php:1109
393
+ msgid "Post URL"
394
+ msgstr "Beitrag URL"
395
+
396
+ #: ../user-submitted-posts.php:1115 ../views/submission-form.php:50 ..
397
+ #: /views/submission-form.php:51 ../custom/submission-form.php:47
398
+ #: /custom/submission-form.php:48
399
+ msgid "Post Title"
400
+ msgstr "Beitrag Titel"
401
+
402
+ #: ../user-submitted-posts.php:1121 ../views/submission-form.php:56 ..
403
+ #: /views/submission-form.php:57 ../custom/submission-form.php:52
404
+ #: /custom/submission-form.php:53
405
+ msgid "Post Tags"
406
+ msgstr "Beitrag Tags"
407
+
408
+ #: ../user-submitted-posts.php:1127 ../views/submission-form.php:68 ..
409
+ #: /custom/submission-form.php:62
410
+ msgid "Post Category"
411
+ msgstr "Beitrag Kategorie"
412
+
413
+ #: ../user-submitted-posts.php:1133 ../views/submission-form.php:103 ..
414
+ #: /views/submission-form.php:104 ../custom/submission-form.php:91
415
+ #: /custom/submission-form.php:92
416
+ msgid "Post Content"
417
+ msgstr "Beitrag Inhalt"
418
+
419
+ #: ../user-submitted-posts.php:1139
420
+ msgid "Post Images"
421
+ msgstr "Beitrag Bilder"
422
+
423
+ #: ../user-submitted-posts.php:1145
424
+ msgid "Challenge question (Captcha)"
425
+ msgstr "Sicherheitsfrage (CAPTCHA)"
426
+
427
+ #: ../user-submitted-posts.php:1148
428
+ msgid "General Form Options"
429
+ msgstr "Allgemeine Formular-Optionen"
430
+
431
+ #: ../user-submitted-posts.php:1152
432
+ msgid "Form style"
433
+ msgstr "Formular Stil"
434
+
435
+ #: ../user-submitted-posts.php:1170
436
+ msgid ""
437
+ "* If &ldquo;Custom&rdquo; is selected, you must upload your own template "
438
+ "files,"
439
+ msgstr ""
440
+ "* Wenn &ldquo;Benutzerdefiniert&rdquo; ausgewählt ist, müssen Sie Ihre "
441
+ "eigene Vorlage Dateien hochladen,"
442
+
443
+ #: ../user-submitted-posts.php:1172
444
+ msgid "Note: list of CSS selectors available at "
445
+ msgstr "Hinweis: Liste der CSS-Selektoren verfügbar auf"
446
+
447
+ #: ../user-submitted-posts.php:1172
448
+ msgid "CSS selectors for User Submitted Posts"
449
+ msgstr "CSS-Selektoren für Nutzer übermittelte Beiträge"
450
+
451
+ #: ../user-submitted-posts.php:1177
452
+ msgid "Include JavaScript?"
453
+ msgstr "JavaScript einfügen?"
454
+
455
+ #: ../user-submitted-posts.php:1179
456
+ msgid ""
457
+ "Check this box if you want to include the external JavaScript files "
458
+ "(recommended)."
459
+ msgstr ""
460
+ "Markieren Sie dieses Kästchen, wenn Sie die externe JavaScript-Dateien "
461
+ "einfügen möchten (empfohlen)."
462
+
463
+ #: ../user-submitted-posts.php:1182
464
+ msgid "Targeted Loading"
465
+ msgstr "Gezieltes Laden"
466
+
467
+ #: ../user-submitted-posts.php:1184
468
+ msgid ""
469
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
470
+ "Here you may specify the URL of the USP form to load resources only on that "
471
+ "page. Note: leave blank to load on all pages."
472
+ msgstr ""
473
+ "Wenn aktiviert, werden externe CSS und JavaScript-Dateien auf jeder Seite "
474
+ "geladen. Hier können Sie die URL der USP Form angeben, die Mittel nur auf "
475
+ "der Seite zu laden. Hinweis: das Feld leer lassen, um alle Seiten zu laden."
476
+
477
+ #: ../user-submitted-posts.php:1187
478
+ msgid "Categories"
479
+ msgstr "Kategorien"
480
+
481
+ #: ../user-submitted-posts.php:1200
482
+ msgid "Select which categories may be assigned to submitted posts."
483
+ msgstr ""
484
+ "Wählen Sie, welche Kategorien den übermittelten Beiträgen zugeordnet werden "
485
+ "können."
486
+
487
+ #: ../user-submitted-posts.php:1204
488
+ msgid "Assigned Author"
489
+ msgstr "zugeordneter Autor"
490
+
491
+ #: ../user-submitted-posts.php:1214
492
+ msgid ""
493
+ "Specify the user that should be assigned as author for user-submitted posts."
494
+ msgstr ""
495
+ "Wählen Sie den Benutzer, der als Autor für übermittelte Beiträge zugeordnet "
496
+ "werden soll."
497
+
498
+ #: ../user-submitted-posts.php:1218
499
+ msgid "Auto Publish?"
500
+ msgstr "Automatisch veröffentlichen?"
501
+
502
+ #: ../user-submitted-posts.php:1221
503
+ msgid "Always moderate"
504
+ msgstr "Immer moderieren"
505
+
506
+ #: ../user-submitted-posts.php:1222
507
+ msgid "Always publish immediately"
508
+ msgstr "Immer sofort veröffentlichen"
509
+
510
+ #: ../user-submitted-posts.php:1227
511
+ msgid ""
512
+ "For submitted posts, you can always moderate (recommended), publish "
513
+ "immediately, or publish after any number of approved posts."
514
+ msgstr ""
515
+ "Für eingereichten Beiträge, Sie können immer moderieren (empfohlen), sofort "
516
+ "veröffentlichen, oder nach einer beliebigen Anzahl von genehmigten Beiträgen "
517
+ "veröffentlichen."
518
+
519
+ #: ../user-submitted-posts.php:1231
520
+ msgid "Receive Email Alert"
521
+ msgstr "E-Mail Empfangs-Alarm"
522
+
523
+ #: ../user-submitted-posts.php:1233
524
+ msgid ""
525
+ "Check this box if you want to be notified via email for new post submissions."
526
+ msgstr ""
527
+ "Markieren Sie dieses Kästchen, wenn Sie per E-Mail über einen neuen Beitrag "
528
+ "benachrichtigt werden möchten."
529
+
530
+ #: ../user-submitted-posts.php:1236
531
+ msgid "Enable Rich Text Editor"
532
+ msgstr "Aktivieren Sie Rich Text Editor"
533
+
534
+ #: ../user-submitted-posts.php:1238
535
+ msgid ""
536
+ "Check this box if you want to enable WP rich text editing for submitted "
537
+ "posts."
538
+ msgstr ""
539
+ "Markieren Sie dieses Kästchen, wenn Sie WP Rich-Text-Bearbeitung für "
540
+ "eingereicht Beiträge aktivieren möchten."
541
+
542
+ #: ../user-submitted-posts.php:1241
543
+ msgid "Set Uploaded Image as Featured Image"
544
+ msgstr "Wählen Sie hochgeladenes Bild als Titelbild"
545
+
546
+ #: ../user-submitted-posts.php:1243
547
+ msgid ""
548
+ "Check this box if you want to set submitted images as Featured Images (aka "
549
+ "Post Thumbnails) for posts. \n"
550
+ "\t\t\t\t\t\t\t\t\t\t\tNote: your theme&rsquo;s single.php file must include"
551
+ msgstr ""
552
+ "Aktivieren Sie diese Option, wenn Sie übermittelte Bilder als Titelbilder (o."
553
+ "a. Beitrag Thumbnails) für Beitrag festgelegen möchten. Hinweis: Ihre Theme "
554
+ "und single.php Datei müssen enthalten sein"
555
+
556
+ #: ../user-submitted-posts.php:1244
557
+ msgid "to display Featured Images."
558
+ msgstr "um Titelbilder anzuzeigen"
559
+
560
+ #: ../user-submitted-posts.php:1247
561
+ msgid "Email Address for Alerts"
562
+ msgstr "E-Mail Adresse für Benachrichtigungen"
563
+
564
+ #: ../user-submitted-posts.php:1249
565
+ msgid ""
566
+ "If you checked the box to receive email alerts, indicate here the "
567
+ "address(es) to which the emails should be sent."
568
+ msgstr ""
569
+ "Wenn Sie das Feld markieren um E-Mail-Benachrichtigung zu erhalten, "
570
+ "überprüft Sie hier auch die Adresse (n), an die die E-Mails gesendet werden "
571
+ "sollen."
572
+
573
+ #: ../user-submitted-posts.php:1250
574
+ msgid "Tip: multiple addresses may be included using a comma, like so:"
575
+ msgstr "Tipp: Mehrere Adressen können mit einem Komma getrennt werden, wie:"
576
+
577
+ #: ../user-submitted-posts.php:1253
578
+ msgid "Redirect URL"
579
+ msgstr "Weiterleitungs-URL"
580
+
581
+ #: ../user-submitted-posts.php:1255
582
+ msgid ""
583
+ "Specify a URL to redirect the user after post-submission. Note: leave blank "
584
+ "to redirect back to current page."
585
+ msgstr ""
586
+ "Geben Sie eine URLein welche den Benutzer nach der Beitrags-Übermittlung "
587
+ "zurückleitet. Hinweis: leer lassen, um wieder auf die aktuelle Seite "
588
+ "umzuleiten."
589
+
590
+ #: ../user-submitted-posts.php:1258
591
+ msgid "Success Message"
592
+ msgstr "Erfolgsmeldung"
593
+
594
+ #: ../user-submitted-posts.php:1260
595
+ msgid ""
596
+ "This is the success message that is displayed if post-submission is "
597
+ "successful."
598
+ msgstr ""
599
+ "Das ist die Erfolgsmeldung, die angezeigt wird, wenn die "
600
+ "Beitragsübermittlung erfolgreich war."
601
+
602
+ #: ../user-submitted-posts.php:1263
603
+ msgid "Error Message"
604
+ msgstr "Fehlermeldung"
605
+
606
+ #: ../user-submitted-posts.php:1265
607
+ msgid "This is the error message that is displayed if post-submission fails."
608
+ msgstr ""
609
+ "Dies ist die Fehlermeldung, die angezeigt wird, wenn die "
610
+ "Beitragsübermittlung fehlschlägt."
611
+
612
+ #: ../user-submitted-posts.php:1268
613
+ msgid "Custom Content"
614
+ msgstr "Benutzerdefinierter Inhalt"
615
+
616
+ #: ../user-submitted-posts.php:1270
617
+ msgid ""
618
+ "Here you may specify custom text/markup to be included before the submission "
619
+ "form. Note: leave blank to disable."
620
+ msgstr ""
621
+ "Hier können Sie benutzerdefinierte Text / Markup angeben, welcher vor "
622
+ "Übermittlung in das Formular eingefügt wird. Hinweis: leer lassen, um zu "
623
+ "deaktivieren."
624
+
625
+ #: ../user-submitted-posts.php:1273
626
+ msgid "Unique Titles"
627
+ msgstr "Einzigartige Titel"
628
+
629
+ #: ../user-submitted-posts.php:1275
630
+ msgid ""
631
+ "Require submitted post titles to be unique (useful for preventing multiple/"
632
+ "duplicate submitted posts)."
633
+ msgstr ""
634
+ "Erfordert eindeutigen Titel für eingereichten Beitrag (zur Verhinderung "
635
+ "mehrfacher /zweifacher Beiträge)."
636
+
637
+ #: ../user-submitted-posts.php:1278
638
+ msgid "Disable Required"
639
+ msgstr "Deaktivieren erforderlich"
640
+
641
+ #: ../user-submitted-posts.php:1280
642
+ msgid ""
643
+ "Disable all required attributes on default form fields (useful for "
644
+ "troubleshooting error messages)."
645
+ msgstr ""
646
+ "Deaktivieren Sie alle erforderlichen Attribute auf Standardformularfelder "
647
+ "(nützlich für die Fehlersuche Fehlermeldungen)."
648
+
649
+ #: ../user-submitted-posts.php:1284
650
+ msgid "Registered User Info"
651
+ msgstr "Registrierter Benutzer Info"
652
+
653
+ #: ../user-submitted-posts.php:1288
654
+ msgid "Use registered username for author?"
655
+ msgstr "Registrierten Benutzernamen für Autor verwenden?"
656
+
657
+ #: ../user-submitted-posts.php:1290
658
+ msgid ""
659
+ "Check this box if you want to automatically use the registered username as "
660
+ "the submitted-post author. Note: this really should only be used when "
661
+ "requiring log-in for submissions."
662
+ msgstr ""
663
+ "Markieren Sie dieses Kästchen, wenn Sie automatisch die registrierten "
664
+ "Benutzernamen als Beitrags-Autor verwenden wollen. Hinweis: Dies sollten nur "
665
+ "verwendet werden, wenn eine Anmeldung zur Übermittlung erforderlich ist."
666
+
667
+ #: ../user-submitted-posts.php:1293
668
+ msgid "Use registered URL for submitted URL?"
669
+ msgstr "Registrierte URL für übermittelte URL verwenden?"
670
+
671
+ #: ../user-submitted-posts.php:1295
672
+ msgid ""
673
+ "Check this box if you want to automatically use the registered user&rsquo;s "
674
+ "specified URL as the submitted-post URL. Note: this really should only be "
675
+ "used when requiring log-in for submissions."
676
+ msgstr ""
677
+ "Markieren Sie dieses Kästchen, wenn Sie die automatische Verwendung der "
678
+ "angegebenen URL des registrierten Benutzers, wie die vorgelegten-post URL "
679
+ "möchten. Hinweis: Dies sollten nur verwendet werden, wenn eine Anmeldung zur "
680
+ "Übermittlung erforderlich ist."
681
+
682
+ #: ../user-submitted-posts.php:1298
683
+ msgid "Use a hidden field for submitted category?"
684
+ msgstr "Ein ausgeblendetes Feld für eingereicht Kategorie verwenden?"
685
+
686
+ #: ../user-submitted-posts.php:1300
687
+ msgid ""
688
+ "Check this box if you want to use a hidden category field for the submitted "
689
+ "category. Note: this may be used to specify a default category for submitted "
690
+ "posts when the category field is hidden."
691
+ msgstr ""
692
+ "Markieren Sie dieses Kästchen, wenn Sie ein verstecktes Kategorie Feld für "
693
+ "die eingereichten Kategorie verwenden möchten. Hinweis: Dies kann verwendet "
694
+ "werden, um eine Standardkategorie für eingereicht Beiträge zu vergeben, wenn "
695
+ "die Kategorie Feld wird ausgeblendet."
696
+
697
+ #: ../user-submitted-posts.php:1303
698
+ msgid "Category ID for hidden field"
699
+ msgstr "Kategorie-ID für verstecktes Feld"
700
+
701
+ #: ../user-submitted-posts.php:1305
702
+ msgid ""
703
+ "Specify a cateogry (ID) to use as the default category when using the &ldquo;"
704
+ "hidden field&rdquo; option."
705
+ msgstr ""
706
+ "Vergeben Sie eine Kategorie (ID), die als Standard Kategorie verwendet wird, "
707
+ "wenn Sie die Option \"verstecktes Feld\" nutzen."
708
+
709
+ #: ../user-submitted-posts.php:1309
710
+ msgid "Challenge Question (Captcha)"
711
+ msgstr "Sicherheitsfrage (CAPTCHA)"
712
+
713
+ #: ../user-submitted-posts.php:1313
714
+ msgid "Challenge Question"
715
+ msgstr "Sicherheitsfrage"
716
+
717
+ #: ../user-submitted-posts.php:1315
718
+ msgid ""
719
+ "To prevent spam, enter a question that users must answer before submitting "
720
+ "the form."
721
+ msgstr ""
722
+ "Um Spam zu vermeiden, geben Sie eine Frage ein, die Benutzer beantworten "
723
+ "müssen, bevor Sie das Formular abschicken."
724
+
725
+ #: ../user-submitted-posts.php:1318
726
+ msgid "Challenge Response"
727
+ msgstr "Sicherheits Antwort"
728
+
729
+ #: ../user-submitted-posts.php:1320
730
+ msgid "Enter the <em>only</em> correct answer to the challenge question."
731
+ msgstr ""
732
+ "Geben Sie die <em>einzige</em> richtige Antwort auf die Sicherheitsfrage ein."
733
+
734
+ #: ../user-submitted-posts.php:1323
735
+ msgid "Case-sensitivity"
736
+ msgstr "Groß-und Kleinschreibung"
737
+
738
+ #: ../user-submitted-posts.php:1325
739
+ msgid "Check this box if you want the challenge response to be case-sensitive."
740
+ msgstr ""
741
+ "Aktivieren Sie dieses Kontrollkästchen, wenn bei der Sicherheitsfrage auf "
742
+ "die Groß-/Kleinschreibung geachtet werden soll."
743
+
744
+ #: ../user-submitted-posts.php:1329
745
+ msgid "Image Uploads"
746
+ msgstr "Foto Uploads"
747
+
748
+ #: ../user-submitted-posts.php:1333
749
+ msgid "Upload Message"
750
+ msgstr "Nachricht hochladen"
751
+
752
+ #: ../user-submitted-posts.php:1335
753
+ msgid ""
754
+ "This is the message that appears next to upload field. Useful to state your "
755
+ "upload guidelines/rules/etc."
756
+ msgstr ""
757
+ "Dies ist die Nachricht, die neben dem Upload-Feld angezeigt wird. Nützlich, "
758
+ "zur Festlegung der Upload Richtlinien/Regeln/etc."
759
+
760
+ #: ../user-submitted-posts.php:1338
761
+ msgid "&ldquo;Add another image&rdquo; link"
762
+ msgstr "&ldquo;ein weiteres Bild hinzufügen&rdquo; Link"
763
+
764
+ #: ../user-submitted-posts.php:1340
765
+ msgid ""
766
+ "Here you may specify your own custom markup for the &ldquo;Add another "
767
+ "image&rdquo; link (leave blank to use the default markup)."
768
+ msgstr ""
769
+ "Hier können Sie eigene benutzerdefinierte Markup für den &ldquo;Ein anderes "
770
+ "Bild hinzufügen&rdquo; Link angeben (leer lassen, um die Standard-Markup zu "
771
+ "verwenden)."
772
+
773
+ #: ../user-submitted-posts.php:1343
774
+ msgid "Minimum number of images"
775
+ msgstr "Minimale Anzahl von Bildern"
776
+
777
+ #: ../user-submitted-posts.php:1346
778
+ msgid "Specify the <em>minimum</em> number of images."
779
+ msgstr "Die <em>minimale</em> Anzahl von Bildern angeben."
780
+
781
+ #: ../user-submitted-posts.php:1350
782
+ msgid "Maximum number of images"
783
+ msgstr "Maximale Anzahl von Bildern"
784
+
785
+ #: ../user-submitted-posts.php:1353
786
+ msgid "Specify the <em>maximum</em> number of images."
787
+ msgstr "Die <em>maximale</em> Anzahl von Bildern angeben."
788
+
789
+ #: ../user-submitted-posts.php:1357
790
+ msgid "Minimum image width"
791
+ msgstr "Minimale Bildbreite"
792
+
793
+ #: ../user-submitted-posts.php:1359
794
+ msgid "Specify a <em>minimum width</em> (in pixels) for uploaded images."
795
+ msgstr ""
796
+ "Geben Sie eine <em>minimale Breite</em> (in Pixel) für hochgeladene Bilder "
797
+ "an."
798
+
799
+ #: ../user-submitted-posts.php:1362
800
+ msgid "Minimum image height"
801
+ msgstr "Minimale Bildhöhe"
802
+
803
+ #: ../user-submitted-posts.php:1364
804
+ msgid "Specify a <em>minimum height</em> (in pixels) for uploaded images."
805
+ msgstr ""
806
+ "Geben Sie eine <em>minimale Höhe</em> (in Pixel) für hochgeladene Bilder an."
807
+
808
+ #: ../user-submitted-posts.php:1367
809
+ msgid "Maximum image width"
810
+ msgstr "Maximale Bildbreite"
811
+
812
+ #: ../user-submitted-posts.php:1369
813
+ msgid "Specify a <em>maximum width</em> (in pixels) for uploaded images."
814
+ msgstr ""
815
+ "Geben Sie eine <em>maximale Breite</em> (in Pixel) für die hochgeladenen "
816
+ "Bilder an."
817
+
818
+ #: ../user-submitted-posts.php:1372
819
+ msgid "Maximum image height"
820
+ msgstr "Maximale Bildhöhe"
821
+
822
+ #: ../user-submitted-posts.php:1374
823
+ msgid "Specify a <em>maximum height</em> (in pixels) for uploaded images."
824
+ msgstr ""
825
+ "Geben Sie eine <em>maximale Höhe</em> (in Pixel) für hochgeladene Bilder an."
826
+
827
+ #: ../user-submitted-posts.php:1378 ../user-submitted-posts.php:1406
828
+ msgid "Save Settings"
829
+ msgstr "Einstellungen speichern"
830
+
831
+ #: ../user-submitted-posts.php:1382
832
+ msgid "Shortcode &amp; Template Tag"
833
+ msgstr "Shortcode &amp; Template Tag"
834
+
835
+ #: ../user-submitted-posts.php:1385
836
+ msgid "Shortcode"
837
+ msgstr "Shortcode"
838
+
839
+ #: ../user-submitted-posts.php:1386
840
+ msgid "Use this shortcode to display the USP Form on any post or page:"
841
+ msgstr ""
842
+ "Verwenden Sie diesen Shortcode um das USP-Formular in jeden Beitrag oder "
843
+ "Seite anzuzeigen:"
844
+
845
+ #: ../user-submitted-posts.php:1389
846
+ msgid "Template tag"
847
+ msgstr "Template-Tag"
848
+
849
+ #: ../user-submitted-posts.php:1390
850
+ msgid ""
851
+ "Use this template tag to display the USP Form anywhere in your theme "
852
+ "template:"
853
+ msgstr ""
854
+ "Verwenden Sie dieses Template-Tag, um das USP-Formular überall in der Design-"
855
+ "Vorlage anzuzeigen:"
856
+
857
+ #: ../user-submitted-posts.php:1395
858
+ msgid "Restore Default Options"
859
+ msgstr "Standardeinstellungen wiederherstellen"
860
+
861
+ #: ../user-submitted-posts.php:1399
862
+ msgid "Restore default options upon plugin deactivation/reactivation."
863
+ msgstr ""
864
+ "Wiederherstellen von Standard-Optionen bei Plugin-Deaktivierung/"
865
+ "Reaktivierung."
866
+
867
+ #: ../user-submitted-posts.php:1403
868
+ msgid ""
869
+ "<strong>Tip:</strong> leave this option unchecked to remember your settings. "
870
+ "Or, to go ahead and restore all default options, check the box, save your "
871
+ "settings, and then deactivate/reactivate the plugin."
872
+ msgstr ""
873
+ "<strong>Tipp:</strong> lassen Sie diese Option deaktiviert, um sich Ihrer "
874
+ "Einstellungen zu erinnern. Oder fahren Sie fort damit alle Standard-Optionen "
875
+ "wieder herzustellen, aktivieren Sie das Kontrollkästchen, Speichern Sie Ihre "
876
+ "Einstellungen und dann deaktivieren/reaktivieren Sie das Plugin."
877
+
878
+ #: ../user-submitted-posts.php:1410
879
+ msgid "Updates &amp; Info"
880
+ msgstr "Updates &amp; Info"
881
+
882
+ #: ../user-submitted-posts.php:1450
883
+ msgid "Save Preference"
884
+ msgstr "Voreinstellungen speichern"
885
+
886
+ #: ../user-submitted-posts.php:1456
887
+ msgid ""
888
+ "Are you sure you want to restore all default options? (this action cannot be "
889
+ "undone)"
890
+ msgstr ""
891
+ "Sind Sie sicher, dass Sie alle Standardoptionen wiederherstellen möchten? "
892
+ "(diese Aktion kann nicht rückgängig gemacht werden)"
893
+
894
+ #: ../views/submission-form.php:32 ../views/submission-form.php:33 ..
895
+ #: /custom/submission-form.php:37 ../custom/submission-form.php:38
896
+ msgid "Your Name"
897
+ msgstr "Ihr Name"
898
+
899
+ #: ../views/submission-form.php:38 ../views/submission-form.php:39 ..
900
+ #: /custom/submission-form.php:42 ../custom/submission-form.php:43
901
+ msgid "Your URL"
902
+ msgstr "Ihre URL"
903
+
904
+ #: ../views/submission-form.php:44 ../views/submission-form.php:45
905
+ msgid "Your Email"
906
+ msgstr "Ihre eMail"
907
+
908
+ #: ../views/submission-form.php:63 ../custom/submission-form.php:58
909
+ msgid "Antispam Question"
910
+ msgstr "Antispam Frage"
911
+
912
+ #: ../views/submission-form.php:70 ../custom/submission-form.php:64
913
+ msgid "Please select a category.."
914
+ msgstr "Bitte wählen Sie eine Kategorie.."
915
+
916
+ #: ../views/submission-form.php:112 ../custom/submission-form.php:98
917
+ msgid "Upload an Image"
918
+ msgstr "Ein Bild hochladen"
919
+
920
+ #: ../views/submission-form.php:120 ../custom/submission-form.php:106
921
+ msgid "Add another image"
922
+ msgstr "Ein anderes Bild hinzufügen"
923
+
924
+ #: ../views/submission-form.php:141 ../custom/submission-form.php:124
925
+ msgid "Human verification: leave this field empty."
926
+ msgstr "Menschliche Überprüfung: lassen Sie dieses Feld leer."
927
+
928
+ #: ../views/submission-form.php:162 ../custom/submission-form.php:140
929
+ msgid "Submit Post"
930
+ msgstr "Beitrag absenden"
languages/usp-es_ES.mo ADDED
Binary file
languages/usp-es_ES.po ADDED
@@ -0,0 +1,999 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: User Submitted Posts\n"
4
+ "POT-Creation-Date: 2015-03-26 10:12+0100\n"
5
+ "PO-Revision-Date: 2015-03-26 10:22+0100\n"
6
+ "Last-Translator: Maria Iglesias <miglesias@globalcultura.com>\n"
7
+ "Language-Team: Clara Roldán <clara.roldan@usacd.com>\n"
8
+ "Language: es_ES\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.7.5\n"
13
+ "X-Poedit-KeywordsList: __;_e;_n;_x\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../user-submitted-posts.php:24 ../user-submitted-posts.php:66
20
+ msgid "User Submitted Posts"
21
+ msgstr "User Submitted Posts"
22
+
23
+ #: ../user-submitted-posts.php:53
24
+ msgid "requires WordPress "
25
+ msgstr "requiere Wordpress "
26
+
27
+ #: ../user-submitted-posts.php:53
28
+ msgid " or higher, and has been deactivated!"
29
+ msgstr " o superior y ha sido desactivado!"
30
+
31
+ #: ../user-submitted-posts.php:54
32
+ msgid "Please return to the "
33
+ msgstr "Por favor regrese a "
34
+
35
+ #: ../user-submitted-posts.php:54
36
+ msgid "WordPress Admin area"
37
+ msgstr "&Aacute;rea de Administraci&oacute;n de Wordpress"
38
+
39
+ #: ../user-submitted-posts.php:54
40
+ msgid "to upgrade WordPress and try again."
41
+ msgstr "para actualizar Wordpress y vuelva a intentarlo"
42
+
43
+ #: ../user-submitted-posts.php:66
44
+ msgid "Submitted"
45
+ msgstr "Enviado"
46
+
47
+ #: ../user-submitted-posts.php:179
48
+ msgid "User Submitted Post Info"
49
+ msgstr "User Submitted Post Información"
50
+
51
+ #: ../user-submitted-posts.php:196
52
+ msgid "Submitter Name: "
53
+ msgstr "Nombre del remitente: "
54
+
55
+ #: ../user-submitted-posts.php:197
56
+ msgid "Submitter Email: "
57
+ msgstr "Email de remitente: "
58
+
59
+ #: ../user-submitted-posts.php:198
60
+ msgid "Submitter URL: "
61
+ msgstr "URL del remitente: "
62
+
63
+ #: ../user-submitted-posts.php:199
64
+ msgid "Submitter IP: "
65
+ msgstr "IP del remitente: "
66
+
67
+ #: ../user-submitted-posts.php:326
68
+ msgid "USP"
69
+ msgstr "USP"
70
+
71
+ #: ../user-submitted-posts.php:666
72
+ msgid " files required"
73
+ msgstr " archivos requeridos"
74
+
75
+ #: ../user-submitted-posts.php:667
76
+ msgid " file required"
77
+ msgstr " archivo requerido"
78
+
79
+ #: ../user-submitted-posts.php:669
80
+ msgid " files"
81
+ msgstr " archivos"
82
+
83
+ #: ../user-submitted-posts.php:670
84
+ msgid " file"
85
+ msgstr " archivo"
86
+
87
+ #: ../user-submitted-posts.php:672 ../user-submitted-posts.php:673
88
+ #: ../user-submitted-posts.php:674 ../user-submitted-posts.php:675
89
+ msgid " pixels"
90
+ msgstr " pixeles"
91
+
92
+ #: ../user-submitted-posts.php:678
93
+ msgid "An error occurred. Please go back and try again."
94
+ msgstr ""
95
+ "Ha ocurrido un error. Vuelve atr&aacute;s e int&eacute;ntalo de nuevo, por "
96
+ "favor"
97
+
98
+ #: ../user-submitted-posts.php:685
99
+ msgid "User login required"
100
+ msgstr "Login requerido"
101
+
102
+ #: ../user-submitted-posts.php:686
103
+ msgid "User name required"
104
+ msgstr "Nombre de usuario requerido"
105
+
106
+ #: ../user-submitted-posts.php:687
107
+ msgid "Post title required"
108
+ msgstr "Título de la entrada requerido"
109
+
110
+ #: ../user-submitted-posts.php:688
111
+ msgid "Post url required"
112
+ msgstr "URL de la entrada requerida"
113
+
114
+ #: ../user-submitted-posts.php:689
115
+ msgid "Post tags required"
116
+ msgstr "Etiquetas del post requeridas"
117
+
118
+ #: ../user-submitted-posts.php:690
119
+ msgid "Post category required"
120
+ msgstr "Categoría de la entrada requerida"
121
+
122
+ #: ../user-submitted-posts.php:691
123
+ msgid "Post content required"
124
+ msgstr "Contenido de la entrada requerido"
125
+
126
+ #: ../user-submitted-posts.php:692
127
+ msgid "Correct captcha required"
128
+ msgstr "Captcha correcto requerido"
129
+
130
+ #: ../user-submitted-posts.php:693
131
+ msgid "User email required"
132
+ msgstr "Email de usuario requerido"
133
+
134
+ #: ../user-submitted-posts.php:694
135
+ msgid "Non-empty value for hidden field"
136
+ msgstr "Valor no vacío para campo oculto"
137
+
138
+ #: ../user-submitted-posts.php:695
139
+ msgid "Minimum number of images not met"
140
+ msgstr "No se cumple el mínimo de imágenes requerido"
141
+
142
+ #: ../user-submitted-posts.php:696
143
+ msgid "Maximum number of images exceeded "
144
+ msgstr "Se ha excedido el número máximo de imágenes "
145
+
146
+ #: ../user-submitted-posts.php:697
147
+ msgid "Minimum image width not met"
148
+ msgstr "La imagen no tiene el ancho mínimo requerido"
149
+
150
+ #: ../user-submitted-posts.php:698
151
+ msgid "Image width exceeds maximum"
152
+ msgstr "El ancho de la imagen excede el máximo permitido"
153
+
154
+ #: ../user-submitted-posts.php:699
155
+ msgid "Minimum image height not met"
156
+ msgstr "La imagen no tiene el alto mínimo requerido"
157
+
158
+ #: ../user-submitted-posts.php:700
159
+ msgid "Image height exceeds maximum"
160
+ msgstr "El alto de la imagen excede el máximo permitido"
161
+
162
+ #: ../user-submitted-posts.php:701
163
+ msgid "File type not allowed (please upload images only)"
164
+ msgstr "Tipo de archivo no permitido (por favor adjunta sólo imágenes)"
165
+
166
+ #: ../user-submitted-posts.php:702
167
+ msgid "The selected files could not be uploaded to the server"
168
+ msgstr "Los archivos seleccionados no se han podido subir al servidor"
169
+
170
+ #: ../user-submitted-posts.php:703
171
+ msgid "The file(s) could not be uploaded"
172
+ msgstr "El/los archivo/s no se han podido subir"
173
+
174
+ #: ../user-submitted-posts.php:706
175
+ msgid "Post not created. Please contact the site administrator for help."
176
+ msgstr ""
177
+ "La entrada no ha sido creada. Por favor contacta con el administrador del "
178
+ "sitio"
179
+
180
+ #: ../user-submitted-posts.php:707
181
+ msgid "Duplicate post title. Please try again."
182
+ msgstr "Título de la entrada duplicado. Por favor, prueba otra vez"
183
+
184
+ #: ../user-submitted-posts.php:713
185
+ msgid "Error: "
186
+ msgstr "Error: "
187
+
188
+ #: ../user-submitted-posts.php:726
189
+ msgid "Settings"
190
+ msgstr "Configuraci&oacute;n"
191
+
192
+ #: ../user-submitted-posts.php:765
193
+ msgid ""
194
+ "There was an error. Please ensure that you have added a title, some content, "
195
+ "and that you have uploaded only images."
196
+ msgstr ""
197
+ "Se ha producido un error. Por favor, aseg&uacute;rate de que has incluido "
198
+ "el t&iacute;tulo, has a&ntilde;adido alg&uacute;n contenido y, si has "
199
+ "adjuntado un archivo, aeg&uacute;rate de que es una imagen"
200
+
201
+ #: ../user-submitted-posts.php:772 ../user-submitted-posts.php:773
202
+ #: ../user-submitted-posts.php:775 ../user-submitted-posts.php:776
203
+ #: ../user-submitted-posts.php:777 ../user-submitted-posts.php:784
204
+ #: ../user-submitted-posts.php:785
205
+ msgid "show"
206
+ msgstr ""
207
+
208
+ #: ../user-submitted-posts.php:774 ../user-submitted-posts.php:778
209
+ msgid "hide"
210
+ msgstr ""
211
+
212
+ #: ../user-submitted-posts.php:779
213
+ msgid "Please select your image(s) to upload."
214
+ msgstr ""
215
+
216
+ #: ../user-submitted-posts.php:786
217
+ msgid "Success! Thank you for your submission."
218
+ msgstr ""
219
+
220
+ #: ../user-submitted-posts.php:811
221
+ msgid "HTML5 form + CSS (<small><em>Recommended</em></small>)"
222
+ msgstr ""
223
+
224
+ #: ../user-submitted-posts.php:815
225
+ msgid ""
226
+ "Custom form + CSS (<small><em>You must provide the template for this "
227
+ "option*</em></small>)"
228
+ msgstr ""
229
+
230
+ #: ../user-submitted-posts.php:819
231
+ msgid "Disable stylesheet"
232
+ msgstr "Desactivar estilo"
233
+
234
+ #: ../user-submitted-posts.php:1022
235
+ msgid "Toggle all panels"
236
+ msgstr "Alternar los paneles"
237
+
238
+ #: ../user-submitted-posts.php:1031
239
+ msgid "User Submitted Posts needs your support!"
240
+ msgstr ""
241
+
242
+ #: ../user-submitted-posts.php:1035
243
+ msgid "Please"
244
+ msgstr ""
245
+
246
+ #: ../user-submitted-posts.php:1035
247
+ msgid "Make a donation via PayPal"
248
+ msgstr ""
249
+
250
+ #: ../user-submitted-posts.php:1035
251
+ msgid "make a donation"
252
+ msgstr ""
253
+
254
+ #: ../user-submitted-posts.php:1035
255
+ msgid "and/or"
256
+ msgstr ""
257
+
258
+ #: ../user-submitted-posts.php:1036
259
+ msgid "Rate and review at the Plugin Directory"
260
+ msgstr ""
261
+
262
+ #: ../user-submitted-posts.php:1037
263
+ msgid "give it a 5-star rating"
264
+ msgstr ""
265
+
266
+ #: ../user-submitted-posts.php:1041
267
+ msgid ""
268
+ "Your generous support enables continued development of this free plugin. "
269
+ "Thank you!"
270
+ msgstr ""
271
+
272
+ #: ../user-submitted-posts.php:1046
273
+ msgid "Check this box if you have shown support"
274
+ msgstr ""
275
+
276
+ #: ../user-submitted-posts.php:1054
277
+ msgid "Overview"
278
+ msgstr "Generalidades"
279
+
280
+ #: ../user-submitted-posts.php:1058
281
+ msgid ""
282
+ "(USP) enables your visitors to submit posts and upload images from anywhere "
283
+ "on your site."
284
+ msgstr ""
285
+
286
+ #: ../user-submitted-posts.php:1059
287
+ msgid ""
288
+ "To implement, configure the plugin settings and include the USP form in any "
289
+ "post or page via shortcode or anywhere in your theme via template tag."
290
+ msgstr ""
291
+
292
+ #: ../user-submitted-posts.php:1060
293
+ msgid "For more functionality check out"
294
+ msgstr ""
295
+
296
+ #: ../user-submitted-posts.php:1061
297
+ msgid "&mdash; the ultimate solution for unlimited front-end forms."
298
+ msgstr ""
299
+
300
+ #: ../user-submitted-posts.php:1065
301
+ msgid "Configure settings"
302
+ msgstr ""
303
+
304
+ #: ../user-submitted-posts.php:1066
305
+ msgid "Get the shortcode &amp; template tag"
306
+ msgstr ""
307
+
308
+ #: ../user-submitted-posts.php:1068
309
+ msgid "More info:"
310
+ msgstr ""
311
+
312
+ #: ../user-submitted-posts.php:1069 ../user-submitted-posts.php:1168
313
+ msgid "and"
314
+ msgstr "y"
315
+
316
+ #: ../user-submitted-posts.php:1069
317
+ msgid "homepage"
318
+ msgstr ""
319
+
320
+ #: ../user-submitted-posts.php:1071
321
+ msgid "If you like USP, please"
322
+ msgstr ""
323
+
324
+ #: ../user-submitted-posts.php:1072
325
+ msgid "Rate and review this plugin at the WP Plugin Directory"
326
+ msgstr ""
327
+
328
+ #: ../user-submitted-posts.php:1073
329
+ msgid "rate it at WordPress.org"
330
+ msgstr ""
331
+
332
+ #: ../user-submitted-posts.php:1085
333
+ msgid "Options"
334
+ msgstr "Opciones"
335
+
336
+ #: ../user-submitted-posts.php:1087
337
+ msgid ""
338
+ "Here you may configure options for USP. See the <code>readme.txt</code> for "
339
+ "more information."
340
+ msgstr ""
341
+ "Aqu&iacute; puede configurar las opciones para USP. Vea <code>readme.txt</"
342
+ "code> para obtener m&aacute;s informaci&oacute;n."
343
+
344
+ #: ../user-submitted-posts.php:1088
345
+ msgid "Show/Hide Form Fields"
346
+ msgstr ""
347
+
348
+ #: ../user-submitted-posts.php:1092 ../user-submitted-posts.php:1098
349
+ #: ../user-submitted-posts.php:1104 ../user-submitted-posts.php:1110
350
+ #: ../user-submitted-posts.php:1116 ../user-submitted-posts.php:1122
351
+ #: ../user-submitted-posts.php:1128 ../user-submitted-posts.php:1134
352
+ #: ../user-submitted-posts.php:1140
353
+ msgid "Show"
354
+ msgstr "Mostrar"
355
+
356
+ #: ../user-submitted-posts.php:1093 ../user-submitted-posts.php:1099
357
+ #: ../user-submitted-posts.php:1105 ../user-submitted-posts.php:1111
358
+ #: ../user-submitted-posts.php:1117 ../user-submitted-posts.php:1123
359
+ #: ../user-submitted-posts.php:1129 ../user-submitted-posts.php:1135
360
+ #: ../user-submitted-posts.php:1141
361
+ msgid "Hide"
362
+ msgstr "Ocultar"
363
+
364
+ #: ../user-submitted-posts.php:1094
365
+ msgid "User Name"
366
+ msgstr "Nombre de usuario"
367
+
368
+ #: ../user-submitted-posts.php:1100
369
+ msgid "User Email"
370
+ msgstr "Email de usuario"
371
+
372
+ #: ../user-submitted-posts.php:1106
373
+ msgid "Post URL"
374
+ msgstr "URL"
375
+
376
+ #: ../user-submitted-posts.php:1112 ../views/submission-form.php:50
377
+ #: ../views/submission-form.php:51
378
+ msgid "Post Title"
379
+ msgstr "T&iacute;tulo de la entrada"
380
+
381
+ #: ../user-submitted-posts.php:1118 ../views/submission-form.php:56
382
+ #: ../views/submission-form.php:57
383
+ msgid "Post Tags"
384
+ msgstr "Etiquetas"
385
+
386
+ #: ../user-submitted-posts.php:1124 ../views/submission-form.php:68
387
+ msgid "Post Category"
388
+ msgstr "Categor&iacute;a"
389
+
390
+ #: ../user-submitted-posts.php:1130 ../views/submission-form.php:103
391
+ #: ../views/submission-form.php:104
392
+ msgid "Post Content"
393
+ msgstr "Contenido"
394
+
395
+ #: ../user-submitted-posts.php:1136
396
+ msgid "Post Images"
397
+ msgstr "Im&aacute;genes"
398
+
399
+ #: ../user-submitted-posts.php:1142
400
+ msgid "Challenge question (Captcha)"
401
+ msgstr "Captcha"
402
+
403
+ #: ../user-submitted-posts.php:1145
404
+ msgid "General Form Options"
405
+ msgstr ""
406
+
407
+ #: ../user-submitted-posts.php:1149
408
+ msgid "Form style"
409
+ msgstr "Estilo"
410
+
411
+ #: ../user-submitted-posts.php:1167
412
+ msgid ""
413
+ "* If &ldquo;Custom&rdquo; is selected, you must upload your own template "
414
+ "files,"
415
+ msgstr ""
416
+
417
+ #: ../user-submitted-posts.php:1169
418
+ msgid "Note: list of CSS selectors available at "
419
+ msgstr ""
420
+
421
+ #: ../user-submitted-posts.php:1169
422
+ msgid "CSS selectors for User Submitted Posts"
423
+ msgstr ""
424
+
425
+ #: ../user-submitted-posts.php:1174
426
+ msgid "Include JavaScript?"
427
+ msgstr "&iquest;Incluir Javascript?"
428
+
429
+ #: ../user-submitted-posts.php:1176
430
+ msgid ""
431
+ "Check this box if you want to include the external JavaScript files "
432
+ "(recommended)."
433
+ msgstr ""
434
+
435
+ #: ../user-submitted-posts.php:1179
436
+ msgid "Targeted Loading"
437
+ msgstr ""
438
+
439
+ #: ../user-submitted-posts.php:1181
440
+ msgid ""
441
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
442
+ "Here you may specify the URL of the USP form to load resources only on that "
443
+ "page. Note: leave blank to load on all pages."
444
+ msgstr ""
445
+ "Cuando est&aacute; habilitado, los archivos CSS y Javascript externos se "
446
+ "cargan en cada p&aacute;gina. Puede especificar la URL del formulario de USP "
447
+ "para cargar los recursos s&oacute;lo en esa p&aacute;gina. Nota: dejar en "
448
+ "blanco para cargar en todas las p&aacute;ginas."
449
+
450
+ #: ../user-submitted-posts.php:1184
451
+ msgid "Categories"
452
+ msgstr "Categor&iacute;as"
453
+
454
+ #: ../user-submitted-posts.php:1197
455
+ msgid "Select which categories may be assigned to submitted posts."
456
+ msgstr ""
457
+ "Seleccione las categor&iacute;s que pueden ser asignadas a las entradas "
458
+ "enviadas"
459
+
460
+ #: ../user-submitted-posts.php:1201
461
+ msgid "Assigned Author"
462
+ msgstr "Autor asignado"
463
+
464
+ #: ../user-submitted-posts.php:1211
465
+ msgid ""
466
+ "Specify the user that should be assigned as author for user-submitted posts."
467
+ msgstr ""
468
+ "Especifique el usuario que debe ser asignado como autor de los mensajes "
469
+ "enviados por los usuarios."
470
+
471
+ #: ../user-submitted-posts.php:1215
472
+ msgid "Auto Publish?"
473
+ msgstr "&iquest;Autopublicar?"
474
+
475
+ #: ../user-submitted-posts.php:1218
476
+ msgid "Always moderate"
477
+ msgstr "Moderar siempre"
478
+
479
+ #: ../user-submitted-posts.php:1219
480
+ msgid "Always publish immediately"
481
+ msgstr "Publicar siempre inmediatamente"
482
+
483
+ #: ../user-submitted-posts.php:1224
484
+ msgid ""
485
+ "For submitted posts, you can always moderate (recommended), publish "
486
+ "immediately, or publish after any number of approved posts."
487
+ msgstr ""
488
+ "Las entradas enviadas, pueden guardarse siempre para moderaci&oacute;n "
489
+ "(recomendado), publicarse inmediatamente, o publicarse autom&aacute;"
490
+ "ticamente despu&eacute;s de un n&uacute;mero determinado de env&iacute;os."
491
+
492
+ #: ../user-submitted-posts.php:1228
493
+ msgid "Receive Email Alert"
494
+ msgstr "Recibir alerta por correo electr&oacute;nico"
495
+
496
+ #: ../user-submitted-posts.php:1230
497
+ msgid ""
498
+ "Check this box if you want to be notified via email for new post submissions."
499
+ msgstr ""
500
+ "Marque esta casilla si desea recibir una notificaci&oacute;n por correo "
501
+ "electr&oacute;nico de nuevos env&iacute;os de entradas."
502
+
503
+ #: ../user-submitted-posts.php:1233
504
+ msgid "Enable Rich Text Editor"
505
+ msgstr "Habilitar editor de texto enriquecido"
506
+
507
+ #: ../user-submitted-posts.php:1235
508
+ msgid ""
509
+ "Check this box if you want to enable WP rich text editing for submitted "
510
+ "posts."
511
+ msgstr ""
512
+ "Marque esta casilla si desea habilitar la edici&oacute;n de texto "
513
+ "enriquecido para las entradas."
514
+
515
+ #: ../user-submitted-posts.php:1238
516
+ msgid "Set Uploaded Image as Featured Image"
517
+ msgstr "Establecer la imagen enviada como Imagen destacada de la entrada"
518
+
519
+ #: ../user-submitted-posts.php:1240
520
+ msgid ""
521
+ "Check this box if you want to set submitted images as Featured Images (aka "
522
+ "Post Thumbnails) for posts. \n"
523
+ "\t\t\t\t\t\t\t\t\t\t\tNote: your theme&rsquo;s single.php file must include"
524
+ msgstr ""
525
+ "Marque esta casilla si desea establecer las im&aacute;genes enviadas como "
526
+ "im&aacute;genes destacadas (Miniaturas) para las entradas. Aviso: el archivo "
527
+ "single.php de su tema debe incluir"
528
+
529
+ #: ../user-submitted-posts.php:1241
530
+ msgid "to display Featured Images."
531
+ msgstr "para mostrar Miniaturas"
532
+
533
+ #: ../user-submitted-posts.php:1244
534
+ msgid "Email Address for Alerts"
535
+ msgstr "Direcci&oacute;n de correo electr&oacute;nico para las alertas"
536
+
537
+ #: ../user-submitted-posts.php:1246
538
+ msgid ""
539
+ "If you checked the box to receive email alerts, indicate here the "
540
+ "address(es) to which the emails should be sent."
541
+ msgstr ""
542
+ "Si marc&oacute; la casilla para recibir alertas de correo electr&oacute;"
543
+ "nico, indique aqu&iacute; la/s direcci&oacute;n/es a la que los mensajes de "
544
+ "correo electr&oacute;nico se deben enviar."
545
+
546
+ #: ../user-submitted-posts.php:1247
547
+ msgid "Tip: multiple addresses may be included using a comma, like so:"
548
+ msgstr ""
549
+ "Consejo: pueden incluirse varias direcciones, separ&aacute;ndolas mediante "
550
+ "comas, por ejemplo: "
551
+
552
+ #: ../user-submitted-posts.php:1250
553
+ msgid "Redirect URL"
554
+ msgstr "URL para redirecci&oacute;n"
555
+
556
+ #: ../user-submitted-posts.php:1252
557
+ msgid ""
558
+ "Specify a URL to redirect the user after post-submission. Note: leave blank "
559
+ "to redirect back to current page."
560
+ msgstr ""
561
+ "Especifique una URL para redireccionar al usuario despu&eacute;s del "
562
+ "env&iacute;o de la entrada. Nota: dejar en blanco para redirigir a la misma "
563
+ "p&aacute;gina."
564
+
565
+ #: ../user-submitted-posts.php:1255
566
+ msgid "Success Message"
567
+ msgstr "Mensaje de env&iacute;o correcto"
568
+
569
+ #: ../user-submitted-posts.php:1257
570
+ msgid ""
571
+ "This is the success message that is displayed if post-submission is "
572
+ "successful."
573
+ msgstr ""
574
+ "Este es el mensaje que se muestra si la entrada se ha enviado con &eacute;"
575
+ "xito"
576
+
577
+ #: ../user-submitted-posts.php:1260
578
+ msgid "Error Message"
579
+ msgstr "Mensaje de error"
580
+
581
+ #: ../user-submitted-posts.php:1262
582
+ msgid "This is the error message that is displayed if post-submission fails."
583
+ msgstr ""
584
+ "Este es el mensaje que se muestra si se ha producido alg&uacute;n error al "
585
+ "tratar de enviar la entrada"
586
+
587
+ #: ../user-submitted-posts.php:1265
588
+ msgid "Custom Content"
589
+ msgstr "Contenido personalizado"
590
+
591
+ #: ../user-submitted-posts.php:1267
592
+ msgid ""
593
+ "Here you may specify custom text/markup to be included before the submission "
594
+ "form. Note: leave blank to disable."
595
+ msgstr ""
596
+ "Aqu&iacute; usted puede especificar un texto (puede usar HTML) para ser "
597
+ "incluido en la cabecera del formulario. Nota: dejar en blanco para "
598
+ "desactivar."
599
+
600
+ #: ../user-submitted-posts.php:1270
601
+ msgid "Unique Titles"
602
+ msgstr ""
603
+
604
+ #: ../user-submitted-posts.php:1272
605
+ msgid ""
606
+ "Require submitted post titles to be unique (useful for preventing multiple/"
607
+ "duplicate submitted posts)."
608
+ msgstr ""
609
+
610
+ #: ../user-submitted-posts.php:1275
611
+ msgid "Disable Required"
612
+ msgstr ""
613
+
614
+ #: ../user-submitted-posts.php:1277
615
+ msgid ""
616
+ "Disable all required attributes on default form fields (useful for "
617
+ "troubleshooting error messages)."
618
+ msgstr ""
619
+
620
+ #: ../user-submitted-posts.php:1281
621
+ msgid "Registered User Info"
622
+ msgstr ""
623
+
624
+ #: ../user-submitted-posts.php:1285
625
+ msgid "Use registered username for author?"
626
+ msgstr "&iquestUtilizar el nombre de Usuario registrado del autor?"
627
+
628
+ #: ../user-submitted-posts.php:1287
629
+ msgid ""
630
+ "Check this box if you want to automatically use the registered username as "
631
+ "the submitted-post author. Note: this really should only be used when "
632
+ "requiring log-in for submissions."
633
+ msgstr ""
634
+ "Marque esta casilla si desea utilizar autom&aacute;ticamente el nombre de "
635
+ "usuario registrado como nombre de autor para la entrada. Nota: esto s&oacute;"
636
+ "lo se debe utilizar cuando se requiere inicio de sesi&oacute;n para los "
637
+ "env&iacute;os"
638
+
639
+ #: ../user-submitted-posts.php:1290
640
+ msgid "Use registered URL for submitted URL?"
641
+ msgstr "&iquestUtilizar la URL registrada?"
642
+
643
+ #: ../user-submitted-posts.php:1292
644
+ msgid ""
645
+ "Check this box if you want to automatically use the registered user&rsquo;s "
646
+ "specified URL as the submitted-post URL. Note: this really should only be "
647
+ "used when requiring log-in for submissions."
648
+ msgstr ""
649
+ "Marque esta casilla si desea utilizar autom&aacute;ticamente la URL "
650
+ "especificada por el usuario registrado. Nota: esto realmente soacute;lo se "
651
+ "debe utilizar cuando se requiere inicio de sesi&oacute;n para los env&iacute;"
652
+ "os"
653
+
654
+ #: ../user-submitted-posts.php:1295
655
+ msgid "Use a hidden field for submitted category?"
656
+ msgstr "&iquestUtilizar un campo oculto para la categor&iacute;a?"
657
+
658
+ #: ../user-submitted-posts.php:1297
659
+ msgid ""
660
+ "Check this box if you want to use a hidden category field for the submitted "
661
+ "category. Note: this may be used to specify a default category for submitted "
662
+ "posts when the category field is hidden."
663
+ msgstr ""
664
+ "Marque esta casilla si desea utilizar un campo de categor&iacute;a oculto. "
665
+ "Nota: esto puede ser usado para especificar una categor&iacute;a "
666
+ "predeterminada para las entradas cuando el campo de categor&iacute;a "
667
+ "estaacute; oculto."
668
+
669
+ #: ../user-submitted-posts.php:1300
670
+ msgid "Category ID for hidden field"
671
+ msgstr "ID de la categor&iacute;a para el campo oculto"
672
+
673
+ #: ../user-submitted-posts.php:1302
674
+ msgid ""
675
+ "Specify a cateogry (ID) to use as the default category when using the &ldquo;"
676
+ "hidden field&rdquo; option."
677
+ msgstr ""
678
+ "Especifique una categor&iacute;a (ID) para usar como predeterminada cuando "
679
+ "se utiliza la opci&oacute;n \"campo oculto\"."
680
+
681
+ #: ../user-submitted-posts.php:1306
682
+ msgid "Challenge Question (Captcha)"
683
+ msgstr ""
684
+
685
+ #: ../user-submitted-posts.php:1310
686
+ msgid "Challenge Question"
687
+ msgstr "Pregunta"
688
+
689
+ #: ../user-submitted-posts.php:1312
690
+ msgid ""
691
+ "To prevent spam, enter a question that users must answer before submitting "
692
+ "the form."
693
+ msgstr ""
694
+ "Para prevenir el spam, introduzca una pregunta que el autor de la entrada "
695
+ "debe responder antes de enviarla"
696
+
697
+ #: ../user-submitted-posts.php:1315
698
+ msgid "Challenge Response"
699
+ msgstr "Respuesta"
700
+
701
+ #: ../user-submitted-posts.php:1317
702
+ msgid "Enter the <em>only</em> correct answer to the challenge question."
703
+ msgstr ""
704
+ "Introduzca <em>exclusivamente</em> la respuesta correcta a la pregunta de la "
705
+ "prueba CAPTCHA"
706
+
707
+ #: ../user-submitted-posts.php:1320
708
+ msgid "Case-sensitivity"
709
+ msgstr "Distinguir may&uacute;sculas y min&uacute;sculas "
710
+
711
+ #: ../user-submitted-posts.php:1322
712
+ msgid "Check this box if you want the challenge response to be case-sensitive."
713
+ msgstr ""
714
+ "Marque esta casilla si desea que la respuesta a la prueba CAPTCHA distinga "
715
+ "entre may&uacute;sculas y min&uacute;sculas "
716
+
717
+ #: ../user-submitted-posts.php:1326
718
+ msgid "Image Uploads"
719
+ msgstr ""
720
+
721
+ #: ../user-submitted-posts.php:1330
722
+ msgid "Upload Message"
723
+ msgstr "Mensaje para adjuntar imagen"
724
+
725
+ #: ../user-submitted-posts.php:1332
726
+ msgid ""
727
+ "This is the message that appears next to upload field. Useful to state your "
728
+ "upload guidelines/rules/etc."
729
+ msgstr ""
730
+ "Este es el mensaje que aparece junto al campo de \"Adjuntar imagen\". "
731
+ "&Uacute;til para indicar las directrices, limitaciones etc."
732
+
733
+ #: ../user-submitted-posts.php:1335
734
+ msgid "&ldquo;Add another image&rdquo; link"
735
+ msgstr ""
736
+
737
+ #: ../user-submitted-posts.php:1337
738
+ msgid ""
739
+ "Here you may specify your own custom markup for the &ldquo;Add another "
740
+ "image&rdquo; link (leave blank to use the default markup)."
741
+ msgstr ""
742
+
743
+ #: ../user-submitted-posts.php:1340
744
+ msgid "Minimum number of images"
745
+ msgstr "N&uacute;mero m&iacute;nimo de im&aacute;genes"
746
+
747
+ #: ../user-submitted-posts.php:1343
748
+ msgid "Specify the <em>minimum</em> number of images."
749
+ msgstr ""
750
+ "Especificar el n&uacute;mero <em>m&iacute;nimo </em> de im&aacute;genes"
751
+
752
+ #: ../user-submitted-posts.php:1347
753
+ msgid "Maximum number of images"
754
+ msgstr "N&uacute;mero m&aacute;ximo de im&aacute;genes"
755
+
756
+ #: ../user-submitted-posts.php:1350
757
+ msgid "Specify the <em>maximum</em> number of images."
758
+ msgstr ""
759
+ "Especificar el n&uacute;mero <em> m&aacute;ximo </em> de im&aacute;genes"
760
+
761
+ #: ../user-submitted-posts.php:1354
762
+ msgid "Minimum image width"
763
+ msgstr "Ancho m&iacute;nimo de la imagen"
764
+
765
+ #: ../user-submitted-posts.php:1356
766
+ msgid "Specify a <em>minimum width</em> (in pixels) for uploaded images."
767
+ msgstr ""
768
+ "Especifique un ancho <em> m&iacute;nimo </ em> (en p&iacute;xeles) de las "
769
+ "im&aacute;genes adjuntas."
770
+
771
+ #: ../user-submitted-posts.php:1359
772
+ msgid "Minimum image height"
773
+ msgstr "Altura m&iacute;nima de la imagen"
774
+
775
+ #: ../user-submitted-posts.php:1361
776
+ msgid "Specify a <em>minimum height</em> (in pixels) for uploaded images."
777
+ msgstr ""
778
+ "Especifique una altura <em>m&iacute;nima </ em> (en p&iacute;xeles) de las "
779
+ "im&aacute;genes adjuntas."
780
+
781
+ #: ../user-submitted-posts.php:1364
782
+ msgid "Maximum image width"
783
+ msgstr "Ancho m&aacute;ximo de la imagen"
784
+
785
+ #: ../user-submitted-posts.php:1366
786
+ msgid "Specify a <em>maximum width</em> (in pixels) for uploaded images."
787
+ msgstr ""
788
+ "Especifique un ancho <em>m&aacute;ximo </ em> (en p&iacute;xeles) de las "
789
+ "im&aacute;genes adjuntas."
790
+
791
+ #: ../user-submitted-posts.php:1369
792
+ msgid "Maximum image height"
793
+ msgstr "Altura m&aacute;xima de la imagen"
794
+
795
+ #: ../user-submitted-posts.php:1371
796
+ msgid "Specify a <em>maximum height</em> (in pixels) for uploaded images."
797
+ msgstr ""
798
+ "Especifique una altura <em>m&iacute;nima </ em> (en p&iacute;xeles) de las "
799
+ "im&aacute;genes adjuntas."
800
+
801
+ #: ../user-submitted-posts.php:1375 ../user-submitted-posts.php:1403
802
+ msgid "Save Settings"
803
+ msgstr "Guardar Configuraci&oacute;n"
804
+
805
+ #: ../user-submitted-posts.php:1379
806
+ msgid "Shortcode &amp; Template Tag"
807
+ msgstr "Shortcode &amp; Etiqueta de plantilla"
808
+
809
+ #: ../user-submitted-posts.php:1382
810
+ msgid "Shortcode"
811
+ msgstr ""
812
+
813
+ #: ../user-submitted-posts.php:1383
814
+ msgid "Use this shortcode to display the USP Form on any post or page:"
815
+ msgstr ""
816
+ "Utilice este Shortcode para mostrar el formulario de USP en cualquier "
817
+ "entrada o p&aacute;gina:"
818
+
819
+ #: ../user-submitted-posts.php:1386
820
+ msgid "Template tag"
821
+ msgstr "Etiqueta de plantilla"
822
+
823
+ #: ../user-submitted-posts.php:1387
824
+ msgid ""
825
+ "Use this template tag to display the USP Form anywhere in your theme "
826
+ "template:"
827
+ msgstr ""
828
+ "Utilice esta etiqueta de plantilla para visualizar el formulario de USP en "
829
+ "cualquier lugar en la plantilla de tema:"
830
+
831
+ #: ../user-submitted-posts.php:1392
832
+ msgid "Restore Default Options"
833
+ msgstr "Restaurar opciones por defecto"
834
+
835
+ #: ../user-submitted-posts.php:1396
836
+ msgid "Restore default options upon plugin deactivation/reactivation."
837
+ msgstr "Restaurar opiones por defecto al activar / desactivar"
838
+
839
+ #: ../user-submitted-posts.php:1400
840
+ msgid ""
841
+ "<strong>Tip:</strong> leave this option unchecked to remember your settings. "
842
+ "Or, to go ahead and restore all default options, check the box, save your "
843
+ "settings, and then deactivate/reactivate the plugin."
844
+ msgstr ""
845
+ "Consejo: deje esta opci&oacute;n sin marcar para recordar sus ajustes. O "
846
+ "bien, para seguir adelante y restaurar todas las opciones por defecto, "
847
+ "marque la casilla, guarde la configuraci&oacute;n, y luego desactive / "
848
+ "active el plugin."
849
+
850
+ #: ../user-submitted-posts.php:1407
851
+ msgid "Updates &amp; Info"
852
+ msgstr "Actualizaciones e Informaci&oacute;n"
853
+
854
+ #: ../user-submitted-posts.php:1447
855
+ msgid "Save Preference"
856
+ msgstr ""
857
+
858
+ #: ../user-submitted-posts.php:1453
859
+ msgid ""
860
+ "Are you sure you want to restore all default options? (this action cannot be "
861
+ "undone)"
862
+ msgstr ""
863
+ "&iquestEst&aacute; seguro de que desea restaurar todas las opciones por "
864
+ "defecto? (esta acci&oacute;n no se puede deshacer)"
865
+
866
+ #: ../views/submission-form.php:32 ../views/submission-form.php:33
867
+ msgid "Your Name"
868
+ msgstr "Tu nombre"
869
+
870
+ #: ../views/submission-form.php:38 ../views/submission-form.php:39
871
+ msgid "Your URL"
872
+ msgstr "Tu p&aacute;gina Web"
873
+
874
+ #: ../views/submission-form.php:44 ../views/submission-form.php:45
875
+ msgid "Your Email"
876
+ msgstr "Tu email"
877
+
878
+ #: ../views/submission-form.php:63
879
+ msgid "Antispam Question"
880
+ msgstr "Pregunta AntiSpam"
881
+
882
+ #: ../views/submission-form.php:70
883
+ msgid "Please select a category.."
884
+ msgstr "Por favor selecciona una categoría"
885
+
886
+ #: ../views/submission-form.php:112
887
+ msgid "Upload an Image"
888
+ msgstr "Adjuntar imagen"
889
+
890
+ #: ../views/submission-form.php:120
891
+ msgid "Add another image"
892
+ msgstr "A tra imagen"
893
+
894
+ #: ../views/submission-form.php:141
895
+ msgid "Human verification: leave this field empty."
896
+ msgstr ""
897
+
898
+ #: ../views/submission-form.php:162
899
+ msgid "Submit Post"
900
+ msgstr "Enviar publicaci&oacute;n"
901
+
902
+ #~ msgid "requires WordPress 3.3 or higher, and has been deactivated!"
903
+ #~ msgstr "requiere WordPress 3.3 o superior. Ha sido desactivado"
904
+
905
+ #~ msgid ""
906
+ #~ "(USP) enables your visitors to submit posts from anywhere on your site."
907
+ #~ msgstr ""
908
+ #~ "permite a sus visitantes enviar entradas desde cualquier lugar en su sitio"
909
+
910
+ #~ msgid ""
911
+ #~ "To implement, customize your options and then include the USP form via "
912
+ #~ "shortcode or template tag."
913
+ #~ msgstr ""
914
+ #~ "Para implementarlo, configure sus opciones y, a continuaci&oacute;n, "
915
+ #~ "incluya el formulario de USP mediante un \"shortcode\" o una etiqueta de "
916
+ #~ "plantilla."
917
+
918
+ #~ msgid ""
919
+ #~ "Use the shortcode to display the upload form on a post or page, or use "
920
+ #~ "the template tag to display the upload form anywhere in your theme "
921
+ #~ "template."
922
+ #~ msgstr ""
923
+ #~ "Use el \"shortcode\" para incluir el formulario de USP en una entrada o "
924
+ #~ "una p&aacute;gina. Use la etiqueta de plantilla para incluir el "
925
+ #~ "formulario de USP en cualquier lugar de su plantilla"
926
+
927
+ #~ msgid "To configure your settings, visit the"
928
+ #~ msgstr "Para configurar sus opciones, visite"
929
+
930
+ #~ msgid "Options panel"
931
+ #~ msgstr "Panel de opciones"
932
+
933
+ #~ msgid "For the shortcode and template tag, visit"
934
+ #~ msgstr "Para \"shortcode\" o etiqueta de plantilla"
935
+
936
+ #~ msgid "For more information check the"
937
+ #~ msgstr "Para m&aacute;s informaci&oacute;n vea "
938
+
939
+ #~ msgid "USP Homepage"
940
+ #~ msgstr "el sitio web de USP "
941
+
942
+ #~ msgid "If you like this plugin, please"
943
+ #~ msgstr "Si le gusta este plugin, por favor "
944
+
945
+ #~ msgid "Click here to rate and review this plugin on WordPress.org"
946
+ #~ msgstr ""
947
+ #~ "Haga clic aqu&iacute; para valorar y puntuar este plugin en WordPress.org"
948
+
949
+ #~ msgid "rate it at the Plugin Directory"
950
+ #~ msgstr "punt&uacute;elo en el Directorio de plugins"
951
+
952
+ #~ msgid "Show/hide the following form fields"
953
+ #~ msgstr "Mostrar/ocultar los siguientes campos del formulario"
954
+
955
+ #~ msgid "Choose some general form options"
956
+ #~ msgstr "Elija algunas opciones generales del formulario"
957
+
958
+ #~ msgid ""
959
+ #~ "HTML5 is recommended. If upgrading and the new form looks weird, choose "
960
+ #~ "the Classic version."
961
+ #~ msgstr ""
962
+ #~ "Se recomienda HTML5. Si la actualizaci&oacute;n no se ve correctamente, "
963
+ #~ "seleccione la versi&oacute;n Cl&aacute;sica"
964
+
965
+ #~ msgid ""
966
+ #~ "To disable the plugin&rsquo;s stylesheet, choose Disable. Note: complete "
967
+ #~ "list of CSS hooks for the submission form at"
968
+ #~ msgstr ""
969
+ #~ "Para deshabilitar la hoja de estilo del plugin, seleccione Deshabilitar. "
970
+ #~ "La lista completa de las etiquetas de CSS para el formulario en"
971
+
972
+ #~ msgid "CSS Hooks for User Submitted Posts"
973
+ #~ msgstr "Etiquetas CSS para User Submitted Posts"
974
+
975
+ #~ msgid ""
976
+ #~ "Check this box if you want to include the external JavaScript file. Note: "
977
+ #~ "if you&rsquo;re not allowing image uploads, leave this option unchecked."
978
+ #~ msgstr ""
979
+ #~ "Marque esta casilla si desea incluir el archivo externo de JavaScript. "
980
+ #~ "Nota: si no est&aacute; permitiendo la subida de im&aacute;genes, deje "
981
+ #~ "esta casilla sin marcar."
982
+
983
+ #~ msgid "Use registered user info"
984
+ #~ msgstr "Utilizar informaci&oacute;n de usuario registrado"
985
+
986
+ #~ msgid "Challenge question (captcha)"
987
+ #~ msgstr "Prueba CAPTCHA"
988
+
989
+ #~ msgid "Options for image uploads"
990
+ #~ msgstr "Opciones para adjuntar im&aacute;genes"
991
+
992
+ #~ msgid "No Limit"
993
+ #~ msgstr "Ilimitado"
994
+
995
+ #~ msgid "(separate with commas)"
996
+ #~ msgstr "(separadas por comas)"
997
+
998
+ #~ msgid "Classic form + styles"
999
+ #~ msgstr "Alternar todos los paneles"
languages/usp-fa_IR.mo ADDED
Binary file
languages/usp-fa_IR.po ADDED
@@ -0,0 +1,721 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: User submitted Posts\n"
4
+ "POT-Creation-Date: 2014-06-06 20:21+0330\n"
5
+ "PO-Revision-Date: 2014-06-06 22:25+0330\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: Icomp <support@icomp.ir>\n"
8
+ "Language: fa_IR\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.5\n"
13
+ "X-Poedit-Basepath: D:\\WEB\\New folder\\user-submitted-posts\n"
14
+ "Plural-Forms: nplurals=1; plural=0;\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-SearchPath-0: D:\\WEB\\New folder\\user-submitted-posts\n"
18
+
19
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:25
20
+ #: folder\user-submitted-posts/user-submitted-posts.php:60
21
+ msgid "User Submitted Posts"
22
+ msgstr "ارسال پست میهمان"
23
+
24
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:47
25
+ msgid "requires WordPress 3.5 or higher, and has been deactivated!"
26
+ msgstr ""
27
+ "افزونه نیازمند وردپرس 3.5 یا بالاتر است که نسخه وردپرس شما اینگونه نیست. "
28
+ "افزونه غیر فعال شد."
29
+
30
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:48
31
+ msgid "Please return to the "
32
+ msgstr "لطفا بازگردید به"
33
+
34
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:48
35
+ msgid "WordPress Admin area"
36
+ msgstr "پیشخوان مدیریت وردپرس"
37
+
38
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:48
39
+ msgid "to upgrade WordPress and try again."
40
+ msgstr "برای به روز رسانی وردپرس و تلاش مجدد"
41
+
42
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:60
43
+ msgid "Submitted"
44
+ msgstr "ثبت شد"
45
+
46
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:119
47
+ msgid "An error occurred. Please go back and try again."
48
+ msgstr "خطایی رخ داده. لطفا بازگردید و مجددا تلاش کنید"
49
+
50
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:256
51
+ msgid "USP"
52
+ msgstr "User Submitted Posts"
53
+
54
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:433
55
+ msgid "Settings"
56
+ msgstr "تنظیمات"
57
+
58
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:471
59
+ msgid ""
60
+ "There was an error. Please ensure that you have added a title, some content, "
61
+ "and that you have uploaded only images."
62
+ msgstr ""
63
+ "خطایی رخ داده. لطفا اطمینان حاصل کنید از آنکه همه کادر های عنوان ، محتوا "
64
+ "و... را تکمیل نموده اید."
65
+
66
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:478
67
+ #: folder\user-submitted-posts/user-submitted-posts.php:479
68
+ #: folder\user-submitted-posts/user-submitted-posts.php:480
69
+ #: folder\user-submitted-posts/user-submitted-posts.php:481
70
+ #: folder\user-submitted-posts/user-submitted-posts.php:482
71
+ #: folder\user-submitted-posts/user-submitted-posts.php:489
72
+ #: folder\user-submitted-posts/user-submitted-posts.php:490
73
+ msgid "show"
74
+ msgstr "نمایش"
75
+
76
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:483
77
+ msgid "hide"
78
+ msgstr "مخفی کردن"
79
+
80
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:484
81
+ msgid "Please select your image(s) to upload."
82
+ msgstr "لطفا عکس های موردنظرتان را برای بارگذاری انتخاب نمایید"
83
+
84
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:491
85
+ msgid "Success! Thank you for your submission."
86
+ msgstr "موفقیت آمیز بود! از پستتان ممنونیم"
87
+
88
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:514
89
+ msgid ""
90
+ "Classic form + styles (<small><em><strong>Note:</strong> the &ldquo;"
91
+ "classic&rdquo; form is deprecated and will be removed in a future version.</"
92
+ "em></small>)"
93
+ msgstr ""
94
+ "Classic form + styles (<small><em><strong>Note:</strong> the &ldquo;"
95
+ "classic&rdquo; form is deprecated and will be removed in a future version.</"
96
+ "em></small>)"
97
+
98
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:518
99
+ msgid "HTML5 form + styles"
100
+ msgstr "شیوه نامه به صورت HTML5"
101
+
102
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:522
103
+ msgid "Disable stylesheet"
104
+ msgstr "غیرفعال کردن شیوه نامه"
105
+
106
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:707
107
+ msgid "Toggle all panels"
108
+ msgstr "باز/بسته کردن همه تب ها"
109
+
110
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:715
111
+ msgid "Overview"
112
+ msgstr "درباره"
113
+
114
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:719
115
+ msgid ""
116
+ "(USP) enables your visitors to submit posts and upload images from anywhere "
117
+ "on your site."
118
+ msgstr ""
119
+ "افزونه به بازدیدکنندگانتان اجازه می دهد که مطالب و عکس هایشان در در هرحایی "
120
+ "از وب سایت شما قرار دهند."
121
+
122
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:720
123
+ msgid ""
124
+ "To implement, configure the plugin settings and include the USP form in any "
125
+ "post or page via shortcode or anywhere in your theme via template tag."
126
+ msgstr ""
127
+ "برای کارکردن ، تنظیمات افزونه را پیکر بندی کنید.سپس با استفاده از کد کوتاه "
128
+ "یا کدهای PHP داده شده ، در هر جایی از پست ها یا برگه ها یا پوسته تان ، "
129
+ "افزونه را استفاده کنید."
130
+
131
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:721
132
+ msgid "For more functionality check out"
133
+ msgstr "بررسی کنید. برای قابلیت های بیشتر"
134
+
135
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:722
136
+ msgid "&mdash; the ultimate solution for unlimited front-end forms."
137
+ msgstr ""
138
+ ".راه حل نهایی برای فرم های نامحدود<br />تر جمه به فارسی توسط گروه وبلاگ "
139
+ "نویسی <a href=\"http://icomp.ir\">آی کامپ</a><br />انجمن آی کامپ. محل "
140
+ "پاسخگویی به سوالات وبلاگ نویسان : <a href=\"http://forum.icomp.ir\">forum."
141
+ "icomp.ir</a><br />وبلاگ آی کامپ. آموزش وبلاگ نویسی ، کدهای کاربردی و... : <a "
142
+ "href=\"http://tuts.icomp.ir\">tuts.icomp.ir</a>"
143
+
144
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:726
145
+ msgid "Configure settings"
146
+ msgstr "پیکربندی تنظیمات"
147
+
148
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:727
149
+ msgid "Get the shortcode &amp; template tag"
150
+ msgstr "در یافت کدکوتاه &amp; کدپوسته"
151
+
152
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:728
153
+ msgid "More info:"
154
+ msgstr "اطلاعات بیشتر:"
155
+
156
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:728
157
+ msgid "readme.txt"
158
+ msgstr "readme.txt"
159
+
160
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:729
161
+ msgid "and"
162
+ msgstr "و"
163
+
164
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:729
165
+ msgid "homepage"
166
+ msgstr "خانه"
167
+
168
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:730
169
+ msgid "If you like USP, please"
170
+ msgstr "اگر از افزونه خوشتان آمد ، لطفا"
171
+
172
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:731
173
+ msgid "Rate and review this plugin at the WP Plugin Directory"
174
+ msgstr ""
175
+ "به این افزونه در مخزن وردپرس امتیاز دهید و نظرتان را در مورد آن به اشتراک "
176
+ "بگذارید"
177
+
178
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:732
179
+ msgid "rate it at WordPress.org"
180
+ msgstr "به افزونه در سایت وردپرس (wordpress.org) امتیاز دهید."
181
+
182
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:744
183
+ msgid "Options"
184
+ msgstr "گزینه ها"
185
+
186
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:746
187
+ msgid ""
188
+ "Here you may configure options for USP. See the <code>readme.txt</code> for "
189
+ "more information."
190
+ msgstr ""
191
+ "در اینجا می توانید تنظیمات افزونه را انجام دهید. برای اطلاعات بیشتر به "
192
+ "<code>readme.txt</code> مراجعه کنید."
193
+
194
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:747
195
+ msgid "Show/hide the following form fields"
196
+ msgstr "نمایش/مخفی کردن فیلدهای این تب"
197
+
198
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:751
199
+ #: folder\user-submitted-posts/user-submitted-posts.php:757
200
+ #: folder\user-submitted-posts/user-submitted-posts.php:763
201
+ #: folder\user-submitted-posts/user-submitted-posts.php:769
202
+ #: folder\user-submitted-posts/user-submitted-posts.php:775
203
+ #: folder\user-submitted-posts/user-submitted-posts.php:781
204
+ #: folder\user-submitted-posts/user-submitted-posts.php:787
205
+ #: folder\user-submitted-posts/user-submitted-posts.php:793
206
+ msgid "Show"
207
+ msgstr "نمایش دادن"
208
+
209
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:752
210
+ #: folder\user-submitted-posts/user-submitted-posts.php:758
211
+ #: folder\user-submitted-posts/user-submitted-posts.php:764
212
+ #: folder\user-submitted-posts/user-submitted-posts.php:770
213
+ #: folder\user-submitted-posts/user-submitted-posts.php:776
214
+ #: folder\user-submitted-posts/user-submitted-posts.php:782
215
+ #: folder\user-submitted-posts/user-submitted-posts.php:788
216
+ #: folder\user-submitted-posts/user-submitted-posts.php:794
217
+ msgid "Hide"
218
+ msgstr "مخفی کردن"
219
+
220
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:753
221
+ msgid "User Name"
222
+ msgstr "نام کاربری"
223
+
224
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:759
225
+ msgid "Post URL"
226
+ msgstr "آدرس مطلب"
227
+
228
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:765
229
+ #: folder\user-submitted-posts/views/submission-form-classic.php:46
230
+ #: folder\user-submitted-posts/views/submission-form.php:46
231
+ #: folder\user-submitted-posts/views/submission-form.php:47
232
+ msgid "Post Title"
233
+ msgstr "عنوان مطلب"
234
+
235
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:771
236
+ #: folder\user-submitted-posts/views/submission-form-classic.php:53
237
+ #: folder\user-submitted-posts/views/submission-form.php:51
238
+ #: folder\user-submitted-posts/views/submission-form.php:52
239
+ msgid "Post Tags"
240
+ msgstr "برچسب های مطلب"
241
+
242
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:777
243
+ #: folder\user-submitted-posts/views/submission-form-classic.php:60
244
+ #: folder\user-submitted-posts/views/submission-form.php:61
245
+ msgid "Post Category"
246
+ msgstr "دسته بندی مطلب"
247
+
248
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:783
249
+ #: folder\user-submitted-posts/views/submission-form-classic.php:98
250
+ #: folder\user-submitted-posts/views/submission-form.php:89
251
+ #: folder\user-submitted-posts/views/submission-form.php:90
252
+ msgid "Post Content"
253
+ msgstr "محتوا"
254
+
255
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:789
256
+ msgid "Post Images"
257
+ msgstr "تصاویر مطلب"
258
+
259
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:795
260
+ msgid "Challenge question (Captcha)"
261
+ msgstr "پرسش امنیتی (کپچا)"
262
+
263
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:798
264
+ msgid "Choose some general form options"
265
+ msgstr "برای از گزینه های کلی فرم را انتخاب نمایید"
266
+
267
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:802
268
+ msgid "Form style"
269
+ msgstr "شیوه نامه فرم"
270
+
271
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:820
272
+ msgid ""
273
+ "HTML5 is recommended. If upgrading and the new form looks weird, choose the "
274
+ "Classic version."
275
+ msgstr ""
276
+ "HTML5 قابل استفاده است. اگر پس از بروزرسانی ، استایل فرم جدید چشم نواز نبود "
277
+ "(!) می توانید از Classic Version یا فرم سنتی استفاده کنید"
278
+
279
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:821
280
+ msgid ""
281
+ "To disable the plugin&rsquo;s stylesheet, choose Disable. Note: complete "
282
+ "list of CSS hooks for the submission form at"
283
+ msgstr ""
284
+ "برای نمایش شیوه نامه افزونه ، غیرفعال را انتخاب کنید. نکته : صفات سی اس اس "
285
+ "را برای فرم تکمیل کنید در "
286
+
287
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:822
288
+ msgid "CSS Hooks for User Submitted Posts"
289
+ msgstr "صفات CSS برای افزونه"
290
+
291
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:827
292
+ msgid "Include JavaScript?"
293
+ msgstr "شامل کردن جاوا اسکریپت؟"
294
+
295
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:829
296
+ msgid ""
297
+ "Check this box if you want to include the external JavaScript file "
298
+ "(recommended)."
299
+ msgstr ""
300
+ "اگر می خواهید فایل JavaScript دلخواهی را به فرم مطلب پیوست کنید ، این گزینه "
301
+ "را انتخاب کنید."
302
+
303
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:832
304
+ msgid "Targeted Loading"
305
+ msgstr "بارگذاری ویژه"
306
+
307
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:834
308
+ msgid ""
309
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
310
+ "Here you may specify the URL of the USP form to load resources only on that "
311
+ "page. Note: leave blank to load on all pages."
312
+ msgstr ""
313
+ "زمانی که فعال شود ،فایل های JavaScript و CSS خارجی در صفحات بارگذاری می "
314
+ "شوند. البته شما می توانید تعیین کنید که آن فایل فقط در چه صفحه ای بارگذاری "
315
+ "شود. برای اینکه در تمام صفحات اجرا شوند ، کادر را خالی بگذارید."
316
+
317
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:837
318
+ msgid "Categories"
319
+ msgstr "دسته بندی"
320
+
321
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:850
322
+ msgid "Select which categories may be assigned to submitted posts."
323
+ msgstr "دسته بندی های مورد نظرتان را برای پست ها انتخاب کنید"
324
+
325
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:854
326
+ msgid "Assigned Author"
327
+ msgstr "کاربر معین"
328
+
329
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:864
330
+ msgid ""
331
+ "Specify the user that should be assigned as author for user-submitted posts."
332
+ msgstr ""
333
+ "کاربری را برای نویسنده ثابت پست ها در صورتی که نام نویسنده ذکر نشده باشد "
334
+ "انتخاب کنید"
335
+
336
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:868
337
+ msgid "Auto Publish?"
338
+ msgstr "انتشار خودکار؟"
339
+
340
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:871
341
+ msgid "Always moderate"
342
+ msgstr "همیشه نیاز به تایید"
343
+
344
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:872
345
+ msgid "Always publish immediately"
346
+ msgstr "همیشه بدون نیاز به تایید مطالب را قبت کن"
347
+
348
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:877
349
+ msgid ""
350
+ "For submitted posts, you can always moderate (recommended), publish "
351
+ "immediately, or publish after any number of approved posts."
352
+ msgstr ""
353
+ "می توانید تعیین کنید که مطلب همیشه نیاز به تایید داشته باشند ، یا اینکه فورا "
354
+ "ثبت شوند ، یا اینکه پس از چند پست ، دیگر نیازی به تایید نداشته باشند."
355
+
356
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:881
357
+ msgid "Receive Email Alert"
358
+ msgstr "دریافت ایمیل هشدار"
359
+
360
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:883
361
+ msgid ""
362
+ "Check this box if you want to be notified via email for new post submissions."
363
+ msgstr ""
364
+ "این گزینه را تیک دار کنید ، اگر می خواهید پس از ارسال هر مطلب توسط کاربران "
365
+ "یک ایمیل برای شما ارسال شود"
366
+
367
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:886
368
+ msgid "Enable Rich Text Editor"
369
+ msgstr "فعال سازی Rich Text Editor"
370
+
371
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:888
372
+ msgid ""
373
+ "Check this box if you want to enable WP rich text editing for submitted "
374
+ "posts."
375
+ msgstr ""
376
+ "در صورتی که می خواهید ویرایشگر پیشفرض وردپرس را برای فرم ارسال مطالب فعال "
377
+ "کنید ، این گزینه را تیک دار کنید."
378
+
379
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:891
380
+ msgid "Set Uploaded Image as Featured Image"
381
+ msgstr "انتخاب تصاویر بارگذاری شده به عنوان تصاویر شاخص"
382
+
383
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:893
384
+ msgid ""
385
+ "Check this box if you want to set submitted images as Featured Images (aka "
386
+ "Post Thumbnails) for posts. \n"
387
+ "\t\t\t\t\t\t\t\t\t\t\tNote: your theme&rsquo;s single.php file must include"
388
+ msgstr ""
389
+ "اگر میخواهید تصاویر آپلود شده به عنوان تصاویر ویژه و شاخص انتخاب شوند ، این "
390
+ "گزینه را تیک دار کنید. \n"
391
+ "\t\t\t\t\t\t\t\t\t\t\t هشدار: فایل&rsquo;s single.php در پوسته شما باید از "
392
+ "تصاویر شاخص پشتیبانی کنید"
393
+
394
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:894
395
+ msgid "to display Featured Images."
396
+ msgstr "برای نمایش تصاویر ویژه و شاخص"
397
+
398
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:897
399
+ msgid "Email Address for Alerts"
400
+ msgstr "آدرس ایمیل برای هشدار"
401
+
402
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:899
403
+ msgid ""
404
+ "If you checked the box to receive email alerts, indicate here the "
405
+ "address(es) to which the emails should be sent."
406
+ msgstr ""
407
+ "اگر این گزینه را تیک دار کنید ، برای شما ایمیل های هشداردهنده ارسال خواهد "
408
+ "شود. ایمیل هایی را که می خواهید هشدار ها برایشان ارسال شوند را وارد نمایید."
409
+
410
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:900
411
+ msgid "Tip: multiple addresses may be included using a comma, like so:"
412
+ msgstr "نکته : آدرس های جداگانه را با کاما از هم جدا کنید. مانند: "
413
+
414
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:903
415
+ msgid "Redirect URL"
416
+ msgstr "انتقال به آدرس"
417
+
418
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:905
419
+ msgid ""
420
+ "Specify a URL to redirect the user after post-submission. Note: leave blank "
421
+ "to redirect back to current page."
422
+ msgstr "آدرسی را وارد کنید که می خواهید کاربر پس از ثبت مطلب ، به آن منتقل شود"
423
+
424
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:908
425
+ msgid "Success Message"
426
+ msgstr "پیغام موفقیت آمیز بودن"
427
+
428
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:910
429
+ msgid ""
430
+ "This is the success message that is displayed if post-submission is "
431
+ "successful."
432
+ msgstr ""
433
+ "این پیغام موفقیت آمیز بودنی است که هنگامی نمایش داده میشود که ثبت مطلب "
434
+ "موفقیت آمیز بوده باشد"
435
+
436
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:913
437
+ msgid "Error Message"
438
+ msgstr "پیغام خطا"
439
+
440
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:915
441
+ msgid "This is the error message that is displayed if post-submission fails."
442
+ msgstr "این پیغام خطا زمانی نمایش داده می شود که ثبت مطلب با مشکلی مواجه شود"
443
+
444
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:918
445
+ msgid "Custom Content"
446
+ msgstr "محتوای سفارشی"
447
+
448
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:920
449
+ msgid ""
450
+ "Here you may specify custom text/markup to be included before the submission "
451
+ "form. Note: leave blank to disable."
452
+ msgstr ""
453
+ "اینجا می توانید متن یا نشانه دلخواهی را وارد نمایید تا قبل از فرم نمایش داده "
454
+ "شود. برای غیر فعال بودن ، کادر را خالی بگذارید"
455
+
456
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:924
457
+ msgid "Use registered user info"
458
+ msgstr "استفاده از اطلاعات کاربر ثبت نام کرده"
459
+
460
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:928
461
+ msgid "Use registered username for author?"
462
+ msgstr "استفاده از نام کاربری کاربر ثبت نام کرده برای نام نویسنده؟"
463
+
464
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:930
465
+ msgid ""
466
+ "Check this box if you want to automatically use the registered username as "
467
+ "the submitted-post author. Note: this really should only be used when "
468
+ "requiring log-in for submissions."
469
+ msgstr ""
470
+ "این گزینه را تیک دار کنید اگر می خواهید به صورت خودکار از نام کاربری فرد در "
471
+ "فرم ارسال مطلب استفاده شود. نکته : این زمانی کاربرد دارد که کاربر وارد شده "
472
+ "باشد."
473
+
474
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:933
475
+ msgid "Use registered URL for submitted URL?"
476
+ msgstr ""
477
+ "انتخاب آدرسی که کاربر ثبت نام کرده وارد کرده به عنوان آدرس وبگاه نویسنده مطلب"
478
+
479
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:935
480
+ msgid ""
481
+ "Check this box if you want to automatically use the registered user&rsquo;s "
482
+ "specified URL as the submitted-post URL. Note: this really should only be "
483
+ "used when requiring log-in for submissions."
484
+ msgstr ""
485
+ "این گزینه را تیک دار کنید ، اگر می خواهید به صورت خودکار از آدرس وبگاه کاربر "
486
+ "ثبت نام کرده به عنوان وبگاه نویسنده مطلب استفاده شود.نکته : زمانی کاربرد "
487
+ "دارد که کاربر وارد شده باشد"
488
+
489
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:938
490
+ msgid "Use a hidden field for submitted category?"
491
+ msgstr "استفاده از یک کادرمخفی برای دسته بندی"
492
+
493
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:940
494
+ msgid ""
495
+ "Check this box if you want to use a hidden category field for the submitted "
496
+ "category. Note: this may be used to specify a default category for submitted "
497
+ "posts when the category field is hidden."
498
+ msgstr ""
499
+ "تیک این گزینه را بزنید اگر می خواهید دسته بندی های مخفی باشند. زمانی از این "
500
+ "استفاده کنید که می خواهید یک دسته بندی مشخص را برای مطالب انتخاب کنید"
501
+
502
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:943
503
+ msgid "Category ID for hidden field"
504
+ msgstr "آی دی دسته مورد نظر برای کادر مخفی"
505
+
506
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:945
507
+ msgid ""
508
+ "Specify a cateogry (ID) to use as the default category when using the &ldquo;"
509
+ "hidden field&rdquo; option."
510
+ msgstr ""
511
+ "اگر می خواهید فیلد دسته بندی مخفی باشد ، یک آی دی دسته بندی را به عنوان "
512
+ "پیشفرض انتخاب کنید."
513
+
514
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:949
515
+ msgid "Challenge question (captcha)"
516
+ msgstr "پرسش امنیتی (کپچا)"
517
+
518
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:953
519
+ msgid "Challenge Question"
520
+ msgstr "پرسش امنیتی"
521
+
522
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:955
523
+ msgid ""
524
+ "To prevent spam, enter a question that users must answer before submitting "
525
+ "the form."
526
+ msgstr ""
527
+ "برای جلوگیری از هرزنامه ، یک پرسش امنیتی را وارد کنید تا کاربران قبل از ثبت "
528
+ "مطلب ملزم به جواب دادن به آن شوند"
529
+
530
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:958
531
+ msgid "Challenge Response"
532
+ msgstr "پاسخ پرسش امنیتی"
533
+
534
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:960
535
+ msgid "Enter the <em>only</em> correct answer to the challenge question."
536
+ msgstr "پاسخ درست پرسش امنیتی را وارد کنید"
537
+
538
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:963
539
+ msgid "Case-sensitivity"
540
+ msgstr "حساسیت به بزرگی و کوچکی حروف"
541
+
542
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:965
543
+ msgid "Check this box if you want the challenge response to be case-sensitive."
544
+ msgstr ""
545
+ "اگر می خواید پاسخ به پرسش امنیتی ، به حروف کوچک و بزرگ در زبان انگلیسی حساس "
546
+ "باشد ، این گزینه را تیک داد کنید"
547
+
548
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:969
549
+ msgid "Options for image uploads"
550
+ msgstr "تنظیمات تصاویر"
551
+
552
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:973
553
+ msgid "Upload Message"
554
+ msgstr "پیغام بارگذاری"
555
+
556
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:975
557
+ msgid ""
558
+ "This is the message that appears next to upload field. Useful to state your "
559
+ "upload guidelines/rules/etc."
560
+ msgstr "این پیغام زمانی نمایش داده می شود که آپلود تصویر موفقیت آمیز نباشد."
561
+
562
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:978
563
+ msgid "&ldquo;Add another image&rdquo; link"
564
+ msgstr "اضافه کردن یک لینک تصویر دیگر"
565
+
566
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:980
567
+ msgid ""
568
+ "Here you may specify your own custom markup for the &ldquo;Add another "
569
+ "image&rdquo; link (leave blank to use the default markup)."
570
+ msgstr ""
571
+ "می توانید نشانه مورد نظر خودرا برای لینک افزودن تصویر جدید انتخاب کنید. برای "
572
+ "استفاده از حالت پیشفرض ، کادر را خالی بگذارید"
573
+
574
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:983
575
+ msgid "Minimum number of images"
576
+ msgstr "کمترین تعداد تصاویر"
577
+
578
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:986
579
+ msgid "Specify the <em>minimum</em> number of images."
580
+ msgstr "یک مقدار حداقل را برای تعداد عکس ها انتخاب نمایید."
581
+
582
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:990
583
+ msgid "Maximum number of images"
584
+ msgstr "بیشتر تعداد تصاویر"
585
+
586
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:993
587
+ msgid "Specify the <em>maximum</em> number of images."
588
+ msgstr "یک مقدار حداکثر را برای تعداد عکس ها انتخاب نمایید."
589
+
590
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:997
591
+ msgid "Minimum image width"
592
+ msgstr "کمترین طول تصاویر"
593
+
594
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:999
595
+ msgid "Specify a <em>minimum width</em> (in pixels) for uploaded images."
596
+ msgstr "یک مقدار حداقل را برای طول عکس های آپلود شده انتخاب نمایید."
597
+
598
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1002
599
+ msgid "Minimum image height"
600
+ msgstr "کمترین ارتفاع عکس ها"
601
+
602
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1004
603
+ msgid "Specify a <em>minimum height</em> (in pixels) for uploaded images."
604
+ msgstr "یک مقدار حداقل را برای ارتفاع عکس های آپلود شده انتخاب نمایید."
605
+
606
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1007
607
+ msgid "Maximum image width"
608
+ msgstr "بیشتر طول تصاویر"
609
+
610
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1009
611
+ msgid "Specify a <em>maximum width</em> (in pixels) for uploaded images."
612
+ msgstr "یک مقدار حداکثر را برای طول عکس های آپلود شده انتخاب نمایید."
613
+
614
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1012
615
+ msgid "Maximum image height"
616
+ msgstr "بیشترین ارتفاع تصاویر"
617
+
618
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1014
619
+ msgid "Specify a <em>maximum height</em> (in pixels) for uploaded images."
620
+ msgstr "یک مقدار حداکثر را برای ارتفاع عکس های آپلود شده انتخاب نمایید."
621
+
622
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1018
623
+ #: folder\user-submitted-posts/user-submitted-posts.php:1046
624
+ msgid "Save Settings"
625
+ msgstr "ذخیره تنظیمات"
626
+
627
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1022
628
+ msgid "Shortcode &amp; Template Tag"
629
+ msgstr "کدکوتاه و کد داخل پوسته"
630
+
631
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1025
632
+ msgid "Shortcode"
633
+ msgstr "کدکوتاه"
634
+
635
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1026
636
+ msgid "Use this shortcode to display the USP Form on any post or page:"
637
+ msgstr "از کدکوتاه زیر برای نمایش فرم ارسال مطلب در برگه یا پست استفاده کنید"
638
+
639
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1029
640
+ msgid "Template tag"
641
+ msgstr "قالب برچسب"
642
+
643
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1030
644
+ msgid ""
645
+ "Use this template tag to display the USP Form anywhere in your theme "
646
+ "template:"
647
+ msgstr "کدهای زیر را برای نمایش فرم ارسال مطلب در پوسته تان قرار دهید"
648
+
649
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1035
650
+ msgid "Restore Default Options"
651
+ msgstr "بازگردانی تنظیمات بیشتر"
652
+
653
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1039
654
+ msgid "Restore default options upon plugin deactivation/reactivation."
655
+ msgstr "بازگردانی تنظیمات پیشفرض پس از غیرفعال / فعال کردن افزونه"
656
+
657
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1043
658
+ msgid ""
659
+ "<strong>Tip:</strong> leave this option unchecked to remember your settings. "
660
+ "Or, to go ahead and restore all default options, check the box, save your "
661
+ "settings, and then deactivate/reactivate the plugin."
662
+ msgstr ""
663
+ "<strong>نکته:</strong> اگر میخواهید تنظیماتتان باقی بماند ، تیک این گزینه را "
664
+ "بردارید. یا برای بازگرداند به پیشفرض ، تیک را بزنید ،همه گزینه ها را "
665
+ "بازگردانید و اطلاعات را ذخیره کنید. سپس افزونه را غیر فعال/فعال کنید."
666
+
667
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1050
668
+ msgid "Updates &amp; Info"
669
+ msgstr "به روز رسانی ها و اطلاعات"
670
+
671
+ #: D:\WEB\New folder\user-submitted-posts/user-submitted-posts.php:1090
672
+ msgid ""
673
+ "Are you sure you want to restore all default options? (this action cannot be "
674
+ "undone)"
675
+ msgstr ""
676
+ "آیا مطمئن هستید که می خواهید تمامی تنظیمات را به حالت اولیه برگردانید؟ این "
677
+ "انتخاب قابل بازگشت نخواهد بود!"
678
+
679
+ #: D:\WEB\New folder\user-submitted-posts/views/submission-form-classic.php:32
680
+ #: folder\user-submitted-posts/views/submission-form.php:36
681
+ #: folder\user-submitted-posts/views/submission-form.php:37
682
+ msgid "Your Name"
683
+ msgstr "نام شما"
684
+
685
+ #: D:\WEB\New folder\user-submitted-posts/views/submission-form-classic.php:39
686
+ #: folder\user-submitted-posts/views/submission-form.php:41
687
+ #: folder\user-submitted-posts/views/submission-form.php:42
688
+ msgid "Your URL"
689
+ msgstr "آدرس وبگاه شما"
690
+
691
+ #: D:\WEB\New folder\user-submitted-posts/views/submission-form-classic.php:53
692
+ msgid "(separate with commas)"
693
+ msgstr "(با کاما جدا کنید)"
694
+
695
+ #: D:\WEB\New
696
+ #: folder\user-submitted-posts/views/submission-form-classic.php:109
697
+ #: folder\user-submitted-posts/views/submission-form.php:96
698
+ msgid "Upload an Image"
699
+ msgstr "بارگذاری تصویر"
700
+
701
+ #: D:\WEB\New
702
+ #: folder\user-submitted-posts/views/submission-form-classic.php:116
703
+ #: folder\user-submitted-posts/views/submission-form.php:104
704
+ msgid "Add another image"
705
+ msgstr "افزودن تصویر"
706
+
707
+ #: D:\WEB\New
708
+ #: folder\user-submitted-posts/views/submission-form-classic.php:133
709
+ #: folder\user-submitted-posts/views/submission-form.php:122
710
+ msgid "Human verification: leave this field empty."
711
+ msgstr "تایید ربات نبودن: این کادر را خالی بگذارید"
712
+
713
+ #: D:\WEB\New
714
+ #: folder\user-submitted-posts/views/submission-form-classic.php:149
715
+ #: folder\user-submitted-posts/views/submission-form.php:138
716
+ msgid "Submit Post"
717
+ msgstr "ثبت مطلب"
718
+
719
+ #: D:\WEB\New folder\user-submitted-posts/views/submission-form.php:57
720
+ msgid "Antispam Question"
721
+ msgstr "پرسش امنیتی"
languages/usp-fr_FR.mo ADDED
Binary file
languages/usp-fr_FR.po ADDED
@@ -0,0 +1,708 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: User Submitted Posts\n"
4
+ "POT-Creation-Date: 2014-01-27 13:18-0800\n"
5
+ "PO-Revision-Date: 2014-04-11 11:03+0100\n"
6
+ "Last-Translator: Jeff Starr <http://perishablepress.com/contact/>\n"
7
+ "Language-Team: Monzilla Media <http://perishablepress.com/contact/>\n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.4\n"
13
+ "X-Poedit-KeywordsList: __;_e;_n;_x\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../user-submitted-posts.php:27 ../user-submitted-posts.php:59
20
+ msgid "User Submitted Posts"
21
+ msgstr "User Submitted Posts"
22
+
23
+ #: ../user-submitted-posts.php:49
24
+ msgid "requires WordPress 3.5 or higher, and has been deactivated!"
25
+ msgstr ""
26
+ "Requiert la version 3.5 de WordPress ou une version plus récente, le plugin "
27
+ "a été désactivé."
28
+
29
+ #: ../user-submitted-posts.php:50
30
+ msgid "Please return to the "
31
+ msgstr "Veuillez retourner à"
32
+
33
+ #: ../user-submitted-posts.php:50
34
+ msgid "WordPress Admin area"
35
+ msgstr "Zone d'administration de WordPress"
36
+
37
+ #: ../user-submitted-posts.php:50
38
+ msgid "to upgrade WordPress and try again."
39
+ msgstr "pour mettre WordPress à jour et tester à nouveau."
40
+
41
+ #: ../user-submitted-posts.php:59
42
+ msgid "Submitted"
43
+ msgstr "Envoyé"
44
+
45
+ #: ../user-submitted-posts.php:118
46
+ msgid "An error occurred. Please go back and try again."
47
+ msgstr "Une erreur a eu lieu, merci de retourner et de réessayer."
48
+
49
+ #: ../user-submitted-posts.php:255
50
+ msgid "USP"
51
+ msgstr "USP"
52
+
53
+ #: ../user-submitted-posts.php:432
54
+ msgid "Settings"
55
+ msgstr "Paramètres"
56
+
57
+ #: ../user-submitted-posts.php:470
58
+ msgid ""
59
+ "There was an error. Please ensure that you have added a title, some content, "
60
+ "and that you have uploaded only images."
61
+ msgstr ""
62
+ "Il y a eu une erreur. Veuillez vous assurer que vous avez ajouté un titre, "
63
+ "du contenu, et que vous avez chargé uniquement des images."
64
+
65
+ #: ../user-submitted-posts.php:477 ../user-submitted-posts.php:478
66
+ #: ../user-submitted-posts.php:479 ../user-submitted-posts.php:480
67
+ #: ../user-submitted-posts.php:481 ../user-submitted-posts.php:488
68
+ #: ../user-submitted-posts.php:489
69
+ msgid "show"
70
+ msgstr "Montrer"
71
+
72
+ #: ../user-submitted-posts.php:482
73
+ msgid "hide"
74
+ msgstr "cacher"
75
+
76
+ #: ../user-submitted-posts.php:483
77
+ msgid "Please select your image(s) to upload."
78
+ msgstr "Veuillez choisir les images à charger"
79
+
80
+ #: ../user-submitted-posts.php:490
81
+ msgid "Success! Thank you for your submission."
82
+ msgstr "Succès! Merci de votre soumission d'article."
83
+
84
+ #: ../user-submitted-posts.php:513
85
+ msgid ""
86
+ "Classic form + styles (<small><em><strong>Note:</strong> the &ldquo;"
87
+ "classic&rdquo; form is deprecated and will be removed in a future version.</"
88
+ "em></small>)"
89
+ msgstr ""
90
+ "Formulaire classique + styles (<small><em><strong>Note:</strong>"
91
+ "le formulaire classique sera supprimé dans une version antérieure.</em></small>)"
92
+
93
+ #: ../user-submitted-posts.php:517
94
+ msgid "HTML5 form + styles"
95
+ msgstr "Formulaire HTML5 + styles"
96
+
97
+ #: ../user-submitted-posts.php:521
98
+ msgid "Disable stylesheet"
99
+ msgstr "Désactiver la feuille de style"
100
+
101
+ #: ../user-submitted-posts.php:711
102
+ msgid "Toggle all panels"
103
+ msgstr "Montrer tous les panneaux"
104
+
105
+ #: ../user-submitted-posts.php:719
106
+ msgid "Overview"
107
+ msgstr "Vue d'ensemble"
108
+
109
+ #: ../user-submitted-posts.php:723
110
+ msgid ""
111
+ "(USP) enables your visitors to submit posts and upload images from anywhere "
112
+ "on your site."
113
+ msgstr ""
114
+ "(USP) permet a vos visiteurs de soumettre des articles et de télécharger des "
115
+ "images depuis n'importe où sur votre site."
116
+
117
+ #: ../user-submitted-posts.php:724
118
+ msgid ""
119
+ "To implement, configure the plugin settings and include the USP form in any "
120
+ "post or page via shortcode or anywhere in your theme via template tag."
121
+ msgstr ""
122
+ "Pour implémenter, configurer les paramètres du plugin et incluez le "
123
+ "formulaire USP dans n'importe quel article ou page avec le shortcode ou "
124
+ "n'importe où dans votre template avec le template tag."
125
+
126
+ #: ../user-submitted-posts.php:725
127
+ msgid "For more functionality check out"
128
+ msgstr "Pour plus de fonctionnalités jetez un oeil à"
129
+
130
+ #: ../user-submitted-posts.php:726
131
+ msgid "&mdash; the ultimate solution for unlimited front-end forms."
132
+ msgstr ""
133
+ "&mdash; la solution ultime pour un nombre illimité de formulaires pour votre "
134
+ "site."
135
+
136
+ #: ../user-submitted-posts.php:730
137
+ msgid "Configure settings"
138
+ msgstr "Configurer les paramètres"
139
+
140
+ #: ../user-submitted-posts.php:731
141
+ msgid "Get the shortcode &amp; template tag"
142
+ msgstr "Obtenir le shortcode &amp; template de tag"
143
+
144
+ #: ../user-submitted-posts.php:732
145
+ msgid "More info:"
146
+ msgstr "Plus d'infos :"
147
+
148
+ #: ../user-submitted-posts.php:732
149
+ msgid "readme.txt"
150
+ msgstr "readme.txt"
151
+
152
+ #: ../user-submitted-posts.php:733
153
+ msgid "and"
154
+ msgstr "et"
155
+
156
+ #: ../user-submitted-posts.php:733
157
+ msgid "homepage"
158
+ msgstr "page d'accueil"
159
+
160
+ #: ../user-submitted-posts.php:734
161
+ msgid "If you like USP, please"
162
+ msgstr "Si vous aimez USP, veuillez s'il-vous-plaît"
163
+
164
+ #: ../user-submitted-posts.php:735
165
+ msgid "Rate and review this plugin at the WP Plugin Directory"
166
+ msgstr "Noter et commenter ce plugin dans l'annuaire de plugins de WordPress"
167
+
168
+ #: ../user-submitted-posts.php:736
169
+ msgid "rate it at WordPress.org"
170
+ msgstr "noter sur WordPress.org"
171
+
172
+ #: ../user-submitted-posts.php:748
173
+ msgid "Options"
174
+ msgstr "Options"
175
+
176
+ #: ../user-submitted-posts.php:750
177
+ msgid ""
178
+ "Here you may configure options for USP. See the <code>readme.txt</code> for "
179
+ "more information."
180
+ msgstr ""
181
+ "Sur cette page vous pouvez configurer les options pour USP. Veuillez voir le "
182
+ "fichier <code>readme.txt</code> pour plus d'informations."
183
+
184
+ #: ../user-submitted-posts.php:751
185
+ msgid "Show/hide the following form fields"
186
+ msgstr "Montrer/cacher les champs de formulaire suivants"
187
+
188
+ #: ../user-submitted-posts.php:755 ../user-submitted-posts.php:761
189
+ #: ../user-submitted-posts.php:767 ../user-submitted-posts.php:773
190
+ #: ../user-submitted-posts.php:779 ../user-submitted-posts.php:785
191
+ #: ../user-submitted-posts.php:791 ../user-submitted-posts.php:797
192
+ msgid "Show"
193
+ msgstr "Montrer"
194
+
195
+ #: ../user-submitted-posts.php:756 ../user-submitted-posts.php:762
196
+ #: ../user-submitted-posts.php:768 ../user-submitted-posts.php:774
197
+ #: ../user-submitted-posts.php:780 ../user-submitted-posts.php:786
198
+ #: ../user-submitted-posts.php:792 ../user-submitted-posts.php:798
199
+ msgid "Hide"
200
+ msgstr "Cacher"
201
+
202
+ #: ../user-submitted-posts.php:757
203
+ msgid "User Name"
204
+ msgstr "Nom d'utilisateur"
205
+
206
+ #: ../user-submitted-posts.php:763
207
+ msgid "Post URL"
208
+ msgstr "URL de l'article"
209
+
210
+ #: ../user-submitted-posts.php:769 ../views/submission-form-classic.php:46
211
+ #: ../views/submission-form.php:46 ../views/submission-form.php:47
212
+ msgid "Post Title"
213
+ msgstr "Titre de l'article"
214
+
215
+ #: ../user-submitted-posts.php:775 ../views/submission-form-classic.php:53
216
+ #: ../views/submission-form.php:51 ../views/submission-form.php:52
217
+ msgid "Post Tags"
218
+ msgstr "Mots-clés de l'article"
219
+
220
+ #: ../user-submitted-posts.php:781 ../views/submission-form-classic.php:60
221
+ #: ../views/submission-form.php:61
222
+ msgid "Post Category"
223
+ msgstr "Catégorie de l'article"
224
+
225
+ #: ../user-submitted-posts.php:787 ../views/submission-form-classic.php:98
226
+ #: ../views/submission-form.php:89 ../views/submission-form.php:90
227
+ msgid "Post Content"
228
+ msgstr "Contenu de l'article"
229
+
230
+ #: ../user-submitted-posts.php:793
231
+ msgid "Post Images"
232
+ msgstr "Images de l'article"
233
+
234
+ #: ../user-submitted-posts.php:799
235
+ msgid "Challenge question (Captcha)"
236
+ msgstr "Question test (Captcha)"
237
+
238
+ #: ../user-submitted-posts.php:802
239
+ msgid "Choose some general form options"
240
+ msgstr "Choisissez des options générales pour le formulaire"
241
+
242
+ #: ../user-submitted-posts.php:806
243
+ msgid "Form style"
244
+ msgstr "Style du formulaire"
245
+
246
+ #: ../user-submitted-posts.php:824
247
+ msgid ""
248
+ "HTML5 is recommended. If upgrading and the new form looks weird, choose the "
249
+ "Classic version."
250
+ msgstr ""
251
+ "HTML5 est recommandé. Si la mise à jour et le nouveau formulaire s'affiche "
252
+ "de manière étrange, choisissez la version classique."
253
+
254
+ #: ../user-submitted-posts.php:825
255
+ msgid ""
256
+ "To disable the plugin&rsquo;s stylesheet, choose Disable. Note: complete "
257
+ "list of CSS hooks for the submission form at"
258
+ msgstr ""
259
+ "Pour désactiver la feuille de style du plugin, choisissez Désactiver. Note: "
260
+ "la liste complète des hooks pour le formulaire de soumission se trouve sur"
261
+
262
+ #: ../user-submitted-posts.php:826
263
+ msgid "CSS Hooks for User Submitted Posts"
264
+ msgstr "Hooks CSS pour les articles soumis par les utilisateurs"
265
+
266
+ #: ../user-submitted-posts.php:831
267
+ msgid "Include JavaScript?"
268
+ msgstr "Inclure le javascript?"
269
+
270
+ #: ../user-submitted-posts.php:833
271
+ msgid ""
272
+ "Check this box if you want to include the external JavaScript file "
273
+ "(recommended)."
274
+ msgstr ""
275
+ "Cochez cette case si vous voulez inclure le fichier javascript externe "
276
+ "(recommendé)."
277
+
278
+ #: ../user-submitted-posts.php:836
279
+ msgid "Targeted Loading"
280
+ msgstr "Chargement ciblé"
281
+
282
+ #: ../user-submitted-posts.php:838
283
+ msgid ""
284
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
285
+ "Here you may specify the URL of the USP form to load resources only on that "
286
+ "page. Note: leave blank to load on all pages."
287
+ msgstr ""
288
+ "Quand ils sont désactivés, les fichiers CSS et javascript externes sont "
289
+ "chargés sur chaque page. Ici vous pouvez spécifier l'URL du formulaire USP "
290
+ "pour charger ces ressources uniquement sur cette page. Note: laissez blanc "
291
+ "pour charger sur toutes les pages."
292
+
293
+ #: ../user-submitted-posts.php:841
294
+ msgid "Categories"
295
+ msgstr "Catégories"
296
+
297
+ #: ../user-submitted-posts.php:854
298
+ msgid "Select which categories may be assigned to submitted posts."
299
+ msgstr ""
300
+ "Choisissez à quelles catégories les articles soumis peuvent être attribués."
301
+
302
+ #: ../user-submitted-posts.php:858
303
+ msgid "Assigned Author"
304
+ msgstr "Auteur attribué"
305
+
306
+ #: ../user-submitted-posts.php:868
307
+ msgid ""
308
+ "Specify the user that should be assigned as author for user-submitted posts."
309
+ msgstr ""
310
+ "Spécifiez l'utilisateur qui devrait être attribué comme auteur pour les "
311
+ "articles soumis par les utilisateurs."
312
+
313
+ #: ../user-submitted-posts.php:872
314
+ msgid "Auto Publish?"
315
+ msgstr "Publier automatiquement?"
316
+
317
+ #: ../user-submitted-posts.php:875
318
+ msgid "Always moderate"
319
+ msgstr "Toujours modérer"
320
+
321
+ #: ../user-submitted-posts.php:876
322
+ msgid "Always publish immediately"
323
+ msgstr "Toujours publier automatiquement"
324
+
325
+ #: ../user-submitted-posts.php:881
326
+ msgid ""
327
+ "For submitted posts, you can always moderate (recommended), publish "
328
+ "immediately, or publish after any number of approved posts."
329
+ msgstr ""
330
+ "Pour les articles soumis via le formulaire, vous pouvez toujours les modérer "
331
+ "(recommandé), les publier automatiquement, ou les publier après un certain "
332
+ "nombre d'artciles déjà approuvés pour un utilisateur."
333
+
334
+ #: ../user-submitted-posts.php:885
335
+ msgid "Receive Email Alert"
336
+ msgstr "Recevoir les alertes email"
337
+
338
+ #: ../user-submitted-posts.php:887
339
+ msgid ""
340
+ "Check this box if you want to be notified via email for new post submissions."
341
+ msgstr ""
342
+ "Cochez cette case si vous voulez être averti de nouvelles soumissions d'"
343
+ "articles par email."
344
+
345
+ #: ../user-submitted-posts.php:890
346
+ msgid "Enable Rich Text Editor"
347
+ msgstr "Activer l'éditeur visuel"
348
+
349
+ #: ../user-submitted-posts.php:892
350
+ msgid ""
351
+ "Check this box if you want to enable WP rich text editing for submitted "
352
+ "posts."
353
+ msgstr ""
354
+ "Cochez cette case si vous voulez activer l'éditeur visuel de WordPress pour "
355
+ "les formulaires de soumission."
356
+
357
+ #: ../user-submitted-posts.php:895
358
+ msgid "Set Uploaded Image as Featured Image"
359
+ msgstr "Définir l'image chargée comme image à la une"
360
+
361
+ #: ../user-submitted-posts.php:897
362
+ msgid ""
363
+ "Check this box if you want to set submitted images as Featured Images (aka "
364
+ "Post Thumbnails) for posts. \n"
365
+ "\t\t\t\t\t\t\t\t\t\t\tNote: your theme&rsquo;s single.php file must include"
366
+ msgstr ""
367
+ "Cochez cette case si vouss souhaitez utiliser l'image comme image à la une (aka "
368
+ "miniature) de l'article. \n"
369
+ "\t\t\t\t\t\t\t\t\t\t\tNote: votre fichier theme&rsquo;s single.php doit inclure"
370
+
371
+ #: ../user-submitted-posts.php:898
372
+ msgid "to display Featured Images."
373
+ msgstr "pour afficher les images à la une."
374
+
375
+ #: ../user-submitted-posts.php:901
376
+ msgid "Email Address for Alerts"
377
+ msgstr "Adresse email pour les alertes."
378
+
379
+ #: ../user-submitted-posts.php:903
380
+ msgid ""
381
+ "If you checked the box to receive email alerts, indicate here the "
382
+ "address(es) to which the emails should be sent."
383
+ msgstr ""
384
+ "Si vous cochez la case pour recevoir les alertes email, indiquez ici la/les "
385
+ "adresse(s) à laquelle/auxquelles les emails devraient être envoyés."
386
+
387
+ #: ../user-submitted-posts.php:904
388
+ msgid "Tip: multiple addresses may be included using a comma, like so:"
389
+ msgstr ""
390
+ "Astuce: vous pouvez utiliser plusieurs adresses en les séparant par des virgules, de "
391
+ "cette manière :"
392
+
393
+ #: ../user-submitted-posts.php:907
394
+ msgid "Redirect URL"
395
+ msgstr "URL de redirection"
396
+
397
+ #: ../user-submitted-posts.php:909
398
+ msgid ""
399
+ "Specify a URL to redirect the user after post-submission. Note: leave blank "
400
+ "to redirect back to current page."
401
+ msgstr ""
402
+ "Spécifiez une URL pour rediriger l'utilisateur après la soumission d'un "
403
+ "article. Note: laisser blanc pour rediriger sur la page en cours."
404
+
405
+ #: ../user-submitted-posts.php:912
406
+ msgid "Success Message"
407
+ msgstr "Message en cas de succès"
408
+
409
+ #: ../user-submitted-posts.php:914
410
+ msgid ""
411
+ "This is the success message that is displayed if post-submission is "
412
+ "successful."
413
+ msgstr "Ce message est affiché en cas de soumission avec succès d'un article."
414
+
415
+ #: ../user-submitted-posts.php:917
416
+ msgid "Error Message"
417
+ msgstr "Message d'erreur"
418
+
419
+ #: ../user-submitted-posts.php:919
420
+ msgid "This is the error message that is displayed if post-submission fails."
421
+ msgstr ""
422
+ "Ce message d'erreur est affiché en cas d'erreur lors de la soumission d'un "
423
+ "article."
424
+
425
+ #: ../user-submitted-posts.php:922
426
+ msgid "Custom Content"
427
+ msgstr "Contenu personnalisé"
428
+
429
+ #: ../user-submitted-posts.php:924
430
+ msgid ""
431
+ "Here you may specify custom text/markup to be included before the submission "
432
+ "form. Note: leave blank to disable."
433
+ msgstr ""
434
+ "Ici vous pouvez spécifier du texte personnalisé à inclure avant la "
435
+ "soumission du formulaire. Note: laisser vide pour désactiver."
436
+
437
+ #: ../user-submitted-posts.php:928
438
+ msgid "Use registered user info"
439
+ msgstr "Utiliser les informations de l'utilisateur enregistré"
440
+
441
+ #: ../user-submitted-posts.php:932
442
+ msgid "Use registered username for author?"
443
+ msgstr "Utiliser l'utilisateur connecté comme auteur?"
444
+
445
+ #: ../user-submitted-posts.php:934
446
+ msgid ""
447
+ "Check this box if you want to automatically use the registered username as "
448
+ "the submitted-post author. Note: this really should only be used when "
449
+ "requiring log-in for submissions."
450
+ msgstr ""
451
+ "Cochez cette case si vous voulez automatiquement utiliser le nom de "
452
+ "l'utilisateur enregistré comme auteur de l'article soumis. Note: ceci devrait "
453
+ "être utilisé uniquement si un login est requis pour les soumissions."
454
+
455
+ #: ../user-submitted-posts.php:937
456
+ msgid "Use registered URL for submitted URL?"
457
+ msgstr "Utiliser l'URL enregistré comme URL de soumission?"
458
+
459
+ #: ../user-submitted-posts.php:939
460
+ msgid ""
461
+ "Check this box if you want to automatically use the registered user&rsquo;s "
462
+ "specified URL as the submitted-post URL. Note: this really should only be "
463
+ "used when requiring log-in for submissions."
464
+ msgstr ""
465
+ "Cochez cette case si vous voulez automatiquement utiliser l'URL spécifiée "
466
+ "par l'utilisateur enregistré comme URL de soumission. Note: ceci devrait "
467
+ "uniquement être utilisé sur des formulaires qui requièrent un login pour la "
468
+ "soumission."
469
+
470
+ #: ../user-submitted-posts.php:942
471
+ msgid "Use a hidden field for submitted category?"
472
+ msgstr "Utiliser un champ invisible pour la catégorie soumise?"
473
+
474
+ #: ../user-submitted-posts.php:944
475
+ msgid ""
476
+ "Check this box if you want to use a hidden category field for the submitted "
477
+ "category. Note: this may be used to specify a default category for submitted "
478
+ "posts when the category field is hidden."
479
+ msgstr ""
480
+ "Cochez cette case si vous voulez utiliser une catégorie invisible pour les "
481
+ "soumissions catégorie. Note: ceci peut être utilisé pour spécifier une "
482
+ "catégorie par défaut pour les articles soumis quand le champ catégorie est "
483
+ "invisible."
484
+
485
+ #: ../user-submitted-posts.php:947
486
+ msgid "Category ID for hidden field"
487
+ msgstr "ID de catégorie pour le champ invisible"
488
+
489
+ #: ../user-submitted-posts.php:949
490
+ msgid ""
491
+ "Specify a cateogry (ID) to use as the default category when using the &ldquo;"
492
+ "hidden field&rdquo; option."
493
+ msgstr ""
494
+ "Spécifiez l'ID de la catégorie à utiliser par défaut quand vous utilisez "
495
+ "l'option de champ invisible."
496
+
497
+ #: ../user-submitted-posts.php:953
498
+ msgid "Challenge question (captcha)"
499
+ msgstr "Question test (captcha)"
500
+
501
+ #: ../user-submitted-posts.php:957
502
+ msgid "Challenge Question"
503
+ msgstr "Question test"
504
+
505
+ #: ../user-submitted-posts.php:959
506
+ msgid ""
507
+ "To prevent spam, enter a question that users must answer before submitting "
508
+ "the form."
509
+ msgstr ""
510
+ "Pour lutter contre le spam, entrez une question à laquelle les utilisateurs "
511
+ "devront répondre avant d'envoyer le formulaire."
512
+
513
+ #: ../user-submitted-posts.php:962
514
+ msgid "Challenge Response"
515
+ msgstr "Réponse au test"
516
+
517
+ #: ../user-submitted-posts.php:964
518
+ msgid "Enter the <em>only</em> correct answer to the challenge question."
519
+ msgstr "Entrez la <em>seule</em> réponse correcte à la question test."
520
+
521
+ #: ../user-submitted-posts.php:967
522
+ msgid "Case-sensitivity"
523
+ msgstr "Sensibilité à la casse"
524
+
525
+ #: ../user-submitted-posts.php:969
526
+ msgid "Check this box if you want the challenge response to be case-sensitive."
527
+ msgstr ""
528
+ "Cochez cette case si vous voulez que les réponses au test soient sensibles à "
529
+ "la casse."
530
+
531
+ #: ../user-submitted-posts.php:973
532
+ msgid "Options for image uploads"
533
+ msgstr "Options pour le chargement d'images."
534
+
535
+ #: ../user-submitted-posts.php:977
536
+ msgid "Upload Message"
537
+ msgstr "Message de chargement"
538
+
539
+ #: ../user-submitted-posts.php:979
540
+ msgid ""
541
+ "This is the message that appears next to upload field. Useful to state your "
542
+ "upload guidelines/rules/etc."
543
+ msgstr ""
544
+ "Message qui apparaît à côté du champ de chargement. Utile pour informer de "
545
+ "vos règles de chargement ou donner des instructions."
546
+
547
+ #: ../user-submitted-posts.php:982
548
+ msgid "&ldquo;Add another image&rdquo; link"
549
+ msgstr "Lien &ldquo;Ajout d'une autre image&rdquo;"
550
+
551
+ #: ../user-submitted-posts.php:984
552
+ msgid ""
553
+ "Here you may specify your own custom markup for the &ldquo;Add another "
554
+ "image&rdquo; link (leave blank to use the default markup)."
555
+ msgstr ""
556
+ "Ici vous pouvez spécifier votre propre markup pour le lien d'ajout d'une "
557
+ "autre image (laissez blanc pour utiliser le markup par défaut)."
558
+
559
+ #: ../user-submitted-posts.php:987
560
+ msgid "Minimum number of images"
561
+ msgstr "Nombre minimum d'images"
562
+
563
+ #: ../user-submitted-posts.php:990
564
+ msgid "Specify the <em>minimum</em> number of images."
565
+ msgstr "Spécifiez le nombre <em>minimum</em> d'images."
566
+
567
+ #: ../user-submitted-posts.php:994
568
+ msgid "Maximum number of images"
569
+ msgstr "Nombre maximum d'images"
570
+
571
+ #: ../user-submitted-posts.php:997
572
+ msgid "Specify the <em>maximum</em> number of images."
573
+ msgstr "Spécifiez les nombre <em>maximum</em> d'images."
574
+
575
+ #: ../user-submitted-posts.php:1001
576
+ msgid "Minimum image width"
577
+ msgstr "Largeur d'image minimum"
578
+
579
+ #: ../user-submitted-posts.php:1003
580
+ msgid "Specify a <em>minimum width</em> (in pixels) for uploaded images."
581
+ msgstr ""
582
+ "Spécifiez la <em>largeur minimale d'images</em> (en pixel) pour les images "
583
+ "chargées."
584
+
585
+ #: ../user-submitted-posts.php:1006
586
+ msgid "Minimum image height"
587
+ msgstr "Hauteur d'image minimum"
588
+
589
+ #: ../user-submitted-posts.php:1008
590
+ msgid "Specify a <em>minimum height</em> (in pixels) for uploaded images."
591
+ msgstr ""
592
+ "Spécifiez une <em>hauteur d'image minimum</em> (en pixels) pour les images "
593
+ "chargées."
594
+
595
+ #: ../user-submitted-posts.php:1011
596
+ msgid "Maximum image width"
597
+ msgstr "Largeur d'image maximum"
598
+
599
+ #: ../user-submitted-posts.php:1013
600
+ msgid "Specify a <em>maximum width</em> (in pixels) for uploaded images."
601
+ msgstr ""
602
+ "Spécifiez une <em>largeur d'image maximum</em> (en pixels) pour les images "
603
+ "chargées."
604
+
605
+ #: ../user-submitted-posts.php:1016
606
+ msgid "Maximum image height"
607
+ msgstr "Hauteur d'image maximum"
608
+
609
+ #: ../user-submitted-posts.php:1018
610
+ msgid "Specify a <em>maximum height</em> (in pixels) for uploaded images."
611
+ msgstr ""
612
+ "Spécifiez une <em>hauteur maximum</em> pour les images chargées (en pixels)"
613
+
614
+ #: ../user-submitted-posts.php:1022 ../user-submitted-posts.php:1050
615
+ msgid "Save Settings"
616
+ msgstr "Enregistrer les paramètres"
617
+
618
+ #: ../user-submitted-posts.php:1026
619
+ msgid "Shortcode &amp; Template Tag"
620
+ msgstr "Shortcode et Template de tag"
621
+
622
+ #: ../user-submitted-posts.php:1029
623
+ msgid "Shortcode"
624
+ msgstr "Shortcode"
625
+
626
+ #: ../user-submitted-posts.php:1030
627
+ msgid "Use this shortcode to display the USP Form on any post or page:"
628
+ msgstr ""
629
+ "Utilisez ce shortcode pour montrer les formulaires USP sur n'importe quel "
630
+ "article ou page :"
631
+
632
+ #: ../user-submitted-posts.php:1033
633
+ msgid "Template tag"
634
+ msgstr "Template de tag"
635
+
636
+ #: ../user-submitted-posts.php:1034
637
+ msgid ""
638
+ "Use this template tag to display the USP Form anywhere in your theme "
639
+ "template:"
640
+ msgstr ""
641
+ "Utilisez ce tag de template pour montrer le formulaire USP n'importe où dans "
642
+ "votre template."
643
+
644
+ #: ../user-submitted-posts.php:1039
645
+ msgid "Restore Default Options"
646
+ msgstr "Restaurer les options par défaut"
647
+
648
+ #: ../user-submitted-posts.php:1043
649
+ msgid "Restore default options upon plugin deactivation/reactivation."
650
+ msgstr ""
651
+ "Restaurer les options par défaut lors de la déactivation/réactivation du "
652
+ "plugin."
653
+
654
+ #: ../user-submitted-posts.php:1047
655
+ msgid ""
656
+ "<strong>Tip:</strong> leave this option unchecked to remember your settings. "
657
+ "Or, to go ahead and restore all default options, check the box, save your "
658
+ "settings, and then deactivate/reactivate the plugin."
659
+ msgstr ""
660
+ "<strong>Astuce:</strong> laissez cette option non cochée pour garder vos "
661
+ "paramètres en mémoire. Sinon, pour restaurer toutes les options par défaut, "
662
+ "cochez cette case, sauvez vos paramètres, puis déactivez/réactivez le plugin."
663
+
664
+ #: ../user-submitted-posts.php:1054
665
+ msgid "Updates &amp; Info"
666
+ msgstr "Infos de mise à jour"
667
+
668
+ #: ../user-submitted-posts.php:1094
669
+ msgid ""
670
+ "Are you sure you want to restore all default options? (this action cannot be "
671
+ "undone)"
672
+ msgstr ""
673
+ "Etes-vous sûr de vouloir restaurer toutes les options par défaut? (cette "
674
+ "action ne peut pas être annulée)"
675
+
676
+ #: ../views/submission-form-classic.php:32 ../views/submission-form.php:36
677
+ #: ../views/submission-form.php:37
678
+ msgid "Your Name"
679
+ msgstr "Votre nom"
680
+
681
+ #: ../views/submission-form-classic.php:39 ../views/submission-form.php:41
682
+ #: ../views/submission-form.php:42
683
+ msgid "Your URL"
684
+ msgstr "Votre URL"
685
+
686
+ #: ../views/submission-form-classic.php:53
687
+ msgid "(separate with commas)"
688
+ msgstr "(séparer avec des virgules)"
689
+
690
+ #: ../views/submission-form-classic.php:109 ../views/submission-form.php:96
691
+ msgid "Upload an Image"
692
+ msgstr "Charger une image à la une (miniature)"
693
+
694
+ #: ../views/submission-form-classic.php:116 ../views/submission-form.php:104
695
+ msgid "Add another image"
696
+ msgstr "Ajouter une autre image"
697
+
698
+ #: ../views/submission-form-classic.php:133 ../views/submission-form.php:122
699
+ msgid "Human verification: leave this field empty."
700
+ msgstr "Vérification, êtes-vous humain? Veuillez laisser ce champ vide."
701
+
702
+ #: ../views/submission-form-classic.php:149 ../views/submission-form.php:138
703
+ msgid "Submit Post"
704
+ msgstr "Soumettre l'article"
705
+
706
+ #: ../views/submission-form.php:57
707
+ msgid "Antispam Question"
708
+ msgstr "Question antispam"
languages/usp-it_IT.mo ADDED
Binary file
languages/usp-it_IT.po ADDED
@@ -0,0 +1,1194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: User Submitted Posts\n"
4
+ "POT-Creation-Date: 2016-04-07 17:14+0100\n"
5
+ "PO-Revision-Date: 2016-04-07 17:19+0100\n"
6
+ "Last-Translator: Jeff Starr <http://perishablepress.com/contact/>\n"
7
+ "Language-Team: RM <http://rosariomonaco.com/contact/>\n"
8
+ "Language: it_IT\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.5\n"
13
+ "X-Poedit-KeywordsList: __;_e;_n;_x\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../library/template-tags.php:155
20
+ msgid "View full post"
21
+ msgstr "Vedi post completo"
22
+
23
+ #: ../user-submitted-posts.php:24 ../user-submitted-posts.php:74
24
+ msgid "User Submitted Posts"
25
+ msgstr "User Submitted Post"
26
+
27
+ #: ../user-submitted-posts.php:55
28
+ msgid "requires WordPress "
29
+ msgstr "richiesto WordPress"
30
+
31
+ #: ../user-submitted-posts.php:55
32
+ msgid " or higher, and has been deactivated!"
33
+ msgstr "o superiore, ed è stato disattivato!"
34
+
35
+ #: ../user-submitted-posts.php:56
36
+ msgid "Please return to the "
37
+ msgstr "Ritorna a"
38
+
39
+ #: ../user-submitted-posts.php:56
40
+ msgid "WordPress Admin area"
41
+ msgstr "WordPress Admin area"
42
+
43
+ #: ../user-submitted-posts.php:56
44
+ msgid "to upgrade WordPress and try again."
45
+ msgstr "aggiorna WordPress e riprova."
46
+
47
+ #: ../user-submitted-posts.php:74
48
+ msgid "Submitted"
49
+ msgstr "Inviato"
50
+
51
+ #: ../user-submitted-posts.php:104
52
+ msgid "User Submitted Post"
53
+ msgstr "User Submitted Post"
54
+
55
+ #: ../user-submitted-posts.php:209
56
+ msgid "User Submitted Post Info"
57
+ msgstr "User Submitted Post Informazioni"
58
+
59
+ #: ../user-submitted-posts.php:228
60
+ msgid "Submitter Name: "
61
+ msgstr "Nome:"
62
+
63
+ #: ../user-submitted-posts.php:229
64
+ msgid "Submitter Email: "
65
+ msgstr "Email:"
66
+
67
+ #: ../user-submitted-posts.php:230
68
+ msgid "Submitter URL: "
69
+ msgstr "URL:"
70
+
71
+ #: ../user-submitted-posts.php:231
72
+ msgid "Submitter IP: "
73
+ msgstr "IP:"
74
+
75
+ #: ../user-submitted-posts.php:380
76
+ msgid "USP"
77
+ msgstr "USP"
78
+
79
+ #: ../user-submitted-posts.php:760
80
+ msgid " files required"
81
+ msgstr "file richiesti"
82
+
83
+ #: ../user-submitted-posts.php:761
84
+ msgid " file required"
85
+ msgstr "file richiesto"
86
+
87
+ #: ../user-submitted-posts.php:763
88
+ msgid " files"
89
+ msgstr "files"
90
+
91
+ #: ../user-submitted-posts.php:764
92
+ msgid " file"
93
+ msgstr "file"
94
+
95
+ #: ../user-submitted-posts.php:766 ../user-submitted-posts.php:767
96
+ #: ../user-submitted-posts.php:768 ../user-submitted-posts.php:769
97
+ msgid " pixels"
98
+ msgstr "pixels"
99
+
100
+ #: ../user-submitted-posts.php:772
101
+ msgid "An error occurred. Please go back and try again."
102
+ msgstr "Si è verificato un errore, torna indietro e riprova."
103
+
104
+ #: ../user-submitted-posts.php:779
105
+ msgid "User login required"
106
+ msgstr "Login utente richiesto"
107
+
108
+ #: ../user-submitted-posts.php:780
109
+ msgid "User name required"
110
+ msgstr "Nome utente richiesto"
111
+
112
+ #: ../user-submitted-posts.php:781
113
+ msgid "Post title required"
114
+ msgstr "Titolo richiesto"
115
+
116
+ #: ../user-submitted-posts.php:782
117
+ msgid "Post url required"
118
+ msgstr "Url del Post richiesto"
119
+
120
+ #: ../user-submitted-posts.php:783
121
+ msgid "Post tags required"
122
+ msgstr "Tags richiesti"
123
+
124
+ #: ../user-submitted-posts.php:784
125
+ msgid "Post category required"
126
+ msgstr "Categoria richiesta"
127
+
128
+ #: ../user-submitted-posts.php:785
129
+ msgid "Post content required"
130
+ msgstr "Contenuto richiesto"
131
+
132
+ #: ../user-submitted-posts.php:786
133
+ msgid "Correct captcha required"
134
+ msgstr "Captcha corretto richiesto"
135
+
136
+ #: ../user-submitted-posts.php:787
137
+ msgid "User email required"
138
+ msgstr "Email utente richiesta"
139
+
140
+ #: ../user-submitted-posts.php:788
141
+ msgid "Non-empty value for hidden field"
142
+ msgstr "Valore non vuoto per il campo nascosto"
143
+
144
+ #: ../user-submitted-posts.php:789
145
+ msgid "Minimum number of images not met"
146
+ msgstr "Numero minimo di immagini non raggiunto"
147
+
148
+ #: ../user-submitted-posts.php:790
149
+ msgid "Maximum number of images exceeded "
150
+ msgstr "Numero massimo di immagini superato"
151
+
152
+ #: ../user-submitted-posts.php:791
153
+ msgid "Minimum image width not met"
154
+ msgstr "Immagine troppo stretta"
155
+
156
+ #: ../user-submitted-posts.php:792
157
+ msgid "Image width exceeds maximum"
158
+ msgstr "Immagine troppo larga"
159
+
160
+ #: ../user-submitted-posts.php:793
161
+ msgid "Minimum image height not met"
162
+ msgstr "Immagine troppo bassa"
163
+
164
+ #: ../user-submitted-posts.php:794
165
+ msgid "Image height exceeds maximum"
166
+ msgstr "Immagine troppo alta"
167
+
168
+ #: ../user-submitted-posts.php:795
169
+ msgid "File type not allowed (please upload images only)"
170
+ msgstr "Tipo file non ammesso (carica solo immagini)"
171
+
172
+ #: ../user-submitted-posts.php:796
173
+ msgid "The selected files could not be uploaded to the server"
174
+ msgstr "I files selezionati non possono essere caricati sul server"
175
+
176
+ #: ../user-submitted-posts.php:800
177
+ msgid "The file(s) could not be uploaded"
178
+ msgstr "%s non può essere caricato"
179
+
180
+ #: ../user-submitted-posts.php:802
181
+ msgid "Post not created. Please contact the site administrator for help."
182
+ msgstr ""
183
+ "Post non creato. Contatta l&rsquo;amministratore del sito per essere aiutato."
184
+
185
+ #: ../user-submitted-posts.php:803
186
+ msgid "Duplicate post title. Please try again."
187
+ msgstr "Titolo Post duplicato. Modificalo e riprova."
188
+
189
+ #: ../user-submitted-posts.php:809
190
+ msgid "Error: "
191
+ msgstr "Errore:"
192
+
193
+ #: ../user-submitted-posts.php:822
194
+ msgid "Settings"
195
+ msgstr "Impostazioni"
196
+
197
+ #: ../user-submitted-posts.php:861
198
+ msgid ""
199
+ "There was an error. Please ensure that you have added a title, some content, "
200
+ "and that you have uploaded only images."
201
+ msgstr ""
202
+ "Si è verificato un errore. Verifica di aver compilato correttamente tutti i "
203
+ "campi."
204
+
205
+ #: ../user-submitted-posts.php:868 ../user-submitted-posts.php:869
206
+ #: ../user-submitted-posts.php:871 ../user-submitted-posts.php:872
207
+ #: ../user-submitted-posts.php:873 ../user-submitted-posts.php:879
208
+ #: ../user-submitted-posts.php:880
209
+ msgid "show"
210
+ msgstr "mostra"
211
+
212
+ #: ../user-submitted-posts.php:870 ../user-submitted-posts.php:874
213
+ msgid "hide"
214
+ msgstr "nascondi"
215
+
216
+ #: ../user-submitted-posts.php:875
217
+ msgid "Please select your image(s) to upload."
218
+ msgstr "Selezione l&rsquo;immagine da caricare"
219
+
220
+ #: ../user-submitted-posts.php:881
221
+ msgid "Success! Thank you for your submission."
222
+ msgstr "Inviato! Grazie per la collaborazione."
223
+
224
+ #: ../user-submitted-posts.php:905
225
+ msgid "Email"
226
+ msgstr "Email"
227
+
228
+ #: ../user-submitted-posts.php:906
229
+ msgid "URL"
230
+ msgstr "URL"
231
+
232
+ #: ../user-submitted-posts.php:916
233
+ msgid "HTML5 Form + Default CSS <small>(Recommended)</small>"
234
+ msgstr "Modulo HTML5 + CSS Default <small>(Recommended)</small>"
235
+
236
+ #: ../user-submitted-posts.php:920
237
+ msgid "HTML5 Form + Disable CSS <small>(Provide your own styles)</small>"
238
+ msgstr ""
239
+ "Modulo HTML5 + CSS Personalizzato <small>(Fornisci il tuo CSS "
240
+ "personalizzato)</small>"
241
+
242
+ #: ../user-submitted-posts.php:924
243
+ msgid ""
244
+ "Custom Form + Custom CSS <small>(Provide your own form template &amp; "
245
+ "styles)</small>"
246
+ msgstr ""
247
+ "Modulo Personalizzato + CSS Personalizzato<small>((Fornisci il tuo Modulo e "
248
+ "il tuo CSS personalizzato))</small>"
249
+
250
+ #: ../user-submitted-posts.php:932 ../user-submitted-posts.php:948
251
+ #: ../user-submitted-posts.php:964
252
+ msgid "Auto-display before post content"
253
+ msgstr "Mostra automaticamente prima di pubblicare il contenuto"
254
+
255
+ #: ../user-submitted-posts.php:936 ../user-submitted-posts.php:952
256
+ #: ../user-submitted-posts.php:968
257
+ msgid "Auto-display after post content"
258
+ msgstr "Mostra automaticamente dopo di pubblicare il contenuto"
259
+
260
+ #: ../user-submitted-posts.php:940
261
+ msgid "Do not auto-display submitted images"
262
+ msgstr "Non mostrare automaticamente le immagine inviate"
263
+
264
+ #: ../user-submitted-posts.php:956
265
+ msgid "Do not auto-display submitted email"
266
+ msgstr "Non mostrare automaticamente le email inviate"
267
+
268
+ #: ../user-submitted-posts.php:972
269
+ msgid "Do not auto-display submitted URL"
270
+ msgstr "Non mostrare automaticamente le URL inviate"
271
+
272
+ #: ../user-submitted-posts.php:1206
273
+ msgid "Toggle all panels"
274
+ msgstr "Apri/Chiudi tutti i pannelli"
275
+
276
+ #: ../user-submitted-posts.php:1215
277
+ msgid "We need your support!"
278
+ msgstr "Abbiamo bisogno del tuo supporto!"
279
+
280
+ #: ../user-submitted-posts.php:1219
281
+ msgid "Please"
282
+ msgstr "Per favore"
283
+
284
+ #: ../user-submitted-posts.php:1219
285
+ msgid "Make a donation via PayPal"
286
+ msgstr "Fai una donazione tramite Paypal"
287
+
288
+ #: ../user-submitted-posts.php:1219
289
+ msgid "make a donation"
290
+ msgstr "fai una donazione"
291
+
292
+ #: ../user-submitted-posts.php:1219
293
+ msgid "and/or"
294
+ msgstr "e/o"
295
+
296
+ #: ../user-submitted-posts.php:1220
297
+ msgid "Rate and review at the Plugin Directory"
298
+ msgstr "Vota e valuta nella Plugin Directory"
299
+
300
+ #: ../user-submitted-posts.php:1221
301
+ msgid "give this plugin a 5-star rating"
302
+ msgstr "vota questo plugin con 5 stelle"
303
+
304
+ #: ../user-submitted-posts.php:1225
305
+ msgid ""
306
+ "Your generous support enables continued development of this free plugin. "
307
+ "Thank you!"
308
+ msgstr ""
309
+ "La tua generosità consente lo sviluppo di questo plugin gratuito. Grazie!"
310
+
311
+ #: ../user-submitted-posts.php:1230
312
+ msgid "Check this box if you have shown support"
313
+ msgstr "Selezione opzione se hai dimostrato il tuo supporto"
314
+
315
+ #: ../user-submitted-posts.php:1238
316
+ msgid "Overview"
317
+ msgstr "Riassunto"
318
+
319
+ #: ../user-submitted-posts.php:1242
320
+ msgid ""
321
+ "enables your visitors to submit posts and upload images from the front-end "
322
+ "of your site. "
323
+ msgstr ""
324
+ "consente ai tuoi visitatori di inviare posts e caricare immagini dal front-"
325
+ "end del tuo sito."
326
+
327
+ #: ../user-submitted-posts.php:1243
328
+ msgid "For advanced functionality and unlimited forms, check out"
329
+ msgstr "Per le funzionalità avanzate e moduli illimitati, controlla"
330
+
331
+ #: ../user-submitted-posts.php:1244
332
+ msgid "&mdash; the ultimate solution for user-generated content."
333
+ msgstr "&mdash; la soluzione definitiva per gli UGC (user-generated content)"
334
+
335
+ #: ../user-submitted-posts.php:1249
336
+ msgid "Quick start:"
337
+ msgstr "Inizio rapido:"
338
+
339
+ #: ../user-submitted-posts.php:1249
340
+ msgid "configure settings"
341
+ msgstr "Configurazione impostazioni"
342
+
343
+ #: ../user-submitted-posts.php:1250
344
+ msgid "and then"
345
+ msgstr "e quindi"
346
+
347
+ #: ../user-submitted-posts.php:1250
348
+ msgid "display the form"
349
+ msgstr "mostra il modulo"
350
+
351
+ #: ../user-submitted-posts.php:1253
352
+ msgid "More info:"
353
+ msgstr "Maggiori info:"
354
+
355
+ #: ../user-submitted-posts.php:1254
356
+ msgid "WP Plugin Page"
357
+ msgstr "WP Plugin Page"
358
+
359
+ #: ../user-submitted-posts.php:1254 ../user-submitted-posts.php:1661
360
+ msgid "and"
361
+ msgstr "e"
362
+
363
+ #: ../user-submitted-posts.php:1255
364
+ msgid "Homepage"
365
+ msgstr "Homepage"
366
+
367
+ #: ../user-submitted-posts.php:1257
368
+ msgid "Support:"
369
+ msgstr "Supportaci:"
370
+
371
+ #: ../user-submitted-posts.php:1257
372
+ msgid "if you like USP, please"
373
+ msgstr "Se ti piace USP, per favore"
374
+
375
+ #: ../user-submitted-posts.php:1258
376
+ msgid "Rate and review this plugin at the WP Plugin Directory"
377
+ msgstr "Vota e valuta questo plugin nella Directory Plugin di WP"
378
+
379
+ #: ../user-submitted-posts.php:1259
380
+ msgid "give it a 5-star rating"
381
+ msgstr "vota questo plugin con 5 stelle"
382
+
383
+ #: ../user-submitted-posts.php:1273
384
+ msgid "Options"
385
+ msgstr "Opzioni"
386
+
387
+ #: ../user-submitted-posts.php:1277
388
+ msgid "Configure your settings for User Submitted Posts."
389
+ msgstr "Configura impostazioni User Submitted Posts"
390
+
391
+ #: ../user-submitted-posts.php:1279
392
+ msgid "Form Fields"
393
+ msgstr "Campi Modulo"
394
+
395
+ #: ../user-submitted-posts.php:1284
396
+ msgid "User Name"
397
+ msgstr "Nome"
398
+
399
+ #: ../user-submitted-posts.php:1287 ../user-submitted-posts.php:1297
400
+ #: ../user-submitted-posts.php:1307 ../user-submitted-posts.php:1317
401
+ #: ../user-submitted-posts.php:1327 ../user-submitted-posts.php:1337
402
+ #: ../user-submitted-posts.php:1347 ../user-submitted-posts.php:1357
403
+ msgid "Display and require"
404
+ msgstr "Mostrato e obbligatorio"
405
+
406
+ #: ../user-submitted-posts.php:1288 ../user-submitted-posts.php:1298
407
+ #: ../user-submitted-posts.php:1308 ../user-submitted-posts.php:1318
408
+ #: ../user-submitted-posts.php:1328 ../user-submitted-posts.php:1338
409
+ #: ../user-submitted-posts.php:1348
410
+ msgid "Display but do not require"
411
+ msgstr "Mostrato ma non obbligatorio"
412
+
413
+ #: ../user-submitted-posts.php:1289 ../user-submitted-posts.php:1299
414
+ #: ../user-submitted-posts.php:1309 ../user-submitted-posts.php:1319
415
+ #: ../user-submitted-posts.php:1329 ../user-submitted-posts.php:1339
416
+ #: ../user-submitted-posts.php:1349 ../user-submitted-posts.php:1358
417
+ msgid "Disable this field"
418
+ msgstr "Disabilita questo campo"
419
+
420
+ #: ../user-submitted-posts.php:1294
421
+ msgid "User Email"
422
+ msgstr "Email utente"
423
+
424
+ #: ../user-submitted-posts.php:1304
425
+ msgid "Post URL"
426
+ msgstr "URL"
427
+
428
+ #: ../user-submitted-posts.php:1314 ../views/submission-form.php:53
429
+ #: ../views/submission-form.php:54
430
+ msgid "Post Title"
431
+ msgstr "Titolo"
432
+
433
+ #: ../user-submitted-posts.php:1324 ../views/submission-form.php:59
434
+ #: ../views/submission-form.php:60
435
+ msgid "Post Tags"
436
+ msgstr "Tags"
437
+
438
+ #: ../user-submitted-posts.php:1334 ../views/submission-form.php:71
439
+ msgid "Post Category"
440
+ msgstr "Categoria"
441
+
442
+ #: ../user-submitted-posts.php:1344 ../views/submission-form.php:106
443
+ #: ../views/submission-form.php:107
444
+ msgid "Post Content"
445
+ msgstr "Contenuto"
446
+
447
+ #: ../user-submitted-posts.php:1354 ../user-submitted-posts.php:1360
448
+ #: ../user-submitted-posts.php:1567 ../user-submitted-posts.php:1572
449
+ msgid "Challenge Question"
450
+ msgstr "Domanda"
451
+
452
+ #: ../user-submitted-posts.php:1360 ../user-submitted-posts.php:1370
453
+ msgid "(Visit"
454
+ msgstr "(Visita"
455
+
456
+ #: ../user-submitted-posts.php:1360 ../user-submitted-posts.php:1370
457
+ msgid "to configure options)"
458
+ msgstr "per configurare le opzioni)"
459
+
460
+ #: ../user-submitted-posts.php:1364
461
+ msgid "Post Images"
462
+ msgstr "Immagini"
463
+
464
+ #: ../user-submitted-posts.php:1367
465
+ msgid "Display"
466
+ msgstr "Mostra"
467
+
468
+ #: ../user-submitted-posts.php:1368
469
+ msgid "Disable"
470
+ msgstr "Disabilita"
471
+
472
+ #: ../user-submitted-posts.php:1370 ../user-submitted-posts.php:1589
473
+ msgid "Image Uploads"
474
+ msgstr "Carica immagini"
475
+
476
+ #: ../user-submitted-posts.php:1376
477
+ msgid "General Options"
478
+ msgstr "Opzioni Generali"
479
+
480
+ #: ../user-submitted-posts.php:1381
481
+ msgid "Form style"
482
+ msgstr "Stile del modulo"
483
+
484
+ #: ../user-submitted-posts.php:1386
485
+ msgid "With this option, you can copy the plugin&rsquo;s default templates:"
486
+ msgstr "Con questa opzione, puoi copiare il template di default del plugin:"
487
+
488
+ #: ../user-submitted-posts.php:1391
489
+ msgid "..and upload them to the plugin&rsquo;s"
490
+ msgstr "... e caricarlo nei plugin"
491
+
492
+ #: ../user-submitted-posts.php:1391
493
+ msgid "directory:"
494
+ msgstr "directory:"
495
+
496
+ #: ../user-submitted-posts.php:1397
497
+ msgid ""
498
+ "That will enable you to customize the form and styles as desired. Note: the"
499
+ msgstr ""
500
+ "Questo ti consente di personalizzare modulo e stile come desiderato. Nota: il"
501
+
502
+ #: ../user-submitted-posts.php:1398
503
+ msgid ""
504
+ "file is optional if you want to use your own stylesheet. See the readme.txt "
505
+ "for more information. FYI: here is a"
506
+ msgstr ""
507
+ "file è facoltativo se vuoi usare il tuo foglio di stile personalizzato. "
508
+ "Leggi il file readme.txt per maggiori informazioni. FYI: qui c&rsquo;è una"
509
+
510
+ #: ../user-submitted-posts.php:1399
511
+ msgid "list of CSS selectors for USP"
512
+ msgstr "lista di selettori CSS per USP"
513
+
514
+ #: ../user-submitted-posts.php:1405
515
+ msgid "Include JavaScript?"
516
+ msgstr "Includere il Javascript?"
517
+
518
+ #: ../user-submitted-posts.php:1407
519
+ msgid ""
520
+ "Check this box if you want to include the external JavaScript files "
521
+ "(recommended)."
522
+ msgstr ""
523
+ "Seleziona questo checbox se vuoi includere i file Javascript esterni "
524
+ "(raccomandato)."
525
+
526
+ #: ../user-submitted-posts.php:1410
527
+ msgid "Targeted Loading"
528
+ msgstr "Pagina dove caricare le risorse esterne"
529
+
530
+ #: ../user-submitted-posts.php:1412
531
+ msgid ""
532
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
533
+ "Here you may specify the URL of the USP form to load resources only on that "
534
+ "page. Note: leave blank to load on all pages."
535
+ msgstr ""
536
+ "Quando abilitato, in tutte le pagine viene caricato i files CSS e Javascript "
537
+ "esterni. Specifica qui l&rsquo;URL del modulo USP per caricare queste "
538
+ "risorse solo in quella pagina. Nota: lascia vuoto per caricare le risorse in "
539
+ "tutte le pagine."
540
+
541
+ #: ../user-submitted-posts.php:1415
542
+ msgid "Categories"
543
+ msgstr "Categorie"
544
+
545
+ #: ../user-submitted-posts.php:1418
546
+ msgid ""
547
+ "Select which categories may be assigned to submitted posts (click to toggle)"
548
+ msgstr ""
549
+ "Seleziona quale categoria assegnare ai post inviati (click per nascondere)"
550
+
551
+ #: ../user-submitted-posts.php:1435
552
+ msgid "Assigned Author"
553
+ msgstr "Autore Attribuito"
554
+
555
+ #: ../user-submitted-posts.php:1444
556
+ msgid ""
557
+ "Specify the user that should be assigned as author for user-submitted posts."
558
+ msgstr "Specificare l&rsquo;autore al quale assegnare i posts"
559
+
560
+ #: ../user-submitted-posts.php:1448
561
+ msgid "Auto Publish?"
562
+ msgstr "Pubblica Automaticamente?"
563
+
564
+ #: ../user-submitted-posts.php:1451
565
+ msgid "Always moderate via Draft"
566
+ msgstr "Modera sempre nelle bozze"
567
+
568
+ #: ../user-submitted-posts.php:1452
569
+ msgid "Always moderate via Pending"
570
+ msgstr "Modera sempre in Attesa"
571
+
572
+ #: ../user-submitted-posts.php:1453
573
+ msgid "Always publish immediately"
574
+ msgstr "Pubblica sempre automaticamente"
575
+
576
+ #: ../user-submitted-posts.php:1458
577
+ msgid ""
578
+ "Post Status for submitted posts: moderate (recommended), publish "
579
+ "immediately, or publish after any number of approved posts."
580
+ msgstr ""
581
+ "Stato del Post inviato: moderato (raccomandato), pubblicato immediatamente, "
582
+ "o pubblicato solo dopo un numero di posts approvati."
583
+
584
+ #: ../user-submitted-posts.php:1462
585
+ msgid "Enable Rich Text Editor"
586
+ msgstr "Abilita l&rsquo;editor di testo visuale"
587
+
588
+ #: ../user-submitted-posts.php:1464
589
+ msgid ""
590
+ "Check this box if you want to enable WP rich text editing for submitted "
591
+ "posts."
592
+ msgstr ""
593
+ "Seleziona questa opzione se vuoi abilitare l&rsquo;editor di testo visuale"
594
+
595
+ #: ../user-submitted-posts.php:1467
596
+ msgid "Redirect URL"
597
+ msgstr "URL di reindirizzamento"
598
+
599
+ #: ../user-submitted-posts.php:1469
600
+ msgid ""
601
+ "Specify a URL to redirect the user after post-submission. Leave blank to "
602
+ "redirect back to current page."
603
+ msgstr ""
604
+ "Specifica una URL dove reindirizzare l&rsquo;utente dopo l'invio del post. "
605
+ "Lascia vuoto se vuoi reinderizzarlo alla pagina corrente."
606
+
607
+ #: ../user-submitted-posts.php:1472
608
+ msgid "Success Message"
609
+ msgstr "Messaggio di successo"
610
+
611
+ #: ../user-submitted-posts.php:1474
612
+ msgid ""
613
+ "Success message that is displayed if post-submission is successful. Basic "
614
+ "markup is allowed."
615
+ msgstr ""
616
+ "Messo di successo mostrato quando il post è inviato correttamente. Sono "
617
+ "ammessi i segnaposto di base."
618
+
619
+ #: ../user-submitted-posts.php:1477
620
+ msgid "Error Message"
621
+ msgstr "Messaggio di errore"
622
+
623
+ #: ../user-submitted-posts.php:1479
624
+ msgid ""
625
+ "General error message that is displayed if post-submission fails. Basic "
626
+ "markup is allowed."
627
+ msgstr ""
628
+ "Messo di errore mostrato quando l&rsquo;invio del post fallisce. Sono "
629
+ "ammessi i segnaposto di base."
630
+
631
+ #: ../user-submitted-posts.php:1482
632
+ msgid "Custom Content"
633
+ msgstr "Contenuto Personalizzato"
634
+
635
+ #: ../user-submitted-posts.php:1484
636
+ msgid ""
637
+ "Custom text/markup to be included before the submission form. Leave blank to "
638
+ "disable."
639
+ msgstr ""
640
+ "Testo/Segnaposto personalizzato da includere prima dell&rsquo;invio del "
641
+ "modulo. Lasciare bianco se non si vuole usare."
642
+
643
+ #: ../user-submitted-posts.php:1487
644
+ msgid "Unique Titles"
645
+ msgstr "Titoli unici"
646
+
647
+ #: ../user-submitted-posts.php:1489
648
+ msgid ""
649
+ "Require submitted post titles to be unique (useful for preventing multiple/"
650
+ "duplicate submitted posts)."
651
+ msgstr ""
652
+ " Il titolo del post deve essere univoco (utile per prevenire Post duplicati/"
653
+ "multipli)."
654
+
655
+ #: ../user-submitted-posts.php:1492
656
+ msgid "Disable Required"
657
+ msgstr "Disabilita i campi obbligatori"
658
+
659
+ #: ../user-submitted-posts.php:1494
660
+ msgid ""
661
+ "Disable all required attributes on default form fields (useful for "
662
+ "troubleshooting error messages)."
663
+ msgstr ""
664
+ "Disabilitare tutti gli attributi richiesti su campi del modulo di default "
665
+ "(utile per la risoluzione dei problemi dei messaggi di errore)."
666
+
667
+ #: ../user-submitted-posts.php:1497
668
+ msgid "Enable Shortcodes"
669
+ msgstr "Abilita Shortcode"
670
+
671
+ #: ../user-submitted-posts.php:1499
672
+ msgid ""
673
+ "Enable shortcodes in widgets. By default, WordPress does not enable "
674
+ "shortcodes in widgets. "
675
+ msgstr ""
676
+ "Abilita shortcodes nei widget. Per impostazione predefinita, WordPress non "
677
+ "abilita shortcodes nei widget."
678
+
679
+ #: ../user-submitted-posts.php:1500
680
+ msgid ""
681
+ "This setting enables any/all shortcodes in widgets (even shortcodes from "
682
+ "other plugins)."
683
+ msgstr ""
684
+ "Questo parametro abilita qualsiasi/tutti gli shortcodes nei widgets (anche "
685
+ "quelli di altri plugin)."
686
+
687
+ #: ../user-submitted-posts.php:1503
688
+ msgid "Disable IP Tracking"
689
+ msgstr "Disabilita il salvataggio dell&rsquo;IP"
690
+
691
+ #: ../user-submitted-posts.php:1505
692
+ msgid ""
693
+ "By default USP records the IP address with each submitted post. Check this "
694
+ "box to disable all IP tracking."
695
+ msgstr ""
696
+ "Di default USP registra l&rsquo;indirizzo IP di chi invia il post. Scegli "
697
+ "questa opzione per disabilitare."
698
+
699
+ #: ../user-submitted-posts.php:1510
700
+ msgid "Email Alerts"
701
+ msgstr "Avvisi via Email"
702
+
703
+ #: ../user-submitted-posts.php:1515
704
+ msgid "Receive Email Alert"
705
+ msgstr "Ricevi alert email"
706
+
707
+ #: ../user-submitted-posts.php:1517
708
+ msgid ""
709
+ "Check this box if you want to be notified via email for new post submissions."
710
+ msgstr "Scegli questa opzione se vuoi ricevere alert via email"
711
+
712
+ #: ../user-submitted-posts.php:1520
713
+ msgid "Email Address for Alerts"
714
+ msgstr "Indirizzo email per alert"
715
+
716
+ #: ../user-submitted-posts.php:1522
717
+ msgid ""
718
+ "If you checked the box to receive email alerts, indicate here the "
719
+ "address(es) to which the emails should be sent."
720
+ msgstr ""
721
+ "Se hai scelto di ricevere gli alert email, indica qui l&rsquo;indirizzo al "
722
+ "quale inviarli."
723
+
724
+ #: ../user-submitted-posts.php:1523
725
+ msgid "Multiple recipients may be included using a comma, like so:"
726
+ msgstr "Si possono indicare più indirizzi separati da virgola, così:"
727
+
728
+ #: ../user-submitted-posts.php:1526
729
+ msgid "Email Alert Subject"
730
+ msgstr "Oggetto dell&rsquo;avviso via email"
731
+
732
+ #: ../user-submitted-posts.php:1528
733
+ msgid ""
734
+ "Subject line for email alerts. Leave blank to use the default subject line. "
735
+ "Note: you can use the following variables: "
736
+ msgstr ""
737
+ "Oggetto dell&rsquo;email di alert. Lascia vuoto per usare l'oggetto di "
738
+ "default. Nota: puoi usare le seguenti variabili:"
739
+
740
+ #: ../user-submitted-posts.php:1532
741
+ msgid "Email Alert Message"
742
+ msgstr "Messaggio dell&rsquo;avviso via email"
743
+
744
+ #: ../user-submitted-posts.php:1534
745
+ msgid ""
746
+ "Message for email alerts. Leave blank to use the default message. Note: you "
747
+ "can use the following variables: "
748
+ msgstr ""
749
+ "Messaggio dell&rsquo;email di alert. Lascia vuoto per usare il messaggio di "
750
+ "default. Nota: puoi usare le seguenti variabili:"
751
+
752
+ #: ../user-submitted-posts.php:1540
753
+ msgid "Registered Users"
754
+ msgstr "Utenti registrati"
755
+
756
+ #: ../user-submitted-posts.php:1545
757
+ msgid "Registered Username"
758
+ msgstr "Username registrati"
759
+
760
+ #: ../user-submitted-posts.php:1547
761
+ msgid ""
762
+ "Use registered username as post author. Valid when the person submitting the "
763
+ "form is logged in to WordPress."
764
+ msgstr ""
765
+ "Usa username registrato come autore del post. Valido quando la persona che "
766
+ "invia il post è autenticata su WordPress."
767
+
768
+ #: ../user-submitted-posts.php:1550
769
+ msgid "User Profile URL"
770
+ msgstr "URL del Profilo Utente"
771
+
772
+ #: ../user-submitted-posts.php:1552
773
+ msgid ""
774
+ "Use registered user&rsquo;s Profile URL as the post URL. Valid when the "
775
+ "person submitting the form is logged in to WordPress."
776
+ msgstr ""
777
+ "Usa l&rsquo;URL Utente registrato come autore del post. Valido quando la "
778
+ "persona che invia il post è autenticata su WordPress."
779
+
780
+ #: ../user-submitted-posts.php:1555
781
+ msgid "Hidden/Default Category"
782
+ msgstr "Categoria Nascosta/Default"
783
+
784
+ #: ../user-submitted-posts.php:1557
785
+ msgid ""
786
+ "Use a hidden field for the post category. This may be used to specify a "
787
+ "default category when the category field is disabled."
788
+ msgstr ""
789
+ "Usa un campo nascosto per la categoria del Post. Viene utilizzato per "
790
+ "definire una categoria di defaul quando il campo Categoria è disabilitato."
791
+
792
+ #: ../user-submitted-posts.php:1560
793
+ msgid "Category ID for Hidden Field"
794
+ msgstr "ID Categoria per il campo nascosto"
795
+
796
+ #: ../user-submitted-posts.php:1562
797
+ msgid ""
798
+ "Specify the ID of the category to use for the &ldquo;Hidden/Default "
799
+ "Category&rdquo; option."
800
+ msgstr ""
801
+ "Specifica l&rsquo;ID della Categoria da usare per l'opzione &ldquo;Categoria "
802
+ "Nascosta/Default&rdquo;."
803
+
804
+ #: ../user-submitted-posts.php:1574
805
+ msgid ""
806
+ "To prevent spam, enter a question that users must answer before submitting "
807
+ "the form."
808
+ msgstr ""
809
+ "Per evitare lo spam, inserisci una domanda alla quale l'utente deve "
810
+ "rispondere per inviare il modulo."
811
+
812
+ #: ../user-submitted-posts.php:1577
813
+ msgid "Challenge Response"
814
+ msgstr "Risposta"
815
+
816
+ #: ../user-submitted-posts.php:1579
817
+ msgid "Enter the <em>only</em> correct answer to the challenge question."
818
+ msgstr "Inserire <em>solo</em> la risposta corretta alla domanda."
819
+
820
+ #: ../user-submitted-posts.php:1582
821
+ msgid "Case-sensitivity"
822
+ msgstr "Rispetta maiuscole/minuscole"
823
+
824
+ #: ../user-submitted-posts.php:1584
825
+ msgid "Check this box if you want the challenge response to be case-sensitive."
826
+ msgstr ""
827
+ "Scegli questa opzione se vuoi che la risposta debba rispettare le maiuscole/"
828
+ "minuscole."
829
+
830
+ #: ../user-submitted-posts.php:1594
831
+ msgid "Featured Image"
832
+ msgstr "Miniatura Immagine"
833
+
834
+ #: ../user-submitted-posts.php:1596
835
+ msgid ""
836
+ "Set submitted images as Featured Images. Requires theme support for Featured "
837
+ "Images (aka Post Thumbnails)."
838
+ msgstr ""
839
+ "Imposta l&rsquo;immagine inviata come Miniatura. Richiesta nei temi che "
840
+ "supporta le miniature (es. Post Thumbnails)."
841
+
842
+ #: ../user-submitted-posts.php:1599
843
+ msgid "Upload Message"
844
+ msgstr "Messaggio Upload"
845
+
846
+ #: ../user-submitted-posts.php:1601
847
+ msgid ""
848
+ "Message that appears next to the upload field. Useful for stating your "
849
+ "upload guidelines/policy/etc. Basic markup allowed."
850
+ msgstr ""
851
+ "Messaggio dopo il campo upload. Da usare per indicare le linee guida, "
852
+ "policy, etc. sull&rsquo;upload delle immagini. Sono ammessi segnaposto di "
853
+ "base."
854
+
855
+ #: ../user-submitted-posts.php:1604
856
+ msgid "&ldquo;Add another image&rdquo; link"
857
+ msgstr "Link &ldquo;Aggiungi un&rsquo;altra immagine&rdquo;"
858
+
859
+ #: ../user-submitted-posts.php:1606
860
+ msgid ""
861
+ "Custom markup for the &ldquo;Add another image&rdquo; link. Leave blank to "
862
+ "use the default markup (recommended)."
863
+ msgstr ""
864
+ "Segnaposto personalizzato per il link &ldquo;Aggiungi un&rsquo;altra "
865
+ "immagine&rdquo;. Lascia vuoto per usare il segnaposto di default "
866
+ "(raccomandato)."
867
+
868
+ #: ../user-submitted-posts.php:1609
869
+ msgid "Minimum number of images"
870
+ msgstr "Numero minimo di immagini"
871
+
872
+ #: ../user-submitted-posts.php:1612
873
+ msgid "Specify the <em>minimum</em> number of images."
874
+ msgstr "Specifica il numero <em>minimo</em> di immagini."
875
+
876
+ #: ../user-submitted-posts.php:1616
877
+ msgid "Maximum number of images"
878
+ msgstr "Numero massimo di immagini"
879
+
880
+ #: ../user-submitted-posts.php:1619
881
+ msgid "Specify the <em>maximum</em> number of images."
882
+ msgstr "Specifica il numero <em>massimo</em> di immagini."
883
+
884
+ #: ../user-submitted-posts.php:1623
885
+ msgid "Minimum image width"
886
+ msgstr "Larghezza minima immagine"
887
+
888
+ #: ../user-submitted-posts.php:1625
889
+ msgid "Specify a <em>minimum width</em> (in pixels) for uploaded images."
890
+ msgstr "Specifica una <em>larghezza minima</em> (in pixels) per le immagini."
891
+
892
+ #: ../user-submitted-posts.php:1628
893
+ msgid "Minimum image height"
894
+ msgstr "Altezza minima immagine"
895
+
896
+ #: ../user-submitted-posts.php:1630
897
+ msgid "Specify a <em>minimum height</em> (in pixels) for uploaded images."
898
+ msgstr "Specifica una <em>altezza minima</em> (in pixels) per le immagini."
899
+
900
+ #: ../user-submitted-posts.php:1633
901
+ msgid "Maximum image width"
902
+ msgstr "Larghezza massima immagine"
903
+
904
+ #: ../user-submitted-posts.php:1635
905
+ msgid "Specify a <em>maximum width</em> (in pixels) for uploaded images."
906
+ msgstr "Specifica una <em>larghezza massima</em> (in pixels) per le immagini."
907
+
908
+ #: ../user-submitted-posts.php:1638
909
+ msgid "Maximum image height"
910
+ msgstr "Altezza massima immagine"
911
+
912
+ #: ../user-submitted-posts.php:1640
913
+ msgid "Specify a <em>maximum height</em> (in pixels) for uploaded images."
914
+ msgstr "Specifica una <em>altezza massima</em> (in pixels) per le immagini."
915
+
916
+ #: ../user-submitted-posts.php:1645
917
+ msgid "Auto-Display Content"
918
+ msgstr "Mostra automaticamente contenuto"
919
+
920
+ #: ../user-submitted-posts.php:1650
921
+ msgid "Images Auto-Display"
922
+ msgstr "Mostra automaticamente le immagine"
923
+
924
+ #: ../user-submitted-posts.php:1652
925
+ msgid "Auto-display user-submitted images:"
926
+ msgstr "Mostra automaticamente le immagine inviate dall&rsquo;utente"
927
+
928
+ #: ../user-submitted-posts.php:1657
929
+ msgid "Image Markup"
930
+ msgstr "Segnaposto Immagine"
931
+
932
+ #: ../user-submitted-posts.php:1659
933
+ msgid ""
934
+ "Markup to use for each submitted image (when auto-display is enabled). Can "
935
+ "use"
936
+ msgstr ""
937
+ "Segnaposto da usare per le immagini inviate (quando mostra automaticamente è "
938
+ "abilitato). Puoi usare"
939
+
940
+ #: ../user-submitted-posts.php:1664
941
+ msgid "Email Auto-Display"
942
+ msgstr "Non mostrare automaticamente l&rsquo;email"
943
+
944
+ #: ../user-submitted-posts.php:1666
945
+ msgid "Auto-display user-submitted email:"
946
+ msgstr "Mostra automaticamente l&rsquo;email inviata:"
947
+
948
+ #: ../user-submitted-posts.php:1671
949
+ msgid "Email Markup"
950
+ msgstr "Segnaposto Email"
951
+
952
+ #: ../user-submitted-posts.php:1673
953
+ msgid ""
954
+ "Markup to use for the submitted email address (when auto-display is "
955
+ "enabled). Can use"
956
+ msgstr ""
957
+ "Segnaposto da usare per l&rsquo;email inviata (quando mostra automaticamente "
958
+ "è abilitato). Puoi usare"
959
+
960
+ #: ../user-submitted-posts.php:1676
961
+ msgid "URL Auto-Display"
962
+ msgstr "Mostra automaticamente l&rsquo;URL"
963
+
964
+ #: ../user-submitted-posts.php:1678
965
+ msgid "Auto-display user-submitted URL:"
966
+ msgstr "Mostra automaticamente l&rsquo;URL inviata:"
967
+
968
+ #: ../user-submitted-posts.php:1683
969
+ msgid "URL Markup"
970
+ msgstr "Segnaposto URL"
971
+
972
+ #: ../user-submitted-posts.php:1685
973
+ msgid ""
974
+ "Markup to use for the submitted URL (when auto-display is enabled). Can use"
975
+ msgstr ""
976
+ "Segnaposto da usare per l&rsquo;URL inviata (quando mostra automaticamente è "
977
+ "abilitato). Puoi usare"
978
+
979
+ #: ../user-submitted-posts.php:1690 ../user-submitted-posts.php:1722
980
+ msgid "Save Settings"
981
+ msgstr "Salva impostazioni"
982
+
983
+ #: ../user-submitted-posts.php:1695
984
+ msgid "Shortcode &amp; Template Tag"
985
+ msgstr "Shortcodes &amp; Tags del template"
986
+
987
+ #: ../user-submitted-posts.php:1698
988
+ msgid ""
989
+ "To implement USP, first configure the plugin settings, then use the "
990
+ "shortcode or template to display the form on the front-end as desired."
991
+ msgstr ""
992
+ "Per utilizzare USP, prima configura i parametri del plugin, quindi usa lo "
993
+ "shortcode o il tag per template per mostrare il modulo nelle pagine "
994
+ "desiderate."
995
+
996
+ #: ../user-submitted-posts.php:1700
997
+ msgid "Shortcode"
998
+ msgstr "Shortcode"
999
+
1000
+ #: ../user-submitted-posts.php:1701
1001
+ msgid "Use this shortcode to display the USP Form on any Post or Page:"
1002
+ msgstr ""
1003
+ "Usa questo Shortcode per mostrare il modulo USP in qualsiasi Post o Pagina "
1004
+ "del sito."
1005
+
1006
+ #: ../user-submitted-posts.php:1704
1007
+ msgid "Template tag"
1008
+ msgstr "Tag per template"
1009
+
1010
+ #: ../user-submitted-posts.php:1705
1011
+ msgid ""
1012
+ "Use this template tag to display the USP Form anywhere in your theme "
1013
+ "template:"
1014
+ msgstr ""
1015
+ "Usa questo tag per mostrare il modulo USP ovunque nel tuo template del tema:"
1016
+
1017
+ #: ../user-submitted-posts.php:1711
1018
+ msgid "Restore Default Options"
1019
+ msgstr "Recupera impostazioni di default"
1020
+
1021
+ #: ../user-submitted-posts.php:1715
1022
+ msgid "Restore default options upon plugin deactivation/reactivation."
1023
+ msgstr ""
1024
+ "Recupera le impostazioni di default del plugin quando disattivi/riattivi il "
1025
+ "plugin."
1026
+
1027
+ #: ../user-submitted-posts.php:1719
1028
+ msgid ""
1029
+ "<strong>Tip:</strong> leave this option unchecked to remember your settings. "
1030
+ "Or, to go ahead and restore all default options, check the box, save your "
1031
+ "settings, and then deactivate/reactivate the plugin."
1032
+ msgstr ""
1033
+ "<strong>Trucco:</strong> lascia questa opzione non selezionata per ricordare "
1034
+ "i tuoi parametri. Oppure, per recuperare le opzioni di default, seleziona "
1035
+ "questa opzione, salva le impostazioni, e disattiva e riattiva il plugin."
1036
+
1037
+ #: ../user-submitted-posts.php:1727
1038
+ msgid "Updates &amp; Info"
1039
+ msgstr "Update e Informazioni"
1040
+
1041
+ #: ../user-submitted-posts.php:1752
1042
+ msgid "Save Preference"
1043
+ msgstr "Salva preferenze"
1044
+
1045
+ #: ../user-submitted-posts.php:1759
1046
+ msgid ""
1047
+ "Are you sure you want to restore all default options? (this action cannot be "
1048
+ "undone)"
1049
+ msgstr ""
1050
+ "Sicuro di voler ripristinare tutte le opzioni di default? (non puoi più "
1051
+ "tornare indietro)"
1052
+
1053
+ #: ../views/submission-form.php:35 ../views/submission-form.php:36
1054
+ msgid "Your Name"
1055
+ msgstr "Nome"
1056
+
1057
+ #: ../views/submission-form.php:41 ../views/submission-form.php:42
1058
+ msgid "Your URL"
1059
+ msgstr "Indirizzo del vostro sito"
1060
+
1061
+ #: ../views/submission-form.php:47 ../views/submission-form.php:48
1062
+ msgid "Your Email"
1063
+ msgstr "Email"
1064
+
1065
+ #: ../views/submission-form.php:66
1066
+ msgid "Antispam Question"
1067
+ msgstr "Domanda antispam"
1068
+
1069
+ #: ../views/submission-form.php:73
1070
+ msgid "Please select a category.."
1071
+ msgstr "Seleziona una categoria"
1072
+
1073
+ #: ../views/submission-form.php:115
1074
+ msgid "Upload an Image"
1075
+ msgstr "Carica un&rsquo;immagine"
1076
+
1077
+ #: ../views/submission-form.php:123
1078
+ msgid "Add another image"
1079
+ msgstr "Aggiungi un&rsquo;altra immagine"
1080
+
1081
+ #: ../views/submission-form.php:144
1082
+ msgid "Human verification: leave this field empty."
1083
+ msgstr "Verifica Umano: lascia vuoto questo campo."
1084
+
1085
+ #: ../views/submission-form.php:165
1086
+ msgid "Submit Post"
1087
+ msgstr "Invia contenuto"
1088
+
1089
+ #~ msgid ""
1090
+ #~ "Classic form + styles (<small><em><strong>Note:</strong> the &ldquo;"
1091
+ #~ "classic&rdquo; form is deprecated and will be removed in a future version."
1092
+ #~ "</em></small>)"
1093
+ #~ msgstr ""
1094
+ #~ "Formulaire classique + styles (<small><em><strong>Note:</strong> le "
1095
+ #~ "formulaire classique sera supprimé dans une version antérieure.</em></"
1096
+ #~ "small>)"
1097
+
1098
+ #~ msgid "HTML5 form + styles"
1099
+ #~ msgstr "Formulaire HTML5 + styles"
1100
+
1101
+ #~ msgid "Get the shortcode &amp; template tag"
1102
+ #~ msgstr "Obtenir le shortcode"
1103
+
1104
+ #~ msgid "readme.txt"
1105
+ #~ msgstr "readme.txt"
1106
+
1107
+ #~ msgid ""
1108
+ #~ "Here you may configure options for USP. See the <code>readme.txt</code> "
1109
+ #~ "for more information."
1110
+ #~ msgstr ""
1111
+ #~ "Sur cette page vous pouvez configurer les options pour USP. Veuillez voir "
1112
+ #~ "le fichier <code>readme.txt</code> pour plus d'informations."
1113
+
1114
+ #~ msgid "Show/hide the following form fields"
1115
+ #~ msgstr "Montrer/cacher les champs de formulaire suivants"
1116
+
1117
+ #~ msgid "Show"
1118
+ #~ msgstr "Montrer"
1119
+
1120
+ #~ msgid "Hide"
1121
+ #~ msgstr "Cacher"
1122
+
1123
+ #~ msgid "Challenge question (Captcha)"
1124
+ #~ msgstr "Domanda anti-spam (Captcha)"
1125
+
1126
+ #~ msgid "Choose some general form options"
1127
+ #~ msgstr "Choisissez des options générales pour le formulaire"
1128
+
1129
+ #~ msgid ""
1130
+ #~ "HTML5 is recommended. If upgrading and the new form looks weird, choose "
1131
+ #~ "the Classic version."
1132
+ #~ msgstr ""
1133
+ #~ "HTML5 est recommandé. Si la mise à jour et le nouveau formulaire "
1134
+ #~ "s'affiche de manière étrange, choisissez la version classique."
1135
+
1136
+ #~ msgid ""
1137
+ #~ "To disable the plugin&rsquo;s stylesheet, choose Disable. Note: complete "
1138
+ #~ "list of CSS hooks for the submission form at"
1139
+ #~ msgstr ""
1140
+ #~ "Pour désactiver la feuille de style du plugin, choisissez Désactiver. "
1141
+ #~ "Note: la liste complète des hooks pour le formulaire de soumission se "
1142
+ #~ "trouve sur"
1143
+
1144
+ #~ msgid "Set Uploaded Image as Featured Image"
1145
+ #~ msgstr "Définir l'image chargée comme miniature de l'article"
1146
+
1147
+ #~ msgid ""
1148
+ #~ "Check this box if you want to set submitted images as Featured Images "
1149
+ #~ "(aka Post Thumbnails) for posts. \n"
1150
+ #~ "\t\t\t\t\t\t\t\t\t\t\tNote: your theme&rsquo;s single.php file must "
1151
+ #~ "include"
1152
+ #~ msgstr ""
1153
+ #~ "Check this box if you want to set submitted images as Featured Images "
1154
+ #~ "(aka Post Thumbnails) for posts. \n"
1155
+ #~ "\t\t\t\t\t\t\t\t\t\t\tNote: your theme&rsquo;s single.php file must "
1156
+ #~ "include"
1157
+
1158
+ #~ msgid "Use registered username for author?"
1159
+ #~ msgstr "Utiliser l'utilisateur connecté comme auteur?"
1160
+
1161
+ #~ msgid ""
1162
+ #~ "Check this box if you want to automatically use the registered username "
1163
+ #~ "as the submitted-post author. Note: this really should only be used when "
1164
+ #~ "requiring log-in for submissions."
1165
+ #~ msgstr ""
1166
+ #~ "Cochez cette case si vous voulez automatiquement utiliser le nom de "
1167
+ #~ "l'utilisateur enregistré comme auteur du billet soumis. Note: ceci "
1168
+ #~ "devrait être utilisé uniquement si un login est requis pour les "
1169
+ #~ "soumissions."
1170
+
1171
+ #~ msgid "Use registered URL for submitted URL?"
1172
+ #~ msgstr "Utiliser l'URL enregistré comme URL de soumission?"
1173
+
1174
+ #~ msgid ""
1175
+ #~ "Check this box if you want to automatically use the registered user&rsquo;"
1176
+ #~ "s specified URL as the submitted-post URL. Note: this really should only "
1177
+ #~ "be used when requiring log-in for submissions."
1178
+ #~ msgstr ""
1179
+ #~ "Cochez cette case si vous voulez automatiquement utiliser l'URL spécifiée "
1180
+ #~ "par l'utilisateur enregistré comme URL de soumission. Note: ceci devrait "
1181
+ #~ "uniquement être utilisé sur des formulaires qui requièrent un login pour "
1182
+ #~ "la soumission."
1183
+
1184
+ #~ msgid "Use a hidden field for submitted category?"
1185
+ #~ msgstr "Utiliser un champ invisible pour la catégorie de soumission?"
1186
+
1187
+ #~ msgid "Challenge question (captcha)"
1188
+ #~ msgstr "Question test (captcha)"
1189
+
1190
+ #~ msgid "Options for image uploads"
1191
+ #~ msgstr "Options pour le chargement d'images."
1192
+
1193
+ #~ msgid "(separate with commas)"
1194
+ #~ msgstr "(séparer avec des virgules)"
languages/usp-nl_NL.mo ADDED
Binary file
languages/usp-nl_NL.po ADDED
@@ -0,0 +1,675 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: User Submitted Posts\n"
4
+ "POT-Creation-Date: 2016-01-24 14:57+0100\n"
5
+ "PO-Revision-Date: 2016-01-24 16:14+0100\n"
6
+ "Last-Translator: Berend van Eerde <berendvaneerde@gmail.com>\n"
7
+ "Language-Team: Monzilla Media <http://perishablepress.com/contact/>\n"
8
+ "Language: English\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
+ "X-Poedit-KeywordsList: __;_e;_n;_x\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../user-submitted-posts.php:27 ../user-submitted-posts.php:59
20
+ msgid "User Submitted Posts"
21
+ msgstr "User Submitted Posts"
22
+
23
+ #: ../user-submitted-posts.php:49
24
+ msgid "requires WordPress 3.3 or higher, and has been deactivated!"
25
+ msgstr "vereist WordPress 3.3. of hoger en is gedeactiveerd!"
26
+
27
+ #: ../user-submitted-posts.php:50
28
+ msgid "Please return to the "
29
+ msgstr "Ga a.u.b. terug naar de "
30
+
31
+ #: ../user-submitted-posts.php:50
32
+ msgid "WordPress Admin area"
33
+ msgstr "WordPress Beheerderspagina"
34
+
35
+ #: ../user-submitted-posts.php:50
36
+ msgid "to upgrade WordPress and try again."
37
+ msgstr "om WordPress te updaten en probeer opnieuw."
38
+
39
+ #: ../user-submitted-posts.php:59
40
+ msgid "Submitted"
41
+ msgstr "Verzonden"
42
+
43
+ #: ../user-submitted-posts.php:118
44
+ msgid "An error occurred. Please go back and try again."
45
+ msgstr "Er heeft een fout plaatsgevonden. Ga terug en probeer opnieuw."
46
+
47
+ #: ../user-submitted-posts.php:255
48
+ msgid "USP"
49
+ msgstr "USP"
50
+
51
+ #: ../user-submitted-posts.php:432
52
+ msgid "Settings"
53
+ msgstr "Instellingen"
54
+
55
+ #: ../user-submitted-posts.php:469
56
+ msgid ""
57
+ "There was an error. Please ensure that you have added a title, some content, "
58
+ "and that you have uploaded only images."
59
+ msgstr ""
60
+ "Er heeft een fout opgetreden. Ga na of er een titel en/of een bericht zijn "
61
+ "ingevoerd. En dat alle uploads afbeeldingen zijn."
62
+
63
+ #: ../user-submitted-posts.php:511
64
+ msgid ""
65
+ "Classic form + styles (<small><em><strong>Note:</strong> the &ldquo;"
66
+ "classic&rdquo; form is deprecated and will be removed in a future version.</"
67
+ "em></small>)"
68
+ msgstr ""
69
+ "Klassieke formulier + styles (<small><em><strong>N.B.:>/strong> Het "
70
+ "klassieke formulier wordt niet meer geüpdatet en zal uit toekomstige versies "
71
+ "worden verwijderd.</em></small>)"
72
+
73
+ #: ../user-submitted-posts.php:515
74
+ msgid "HTML5 form + styles"
75
+ msgstr "HTML5 formulier + styles"
76
+
77
+ #: ../user-submitted-posts.php:519
78
+ msgid "Disable stylesheet"
79
+ msgstr "Schakel stylesheet uit"
80
+
81
+ #: ../user-submitted-posts.php:674
82
+ msgid "Toggle all panels"
83
+ msgstr "Open/Sluit alle panelen."
84
+
85
+ #: ../user-submitted-posts.php:682
86
+ msgid "Overview"
87
+ msgstr "Overzicht"
88
+
89
+ #: ../user-submitted-posts.php:686
90
+ msgid "(USP) enables your visitors to submit posts from anywhere on your site."
91
+ msgstr "(USP) laat je bezoekers berichten op je site plaatsen vanaf je site."
92
+
93
+ #: ../user-submitted-posts.php:687
94
+ msgid ""
95
+ "To implement, customize your options and then include the USP form via "
96
+ "shortcode or template tag."
97
+ msgstr ""
98
+ "Pas hier je instellingen aan en sluit het USP formulier in middels de "
99
+ "shortcode of de template tag. "
100
+
101
+ #: ../user-submitted-posts.php:688
102
+ msgid ""
103
+ "Use the shortcode to display the upload form on a post or page, or use the "
104
+ "template tag to display the upload form anywhere in your theme template."
105
+ msgstr ""
106
+ "Gebruik de shortcode om het uploadformulier in een bericht of pagina in te "
107
+ "sluiten. Gebruik de template tag als je het formulier in je thema wilt "
108
+ "gebruiken. "
109
+
110
+ #: ../user-submitted-posts.php:691
111
+ msgid "To configure your settings, visit the"
112
+ msgstr "Om je instellingen aan te passen ga je naar het"
113
+
114
+ #: ../user-submitted-posts.php:691
115
+ msgid "Options panel"
116
+ msgstr "Instellingen paneel"
117
+
118
+ #: ../user-submitted-posts.php:692
119
+ msgid "For the shortcode and template tag, visit"
120
+ msgstr "Voor de shortcode en de template tag ga je naar: "
121
+
122
+ #: ../user-submitted-posts.php:692 ../user-submitted-posts.php:991
123
+ msgid "Shortcode &amp; Template Tag"
124
+ msgstr "Shortcode &amp; Template Tag"
125
+
126
+ #: ../user-submitted-posts.php:693
127
+ msgid "For more information check the"
128
+ msgstr "Voor meer informatie ga naar"
129
+
130
+ #: ../user-submitted-posts.php:694
131
+ msgid "and"
132
+ msgstr "en"
133
+
134
+ #: ../user-submitted-posts.php:694
135
+ msgid "USP Homepage"
136
+ msgstr "USP Homepage"
137
+
138
+ #: ../user-submitted-posts.php:695
139
+ msgid "If you like this plugin, please"
140
+ msgstr "Als je deze plugin leuk vind, "
141
+
142
+ #: ../user-submitted-posts.php:696
143
+ msgid "Click here to rate and review this plugin on WordPress.org"
144
+ msgstr "Klik hier om hem te recenseren op WorPress.org"
145
+
146
+ #: ../user-submitted-posts.php:697
147
+ msgid "rate it at the Plugin Directory"
148
+ msgstr "recenseer hem a.u.b. in de Plugin Directory"
149
+
150
+ #: ../user-submitted-posts.php:705
151
+ msgid "Options"
152
+ msgstr "Opties"
153
+
154
+ #: ../user-submitted-posts.php:707
155
+ msgid ""
156
+ "Here you may configure options for USP. See the <code>readme.txt</code> for "
157
+ "more information."
158
+ msgstr ""
159
+ "Hier kan je de opties configureren voor USP. Lees de <code>readme.txt</code> "
160
+ "voor meer informatie."
161
+
162
+ #: ../user-submitted-posts.php:708
163
+ msgid "Show/hide the following form fields"
164
+ msgstr "Zet de volgende formuliervelden AAN/UIT"
165
+
166
+ #: ../user-submitted-posts.php:712 ../user-submitted-posts.php:718
167
+ #: ../user-submitted-posts.php:724 ../user-submitted-posts.php:730
168
+ #: ../user-submitted-posts.php:736 ../user-submitted-posts.php:742
169
+ #: ../user-submitted-posts.php:748 ../user-submitted-posts.php:754
170
+ msgid "Show"
171
+ msgstr "AAN"
172
+
173
+ #: ../user-submitted-posts.php:713 ../user-submitted-posts.php:719
174
+ #: ../user-submitted-posts.php:725 ../user-submitted-posts.php:731
175
+ #: ../user-submitted-posts.php:737 ../user-submitted-posts.php:743
176
+ #: ../user-submitted-posts.php:749 ../user-submitted-posts.php:755
177
+ msgid "Hide"
178
+ msgstr "UIT"
179
+
180
+ #: ../user-submitted-posts.php:714
181
+ msgid "User Name"
182
+ msgstr "Gebruikersnaam"
183
+
184
+ #: ../user-submitted-posts.php:720
185
+ msgid "Post URL"
186
+ msgstr "Bericht URL"
187
+
188
+ #: ../user-submitted-posts.php:726 ../views/submission-form-classic.php:44
189
+ #: ../views/submission-form.php:44 ../views/submission-form.php:45
190
+ msgid "Post Title"
191
+ msgstr "Titel van het Bericht"
192
+
193
+ #: ../user-submitted-posts.php:732 ../views/submission-form-classic.php:51
194
+ #: ../views/submission-form.php:49 ../views/submission-form.php:50
195
+ msgid "Post Tags"
196
+ msgstr "Tags van het Bericht"
197
+
198
+ #: ../user-submitted-posts.php:738 ../views/submission-form-classic.php:58
199
+ #: ../views/submission-form.php:59
200
+ msgid "Post Category"
201
+ msgstr "Categorie van het bericht"
202
+
203
+ #: ../user-submitted-posts.php:744 ../views/submission-form-classic.php:96
204
+ #: ../views/submission-form.php:87 ../views/submission-form.php:88
205
+ msgid "Post Content"
206
+ msgstr "Inhoud van het Bericht"
207
+
208
+ #: ../user-submitted-posts.php:750
209
+ msgid "Post Images"
210
+ msgstr "Afbeeldingen"
211
+
212
+ #: ../user-submitted-posts.php:756
213
+ msgid "Challenge question (Captcha)"
214
+ msgstr "Antispam vraag (Captcha)"
215
+
216
+ #: ../user-submitted-posts.php:759
217
+ msgid "Choose some general form options"
218
+ msgstr "Kies enkele algemene instellingen"
219
+
220
+ #: ../user-submitted-posts.php:763
221
+ msgid "Form style"
222
+ msgstr "Formulier Styles"
223
+
224
+ #: ../user-submitted-posts.php:781
225
+ msgid ""
226
+ "HTML5 is recommended. If upgrading and the new form looks weird, choose the "
227
+ "Classic version."
228
+ msgstr ""
229
+ "HTML5 is aan te raden. Wanneer bij het updaten het formulier er vreemd "
230
+ "uitziet: Kies de Oude versie."
231
+
232
+ #: ../user-submitted-posts.php:782
233
+ msgid ""
234
+ "To disable the plugin&rsquo;s stylesheet, choose Disable. Note: complete "
235
+ "list of CSS hooks for the submission form at"
236
+ msgstr ""
237
+ "Kies UIT om de stylesheet van de plugin uit te schakelen. NB: volledige "
238
+ "lijst van CSS voor het verzendformulier is hier te vinden:"
239
+
240
+ #: ../user-submitted-posts.php:783
241
+ msgid "CSS Hooks for User Submitted Posts"
242
+ msgstr "CSS voor User Submitted Posts"
243
+
244
+ #: ../user-submitted-posts.php:788
245
+ msgid "Include JavaScript?"
246
+ msgstr "JavaScript gebruiken?"
247
+
248
+ #: ../user-submitted-posts.php:790
249
+ msgid ""
250
+ "Check this box if you want to include the external JavaScript file. Note: if "
251
+ "you&rsquo;re not allowing image uploads, leave this option unchecked."
252
+ msgstr ""
253
+ "Schakel het selectievakje in als je het externe JavaScript-bestand wilt "
254
+ "gebruiken. N.B.: Als je de optie voor het uploaden van afbeeldingen niet "
255
+ "gebruikt kan dit vakje uitgeschakeld blijven."
256
+
257
+ #: ../user-submitted-posts.php:793
258
+ msgid "Targeted Loading"
259
+ msgstr "Invoegen"
260
+
261
+ #: ../user-submitted-posts.php:795
262
+ msgid ""
263
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
264
+ "Here you may specify the URL of the USP form to load resources only on that "
265
+ "page. Note: leave blank to load on all pages."
266
+ msgstr ""
267
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
268
+ "Here you may specify the URL of the USP form to load resources only on that "
269
+ "page. Note: leave blank to load on all pages."
270
+
271
+ #: ../user-submitted-posts.php:798
272
+ msgid "Categories"
273
+ msgstr "Categoriën"
274
+
275
+ #: ../user-submitted-posts.php:811
276
+ msgid "Select which categories may be assigned to submitted posts."
277
+ msgstr ""
278
+ "Selecione quais categorias poderão ser assinaladas para posts enviados."
279
+
280
+ #: ../user-submitted-posts.php:815
281
+ msgid "Assigned Author"
282
+ msgstr "Toegewezen Auteur"
283
+
284
+ #: ../user-submitted-posts.php:825
285
+ msgid ""
286
+ "Specify the user that should be assigned as author for user-submitted posts."
287
+ msgstr ""
288
+ "Specificeer de gebruiker die moet worden toegewezen als auteur voor USP."
289
+
290
+ #: ../user-submitted-posts.php:829
291
+ msgid "Auto Publish?"
292
+ msgstr "Automatisch Publiceren?"
293
+
294
+ #: ../user-submitted-posts.php:832
295
+ msgid "Always moderate"
296
+ msgstr "Altijd controleren"
297
+
298
+ #: ../user-submitted-posts.php:833
299
+ msgid "Always publish immediately"
300
+ msgstr "Altijd gelijk publiceren"
301
+
302
+ #: ../user-submitted-posts.php:838
303
+ msgid ""
304
+ "For submitted posts, you can always moderate (recommended), publish "
305
+ "immediately, or publish after any number of approved posts."
306
+ msgstr ""
307
+ "Voor verzonden berichten kan men altijd controleren, gelijk publiceren, of "
308
+ "goedkeuren na een aantal goedgekeurde berichten."
309
+
310
+ #: ../user-submitted-posts.php:842
311
+ msgid "Receive Email Alert"
312
+ msgstr "E-mailnotificaties ontvangen"
313
+
314
+ #: ../user-submitted-posts.php:844
315
+ msgid ""
316
+ "Check this box if you want to be notified via email for new post submissions."
317
+ msgstr ""
318
+ "Selecteer dit vakje als je op de hoogte wilt worden gehouden van nieuwe "
319
+ "berichten via e-mail."
320
+
321
+ #: ../user-submitted-posts.php:847
322
+ msgid "Enable Rich Text Editor"
323
+ msgstr "Rich Text Editor inschakelen."
324
+
325
+ #: ../user-submitted-posts.php:849
326
+ msgid ""
327
+ "Check this box if you want to enable WP rich text editing for submitted "
328
+ "posts."
329
+ msgstr ""
330
+ "Selecteer dit vakje wanneer je WP Rich Text Editor wilt inschakelen voor "
331
+ "verstuurde berichten."
332
+
333
+ #: ../user-submitted-posts.php:852
334
+ msgid "Set Uploaded Image as Featured Image"
335
+ msgstr "Stel Geüploade Afbeeldingen in als Thumbnail"
336
+
337
+ #: ../user-submitted-posts.php:854
338
+ #, fuzzy
339
+ msgid ""
340
+ "Check this box if you want to set submitted images as Featured Images (aka "
341
+ "Post Thumbnails) for posts. \n"
342
+ "\t\t\t\t\t\t\t\t\t\t\tNote: your theme&rsquo;s single.php file must include"
343
+ msgstr ""
344
+ "Schakel dit selectievakje in als je geüploade afbeeldingen direct als "
345
+ "thumbnail wilt gebruiken voor je bericht.\n"
346
+ "\t\t\t\t\t\t\t\t\t\t\tN.B.: Het bestand single.php in je thema moet dan wel "
347
+ "gebruik maken hiervan"
348
+
349
+ #: ../user-submitted-posts.php:855
350
+ msgid "to display Featured Images."
351
+ msgstr "om Thumbnails weer te geven."
352
+
353
+ #: ../user-submitted-posts.php:858
354
+ msgid "Email Address for Alerts"
355
+ msgstr "E-mailadressen voor notificaties"
356
+
357
+ #: ../user-submitted-posts.php:860
358
+ msgid ""
359
+ "If you checked the box to receive email alerts, indicate here the address"
360
+ "(es) to which the emails should be sent."
361
+ msgstr ""
362
+ "Als je het selectievakje voor het ontvangen van e-mailnotificaties hebt "
363
+ "ingeschakeld vul dan hier de e-mailadressen van de ontvangers in."
364
+
365
+ #: ../user-submitted-posts.php:861
366
+ msgid "Tip: multiple addresses may be included using a comma, like so:"
367
+ msgstr ""
368
+ "Tip: meerdere adressen kunnen worden ingevoerd, gescheiden door een komma, "
369
+ "bijv.:"
370
+
371
+ #: ../user-submitted-posts.php:864
372
+ msgid "Redirect URL"
373
+ msgstr "URL om naar terug te keren."
374
+
375
+ #: ../user-submitted-posts.php:866
376
+ msgid ""
377
+ "Specify a URL to redirect the user after post-submission. Note: leave blank "
378
+ "to redirect back to current page."
379
+ msgstr ""
380
+ "Vul hier een URL in om gebruikers naar terug te laten keren na het versturen "
381
+ "van een bericht. N.B.: Laat leeg als je de gebruikers naar de huidige pagina "
382
+ "wilt laten terugkeren."
383
+
384
+ #: ../user-submitted-posts.php:869
385
+ msgid "Success Message"
386
+ msgstr "Bericht na verzending."
387
+
388
+ #: ../user-submitted-posts.php:871
389
+ msgid ""
390
+ "This is the success message that is displayed if post-submission is "
391
+ "successful."
392
+ msgstr ""
393
+ "Dit is het bericht dat wordt getoond nadat een bericht succesvol is "
394
+ "verzonden."
395
+
396
+ #: ../user-submitted-posts.php:874
397
+ msgid "Error Message"
398
+ msgstr "Foutbericht"
399
+
400
+ #: ../user-submitted-posts.php:876
401
+ msgid "This is the error message that is displayed if post-submission fails."
402
+ msgstr ""
403
+ "Dit is het Foutbericht dat wordt weergegeven wanneer het verzenden van een "
404
+ "bericht mislukt."
405
+
406
+ #: ../user-submitted-posts.php:879
407
+ msgid "Custom Content"
408
+ msgstr "Aangepaste Inhoud"
409
+
410
+ #: ../user-submitted-posts.php:881
411
+ msgid ""
412
+ "Here you may specify custom text/markup to be included before the submission "
413
+ "form. Note: leave blank to disable."
414
+ msgstr ""
415
+ "Hier kan je een aangepast bericht insluiten voor het formulier. N.B.: Laat "
416
+ "leeg om uit te schakelen."
417
+
418
+ #: ../user-submitted-posts.php:885
419
+ msgid "Use registered user info"
420
+ msgstr "Gebruikersinformatie"
421
+
422
+ #: ../user-submitted-posts.php:889
423
+ msgid "Use registered username for author?"
424
+ msgstr "Gebruikersnaam van auteur?"
425
+
426
+ #: ../user-submitted-posts.php:891
427
+ msgid ""
428
+ "Check this box if you want to automatically use the registered username as "
429
+ "the submitted-post author. Note: this really should only be used when "
430
+ "requiring log-in for submissions."
431
+ msgstr ""
432
+ "Selecteer dit vakje als je automatisch de geregistreerde gebruikersnaam wilt "
433
+ "gebruiken als de auteur van het bericht. N.B.: Dit zou alleen gebruikt "
434
+ "moeten worden wanneer login vereist is voor het verzenden van berichten."
435
+
436
+ #: ../user-submitted-posts.php:894
437
+ msgid "Use registered URL for submitted URL?"
438
+ msgstr "Geregistreerde URL als verzonden URL gebruiken?"
439
+
440
+ #: ../user-submitted-posts.php:896
441
+ msgid ""
442
+ "Check this box if you want to automatically use the registered user&rsquo;s "
443
+ "specified URL as the submitted-post URL. Note: this really should only be "
444
+ "used when requiring log-in for submissions."
445
+ msgstr ""
446
+ "Selecteer dit vakje als je automatisch de geregistreerde URL wilt gebruiken "
447
+ "als de verzonden URL van het bericht. N.B.: Dit zou alleen gebruikt moeten "
448
+ "worden wanneer login vereist is voor het verzenden van berichten."
449
+
450
+ #: ../user-submitted-posts.php:899
451
+ msgid "Use a hidden field for submitted category?"
452
+ msgstr "Een verborgen veld gebruiken voor de toekenning van categorieën?"
453
+
454
+ #: ../user-submitted-posts.php:901
455
+ msgid ""
456
+ "Check this box if you want to use a hidden category field for the submitted "
457
+ "category. Note: this may be used to specify a default category for submitted "
458
+ "posts when the category field is hidden."
459
+ msgstr ""
460
+ "Selecteer dit vakje als je een verborgen veld wilt maken van de categorieën "
461
+ "voor het bericht. N.B.: Dit kan gebruikt worden wanneer men één specifieke "
462
+ "categorie wil toewijzen aan alle berichten."
463
+
464
+ #: ../user-submitted-posts.php:904
465
+ msgid "Category ID for hidden field"
466
+ msgstr "Categorie ID voor verborgen veld"
467
+
468
+ #: ../user-submitted-posts.php:906
469
+ msgid ""
470
+ "Specify a cateogry (ID) to use as the default category when using the &ldquo;"
471
+ "hidden field&rdquo; option."
472
+ msgstr ""
473
+ "Kies een Categorie (ID) om te gebruiken als standaard categorie, wanneer je "
474
+ "de optie hebt gebruikt voor het verbergen van de categorie."
475
+
476
+ #: ../user-submitted-posts.php:910
477
+ msgid "Challenge question (captcha)"
478
+ msgstr "Antispam Vraag (captcha)"
479
+
480
+ #: ../user-submitted-posts.php:914
481
+ msgid "Challenge Question"
482
+ msgstr "Antispam Vraag"
483
+
484
+ #: ../user-submitted-posts.php:916
485
+ msgid ""
486
+ "To prevent spam, enter a question that users must answer before submitting "
487
+ "the form."
488
+ msgstr ""
489
+ "Om spam te voorkomen vul je hier een vraag in voor gebruikers om te "
490
+ "beantwoorden."
491
+
492
+ #: ../user-submitted-posts.php:919
493
+ msgid "Challenge Response"
494
+ msgstr "Antwoord van de Antispam Vraag"
495
+
496
+ #: ../user-submitted-posts.php:921
497
+ msgid "Enter the <em>only</em> correct answer to the challenge question."
498
+ msgstr "Vul hier het correcte antwoord in voor de Antispam Vraag."
499
+
500
+ #: ../user-submitted-posts.php:924
501
+ msgid "Case-sensitivity"
502
+ msgstr "Hoofdlettergevoelig."
503
+
504
+ #: ../user-submitted-posts.php:926
505
+ msgid "Check this box if you want the challenge response to be case-sensitive."
506
+ msgstr ""
507
+ "Selecteer dit vakje als je de Antispam Vraag hoofdlettergevoelig wilt maken."
508
+
509
+ #: ../user-submitted-posts.php:930
510
+ msgid "Options for image uploads"
511
+ msgstr "Opties voor Uploads van Afbeeldingen"
512
+
513
+ #: ../user-submitted-posts.php:934
514
+ msgid "Upload Message"
515
+ msgstr "Upload Bericht"
516
+
517
+ #: ../user-submitted-posts.php:936
518
+ msgid ""
519
+ "This is the message that appears next to upload field. Useful to state your "
520
+ "upload guidelines/rules/etc."
521
+ msgstr ""
522
+ "Dit is het bericht dat verschijnt naast het uploadveld. Te gebruiken om je "
523
+ "uploadrichtlijnen te specificeren."
524
+
525
+ #: ../user-submitted-posts.php:939
526
+ msgid "Minimum number of images"
527
+ msgstr "Minimaal aantal afbeeldingen"
528
+
529
+ #: ../user-submitted-posts.php:948
530
+ msgid "Specify the <em>minimum</em> number of images."
531
+ msgstr "Specificeer het <em>minimum<em> aantal afbeeldingen."
532
+
533
+ #: ../user-submitted-posts.php:952
534
+ msgid "Maximum number of images"
535
+ msgstr "Maximum aantal afbeeldingen"
536
+
537
+ #: ../user-submitted-posts.php:955
538
+ msgid "No Limit"
539
+ msgstr "Geen Limiet"
540
+
541
+ #: ../user-submitted-posts.php:962
542
+ msgid "Specify the <em>maximum</em> number of images."
543
+ msgstr "Specificeer het <em>maximum</em> aantal afbeeldingen."
544
+
545
+ #: ../user-submitted-posts.php:966
546
+ msgid "Minimum image width"
547
+ msgstr "Minimum breedte afbeelding"
548
+
549
+ #: ../user-submitted-posts.php:968
550
+ msgid "Specify a <em>minimum width</em> (in pixels) for uploaded images."
551
+ msgstr ""
552
+ "Specificeer de <em>minimum breedte</em> (in pixels) voor uploads van "
553
+ "afbeeldingen."
554
+
555
+ #: ../user-submitted-posts.php:971
556
+ msgid "Minimum image height"
557
+ msgstr "Minimum breedte afbeelding"
558
+
559
+ #: ../user-submitted-posts.php:973
560
+ msgid "Specify a <em>minimum height</em> (in pixels) for uploaded images."
561
+ msgstr ""
562
+ "Specificeer de <em>minimum hoogte</em> (in pixels) voor uploads van "
563
+ "afbeeldingen."
564
+
565
+ #: ../user-submitted-posts.php:976
566
+ msgid "Maximum image width"
567
+ msgstr "Max. Afbeeldingsbreedte"
568
+
569
+ #: ../user-submitted-posts.php:978
570
+ msgid "Specify a <em>maximum width</em> (in pixels) for uploaded images."
571
+ msgstr ""
572
+ "Geef een <em>Max. breedte</em> (in pixels) aan voor de upload van "
573
+ "afbeeldingen."
574
+
575
+ #: ../user-submitted-posts.php:981
576
+ msgid "Maximum image height"
577
+ msgstr "Max. Afbeeldingshoogte"
578
+
579
+ #: ../user-submitted-posts.php:983
580
+ msgid "Specify a <em>maximum height</em> (in pixels) for uploaded images."
581
+ msgstr ""
582
+ "Geef een <em>Max. grootte</em> (in pixels) aan voor de upload van "
583
+ "afbeeldingen."
584
+
585
+ #: ../user-submitted-posts.php:987 ../user-submitted-posts.php:1015
586
+ msgid "Save Settings"
587
+ msgstr "Instellingen Opslaan"
588
+
589
+ #: ../user-submitted-posts.php:994
590
+ msgid "Shortcode"
591
+ msgstr "Shortcod"
592
+
593
+ #: ../user-submitted-posts.php:995
594
+ msgid "Use this shortcode to display the USP Form on any post or page:"
595
+ msgstr ""
596
+ "Gebruik deze shortcode om het USP Formulier in een Bericht of Pagina in te "
597
+ "sluiten."
598
+
599
+ #: ../user-submitted-posts.php:998
600
+ msgid "Template tag"
601
+ msgstr "Template tag"
602
+
603
+ #: ../user-submitted-posts.php:999
604
+ msgid ""
605
+ "Use this template tag to display the USP Form anywhere in your theme "
606
+ "template:"
607
+ msgstr ""
608
+ "Gebruik deze template tag in je template om het USP Formulier weer te geven."
609
+
610
+ #: ../user-submitted-posts.php:1004
611
+ msgid "Restore Default Options"
612
+ msgstr "Reset Instellingen"
613
+
614
+ #: ../user-submitted-posts.php:1008
615
+ msgid "Restore default options upon plugin deactivation/reactivation."
616
+ msgstr "Reset de instellingen bij heractivatie van de plugin."
617
+
618
+ #: ../user-submitted-posts.php:1012
619
+ msgid ""
620
+ "<strong>Tip:</strong> leave this option unchecked to remember your settings. "
621
+ "Or, to go ahead and restore all default options, check the box, save your "
622
+ "settings, and then deactivate/reactivate the plugin."
623
+ msgstr ""
624
+ "<strong>Tip:</strong> Laat dit vakje uitgeschakeld om de instellingen te "
625
+ "onthouden. Of om alle instellingen te resetten: Schakel het selectievakje "
626
+ "in, sla de instellingen op, en heractiveer de plugin."
627
+
628
+ #: ../user-submitted-posts.php:1019
629
+ msgid "Updates &amp; Info"
630
+ msgstr "Updates &amp; Info"
631
+
632
+ #: ../user-submitted-posts.php:1059
633
+ msgid ""
634
+ "Are you sure you want to restore all default options? (this action cannot be "
635
+ "undone)"
636
+ msgstr ""
637
+ "Weet je zeker dat je alle instellingen wilt resetten? (Dit kan niet ongedaan "
638
+ "worden gemaakt)"
639
+
640
+ #: ../views/submission-form-classic.php:30 ../views/submission-form.php:34
641
+ #: ../views/submission-form.php:35
642
+ msgid "Your Name"
643
+ msgstr "Naam"
644
+
645
+ #: ../views/submission-form-classic.php:37 ../views/submission-form.php:39
646
+ #: ../views/submission-form.php:40
647
+ msgid "Your URL"
648
+ msgstr "Jouw URL"
649
+
650
+ #: ../views/submission-form-classic.php:51
651
+ msgid "(separate with commas)"
652
+ msgstr "(separe com vírgulas)"
653
+
654
+ #: ../views/submission-form-classic.php:105 ../views/submission-form.php:94
655
+ msgid "Upload an Image"
656
+ msgstr "Upload een Afbeelding"
657
+
658
+ #: ../views/submission-form-classic.php:117 ../views/submission-form.php:104
659
+ msgid "Add another image"
660
+ msgstr "Upload nog een afbeelding"
661
+
662
+ #: ../views/submission-form-classic.php:125 ../views/submission-form.php:112
663
+ msgid "Human verification: leave this field empty."
664
+ msgstr "Verificatie? Laat dit veld leeg."
665
+
666
+ #: ../views/submission-form-classic.php:141 ../views/submission-form.php:128
667
+ msgid "Submit Post"
668
+ msgstr "Verzend Bericht"
669
+
670
+ #: ../views/submission-form.php:55
671
+ msgid "Antispam Question"
672
+ msgstr "Antispam Vraag"
673
+
674
+ #~ msgid "Classic form + styles"
675
+ #~ msgstr "Formulário clássico + estilos"
languages/usp-pt_BR.mo ADDED
Binary file
languages/usp-pt_BR.po ADDED
@@ -0,0 +1,637 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: User Submitted Posts\n"
4
+ "POT-Creation-Date: 2013-07-22 23:11-0800\n"
5
+ "PO-Revision-Date: 2013-09-11 21:39-0300\n"
6
+ "Last-Translator: Daniel Lemes <le.mes06@yahoo.com.br>\n"
7
+ "Language-Team: Monzilla Media <http://perishablepress.com/contact/>\n"
8
+ "Language: English\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
+ "X-Poedit-KeywordsList: __;_e;_n;_x\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../user-submitted-posts.php:21 ../user-submitted-posts.php:53
20
+ #: ../user-submitted-posts.php:249
21
+ msgid "User Submitted Posts"
22
+ msgstr "User Submitted Posts"
23
+
24
+ #: ../user-submitted-posts.php:43
25
+ msgid "requires WordPress 3.3 or higher, and has been deactivated!"
26
+ msgstr "requer WordPress 3.3 ou acima, e foi desativado!"
27
+
28
+ #: ../user-submitted-posts.php:44
29
+ msgid "Please return to the "
30
+ msgstr "Por favor retorne para"
31
+
32
+ #: ../user-submitted-posts.php:44
33
+ msgid "WordPress Admin area"
34
+ msgstr "Área de Administração do WordPress"
35
+
36
+ #: ../user-submitted-posts.php:44
37
+ msgid "to upgrade WordPress and try again."
38
+ msgstr "para atualizar o WordPress e tentar outra vez."
39
+
40
+ #: ../user-submitted-posts.php:53
41
+ msgid "Submitted"
42
+ msgstr "Enviado"
43
+
44
+ #: ../user-submitted-posts.php:112
45
+ msgid "An error occurred. Please go back and try again."
46
+ msgstr "Um erro ocorreu. Por favor, retorne e tente outra vez."
47
+
48
+ #: ../user-submitted-posts.php:426
49
+ msgid "Settings"
50
+ msgstr "Configurações"
51
+
52
+ #: ../user-submitted-posts.php:453
53
+ msgid ""
54
+ "There was an error. Please ensure that you have added a title, some content, "
55
+ "and that you have uploaded only images."
56
+ msgstr ""
57
+ "Houve um erro. Por favor, verifique se adicionou um título, algum conteúdo e "
58
+ "se fez o upload apenas de imagens."
59
+
60
+ #: ../user-submitted-posts.php:495
61
+ msgid "Classic form + styles"
62
+ msgstr "Formulário clássico + estilos"
63
+
64
+ #: ../user-submitted-posts.php:499
65
+ msgid "HTML5 form + styles"
66
+ msgstr "Formulário HTML5 + estilos"
67
+
68
+ #: ../user-submitted-posts.php:503
69
+ msgid "Disable stylesheet"
70
+ msgstr "Desabilitar folha de estilos"
71
+
72
+ #: ../user-submitted-posts.php:656
73
+ msgid "Toggle all panels"
74
+ msgstr "Recolher/expandir todos os painéis"
75
+
76
+ #: ../user-submitted-posts.php:664
77
+ msgid "Overview"
78
+ msgstr "Visão Geral"
79
+
80
+ #: ../user-submitted-posts.php:668
81
+ msgid "(USP) enables your visitors to submit posts from anywhere on your site."
82
+ msgstr ""
83
+ "(USP) permite que seus visitantes enviem posts de qualquer lugar para seu "
84
+ "site."
85
+
86
+ #: ../user-submitted-posts.php:669
87
+ msgid ""
88
+ "To implement, customize your options and then include the USP form via "
89
+ "shortcode or template tag."
90
+ msgstr ""
91
+ "Para implementar, personalize suas opções e inclua o formulário do USP via "
92
+ "shortcode ou tag de modelo."
93
+
94
+ #: ../user-submitted-posts.php:670
95
+ msgid ""
96
+ "Use the shortcode to display the upload form on a post or page, or use the "
97
+ "template tag to display the upload form anywhere in your theme template."
98
+ msgstr ""
99
+ "Use o shortcode para exibir o formulário de upload em uma página ou post, ou "
100
+ "use a marcação para exibir o formulário de upload em qualquer lugar dentro "
101
+ "do modelo do seu tema."
102
+
103
+ #: ../user-submitted-posts.php:673
104
+ msgid "To configure your settings, visit the"
105
+ msgstr "Para ajustar suas configurações, visite"
106
+
107
+ #: ../user-submitted-posts.php:673
108
+ msgid "Options panel"
109
+ msgstr "Painel de opções"
110
+
111
+ #: ../user-submitted-posts.php:674
112
+ msgid "For the shortcode and template tag, visit"
113
+ msgstr "Para o shortcode e tag de modelo, visite"
114
+
115
+ #: ../user-submitted-posts.php:674 ../user-submitted-posts.php:967
116
+ msgid "Shortcode &amp; Template Tag"
117
+ msgstr "Shortcode &amp; e Tag de Modelo"
118
+
119
+ #: ../user-submitted-posts.php:675
120
+ msgid "For more information check the"
121
+ msgstr "Para mais informações verifique "
122
+
123
+ #: ../user-submitted-posts.php:676
124
+ msgid "and"
125
+ msgstr "e"
126
+
127
+ #: ../user-submitted-posts.php:676
128
+ msgid "USP Homepage"
129
+ msgstr "Página do USP"
130
+
131
+ #: ../user-submitted-posts.php:682
132
+ msgid "Options"
133
+ msgstr "Opções"
134
+
135
+ #: ../user-submitted-posts.php:684
136
+ msgid ""
137
+ "Here you may configure options for USP. See the <code>readme.txt</code> for "
138
+ "more information."
139
+ msgstr ""
140
+ "Aqui você pode configurar as opções do USP. Veja o <code>readme.txt</code> "
141
+ "para mais informações."
142
+
143
+ #: ../user-submitted-posts.php:685
144
+ msgid "Show/hide the following form fields"
145
+ msgstr "Mostrar/esconder os seguintes campos do formulário"
146
+
147
+ #: ../user-submitted-posts.php:689 ../user-submitted-posts.php:695
148
+ #: ../user-submitted-posts.php:701 ../user-submitted-posts.php:707
149
+ #: ../user-submitted-posts.php:713 ../user-submitted-posts.php:719
150
+ #: ../user-submitted-posts.php:725 ../user-submitted-posts.php:731
151
+ msgid "Show"
152
+ msgstr "Mostrar"
153
+
154
+ #: ../user-submitted-posts.php:690 ../user-submitted-posts.php:696
155
+ #: ../user-submitted-posts.php:702 ../user-submitted-posts.php:708
156
+ #: ../user-submitted-posts.php:714 ../user-submitted-posts.php:720
157
+ #: ../user-submitted-posts.php:726 ../user-submitted-posts.php:732
158
+ msgid "Hide"
159
+ msgstr "Esconder"
160
+
161
+ #: ../user-submitted-posts.php:691
162
+ msgid "User Name"
163
+ msgstr "Nome do Usuário"
164
+
165
+ #: ../user-submitted-posts.php:697
166
+ msgid "Post URL"
167
+ msgstr "URL do Post"
168
+
169
+ #: ../user-submitted-posts.php:703 ../views/submission-form-classic.php:44
170
+ #: ../views/submission-form.php:44 ../views/submission-form.php:45
171
+ msgid "Post Title"
172
+ msgstr "Título do Post"
173
+
174
+ #: ../user-submitted-posts.php:709 ../views/submission-form-classic.php:51
175
+ #: ../views/submission-form.php:49 ../views/submission-form.php:50
176
+ msgid "Post Tags"
177
+ msgstr "Tags do Post"
178
+
179
+ #: ../user-submitted-posts.php:715 ../views/submission-form-classic.php:58
180
+ #: ../views/submission-form.php:59
181
+ msgid "Post Category"
182
+ msgstr "Categoria do Post"
183
+
184
+ #: ../user-submitted-posts.php:721 ../views/submission-form-classic.php:82
185
+ #: ../views/submission-form.php:73 ../views/submission-form.php:74
186
+ msgid "Post Content"
187
+ msgstr "Conteúdo do Post"
188
+
189
+ #: ../user-submitted-posts.php:727
190
+ msgid "Post Images"
191
+ msgstr "Imagens do Post"
192
+
193
+ #: ../user-submitted-posts.php:733
194
+ msgid "Challenge question (Captcha)"
195
+ msgstr "Questão de verificação (Captcha)"
196
+
197
+ #: ../user-submitted-posts.php:736
198
+ msgid "Choose some general form options"
199
+ msgstr "Defina algumas opções gerais do formulário"
200
+
201
+ #: ../user-submitted-posts.php:740
202
+ msgid "Form style"
203
+ msgstr "Estilo do formulário"
204
+
205
+ #: ../user-submitted-posts.php:758
206
+ msgid ""
207
+ "HTML5 is recommended. If upgrading and the new form looks weird, choose the "
208
+ "Classic version."
209
+ msgstr ""
210
+ "HTML5 é recomendado. Se estiver atualizando e o novo formulário ficar "
211
+ "estranho, escolha a versão Clássica."
212
+
213
+ #: ../user-submitted-posts.php:759
214
+ msgid ""
215
+ "To disable the plugin&rsquo;s stylesheet, choose Disable. Note: complete "
216
+ "list of CSS hooks for the submission form at"
217
+ msgstr ""
218
+ "Para desabilitar a folha de estilos do plugin, escolha Desabilitar. Nota: "
219
+ "lista completa de CSS hooks para o formulário de envio em "
220
+
221
+ #: ../user-submitted-posts.php:760
222
+ msgid "CSS Hooks for User Submitted Posts"
223
+ msgstr "CSS Hooks para o User Submitted Posts"
224
+
225
+ #: ../user-submitted-posts.php:765
226
+ msgid "Include JavaScript?"
227
+ msgstr "Incluir JavaScript?"
228
+
229
+ #: ../user-submitted-posts.php:767
230
+ msgid ""
231
+ "Check this box if you want to include the external JavaScript file. Note: if "
232
+ "you&rsquo;re not allowing image uploads, leave this option unchecked."
233
+ msgstr ""
234
+ "Marque essa caixa se quiser incluir o arquivo de JavaScript externo. Nota: "
235
+ "se não estiver permitindo o envio de imagens, deixe essa opção demarcada."
236
+
237
+ #: ../user-submitted-posts.php:770
238
+ msgid "Targeted Loading"
239
+ msgstr "Carregamento Localizado"
240
+
241
+ #: ../user-submitted-posts.php:772
242
+ msgid ""
243
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
244
+ "Here you may specify the URL of the USP form to load resources only on that "
245
+ "page. Note: leave blank to load on all pages."
246
+ msgstr ""
247
+ "Se habilitado, arquivos externos de JavaScript e CSS são carregados em todas "
248
+ "as páginas. Aqui você pode especificar o URL da página com o formulário do "
249
+ "USP para carregar os recursos só nela. Nota: deixe em branco para carregar "
250
+ "em todas as páginas."
251
+
252
+ #: ../user-submitted-posts.php:775
253
+ msgid "Categories"
254
+ msgstr "Categorias"
255
+
256
+ #: ../user-submitted-posts.php:788
257
+ msgid "Select which categories may be assigned to submitted posts."
258
+ msgstr ""
259
+ "Selecione quais categorias poderão ser assinaladas para posts enviados."
260
+
261
+ #: ../user-submitted-posts.php:792
262
+ msgid "Assigned Author"
263
+ msgstr "Autor Assinado"
264
+
265
+ #: ../user-submitted-posts.php:802
266
+ msgid ""
267
+ "Specify the user that should be assigned as author for user-submitted posts."
268
+ msgstr ""
269
+ "Especifique o usuário que deve ser designado como autor para posts enviados."
270
+
271
+ #: ../user-submitted-posts.php:806
272
+ msgid "Auto Publish?"
273
+ msgstr "Auto Publicar?"
274
+
275
+ #: ../user-submitted-posts.php:809
276
+ msgid "Always moderate"
277
+ msgstr "Sempre moderar"
278
+
279
+ #: ../user-submitted-posts.php:810
280
+ msgid "Always publish immediately"
281
+ msgstr "Sempre publicar imediatamente"
282
+
283
+ #: ../user-submitted-posts.php:815
284
+ msgid ""
285
+ "For submitted posts, you can always moderate (recommended), publish "
286
+ "immediately, or publish after any number of approved posts."
287
+ msgstr ""
288
+ "Para posts enviados, você pode sempre moderar (recomendado), publicar "
289
+ "imediatamente ou publicar após certo número de posts aprovados."
290
+
291
+ #: ../user-submitted-posts.php:819
292
+ msgid "Receive Email Alert"
293
+ msgstr "Receber Emails de Alerta"
294
+
295
+ #: ../user-submitted-posts.php:821
296
+ msgid ""
297
+ "Check this box if you want to be notified via email for new post submissions."
298
+ msgstr ""
299
+ "Marque essa caixa se quiser receber notificações por email de novos posts "
300
+ "enviados."
301
+
302
+ #: ../user-submitted-posts.php:824
303
+ msgid "Enable Rich Text Editor"
304
+ msgstr "Habilitar Editor Rich Text"
305
+
306
+ #: ../user-submitted-posts.php:826
307
+ msgid ""
308
+ "Check this box if you want to enable WP rich text editing for submitted "
309
+ "posts."
310
+ msgstr ""
311
+ "Marque essa caixa se quiser habilitar o editor rich text do WP para posts "
312
+ "enviados."
313
+
314
+ #: ../user-submitted-posts.php:829
315
+ msgid "Set Uploaded Image as Featured Image"
316
+ msgstr "Definir Imagem Enviada como Miniatura do Post"
317
+
318
+ #: ../user-submitted-posts.php:831
319
+ msgid ""
320
+ "Check this box if you want to set submitted images as Featured Images (aka "
321
+ "Post Thumbnails) for posts. \n"
322
+ "\t\t\t\t\t\t\t\t\t\t\tNote: your theme&rsquo;s single.php file must include "
323
+ "the_post_thumbnail() to display Featured Images."
324
+ msgstr ""
325
+ "Marque essa caixa se quiser definir imagens enviadas como Miniaturas do "
326
+ "Post. \n"
327
+ "\t\t\t\t\t\t\t\t\t\t\tNota: o arquivo single.php do seu tema deve ter "
328
+ "the_post_thumbnail() incluso para exibir Miniaturas de Post."
329
+
330
+ #: ../user-submitted-posts.php:835
331
+ msgid "Email Address for Alerts"
332
+ msgstr "Endereço de Email para Alertas"
333
+
334
+ #: ../user-submitted-posts.php:837
335
+ msgid ""
336
+ "If you checked the box to receive email alerts, indicate here the address to "
337
+ "which the emails should be sent."
338
+ msgstr ""
339
+ "Se marcou a caixa para receber notificações, indique aqui o endereço para "
340
+ "onde elas serão enviadas."
341
+
342
+ #: ../user-submitted-posts.php:840
343
+ msgid "Redirect URL"
344
+ msgstr "URL de Redirecionamento"
345
+
346
+ #: ../user-submitted-posts.php:842
347
+ msgid ""
348
+ "Specify a URL to redirect the user after post-submission. Note: leave blank "
349
+ "to redirect back to current page."
350
+ msgstr ""
351
+ "Especifique o URL para redirecionar o usuário após o envio do post. Nota: "
352
+ "deixe em branco para redirecioná-lo de volta à mesma página."
353
+
354
+ #: ../user-submitted-posts.php:845
355
+ msgid "Success Message"
356
+ msgstr "Mensagem de Sucesso"
357
+
358
+ #: ../user-submitted-posts.php:847
359
+ msgid ""
360
+ "This is the success message that is displayed if post-submission is "
361
+ "successful."
362
+ msgstr "Essa é a mensagem exibida quando o post for enviado com sucesso."
363
+
364
+ #: ../user-submitted-posts.php:850
365
+ msgid "Error Message"
366
+ msgstr "Mensagem de Erro"
367
+
368
+ #: ../user-submitted-posts.php:852
369
+ msgid "This is the error message that is displayed if post-submission fails."
370
+ msgstr "Essa é a mensagem exibida quando o envio do post falhar."
371
+
372
+ #: ../user-submitted-posts.php:855
373
+ msgid "Custom Content"
374
+ msgstr "Conteúdo Personalizado"
375
+
376
+ #: ../user-submitted-posts.php:857
377
+ msgid ""
378
+ "Here you may specify custom text/markup to be included before the submission "
379
+ "form. Note: leave blank to disable."
380
+ msgstr ""
381
+ "Aqui você pode especificar texto/marcação que será incluído antes do "
382
+ "formulário de envio. Nota: deixe em branco apra desabilitar."
383
+
384
+ #: ../user-submitted-posts.php:861
385
+ msgid "Use registered user info"
386
+ msgstr "Usar informações de usuário registrado."
387
+
388
+ #: ../user-submitted-posts.php:865
389
+ msgid "Use registered username for author?"
390
+ msgstr "Usar nome do usuário registrado como autor?"
391
+
392
+ #: ../user-submitted-posts.php:867
393
+ msgid ""
394
+ "Check this box if you want to automatically use the registered username as "
395
+ "the submitted-post author. Note: this really should only be used when "
396
+ "requiring log-in for submissions."
397
+ msgstr ""
398
+ "Marque essa caixa se quiser usar automaticamente o nome do autor registrado "
399
+ "como autor do post enviado. Nota: isso só deve ser usado quando login for "
400
+ "exigido para envios."
401
+
402
+ #: ../user-submitted-posts.php:870
403
+ msgid "Use registered URL for submitted URL?"
404
+ msgstr "Usar URL registrado para URL enviado?"
405
+
406
+ #: ../user-submitted-posts.php:872
407
+ msgid ""
408
+ "Check this box if you want to automatically use the registered user&rsquo;s "
409
+ "specified URL as the submitted-post URL. Note: this really should only be "
410
+ "used when requiring log-in for submissions."
411
+ msgstr ""
412
+ "Marque essa caixa se quiser usar automaticamente o URL especificado pelo "
413
+ "autor como URL do post enviado. Nota: isso só deve ser usado se login for "
414
+ "exigido para envios."
415
+
416
+ #: ../user-submitted-posts.php:875
417
+ msgid "Use a hidden field for submitted category?"
418
+ msgstr "Usar um campo oculto para categoria enviada?"
419
+
420
+ #: ../user-submitted-posts.php:877
421
+ msgid ""
422
+ "Check this box if you want to use a hidden category field for the submitted "
423
+ "category. Note: this may be used to specify a default category for submitted "
424
+ "posts when the category field is hidden."
425
+ msgstr ""
426
+ "Marque essa caixa se quiser usar um campo oculto no formulário para a "
427
+ "categoria enviada. Nota: isso deve ser usado para especificar uma categoria "
428
+ "padrão para posts enviados quando o campo de categoria estiver escondido."
429
+
430
+ #: ../user-submitted-posts.php:880
431
+ msgid "Category ID for hidden field"
432
+ msgstr "ID da Categoria para o campo secreto"
433
+
434
+ #: ../user-submitted-posts.php:882
435
+ msgid ""
436
+ "Specify a cateogry (ID) to use as the default category when using the &ldquo;"
437
+ "hidden field&rdquo; option."
438
+ msgstr ""
439
+ "Especifique uma categoria (ID) para usar como categoria padrão quando "
440
+ "estiver usando a opção &ldquo;campo&rdquo; oculto."
441
+
442
+ #: ../user-submitted-posts.php:886
443
+ msgid "Challenge question (captcha)"
444
+ msgstr "Questão de verificação (captcha)"
445
+
446
+ #: ../user-submitted-posts.php:890
447
+ msgid "Challenge Question"
448
+ msgstr "Questão de Verificação"
449
+
450
+ #: ../user-submitted-posts.php:892
451
+ msgid ""
452
+ "To prevent spam, enter a question that users must answer before submitting "
453
+ "the form."
454
+ msgstr ""
455
+ "Para evitar spam, forneça uma questão que usuários deverão responder antes "
456
+ "de enviar o formulário."
457
+
458
+ #: ../user-submitted-posts.php:895
459
+ msgid "Challenge Response"
460
+ msgstr "Resposta da Questão"
461
+
462
+ #: ../user-submitted-posts.php:897
463
+ msgid "Enter the <em>only</em> correct answer to the challenge question."
464
+ msgstr ""
465
+ "Digite a <em>única</em> resposta correta para a questão de verificação."
466
+
467
+ #: ../user-submitted-posts.php:900
468
+ msgid "Case-sensitivity"
469
+ msgstr "Sensível à maiúscula"
470
+
471
+ #: ../user-submitted-posts.php:902
472
+ msgid "Check this box if you want the challenge response to be case-sensitive."
473
+ msgstr ""
474
+ "Marque essa caixa se quiser que a resposta seja case-sensitive (sensível à "
475
+ "maiúscula e minúscula)."
476
+
477
+ #: ../user-submitted-posts.php:906
478
+ msgid "Options for image uploads"
479
+ msgstr "Opções para envio de imagens"
480
+
481
+ #: ../user-submitted-posts.php:910
482
+ msgid "Upload Message"
483
+ msgstr "Mensagem de Envio"
484
+
485
+ #: ../user-submitted-posts.php:912
486
+ msgid ""
487
+ "This is the message that appears next to upload field. Useful to state your "
488
+ "upload guidelines/rules/etc."
489
+ msgstr ""
490
+ "Essa é a mensagem que será vista próxima ao campo de envio. Útil para avisar "
491
+ "sobre regras ou dicas de envio, etc."
492
+
493
+ #: ../user-submitted-posts.php:915
494
+ msgid "Minimum number of images"
495
+ msgstr "Número mínimo de imagens"
496
+
497
+ #: ../user-submitted-posts.php:924
498
+ msgid "Specify the <em>minimum</em> number of images."
499
+ msgstr "Especifique o número <em>mínimo</em> de imagens."
500
+
501
+ #: ../user-submitted-posts.php:928
502
+ msgid "Maximum number of images"
503
+ msgstr "Número máximo de imagens"
504
+
505
+ #: ../user-submitted-posts.php:931
506
+ msgid "No Limit"
507
+ msgstr "Sem Limite"
508
+
509
+ #: ../user-submitted-posts.php:938
510
+ msgid "Specify the <em>maximum</em> number of images."
511
+ msgstr "Especifique o número <em>máximo</em> de imagens."
512
+
513
+ #: ../user-submitted-posts.php:942
514
+ msgid "Minimum image width"
515
+ msgstr "Largura mínima da imagem"
516
+
517
+ #: ../user-submitted-posts.php:944
518
+ msgid "Specify a <em>minimum width</em> (in pixels) for uploaded images."
519
+ msgstr ""
520
+ "Especifique uma <em>largura mínima</em> (em pixels) para imagens enviadas."
521
+
522
+ #: ../user-submitted-posts.php:947
523
+ msgid "Minimum image height"
524
+ msgstr "Altura mínima da imagem"
525
+
526
+ #: ../user-submitted-posts.php:949
527
+ msgid "Specify a <em>minimum height</em> (in pixels) for uploaded images."
528
+ msgstr ""
529
+ "Especifique uma <em>altura mínima</em> (em pixels) para imagens enviadas."
530
+
531
+ #: ../user-submitted-posts.php:952
532
+ msgid "Maximum image width"
533
+ msgstr "Largura máxima da imagem"
534
+
535
+ #: ../user-submitted-posts.php:954
536
+ msgid "Specify a <em>maximum width</em> (in pixels) for uploaded images."
537
+ msgstr ""
538
+ "Especifique uma <em>largura máxima</em> (em pixels) para imagens enviadas."
539
+
540
+ #: ../user-submitted-posts.php:957
541
+ msgid "Maximum image height"
542
+ msgstr "Altura máxima da imagem"
543
+
544
+ #: ../user-submitted-posts.php:959
545
+ msgid "Specify a <em>maximum height</em> (in pixels) for uploaded images."
546
+ msgstr ""
547
+ "Especifique uma <em>altura máxima</em> (em pixels) para imagens enviadas."
548
+
549
+ #: ../user-submitted-posts.php:963 ../user-submitted-posts.php:991
550
+ msgid "Save Settings"
551
+ msgstr "Salvar Configurações"
552
+
553
+ #: ../user-submitted-posts.php:970
554
+ msgid "Shortcode"
555
+ msgstr "Shortcode"
556
+
557
+ #: ../user-submitted-posts.php:971
558
+ msgid "Use this shortcode to display the USP Form on any post or page:"
559
+ msgstr ""
560
+ "Use esse shortcode para exibir o Formulário do USP em qualquer post ou "
561
+ "página:"
562
+
563
+ #: ../user-submitted-posts.php:974
564
+ msgid "Template tag"
565
+ msgstr "Tag de modelo"
566
+
567
+ #: ../user-submitted-posts.php:975
568
+ msgid ""
569
+ "Use this template tag to display the USP Form anywhere in your theme "
570
+ "template:"
571
+ msgstr ""
572
+ "Use essa tag de modelo para exibir o Formulário do USP em qualquer lugar no "
573
+ "modelo do seu tema:"
574
+
575
+ #: ../user-submitted-posts.php:980
576
+ msgid "Restore Default Options"
577
+ msgstr "Restaurar Opções Padrão"
578
+
579
+ #: ../user-submitted-posts.php:984
580
+ msgid "Restore default options upon plugin deactivation/reactivation."
581
+ msgstr "Restaura as opções padrão através da desativação/reativação do plugin."
582
+
583
+ #: ../user-submitted-posts.php:988
584
+ msgid ""
585
+ "<strong>Tip:</strong> leave this option unchecked to remember your settings. "
586
+ "Or, to go ahead and restore all default options, check the box, save your "
587
+ "settings, and then deactivate/reactivate the plugin."
588
+ msgstr ""
589
+ "<strong>Dica:</strong> deixe essa opção desmarcada para lembrar suas "
590
+ "configurações. Ou para seguir com a restauração ao padrão, marque essa "
591
+ "caixa, salve suas configurações e então desative/reative o plugin."
592
+
593
+ #: ../user-submitted-posts.php:995
594
+ msgid "Updates &amp; Info"
595
+ msgstr "Atualizações &amp; Info"
596
+
597
+ #: ../user-submitted-posts.php:1035
598
+ msgid ""
599
+ "Are you sure you want to restore all default options? (this action cannot be "
600
+ "undone)"
601
+ msgstr ""
602
+ "Tem certeza que quer restaurar todas as opções padrão? (essa ação não pode "
603
+ "ser desfeita)"
604
+
605
+ #: ../views/submission-form-classic.php:30 ../views/submission-form.php:34
606
+ #: ../views/submission-form.php:35
607
+ msgid "Your Name"
608
+ msgstr "Seu Nome"
609
+
610
+ #: ../views/submission-form-classic.php:37 ../views/submission-form.php:39
611
+ #: ../views/submission-form.php:40
612
+ msgid "Your URL"
613
+ msgstr "Seu URL"
614
+
615
+ #: ../views/submission-form-classic.php:51
616
+ msgid "(separate with commas)"
617
+ msgstr "(separe com vírgulas)"
618
+
619
+ #: ../views/submission-form-classic.php:91 ../views/submission-form.php:80
620
+ msgid "Upload an Image"
621
+ msgstr "Envie uma Imagem"
622
+
623
+ #: ../views/submission-form-classic.php:103 ../views/submission-form.php:90
624
+ msgid "Add another image"
625
+ msgstr "Adicione outra imagem"
626
+
627
+ #: ../views/submission-form-classic.php:111 ../views/submission-form.php:98
628
+ msgid "Human verification: leave this field empty."
629
+ msgstr "Você é humano? Deixe esse campo em branco."
630
+
631
+ #: ../views/submission-form-classic.php:127 ../views/submission-form.php:114
632
+ msgid "Submit Post"
633
+ msgstr "Enviar Post"
634
+
635
+ #: ../views/submission-form.php:55
636
+ msgid "Antispam Question"
637
+ msgstr "Questão Antispam"
languages/usp-ro_RO.mo ADDED
Binary file
languages/usp-ro_RO.po ADDED
@@ -0,0 +1,699 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: User Submitted Posts\n"
4
+ "POT-Creation-Date: 2014-01-27 13:18-0800\n"
5
+ "PO-Revision-Date: 2014-06-11 12:35+0200\n"
6
+ "Last-Translator: Hideg András <hidegandras@gmail.com>\n"
7
+ "Language-Team: Monzilla Media <http://perishablepress.com/contact/>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.6.4\n"
12
+ "X-Poedit-KeywordsList: __;_e;_n;_x\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
15
+ "2:1));\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "Language: ro\n"
18
+ "X-Poedit-SearchPath-0: ..\n"
19
+
20
+ #: ../user-submitted-posts.php:27 ../user-submitted-posts.php:59
21
+ msgid "User Submitted Posts"
22
+ msgstr "User Submitted Posts"
23
+
24
+ #: ../user-submitted-posts.php:49
25
+ msgid "requires WordPress 3.5 or higher, and has been deactivated!"
26
+ msgstr ""
27
+ "este necesară o versiune de WordPress 3.5 sau mai mare, modulul a fost "
28
+ "dezactivat!"
29
+
30
+ #: ../user-submitted-posts.php:50
31
+ msgid "Please return to the "
32
+ msgstr "Întoarceți la"
33
+
34
+ #: ../user-submitted-posts.php:50
35
+ msgid "WordPress Admin area"
36
+ msgstr "Zona de administrare WordPress"
37
+
38
+ #: ../user-submitted-posts.php:50
39
+ msgid "to upgrade WordPress and try again."
40
+ msgstr "pentru a actualiza WordPress și a încerca din nou."
41
+
42
+ #: ../user-submitted-posts.php:59
43
+ msgid "Submitted"
44
+ msgstr "Trimis"
45
+
46
+ #: ../user-submitted-posts.php:118
47
+ msgid "An error occurred. Please go back and try again."
48
+ msgstr "A apărut o eroare. Vă rugăm încercați din nou."
49
+
50
+ #: ../user-submitted-posts.php:255
51
+ msgid "USP"
52
+ msgstr "USP"
53
+
54
+ #: ../user-submitted-posts.php:432
55
+ msgid "Settings"
56
+ msgstr "Setări"
57
+
58
+ #: ../user-submitted-posts.php:470
59
+ msgid ""
60
+ "There was an error. Please ensure that you have added a title, some content, "
61
+ "and that you have uploaded only images."
62
+ msgstr ""
63
+ "A apărut o eroare. Verificați dacă ați introdus titlul, conținutul și dacă "
64
+ "ați încărcat imagini."
65
+
66
+ #: ../user-submitted-posts.php:477 ../user-submitted-posts.php:478
67
+ #: ../user-submitted-posts.php:479 ../user-submitted-posts.php:480
68
+ #: ../user-submitted-posts.php:481 ../user-submitted-posts.php:488
69
+ #: ../user-submitted-posts.php:489
70
+ msgid "show"
71
+ msgstr "arată"
72
+
73
+ #: ../user-submitted-posts.php:482
74
+ msgid "hide"
75
+ msgstr "ascunde"
76
+
77
+ #: ../user-submitted-posts.php:483
78
+ msgid "Please select your image(s) to upload."
79
+ msgstr "Selectați imagina/imaginile pentru încărcare."
80
+
81
+ #: ../user-submitted-posts.php:490
82
+ msgid "Success! Thank you for your submission."
83
+ msgstr "Succes! Mulțumim pentru articol."
84
+
85
+ #: ../user-submitted-posts.php:513
86
+ msgid ""
87
+ "Classic form + styles (<small><em><strong>Note:</strong> the &ldquo;"
88
+ "classic&rdquo; form is deprecated and will be removed in a future version.</"
89
+ "em></small>)"
90
+ msgstr ""
91
+ "Formular classic + stiluri (<small><em><strong>Notă:</strong> formularul "
92
+ "&ldquo;classic&rdquo; este discountinuat și va fi scos în versiunile "
93
+ "viitoare.</em></small>)"
94
+
95
+ #: ../user-submitted-posts.php:517
96
+ msgid "HTML5 form + styles"
97
+ msgstr "Formulat HTML5 +stiluri"
98
+
99
+ #: ../user-submitted-posts.php:521
100
+ msgid "Disable stylesheet"
101
+ msgstr "Dezactivare stylesheet-uri"
102
+
103
+ #: ../user-submitted-posts.php:711
104
+ msgid "Toggle all panels"
105
+ msgstr "Deschide / închide toate panourile"
106
+
107
+ #: ../user-submitted-posts.php:719
108
+ msgid "Overview"
109
+ msgstr "Prezentare generală"
110
+
111
+ #: ../user-submitted-posts.php:723
112
+ msgid ""
113
+ "(USP) enables your visitors to submit posts and upload images from anywhere "
114
+ "on your site."
115
+ msgstr ""
116
+ "(USP) permite vizitatorilor să trimită articole și să încarce poze oriunde "
117
+ "pe sit."
118
+
119
+ #: ../user-submitted-posts.php:724
120
+ msgid ""
121
+ "To implement, configure the plugin settings and include the USP form in any "
122
+ "post or page via shortcode or anywhere in your theme via template tag."
123
+ msgstr ""
124
+ "Pentru a implementa, configura setările și a include formularul USP în orice "
125
+ "articol sau pagină cu ajutorul shortcode-ului sau a tag-ului de template."
126
+
127
+ #: ../user-submitted-posts.php:725
128
+ msgid "For more functionality check out"
129
+ msgstr "Pentru mai multe funcționalități verificați și"
130
+
131
+ #: ../user-submitted-posts.php:726
132
+ msgid "&mdash; the ultimate solution for unlimited front-end forms."
133
+ msgstr "&mdash; soluția optimă pentru formulare front-end nelimitate."
134
+
135
+ #: ../user-submitted-posts.php:730
136
+ msgid "Configure settings"
137
+ msgstr "Configurare setări"
138
+
139
+ #: ../user-submitted-posts.php:731
140
+ msgid "Get the shortcode &amp; template tag"
141
+ msgstr "Shortcode-ul și tag-ul pentru template"
142
+
143
+ #: ../user-submitted-posts.php:732
144
+ msgid "More info:"
145
+ msgstr "Mai multe informații:"
146
+
147
+ #: ../user-submitted-posts.php:732
148
+ msgid "readme.txt"
149
+ msgstr "readme.txt"
150
+
151
+ #: ../user-submitted-posts.php:733
152
+ msgid "and"
153
+ msgstr "și"
154
+
155
+ #: ../user-submitted-posts.php:733
156
+ msgid "homepage"
157
+ msgstr "prima pagină"
158
+
159
+ #: ../user-submitted-posts.php:734
160
+ msgid "If you like USP, please"
161
+ msgstr "Dacă vă plage USP, vă rog"
162
+
163
+ #: ../user-submitted-posts.php:735
164
+ msgid "Rate and review this plugin at the WP Plugin Directory"
165
+ msgstr "Evaluați și scrieți o recenzie în WP Plugin Directory"
166
+
167
+ #: ../user-submitted-posts.php:736
168
+ msgid "rate it at WordPress.org"
169
+ msgstr "evaluați pe WordPress.org"
170
+
171
+ #: ../user-submitted-posts.php:748
172
+ msgid "Options"
173
+ msgstr "Opțiuni"
174
+
175
+ #: ../user-submitted-posts.php:750
176
+ msgid ""
177
+ "Here you may configure options for USP. See the <code>readme.txt</code> for "
178
+ "more information."
179
+ msgstr ""
180
+ "Aici puteți configura opțiunile pentru USP. Citiți și <code>readme.txt</"
181
+ "code> pentru mai multe informații."
182
+
183
+ #: ../user-submitted-posts.php:751
184
+ msgid "Show/hide the following form fields"
185
+ msgstr "Arată/ascunde următoarele câmpuri"
186
+
187
+ #: ../user-submitted-posts.php:755 ../user-submitted-posts.php:761
188
+ #: ../user-submitted-posts.php:767 ../user-submitted-posts.php:773
189
+ #: ../user-submitted-posts.php:779 ../user-submitted-posts.php:785
190
+ #: ../user-submitted-posts.php:791 ../user-submitted-posts.php:797
191
+ msgid "Show"
192
+ msgstr "Arată"
193
+
194
+ #: ../user-submitted-posts.php:756 ../user-submitted-posts.php:762
195
+ #: ../user-submitted-posts.php:768 ../user-submitted-posts.php:774
196
+ #: ../user-submitted-posts.php:780 ../user-submitted-posts.php:786
197
+ #: ../user-submitted-posts.php:792 ../user-submitted-posts.php:798
198
+ msgid "Hide"
199
+ msgstr "Ascunde"
200
+
201
+ #: ../user-submitted-posts.php:757
202
+ msgid "User Name"
203
+ msgstr "Nume utilizator"
204
+
205
+ #: ../user-submitted-posts.php:763
206
+ msgid "Post URL"
207
+ msgstr "URL articol"
208
+
209
+ #: ../user-submitted-posts.php:769 ../views/submission-form-classic.php:46
210
+ #: ../views/submission-form.php:46 ../views/submission-form.php:47
211
+ msgid "Post Title"
212
+ msgstr "Titlu articol"
213
+
214
+ #: ../user-submitted-posts.php:775 ../views/submission-form-classic.php:53
215
+ #: ../views/submission-form.php:51 ../views/submission-form.php:52
216
+ msgid "Post Tags"
217
+ msgstr "Etichete articol"
218
+
219
+ #: ../user-submitted-posts.php:781 ../views/submission-form-classic.php:60
220
+ #: ../views/submission-form.php:61
221
+ msgid "Post Category"
222
+ msgstr "Categorie"
223
+
224
+ #: ../user-submitted-posts.php:787 ../views/submission-form-classic.php:98
225
+ #: ../views/submission-form.php:89 ../views/submission-form.php:90
226
+ msgid "Post Content"
227
+ msgstr "Conținut"
228
+
229
+ #: ../user-submitted-posts.php:793
230
+ msgid "Post Images"
231
+ msgstr "Imagini"
232
+
233
+ #: ../user-submitted-posts.php:799
234
+ msgid "Challenge question (Captcha)"
235
+ msgstr "Întrebare de siguranță (Captcha)"
236
+
237
+ #: ../user-submitted-posts.php:802
238
+ msgid "Choose some general form options"
239
+ msgstr "Alegeți opțiuni generale pentru formular"
240
+
241
+ #: ../user-submitted-posts.php:806
242
+ msgid "Form style"
243
+ msgstr "Stil formular"
244
+
245
+ #: ../user-submitted-posts.php:824
246
+ msgid ""
247
+ "HTML5 is recommended. If upgrading and the new form looks weird, choose the "
248
+ "Classic version."
249
+ msgstr ""
250
+ "HTML5 este recomandat. Dacă ați efectuat un upgrade și formularul arată "
251
+ "ciudat, alegeți versiunea classică."
252
+
253
+ #: ../user-submitted-posts.php:825
254
+ msgid ""
255
+ "To disable the plugin&rsquo;s stylesheet, choose Disable. Note: complete "
256
+ "list of CSS hooks for the submission form at"
257
+ msgstr ""
258
+ "Pentru a dezactiva stylesheet-ul modulului, alegeți Dezactivare. Notă: lista "
259
+ "completă a legăturilor CSS pentru formular sunt la"
260
+
261
+ #: ../user-submitted-posts.php:826
262
+ msgid "CSS Hooks for User Submitted Posts"
263
+ msgstr "Legături CSS pentru User Submitted Posts"
264
+
265
+ #: ../user-submitted-posts.php:831
266
+ msgid "Include JavaScript?"
267
+ msgstr "Include JavaScript?"
268
+
269
+ #: ../user-submitted-posts.php:833
270
+ msgid ""
271
+ "Check this box if you want to include the external JavaScript file "
272
+ "(recommended)."
273
+ msgstr ""
274
+ "Bifați această căsuță pentru a include fișierul extern de JavaScript "
275
+ "(recomandat)."
276
+
277
+ #: ../user-submitted-posts.php:836
278
+ msgid "Targeted Loading"
279
+ msgstr "Încărcare țintită"
280
+
281
+ #: ../user-submitted-posts.php:838
282
+ msgid ""
283
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
284
+ "Here you may specify the URL of the USP form to load resources only on that "
285
+ "page. Note: leave blank to load on all pages."
286
+ msgstr ""
287
+ "Dacp este activat, fișierele CSS și JavaScript sunt încărcate pe fiecare "
288
+ "pagină. Puteți specifica URL-uri pentru ce pagini doriți ca formularul USP "
289
+ "să încarce resursele. Notă: lăsați gol pentru încărcare pe toate paginile."
290
+
291
+ #: ../user-submitted-posts.php:841
292
+ msgid "Categories"
293
+ msgstr "Categorii"
294
+
295
+ #: ../user-submitted-posts.php:854
296
+ msgid "Select which categories may be assigned to submitted posts."
297
+ msgstr "Selectați ce categorii pot fi atribuite la articolele trimise."
298
+
299
+ #: ../user-submitted-posts.php:858
300
+ msgid "Assigned Author"
301
+ msgstr "Autor atribuit"
302
+
303
+ #: ../user-submitted-posts.php:868
304
+ msgid ""
305
+ "Specify the user that should be assigned as author for user-submitted posts."
306
+ msgstr ""
307
+ "Specificați utilizatorul la care să fie atribuite articolele trimise de "
308
+ "utilizatori."
309
+
310
+ #: ../user-submitted-posts.php:872
311
+ msgid "Auto Publish?"
312
+ msgstr "Publicare automată?"
313
+
314
+ #: ../user-submitted-posts.php:875
315
+ msgid "Always moderate"
316
+ msgstr "Moderare"
317
+
318
+ #: ../user-submitted-posts.php:876
319
+ msgid "Always publish immediately"
320
+ msgstr "Publicare imediată"
321
+
322
+ #: ../user-submitted-posts.php:881
323
+ msgid ""
324
+ "For submitted posts, you can always moderate (recommended), publish "
325
+ "immediately, or publish after any number of approved posts."
326
+ msgstr ""
327
+ "Articolele trimise se pot modera întodeauna (recomandat), publica imediat "
328
+ "sau publica după un anumit număr de articole aprobate."
329
+
330
+ #: ../user-submitted-posts.php:885
331
+ msgid "Receive Email Alert"
332
+ msgstr "Alertă email"
333
+
334
+ #: ../user-submitted-posts.php:887
335
+ msgid ""
336
+ "Check this box if you want to be notified via email for new post submissions."
337
+ msgstr ""
338
+ "Bifați acestă căsuță dacă vreți notificare prin email pentru articole noi."
339
+
340
+ #: ../user-submitted-posts.php:890
341
+ msgid "Enable Rich Text Editor"
342
+ msgstr "Activare editor Rich Text"
343
+
344
+ #: ../user-submitted-posts.php:892
345
+ msgid ""
346
+ "Check this box if you want to enable WP rich text editing for submitted "
347
+ "posts."
348
+ msgstr ""
349
+ "Bifați această căsuță dacă vreți să activați editorul vizual de texte pentru "
350
+ "articolele trimise de utilizatori."
351
+
352
+ #: ../user-submitted-posts.php:895
353
+ msgid "Set Uploaded Image as Featured Image"
354
+ msgstr "Setare imagine încărcată ca imagine reprezentativă"
355
+
356
+ #: ../user-submitted-posts.php:897
357
+ msgid ""
358
+ "Check this box if you want to set submitted images as Featured Images (aka "
359
+ "Post Thumbnails) for posts. \n"
360
+ "\t\t\t\t\t\t\t\t\t\t\tNote: your theme&rsquo;s single.php file must include"
361
+ msgstr ""
362
+ "Bifați această căsuță dacă vreți să setați imaginile trimise ca imagini "
363
+ "reprezentative (thumbnail-uri) la articole. \n"
364
+ "\t\t\t\t\t\t\t\t\t\t\tNotă: fișierul single.php din template trebuie să "
365
+ "conțină"
366
+
367
+ #: ../user-submitted-posts.php:898
368
+ msgid "to display Featured Images."
369
+ msgstr "pentru a afișa imaginile reprezentative."
370
+
371
+ #: ../user-submitted-posts.php:901
372
+ msgid "Email Address for Alerts"
373
+ msgstr "Adresă email pentru alerte"
374
+
375
+ #: ../user-submitted-posts.php:903
376
+ msgid ""
377
+ "If you checked the box to receive email alerts, indicate here the "
378
+ "address(es) to which the emails should be sent."
379
+ msgstr ""
380
+ "Dacă ați bifat căsuța pentru alerte prin email, indicați aici adresa/"
381
+ "adresele unde să fie trimise mesajele."
382
+
383
+ #: ../user-submitted-posts.php:904
384
+ msgid "Tip: multiple addresses may be included using a comma, like so:"
385
+ msgstr "Tip: adresele multiple trebuie separate cu virgulă:"
386
+
387
+ #: ../user-submitted-posts.php:907
388
+ msgid "Redirect URL"
389
+ msgstr "URL redirectare"
390
+
391
+ #: ../user-submitted-posts.php:909
392
+ msgid ""
393
+ "Specify a URL to redirect the user after post-submission. Note: leave blank "
394
+ "to redirect back to current page."
395
+ msgstr ""
396
+ "Specificați o adresă URL unde să fie redirectat utilizatorul după un articol "
397
+ "trimis. Notă: lăsați gole pentru redirecta către pagina actuală."
398
+
399
+ #: ../user-submitted-posts.php:912
400
+ msgid "Success Message"
401
+ msgstr "Mesaj succes"
402
+
403
+ #: ../user-submitted-posts.php:914
404
+ msgid ""
405
+ "This is the success message that is displayed if post-submission is "
406
+ "successful."
407
+ msgstr ""
408
+ "Acesta este mesajul care va fi afișat în cazul în care un mesaj a fost "
409
+ "trimis cu succes."
410
+
411
+ #: ../user-submitted-posts.php:917
412
+ msgid "Error Message"
413
+ msgstr "Mesaj de eroare"
414
+
415
+ #: ../user-submitted-posts.php:919
416
+ msgid "This is the error message that is displayed if post-submission fails."
417
+ msgstr ""
418
+ "Acesta este mesajul de eroare care va fi afișat în cazul în care un mesaj nu "
419
+ "s-a trimis."
420
+
421
+ #: ../user-submitted-posts.php:922
422
+ msgid "Custom Content"
423
+ msgstr "Conținut personalizat"
424
+
425
+ #: ../user-submitted-posts.php:924
426
+ msgid ""
427
+ "Here you may specify custom text/markup to be included before the submission "
428
+ "form. Note: leave blank to disable."
429
+ msgstr ""
430
+ "Puteți specifica un text personalizat care să fie inclus înainte de "
431
+ "formular. Notă: pentru deazctivare lăsați gol acest câmp."
432
+
433
+ #: ../user-submitted-posts.php:928
434
+ msgid "Use registered user info"
435
+ msgstr "Folosiți informația utilizatorului înregistrat"
436
+
437
+ #: ../user-submitted-posts.php:932
438
+ msgid "Use registered username for author?"
439
+ msgstr "Folosiți nume utilizator înregistrat pentru autor?"
440
+
441
+ #: ../user-submitted-posts.php:934
442
+ msgid ""
443
+ "Check this box if you want to automatically use the registered username as "
444
+ "the submitted-post author. Note: this really should only be used when "
445
+ "requiring log-in for submissions."
446
+ msgstr ""
447
+ "Bifați această căsuță dacă vreți să fie folosit numele de utilizator "
448
+ "înregistrat ca și autor pentru articolul trimis. Notă: acestă funcție "
449
+ "trebuie folosită doar atunci când este cerută autentificarea la articolele "
450
+ "trimise."
451
+
452
+ #: ../user-submitted-posts.php:937
453
+ msgid "Use registered URL for submitted URL?"
454
+ msgstr "Folosiți URL-ul înregistrat pentru URL-urile trimise?"
455
+
456
+ #: ../user-submitted-posts.php:939
457
+ msgid ""
458
+ "Check this box if you want to automatically use the registered user&rsquo;s "
459
+ "specified URL as the submitted-post URL. Note: this really should only be "
460
+ "used when requiring log-in for submissions."
461
+ msgstr ""
462
+ "Bifați acestă căsuță dacă vreți să folosiți URL-ul utilizatorului "
463
+ "înregistrat că și URL articol. Notă: acestă funcție trebuie folosită doar "
464
+ "atunci când este cerută autentificarea la articolele trimise."
465
+
466
+ #: ../user-submitted-posts.php:942
467
+ msgid "Use a hidden field for submitted category?"
468
+ msgstr "Utilizați un câmp ascuns pentru categorie?"
469
+
470
+ #: ../user-submitted-posts.php:944
471
+ msgid ""
472
+ "Check this box if you want to use a hidden category field for the submitted "
473
+ "category. Note: this may be used to specify a default category for submitted "
474
+ "posts when the category field is hidden."
475
+ msgstr ""
476
+ "Bifați această căsuță pentru a folosi un câmp ascuns pentru categorie "
477
+ "articol. Notă: această funcție se poate folosi pentru a specifica o "
478
+ "categorie implicită în cazul în care câmpul de categorii este ascuns."
479
+
480
+ #: ../user-submitted-posts.php:947
481
+ msgid "Category ID for hidden field"
482
+ msgstr "ID categorie pentru câmp ascuns"
483
+
484
+ #: ../user-submitted-posts.php:949
485
+ msgid ""
486
+ "Specify a cateogry (ID) to use as the default category when using the &ldquo;"
487
+ "hidden field&rdquo; option."
488
+ msgstr ""
489
+ "Specificați categoria (ID) folosită ca și categorie implicită când se "
490
+ "folosește opțiunea &ldquo;câmp ascuns&rdquo;."
491
+
492
+ #: ../user-submitted-posts.php:953
493
+ msgid "Challenge question (captcha)"
494
+ msgstr "Întrebare de siguranță (captcha)"
495
+
496
+ #: ../user-submitted-posts.php:957
497
+ msgid "Challenge Question"
498
+ msgstr "Întrebare de siguranță"
499
+
500
+ #: ../user-submitted-posts.php:959
501
+ msgid ""
502
+ "To prevent spam, enter a question that users must answer before submitting "
503
+ "the form."
504
+ msgstr ""
505
+ "Pentru protecție împotriva spam-ului, introduceți o întrebare la care "
506
+ "utilizatorii trebuie să răspundă înainte de trimiterea formularului."
507
+
508
+ #: ../user-submitted-posts.php:962
509
+ msgid "Challenge Response"
510
+ msgstr "Răspuns la întrebarea de siguranță"
511
+
512
+ #: ../user-submitted-posts.php:964
513
+ msgid "Enter the <em>only</em> correct answer to the challenge question."
514
+ msgstr "Introduceți <em>doar</em> răspunsul corect la întrebare."
515
+
516
+ #: ../user-submitted-posts.php:967
517
+ msgid "Case-sensitivity"
518
+ msgstr "Majusculele contează"
519
+
520
+ #: ../user-submitted-posts.php:969
521
+ msgid "Check this box if you want the challenge response to be case-sensitive."
522
+ msgstr ""
523
+ "Bifați această căsuță în cazul în care doriți ca să conteze majusculele în "
524
+ "răspuns."
525
+
526
+ #: ../user-submitted-posts.php:973
527
+ msgid "Options for image uploads"
528
+ msgstr "Opțiuni încărcare imagini"
529
+
530
+ #: ../user-submitted-posts.php:977
531
+ msgid "Upload Message"
532
+ msgstr "Mesaj încărcare"
533
+
534
+ #: ../user-submitted-posts.php:979
535
+ msgid ""
536
+ "This is the message that appears next to upload field. Useful to state your "
537
+ "upload guidelines/rules/etc."
538
+ msgstr ""
539
+ "Acesta este mesajul care va fi afișat lângă câmpul de încărcare. Folositor "
540
+ "pentru a specifica condițiile/regulile/etc."
541
+
542
+ #: ../user-submitted-posts.php:982
543
+ msgid "&ldquo;Add another image&rdquo; link"
544
+ msgstr "&ldquo;Adăugați încă o imagine&rdquo;"
545
+
546
+ #: ../user-submitted-posts.php:984
547
+ msgid ""
548
+ "Here you may specify your own custom markup for the &ldquo;Add another "
549
+ "image&rdquo; link (leave blank to use the default markup)."
550
+ msgstr ""
551
+ "Aici puteți specifica un text personalizat pentru link-ul &ldquo;Adăugați "
552
+ "încă o imagine&rdquo; (lăsați gol pentru textul implicit)."
553
+
554
+ #: ../user-submitted-posts.php:987
555
+ msgid "Minimum number of images"
556
+ msgstr "Numpr minim de imagini"
557
+
558
+ #: ../user-submitted-posts.php:990
559
+ msgid "Specify the <em>minimum</em> number of images."
560
+ msgstr "Specificați numărul <em>minim</em> de imagini."
561
+
562
+ #: ../user-submitted-posts.php:994
563
+ msgid "Maximum number of images"
564
+ msgstr "Număr maxim de imagini"
565
+
566
+ #: ../user-submitted-posts.php:997
567
+ msgid "Specify the <em>maximum</em> number of images."
568
+ msgstr "Specificați numărul <em>maxim</em> de imagini."
569
+
570
+ #: ../user-submitted-posts.php:1001
571
+ msgid "Minimum image width"
572
+ msgstr "Lățime minimă imagine"
573
+
574
+ #: ../user-submitted-posts.php:1003
575
+ msgid "Specify a <em>minimum width</em> (in pixels) for uploaded images."
576
+ msgstr ""
577
+ "Specificați <em>lățimea minimă</em> (în pixeli) a imaginilor încărcate."
578
+
579
+ #: ../user-submitted-posts.php:1006
580
+ msgid "Minimum image height"
581
+ msgstr "Înălțime minimă imagine"
582
+
583
+ #: ../user-submitted-posts.php:1008
584
+ msgid "Specify a <em>minimum height</em> (in pixels) for uploaded images."
585
+ msgstr ""
586
+ "Specificați <em>înălțimea minimă</em> (în pixeli) a imaginilor încărcate."
587
+
588
+ #: ../user-submitted-posts.php:1011
589
+ msgid "Maximum image width"
590
+ msgstr "Lățime maximă imagine"
591
+
592
+ #: ../user-submitted-posts.php:1013
593
+ msgid "Specify a <em>maximum width</em> (in pixels) for uploaded images."
594
+ msgstr ""
595
+ "Specificați <em>lățimea maximă</em> (în pixeli) a imaginilor încărcate."
596
+
597
+ #: ../user-submitted-posts.php:1016
598
+ msgid "Maximum image height"
599
+ msgstr "Înălțime maximă imagine"
600
+
601
+ #: ../user-submitted-posts.php:1018
602
+ msgid "Specify a <em>maximum height</em> (in pixels) for uploaded images."
603
+ msgstr ""
604
+ "Specificați <em>înălțimea maximă</em> (în pixeli) a imaginilor încărcate."
605
+
606
+ #: ../user-submitted-posts.php:1022 ../user-submitted-posts.php:1050
607
+ msgid "Save Settings"
608
+ msgstr "Salvare opțiuni"
609
+
610
+ #: ../user-submitted-posts.php:1026
611
+ msgid "Shortcode &amp; Template Tag"
612
+ msgstr "Shortcode și Template Tag"
613
+
614
+ #: ../user-submitted-posts.php:1029
615
+ msgid "Shortcode"
616
+ msgstr "Shortcode"
617
+
618
+ #: ../user-submitted-posts.php:1030
619
+ msgid "Use this shortcode to display the USP Form on any post or page:"
620
+ msgstr ""
621
+ "Folosiți acest shortcode pentru a afișa formularul USP în orice articol sau "
622
+ "pagină:"
623
+
624
+ #: ../user-submitted-posts.php:1033
625
+ msgid "Template tag"
626
+ msgstr "Template tag"
627
+
628
+ #: ../user-submitted-posts.php:1034
629
+ msgid ""
630
+ "Use this template tag to display the USP Form anywhere in your theme "
631
+ "template:"
632
+ msgstr ""
633
+ "Folosiți acest template tag pentru a afișa formularul USP oriunde în "
634
+ "templatul temei."
635
+
636
+ #: ../user-submitted-posts.php:1039
637
+ msgid "Restore Default Options"
638
+ msgstr "Resetare opțiuni implicite"
639
+
640
+ #: ../user-submitted-posts.php:1043
641
+ msgid "Restore default options upon plugin deactivation/reactivation."
642
+ msgstr ""
643
+ "Resetare opțiuni implicite în cazul în care dezactivați/reactivați modulul."
644
+
645
+ #: ../user-submitted-posts.php:1047
646
+ msgid ""
647
+ "<strong>Tip:</strong> leave this option unchecked to remember your settings. "
648
+ "Or, to go ahead and restore all default options, check the box, save your "
649
+ "settings, and then deactivate/reactivate the plugin."
650
+ msgstr ""
651
+ "<strong>Tip:</strong> lăsați acestă opțiune nebifat pentru a salva setările. "
652
+ "Dacă doriți să resetați toate setările bifați căsuța, salvați setările și "
653
+ "dezactivați/reactivați modulul."
654
+
655
+ #: ../user-submitted-posts.php:1054
656
+ msgid "Updates &amp; Info"
657
+ msgstr "Acutalizări și informații"
658
+
659
+ #: ../user-submitted-posts.php:1094
660
+ msgid ""
661
+ "Are you sure you want to restore all default options? (this action cannot be "
662
+ "undone)"
663
+ msgstr ""
664
+ "Sunteți sigur că vreți să resetați toate opțiunile la setările implicite? "
665
+ "(nu se poate revoca)"
666
+
667
+ #: ../views/submission-form-classic.php:32 ../views/submission-form.php:36
668
+ #: ../views/submission-form.php:37
669
+ msgid "Your Name"
670
+ msgstr "Nume"
671
+
672
+ #: ../views/submission-form-classic.php:39 ../views/submission-form.php:41
673
+ #: ../views/submission-form.php:42
674
+ msgid "Your URL"
675
+ msgstr "Adresă URL"
676
+
677
+ #: ../views/submission-form-classic.php:53
678
+ msgid "(separate with commas)"
679
+ msgstr "(separate cu virgulă)"
680
+
681
+ #: ../views/submission-form-classic.php:109 ../views/submission-form.php:96
682
+ msgid "Upload an Image"
683
+ msgstr "Încărcare imagine"
684
+
685
+ #: ../views/submission-form-classic.php:116 ../views/submission-form.php:104
686
+ msgid "Add another image"
687
+ msgstr "Adăugare imagine nouă"
688
+
689
+ #: ../views/submission-form-classic.php:133 ../views/submission-form.php:122
690
+ msgid "Human verification: leave this field empty."
691
+ msgstr "Verificare antiroboți: lăsați acest câmp gol."
692
+
693
+ #: ../views/submission-form-classic.php:149 ../views/submission-form.php:138
694
+ msgid "Submit Post"
695
+ msgstr "Trimitere articol"
696
+
697
+ #: ../views/submission-form.php:57
698
+ msgid "Antispam Question"
699
+ msgstr "Întrebare antispam"
languages/usp-ru_RU.mo ADDED
Binary file
languages/usp-ru_RU.po ADDED
@@ -0,0 +1,1117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Loco Gettext template
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: User Submitted Posts\n"
5
+ "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2016-07-10 14:43+0300\n"
7
+ "POT-Revision-Date: Mon Nov 16 2015 23:50:59 GMT-0800 (PST)\n"
8
+ "PO-Revision-Date: 2016-07-10 15:51+0300\n"
9
+ "Language-Team: \n"
10
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
11
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-Basepath: .\n"
17
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
18
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
19
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
20
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
21
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
22
+ "X-Generator: Poedit 1.8.8\n"
23
+ "Last-Translator: \n"
24
+ "Language: ru\n"
25
+ "X-Poedit-SearchPath-0: ..\n"
26
+
27
+ msgid "User Submitted Posts"
28
+ msgstr "Пользовательские посты"
29
+
30
+ #. URI of the plugin
31
+ msgid "https://perishablepress.com/user-submitted-posts"
32
+ msgstr ""
33
+
34
+ #. Description of the plugin
35
+ msgid ""
36
+ "Enables your visitors to submit posts and images from anywhere on your site."
37
+ msgstr ""
38
+ "Позволяет вашим посетителям оставлять посты и изображения где угодно на "
39
+ "вашем сайте."
40
+
41
+ #. Author of the plugin
42
+ msgid "Jeff Starr"
43
+ msgstr ""
44
+
45
+ #. Author URI of the plugin
46
+ msgid "https://monzillamedia.com"
47
+ msgstr ""
48
+
49
+ #: ../user-submitted-posts.php:55
50
+ msgid "requires WordPress "
51
+ msgstr "требуется WordPress"
52
+
53
+ #: ../user-submitted-posts.php:55
54
+ msgid " or higher, and has been deactivated!"
55
+ msgstr "или выше и был отключен."
56
+
57
+ #: ../user-submitted-posts.php:56
58
+ msgid "Please return to the "
59
+ msgstr "Пожалуйста, вернитесь в"
60
+
61
+ #: ../user-submitted-posts.php:56
62
+ msgid "WordPress Admin area"
63
+ msgstr "админ-панель WordPress"
64
+
65
+ #: ../user-submitted-posts.php:56
66
+ msgid "to upgrade WordPress and try again."
67
+ msgstr "чтобы обновить WordPress и попробовать снова."
68
+
69
+ #: ../user-submitted-posts.php:74
70
+ msgid "Submitted"
71
+ msgid_plural "Submitted"
72
+ msgstr[0] "Принятый"
73
+ msgstr[1] "Принятых"
74
+ msgstr[2] "Принятых"
75
+
76
+ #: ../user-submitted-posts.php:104
77
+ msgid "User Submitted Post"
78
+ msgstr "Пользовательский пост"
79
+
80
+ #: ../user-submitted-posts.php:203
81
+ msgid "User Submitted Post Info"
82
+ msgstr "Информация о пользовательском посте"
83
+
84
+ #: ../user-submitted-posts.php:222
85
+ msgid "Submitter Name: "
86
+ msgstr "Имя отправителя:"
87
+
88
+ #: ../user-submitted-posts.php:223
89
+ msgid "Submitter Email: "
90
+ msgstr "Email отправителя:"
91
+
92
+ #: ../user-submitted-posts.php:224
93
+ msgid "Submitter URL: "
94
+ msgstr "Сайт отправителя:"
95
+
96
+ #: ../user-submitted-posts.php:225
97
+ msgid "Submitter IP: "
98
+ msgstr "IP отправителя:"
99
+
100
+ #: ../user-submitted-posts.php:374
101
+ msgid "USP"
102
+ msgstr ""
103
+
104
+ #: ../user-submitted-posts.php:754
105
+ msgid " files required"
106
+ msgstr "необходимы файлы"
107
+
108
+ #: ../user-submitted-posts.php:755
109
+ msgid " file required"
110
+ msgstr "необходим файл"
111
+
112
+ #: ../user-submitted-posts.php:757
113
+ msgid " files"
114
+ msgstr "файлы"
115
+
116
+ #: ../user-submitted-posts.php:758
117
+ msgid " file"
118
+ msgstr "файл"
119
+
120
+ #: ../user-submitted-posts.php:760 ../user-submitted-posts.php:761 ../user-
121
+ #: submitted-posts.php:762 ../user-submitted-posts.php:763
122
+ msgid " pixels"
123
+ msgstr "пикс."
124
+
125
+ #: ../user-submitted-posts.php:766
126
+ msgid "An error occurred. Please go back and try again."
127
+ msgstr "Произошла ошибка. Пожалуйста, вернитесь и попробуйте снова."
128
+
129
+ #: ../user-submitted-posts.php:773
130
+ msgid "User login required"
131
+ msgstr "Требуется логин"
132
+
133
+ #: ../user-submitted-posts.php:774
134
+ msgid "User name required"
135
+ msgstr "Требуется имя пользователя"
136
+
137
+ #: ../user-submitted-posts.php:775
138
+ msgid "Post title required"
139
+ msgstr "Требуется заголовок"
140
+
141
+ #: ../user-submitted-posts.php:776
142
+ msgid "Post url required"
143
+ msgstr "Требуется ссылка"
144
+
145
+ #: ../user-submitted-posts.php:777
146
+ msgid "Post tags required"
147
+ msgstr "Требуются теги"
148
+
149
+ #: ../user-submitted-posts.php:778
150
+ msgid "Post category required"
151
+ msgstr "Требуется категория"
152
+
153
+ #: ../user-submitted-posts.php:779
154
+ msgid "Post content required"
155
+ msgstr "Требуется содержимое"
156
+
157
+ #: ../user-submitted-posts.php:780
158
+ msgid "Correct captcha required"
159
+ msgstr "Требуется правильная капча"
160
+
161
+ #: ../user-submitted-posts.php:781
162
+ msgid "User email required"
163
+ msgstr "Требуется почта"
164
+
165
+ #: ../user-submitted-posts.php:782
166
+ msgid "Non-empty value for hidden field"
167
+ msgstr "Скрытые поля заполнены"
168
+
169
+ #: ../user-submitted-posts.php:783
170
+ msgid "Minimum number of images not met"
171
+ msgstr "Недостаточно изображений"
172
+
173
+ #: ../user-submitted-posts.php:784
174
+ msgid "Maximum number of images exceeded "
175
+ msgstr "Слишком много изображений"
176
+
177
+ #: ../user-submitted-posts.php:785
178
+ msgid "Minimum image width not met"
179
+ msgstr "Недостаточная минимальная ширина изображения"
180
+
181
+ #: ../user-submitted-posts.php:786
182
+ msgid "Image width exceeds maximum"
183
+ msgstr "Ширина изображения превысила максимум"
184
+
185
+ #: ../user-submitted-posts.php:787
186
+ msgid "Minimum image height not met"
187
+ msgstr "Недостаточная высота изображения"
188
+
189
+ #: ../user-submitted-posts.php:788
190
+ msgid "Image height exceeds maximum"
191
+ msgstr "Высота изображения слишком большая"
192
+
193
+ #: ../user-submitted-posts.php:789
194
+ msgid "File type not allowed (please upload images only)"
195
+ msgstr ""
196
+ "Тип файлов не поддерживается (пожалуйста, загружайте только изображения)"
197
+
198
+ #: ../user-submitted-posts.php:790
199
+ msgid "The selected files could not be uploaded to the server"
200
+ msgstr "Выбранные файлы не были загружены на сервер"
201
+
202
+ #: ../user-submitted-posts.php:794
203
+ msgid "The file(s) could not be uploaded"
204
+ msgstr "Файл(ы) не были загружены"
205
+
206
+ #: ../user-submitted-posts.php:796
207
+ msgid "Post not created. Please contact the site administrator for help."
208
+ msgstr ""
209
+ "Пост не был создан. Пожалуйста, обратитесь за помощью к администратору."
210
+
211
+ #: ../user-submitted-posts.php:797
212
+ msgid "Duplicate post title. Please try again."
213
+ msgstr "Дубликат заголовка поста. Пожалуйста, попробуйте снова."
214
+
215
+ #: ../user-submitted-posts.php:803
216
+ msgid "Error: "
217
+ msgstr "Ошибка:"
218
+
219
+ #: ../user-submitted-posts.php:816
220
+ msgid "Settings"
221
+ msgstr "Настройки"
222
+
223
+ #: ../user-submitted-posts.php:855
224
+ msgid ""
225
+ "There was an error. Please ensure that you have added a title, some content, "
226
+ "and that you have uploaded only images."
227
+ msgstr ""
228
+ "Произошла ошибка. Убедитесь, что вы ввели название, добавили содержание и "
229
+ "загрузили только изображения."
230
+
231
+ #: ../user-submitted-posts.php:862 ../user-submitted-posts.php:863 ../user-
232
+ #: submitted-posts.php:865 ../user-submitted-posts.php:866 ../user-submitted-
233
+ #: posts.php:867 ../user-submitted-posts.php:873
234
+ #: ../user-submitted-posts.php:874
235
+ msgid "show"
236
+ msgstr "показать"
237
+
238
+ #: ../user-submitted-posts.php:864 ../user-submitted-posts.php:868
239
+ msgid "hide"
240
+ msgstr "скрыть"
241
+
242
+ #: ../user-submitted-posts.php:869
243
+ msgid "Please select your image(s) to upload."
244
+ msgstr "Пожалуйста, выберите одно или несколько изображений для загрузки."
245
+
246
+ #: ../user-submitted-posts.php:875
247
+ msgid "Success! Thank you for your submission."
248
+ msgstr "Успех! Спасибо за ваше признание."
249
+
250
+ #: ../user-submitted-posts.php:899
251
+ msgid "Email"
252
+ msgstr ""
253
+
254
+ #: ../user-submitted-posts.php:900
255
+ msgid "URL"
256
+ msgstr ""
257
+
258
+ #: ../user-submitted-posts.php:910
259
+ msgid "HTML5 Form + Default CSS <small>(Recommended)</small>"
260
+ msgstr "Форма HTML5 + Стандартный CSS <small>(Рекомендовано)</small>"
261
+
262
+ #: ../user-submitted-posts.php:914
263
+ msgid "HTML5 Form + Disable CSS <small>(Provide your own styles)</small>"
264
+ msgstr "Форма HTML5 + Отключить CSS <small>(Используйте свои стили)</small>"
265
+
266
+ #: ../user-submitted-posts.php:918
267
+ msgid ""
268
+ "Custom Form + Custom CSS <small>(Provide your own form template &amp; "
269
+ "styles)</small>"
270
+ msgstr ""
271
+ "Пользовательская HTML5 + Пользовательский CSS <small>(Используйте "
272
+ "собственные стили шаблона формы)</small>"
273
+
274
+ #: ../user-submitted-posts.php:926 ../user-submitted-posts.php:942 ../user-
275
+ #: submitted-posts.php:958
276
+ msgid "Auto-display before post content"
277
+ msgstr "Автоматический показ перед содержимым поста"
278
+
279
+ #: ../user-submitted-posts.php:930 ../user-submitted-posts.php:946 ../user-
280
+ #: submitted-posts.php:962
281
+ msgid "Auto-display after post content"
282
+ msgstr "Автоматический показ после содержимого поста"
283
+
284
+ #: ../user-submitted-posts.php:934
285
+ msgid "Do not auto-display submitted images"
286
+ msgstr "Не показывать автоматически изображения"
287
+
288
+ #: ../user-submitted-posts.php:950
289
+ msgid "Do not auto-display submitted email"
290
+ msgstr "Не показывать автоматически почту"
291
+
292
+ #: ../user-submitted-posts.php:966
293
+ msgid "Do not auto-display submitted URL"
294
+ msgstr "Не показывать автоматически URL"
295
+
296
+ #: ../user-submitted-posts.php:1200
297
+ msgid "Toggle all panels"
298
+ msgstr "Переключить все панели"
299
+
300
+ #: ../user-submitted-posts.php:1209
301
+ msgid "We need your support!"
302
+ msgstr "Нам нужна ваша поддержка!"
303
+
304
+ #: ../user-submitted-posts.php:1213
305
+ msgid "Please"
306
+ msgstr "Пожалуйста"
307
+
308
+ #: ../user-submitted-posts.php:1213
309
+ msgid "Make a donation via PayPal"
310
+ msgstr "Совершите пожертвование при помощи PayPal"
311
+
312
+ #: ../user-submitted-posts.php:1213
313
+ msgid "make a donation"
314
+ msgstr "совершить пожертвование"
315
+
316
+ #: ../user-submitted-posts.php:1213
317
+ msgid "and/or"
318
+ msgstr "и/или"
319
+
320
+ #: ../user-submitted-posts.php:1214
321
+ msgid "Rate and review at the Plugin Directory"
322
+ msgstr "Оцените и оставьте отзыв на Plugin Directory"
323
+
324
+ #: ../user-submitted-posts.php:1215
325
+ msgid "give this plugin a 5-star rating"
326
+ msgstr "оценить этот плагин в 5 звезд"
327
+
328
+ #: ../user-submitted-posts.php:1219
329
+ msgid ""
330
+ "Your generous support enables continued development of this free plugin. "
331
+ "Thank you!"
332
+ msgstr ""
333
+ "Ваша щедрая поддержка позволяет продолжить развитие этого бесплатного "
334
+ "плагина. Спасибо!"
335
+
336
+ #: ../user-submitted-posts.php:1224
337
+ msgid "Check this box if you have shown support"
338
+ msgstr "Отметьте это поле, если вы поддержали нас."
339
+
340
+ #: ../user-submitted-posts.php:1232
341
+ msgid "Overview"
342
+ msgstr "Обзор"
343
+
344
+ #: ../user-submitted-posts.php:1236
345
+ msgid ""
346
+ "enables your visitors to submit posts and upload images from the front-end "
347
+ "of your site. "
348
+ msgstr ""
349
+ "позволяет вашим посетителям оставлять признания и загружать изображения на "
350
+ "фронтенде вашего сайта."
351
+
352
+ #: ../user-submitted-posts.php:1237
353
+ msgid "For advanced functionality and unlimited forms, check out"
354
+ msgstr "Для продвинутых функций и безлимитных форм, зацените"
355
+
356
+ #: ../user-submitted-posts.php:1238
357
+ msgid "&mdash; the ultimate solution for user-generated content."
358
+ msgstr "&mdash; великолепное решение для пользовательского контента."
359
+
360
+ #: ../user-submitted-posts.php:1243
361
+ msgid "Quick start:"
362
+ msgstr "Быстрый старт:"
363
+
364
+ #: ../user-submitted-posts.php:1243
365
+ msgid "configure settings"
366
+ msgstr "конфигурация настроек"
367
+
368
+ #: ../user-submitted-posts.php:1244
369
+ msgid "and then"
370
+ msgstr "а потом"
371
+
372
+ #: ../user-submitted-posts.php:1244
373
+ msgid "display the form"
374
+ msgstr "показать форму"
375
+
376
+ #: ../user-submitted-posts.php:1247
377
+ msgid "More info:"
378
+ msgstr "Больше информации:"
379
+
380
+ #: ../user-submitted-posts.php:1248
381
+ msgid "WP Plugin Page"
382
+ msgstr "Страница плагина WP"
383
+
384
+ #: ../user-submitted-posts.php:1248 ../user-submitted-posts.php:1655
385
+ msgid "and"
386
+ msgstr "и"
387
+
388
+ #: ../user-submitted-posts.php:1249
389
+ msgid "Homepage"
390
+ msgstr "Домашняя страница"
391
+
392
+ #: ../user-submitted-posts.php:1251
393
+ msgid "Support:"
394
+ msgstr "Поддержка:"
395
+
396
+ #: ../user-submitted-posts.php:1251
397
+ msgid "if you like USP, please"
398
+ msgstr "если вам нравится USP, пожалуйста"
399
+
400
+ #: ../user-submitted-posts.php:1252
401
+ msgid "Rate and review this plugin at the WP Plugin Directory"
402
+ msgstr "Оцените и оставьте отзыв к этому плагину на WP Plugin Directory"
403
+
404
+ #: ../user-submitted-posts.php:1253
405
+ msgid "give it a 5-star rating"
406
+ msgstr "оцените в 5 звезд"
407
+
408
+ #: ../user-submitted-posts.php:1267
409
+ msgid "Options"
410
+ msgstr "Опции"
411
+
412
+ #: ../user-submitted-posts.php:1271
413
+ msgid "Configure your settings for User Submitted Posts."
414
+ msgstr "Конфигурация настроек плагина"
415
+
416
+ #: ../user-submitted-posts.php:1273
417
+ msgid "Form Fields"
418
+ msgstr "Поля формы"
419
+
420
+ #: ../user-submitted-posts.php:1278
421
+ msgid "User Name"
422
+ msgstr "Имя пользователя"
423
+
424
+ #: ../user-submitted-posts.php:1281 ../user-submitted-posts.php:1291 ../user-
425
+ #: submitted-posts.php:1301 ../user-submitted-posts.php:1311 ../user-submitted-
426
+ #: posts.php:1321 ../user-submitted-posts.php:1331 ../user-submitted-posts.php:
427
+ #: 1341 ../user-submitted-posts.php:1351
428
+ msgid "Display and require"
429
+ msgstr "Показать и требовать"
430
+
431
+ #: ../user-submitted-posts.php:1282 ../user-submitted-posts.php:1292 ../user-
432
+ #: submitted-posts.php:1302 ../user-submitted-posts.php:1312 ../user-submitted-
433
+ #: posts.php:1322 ../user-submitted-posts.php:1332
434
+ #: ../user-submitted-posts.php:1342
435
+ msgid "Display but do not require"
436
+ msgstr "Показать, но не требовать"
437
+
438
+ #: ../user-submitted-posts.php:1283 ../user-submitted-posts.php:1293 ../user-
439
+ #: submitted-posts.php:1303 ../user-submitted-posts.php:1313 ../user-submitted-
440
+ #: posts.php:1323 ../user-submitted-posts.php:1333 ../user-submitted-posts.php:
441
+ #: 1343 ../user-submitted-posts.php:1352
442
+ msgid "Disable this field"
443
+ msgstr "Отключить это поле"
444
+
445
+ #: ../user-submitted-posts.php:1288
446
+ msgid "User Email"
447
+ msgstr "Почта пользователя"
448
+
449
+ #: ../user-submitted-posts.php:1298
450
+ msgid "Post URL"
451
+ msgstr "Ссылка на пост"
452
+
453
+ #: ../user-submitted-posts.php:1308 ../views/submission-form.php:51 ..
454
+ #: /views/submission-form.php:52
455
+ msgid "Post Title"
456
+ msgstr "Заголовок"
457
+
458
+ #: ../user-submitted-posts.php:1318 ../views/submission-form.php:57 ..
459
+ #: /views/submission-form.php:58
460
+ msgid "Post Tags"
461
+ msgstr "Теги"
462
+
463
+ #: ../user-submitted-posts.php:1328 ../views/submission-form.php:69
464
+ msgid "Post Category"
465
+ msgstr "Категория"
466
+
467
+ #: ../user-submitted-posts.php:1338 ../views/submission-form.php:104 ..
468
+ #: /views/submission-form.php:105
469
+ msgid "Post Content"
470
+ msgstr "Содержимое"
471
+
472
+ #: ../user-submitted-posts.php:1348 ../user-submitted-posts.php:1354 ../user-
473
+ #: submitted-posts.php:1561 ../user-submitted-posts.php:1566
474
+ msgid "Challenge Question"
475
+ msgstr "Проверочный вопрос"
476
+
477
+ #: ../user-submitted-posts.php:1354 ../user-submitted-posts.php:1364
478
+ msgid "(Visit"
479
+ msgstr "(Посетите"
480
+
481
+ #: ../user-submitted-posts.php:1354 ../user-submitted-posts.php:1364
482
+ msgid "to configure options)"
483
+ msgstr "для конфигурации настроек)"
484
+
485
+ #: ../user-submitted-posts.php:1358
486
+ msgid "Post Images"
487
+ msgstr "Изображения"
488
+
489
+ #: ../user-submitted-posts.php:1361
490
+ msgid "Display"
491
+ msgstr "Показать"
492
+
493
+ #: ../user-submitted-posts.php:1362
494
+ msgid "Disable"
495
+ msgstr "Отключить"
496
+
497
+ #: ../user-submitted-posts.php:1364 ../user-submitted-posts.php:1583
498
+ msgid "Image Uploads"
499
+ msgstr "Загрузка изображений"
500
+
501
+ #: ../user-submitted-posts.php:1370
502
+ msgid "General Options"
503
+ msgstr "Общие опции"
504
+
505
+ #: ../user-submitted-posts.php:1375
506
+ msgid "Form style"
507
+ msgstr "Стиль формы"
508
+
509
+ #: ../user-submitted-posts.php:1380
510
+ msgid "With this option, you can copy the plugin&rsquo;s default templates:"
511
+ msgstr ""
512
+ "При помощи этой опции, вы можете скопировать стандартные шаблоны плагина:"
513
+
514
+ #: ../user-submitted-posts.php:1385
515
+ msgid "..and upload them to the plugin&rsquo;s"
516
+ msgstr "..и загрузить их в папку"
517
+
518
+ #: ../user-submitted-posts.php:1385
519
+ msgid "directory:"
520
+ msgstr "плагина:"
521
+
522
+ #: ../user-submitted-posts.php:1391
523
+ msgid ""
524
+ "That will enable you to customize the form and styles as desired. Note: the"
525
+ msgstr "Это позволит вам тонко настроить форму и стили по желанию. Заметьте:"
526
+
527
+ #: ../user-submitted-posts.php:1392
528
+ msgid ""
529
+ "file is optional if you want to use your own stylesheet. See the readme.txt "
530
+ "for more information. FYI: here is a"
531
+ msgstr ""
532
+ "файл не обязателен, если вы хотите использовать свои стили. Читайте readme."
533
+ "txt для подробностей. Также"
534
+
535
+ #: ../user-submitted-posts.php:1393
536
+ msgid "list of CSS selectors for USP"
537
+ msgstr "вот список CSS селекторов этого плагина"
538
+
539
+ #: ../user-submitted-posts.php:1399
540
+ msgid "Include JavaScript?"
541
+ msgstr "Включить JavaScript?"
542
+
543
+ #: ../user-submitted-posts.php:1401
544
+ msgid ""
545
+ "Check this box if you want to include the external JavaScript files "
546
+ "(recommended)."
547
+ msgstr ""
548
+ "Отметьте это поле, если вы хотите включить внешние файлы JavaScript "
549
+ "(рекомендуется)."
550
+
551
+ #: ../user-submitted-posts.php:1404
552
+ msgid "Targeted Loading"
553
+ msgstr "Таргетированная загрузка"
554
+
555
+ #: ../user-submitted-posts.php:1406
556
+ msgid ""
557
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
558
+ "Here you may specify the URL of the USP form to load resources only on that "
559
+ "page. Note: leave blank to load on all pages."
560
+ msgstr ""
561
+ "Если включен, внешние файлы CSS и JavaScript загружаются на каждой странице. "
562
+ "Здесь вы можете указать ссылку на форму чтобы загружать ресурсы только на "
563
+ "этой странице. Оставьте пустым для загрузки на всех страницах."
564
+
565
+ #: ../user-submitted-posts.php:1409
566
+ msgid "Categories"
567
+ msgstr "Категории"
568
+
569
+ #: ../user-submitted-posts.php:1412
570
+ msgid ""
571
+ "Select which categories may be assigned to submitted posts (click to toggle)"
572
+ msgstr ""
573
+ "Выберите, какие категории могут быть назначены постам (клик для переключения)"
574
+
575
+ #: ../user-submitted-posts.php:1429
576
+ msgid "Assigned Author"
577
+ msgstr "Назначенный автор"
578
+
579
+ #: ../user-submitted-posts.php:1438
580
+ msgid ""
581
+ "Specify the user that should be assigned as author for user-submitted posts."
582
+ msgstr ""
583
+ "Укажите пользователя, который должен быть назначен как автор для "
584
+ "пользовательских постов"
585
+
586
+ #: ../user-submitted-posts.php:1442
587
+ msgid "Auto Publish?"
588
+ msgstr "Автоматическая публикация?"
589
+
590
+ #: ../user-submitted-posts.php:1445
591
+ msgid "Always moderate via Draft"
592
+ msgstr "Всегда модерировать через черновики"
593
+
594
+ #: ../user-submitted-posts.php:1446
595
+ msgid "Always moderate via Pending"
596
+ msgstr "Всегда модерировать через ожидающие"
597
+
598
+ #: ../user-submitted-posts.php:1447
599
+ msgid "Always publish immediately"
600
+ msgstr "Всегда публиковать немедленно"
601
+
602
+ #: ../user-submitted-posts.php:1452
603
+ msgid ""
604
+ "Post Status for submitted posts: moderate (recommended), publish "
605
+ "immediately, or publish after any number of approved posts."
606
+ msgstr ""
607
+ "Статус для пользовательских постов: модерация (рекомендуется), публиковать "
608
+ "немедленно или после любого числа принятых постов."
609
+
610
+ #: ../user-submitted-posts.php:1456
611
+ msgid "Enable Rich Text Editor"
612
+ msgstr "Включить Rich Text Editor"
613
+
614
+ #: ../user-submitted-posts.php:1458
615
+ msgid ""
616
+ "Check this box if you want to enable WP rich text editing for submitted "
617
+ "posts."
618
+ msgstr ""
619
+ "Отметьте это поле, если вы хотите включить полноценный текстовый редактор."
620
+
621
+ #: ../user-submitted-posts.php:1461
622
+ msgid "Redirect URL"
623
+ msgstr "Ссылка перенаправления"
624
+
625
+ #: ../user-submitted-posts.php:1463
626
+ msgid ""
627
+ "Specify a URL to redirect the user after post-submission. Leave blank to "
628
+ "redirect back to current page."
629
+ msgstr ""
630
+ "Выберите ссылку, по которой перенаправить пользователя после принятия поста. "
631
+ "Оставьте пустым, чтобы перенаправлять на текущую страницу."
632
+
633
+ #: ../user-submitted-posts.php:1466
634
+ msgid "Success Message"
635
+ msgstr "Сообщение об успехе"
636
+
637
+ #: ../user-submitted-posts.php:1468
638
+ msgid ""
639
+ "Success message that is displayed if post-submission is successful. Basic "
640
+ "markup is allowed."
641
+ msgstr ""
642
+ "Сообщение, которое будет показано, если пост будет успешно принят. Разрешена "
643
+ "базовая разметка."
644
+
645
+ #: ../user-submitted-posts.php:1471
646
+ msgid "Error Message"
647
+ msgstr "Сообщение об ошибке"
648
+
649
+ #: ../user-submitted-posts.php:1473
650
+ msgid ""
651
+ "General error message that is displayed if post-submission fails. Basic "
652
+ "markup is allowed."
653
+ msgstr ""
654
+ "Сообщение, которое будет показано, если пост не будет принят. Разрешена "
655
+ "базовая разметка."
656
+
657
+ #: ../user-submitted-posts.php:1476
658
+ msgid "Custom Content"
659
+ msgstr "Свой контент"
660
+
661
+ #: ../user-submitted-posts.php:1478
662
+ msgid ""
663
+ "Custom text/markup to be included before the submission form. Leave blank to "
664
+ "disable."
665
+ msgstr ""
666
+ "Свой текст/разметка, которая будет включена перед формой. Оставьте пустым "
667
+ "чтоб отключить."
668
+
669
+ #: ../user-submitted-posts.php:1481
670
+ msgid "Unique Titles"
671
+ msgstr "Уникальные заголовки"
672
+
673
+ #: ../user-submitted-posts.php:1483
674
+ msgid ""
675
+ "Require submitted post titles to be unique (useful for preventing multiple/"
676
+ "duplicate submitted posts)."
677
+ msgstr ""
678
+ "Требовать, чтоб заголовки постов были уникальными (чтобы избежать "
679
+ "дубликатов)."
680
+
681
+ #: ../user-submitted-posts.php:1486
682
+ msgid "Disable Required"
683
+ msgstr "Отключить требуемые поля"
684
+
685
+ #: ../user-submitted-posts.php:1488
686
+ msgid ""
687
+ "Disable all required attributes on default form fields (useful for "
688
+ "troubleshooting error messages)."
689
+ msgstr ""
690
+ "Отключить все требуемые поля на стандартных формах (удобно для дебага)."
691
+
692
+ #: ../user-submitted-posts.php:1491
693
+ msgid "Enable Shortcodes"
694
+ msgstr "Включить шорткоды"
695
+
696
+ #: ../user-submitted-posts.php:1493
697
+ msgid ""
698
+ "Enable shortcodes in widgets. By default, WordPress does not enable "
699
+ "shortcodes in widgets. "
700
+ msgstr ""
701
+ "Включить шорткоды в виджетах. По умолчанию, WordPress не позволяет включить "
702
+ "шорткоды в виджетах."
703
+
704
+ #: ../user-submitted-posts.php:1494
705
+ msgid ""
706
+ "This setting enables any/all shortcodes in widgets (even shortcodes from "
707
+ "other plugins)."
708
+ msgstr ""
709
+ "Эта настройка включает любые/все шорткоды в виджетах (даже шорткоды из "
710
+ "других плагинов)."
711
+
712
+ #: ../user-submitted-posts.php:1497
713
+ msgid "Disable IP Tracking"
714
+ msgstr "Отключить отслеживание IP"
715
+
716
+ #: ../user-submitted-posts.php:1499
717
+ msgid ""
718
+ "By default USP records the IP address with each submitted post. Check this "
719
+ "box to disable all IP tracking."
720
+ msgstr ""
721
+ "По умолчанию, плагин записывает IP адреса отправителей каждого поста. "
722
+ "Отметьте єто поле чтобы выключить отслеживание."
723
+
724
+ #: ../user-submitted-posts.php:1504
725
+ msgid "Email Alerts"
726
+ msgstr "Уведомления по почте"
727
+
728
+ #: ../user-submitted-posts.php:1509
729
+ msgid "Receive Email Alert"
730
+ msgstr "Получать уведомления по почте"
731
+
732
+ #: ../user-submitted-posts.php:1511
733
+ msgid ""
734
+ "Check this box if you want to be notified via email for new post submissions."
735
+ msgstr ""
736
+ "Отметьте это поле, если вы хотите получать уведомления о новых постах на "
737
+ "почту."
738
+
739
+ #: ../user-submitted-posts.php:1514
740
+ msgid "Email Address for Alerts"
741
+ msgstr "Адрес почты для уведомлений"
742
+
743
+ #: ../user-submitted-posts.php:1516
744
+ msgid ""
745
+ "If you checked the box to receive email alerts, indicate here the "
746
+ "address(es) to which the emails should be sent."
747
+ msgstr ""
748
+ "Если вы отметите поле для получения уведомлений, укажите здесь адрес(а), на "
749
+ "которые должны приходить письма."
750
+
751
+ #: ../user-submitted-posts.php:1517
752
+ msgid "Multiple recipients may be included using a comma, like so:"
753
+ msgstr "Несколько получателей могут быть указаны используя запятую, например:"
754
+
755
+ #: ../user-submitted-posts.php:1520
756
+ msgid "Email Alert Subject"
757
+ msgstr "Тема уведомления на почту"
758
+
759
+ #: ../user-submitted-posts.php:1522
760
+ msgid ""
761
+ "Subject line for email alerts. Leave blank to use the default subject line. "
762
+ "Note: you can use the following variables: "
763
+ msgstr ""
764
+ "Тема письма для уведомлений. Оставьте пустым для стандартной темы. Обратите "
765
+ "внимание: вы можете использовать следующие переменные:"
766
+
767
+ #: ../user-submitted-posts.php:1526
768
+ msgid "Email Alert Message"
769
+ msgstr "Сообщение в уведомлении"
770
+
771
+ #: ../user-submitted-posts.php:1528
772
+ msgid ""
773
+ "Message for email alerts. Leave blank to use the default message. Note: you "
774
+ "can use the following variables: "
775
+ msgstr ""
776
+ "Сообщение для уведомлений. Оставьте пустым для стандартного сообщения. "
777
+ "Обратите внимание: вы можете использовать следующие переменные: "
778
+
779
+ #: ../user-submitted-posts.php:1534
780
+ msgid "Registered Users"
781
+ msgstr "Зарегистрированные пользователи"
782
+
783
+ #: ../user-submitted-posts.php:1539
784
+ msgid "Registered Username"
785
+ msgstr "Зарегистрированные логины"
786
+
787
+ #: ../user-submitted-posts.php:1541
788
+ msgid ""
789
+ "Use the registered username as the post author. This should be enabled only "
790
+ "when requiring log-in for submissions."
791
+ msgstr ""
792
+ "Использовать зарегистированные логины в качестве авторов постов. Включите "
793
+ "только если логин требуется для отправки поста."
794
+
795
+ #: ../user-submitted-posts.php:1544
796
+ msgid "User Profile URL"
797
+ msgstr "Ссылка на профиль"
798
+
799
+ #: ../user-submitted-posts.php:1546
800
+ msgid ""
801
+ "Use the registered user&rsquo;s Profile URL as the post URL. This should be "
802
+ "enabled only when requiring log-in for submissions."
803
+ msgstr ""
804
+ "Используйте ссылку на профиль пользователя в качестве ссылки на пост. "
805
+ "Включите только если логин требуется для отправки поста."
806
+
807
+ #: ../user-submitted-posts.php:1549
808
+ msgid "Hidden/Default Category"
809
+ msgstr "Спрятанные категории/категории по умолчанию"
810
+
811
+ #: ../user-submitted-posts.php:1551
812
+ msgid ""
813
+ "Use a hidden field for the post category. This may be used to specify a "
814
+ "default category when the category field is disabled."
815
+ msgstr ""
816
+ "Используйте спрятанное поле для категории поста. Можно использовать для "
817
+ "определения стандартной категории, когда поле категории отключено."
818
+
819
+ #: ../user-submitted-posts.php:1554
820
+ msgid "Category ID for Hidden Field"
821
+ msgstr "ID категории для скрытого поля"
822
+
823
+ #: ../user-submitted-posts.php:1556
824
+ msgid ""
825
+ "Specify the ID of the category to use for the &ldquo;Hidden/Default "
826
+ "Category&rdquo; option."
827
+ msgstr "Указать ID категории для использования в предыдущей опции."
828
+
829
+ #: ../user-submitted-posts.php:1568
830
+ msgid ""
831
+ "To prevent spam, enter a question that users must answer before submitting "
832
+ "the form."
833
+ msgstr ""
834
+ "Для предотвращения спама, введите вопрос, на который пользователи должны "
835
+ "будут ответить перед отправкой поста."
836
+
837
+ #: ../user-submitted-posts.php:1571
838
+ msgid "Challenge Response"
839
+ msgstr "Ответ на вопрос"
840
+
841
+ #: ../user-submitted-posts.php:1573
842
+ msgid "Enter the <em>only</em> correct answer to the challenge question."
843
+ msgstr "Введите <em>исключительно</em> правильный ответ на вопрос."
844
+
845
+ #: ../user-submitted-posts.php:1576
846
+ msgid "Case-sensitivity"
847
+ msgstr "Чувствительность к регистру"
848
+
849
+ #: ../user-submitted-posts.php:1578
850
+ msgid "Check this box if you want the challenge response to be case-sensitive."
851
+ msgstr ""
852
+ "Отметьте это поле, если хотите сделать ответ на вопрос чувствительным к "
853
+ "регистру."
854
+
855
+ #: ../user-submitted-posts.php:1588
856
+ msgid "Featured Image"
857
+ msgstr "Избранное изображение"
858
+
859
+ #: ../user-submitted-posts.php:1590
860
+ msgid ""
861
+ "Set submitted images as Featured Images. Requires theme support for Featured "
862
+ "Images (aka Post Thumbnails)."
863
+ msgstr ""
864
+ "Установить принятые изображения в качестве избранных. Необходима поддержка "
865
+ "данной функции темой."
866
+
867
+ #: ../user-submitted-posts.php:1593
868
+ msgid "Upload Message"
869
+ msgstr "Сообщение для поля загрузки"
870
+
871
+ #: ../user-submitted-posts.php:1595
872
+ msgid ""
873
+ "Message that appears next to the upload field. Useful for stating your "
874
+ "upload guidelines/policy/etc. Basic markup allowed."
875
+ msgstr ""
876
+ "Сообщение, которое появится рядом с полем загрузки. Пригодится чтобы указать "
877
+ "вашу политику относительно загрузок. Базовая разметка разрешена."
878
+
879
+ #: ../user-submitted-posts.php:1598
880
+ msgid "&ldquo;Add another image&rdquo; link"
881
+ msgstr "ссылка &ldquo;Добавить другое изображение&rdquo;"
882
+
883
+ #: ../user-submitted-posts.php:1600
884
+ msgid ""
885
+ "Custom markup for the &ldquo;Add another image&rdquo; link. Leave blank to "
886
+ "use the default markup (recommended)."
887
+ msgstr ""
888
+ "Пользовательская разметка для ссылки &ldquo;Добавить другое "
889
+ "изображение&rdquo;. Оставьте пустым для стандартной разметки (рекомендуется)."
890
+
891
+ #: ../user-submitted-posts.php:1603
892
+ msgid "Minimum number of images"
893
+ msgstr "Минимальное количество изображений"
894
+
895
+ #: ../user-submitted-posts.php:1606
896
+ msgid "Specify the <em>minimum</em> number of images."
897
+ msgstr "Определите <em>минимальное</em> количество изображений"
898
+
899
+ #: ../user-submitted-posts.php:1610
900
+ msgid "Maximum number of images"
901
+ msgstr "Максимальное количество изображений"
902
+
903
+ #: ../user-submitted-posts.php:1613
904
+ msgid "Specify the <em>maximum</em> number of images."
905
+ msgstr "Определите <em>максимальное</em> количество изображений"
906
+
907
+ #: ../user-submitted-posts.php:1617
908
+ msgid "Minimum image width"
909
+ msgstr "Минимальная ширина изображений"
910
+
911
+ #: ../user-submitted-posts.php:1619
912
+ msgid "Specify a <em>minimum width</em> (in pixels) for uploaded images."
913
+ msgstr ""
914
+ "Определите <em>минимальную ширину</em> (в пикселях) для загруженных "
915
+ "изображений"
916
+
917
+ #: ../user-submitted-posts.php:1622
918
+ msgid "Minimum image height"
919
+ msgstr "Минимальная высота изображений"
920
+
921
+ #: ../user-submitted-posts.php:1624
922
+ msgid "Specify a <em>minimum height</em> (in pixels) for uploaded images."
923
+ msgstr ""
924
+ "Определите <em>минимальную высоту</em> (в пикселях) для загруженных "
925
+ "изображений"
926
+
927
+ #: ../user-submitted-posts.php:1627
928
+ msgid "Maximum image width"
929
+ msgstr "Максимальная ширина изображений"
930
+
931
+ #: ../user-submitted-posts.php:1629
932
+ msgid "Specify a <em>maximum width</em> (in pixels) for uploaded images."
933
+ msgstr ""
934
+ "Определите <em>максимальную ширину</em> (в пикселях) для загруженных "
935
+ "изображений"
936
+
937
+ #: ../user-submitted-posts.php:1632
938
+ msgid "Maximum image height"
939
+ msgstr "Максимальная высота изображений"
940
+
941
+ #: ../user-submitted-posts.php:1634
942
+ msgid "Specify a <em>maximum height</em> (in pixels) for uploaded images."
943
+ msgstr ""
944
+ "Определите <em>максимальную высоту</em> (в пикселях) для загруженных "
945
+ "изображений"
946
+
947
+ #: ../user-submitted-posts.php:1639
948
+ msgid "Auto-Display Content"
949
+ msgstr "Автоматически показывать контент"
950
+
951
+ #: ../user-submitted-posts.php:1644
952
+ msgid "Images Auto-Display"
953
+ msgstr "Автоматически показывать изобажения"
954
+
955
+ #: ../user-submitted-posts.php:1646
956
+ msgid "Auto-display user-submitted images:"
957
+ msgstr "Автоматически показывать изображения, отправленные пользователем:"
958
+
959
+ #: ../user-submitted-posts.php:1651
960
+ msgid "Image Markup"
961
+ msgstr "Разметка изображений"
962
+
963
+ #: ../user-submitted-posts.php:1653
964
+ msgid ""
965
+ "Markup to use for each submitted image (when auto-display is enabled). Can "
966
+ "use"
967
+ msgstr ""
968
+ "Разметка для использования с пользовательскими изображениями (когда авто-"
969
+ "показ включен). Можно использовать"
970
+
971
+ #: ../user-submitted-posts.php:1658
972
+ msgid "Email Auto-Display"
973
+ msgstr "Авто-показ почты"
974
+
975
+ #: ../user-submitted-posts.php:1660
976
+ msgid "Auto-display user-submitted email:"
977
+ msgstr "Авто-показ пользовательской почты:"
978
+
979
+ #: ../user-submitted-posts.php:1665
980
+ msgid "Email Markup"
981
+ msgstr "Разметка почты"
982
+
983
+ #: ../user-submitted-posts.php:1667
984
+ msgid ""
985
+ "Markup to use for the submitted email address (when auto-display is "
986
+ "enabled). Can use"
987
+ msgstr ""
988
+ "Разметка для использования с пользовательскими адресами почты (когда авто-"
989
+ "показ включен). Можно использовать"
990
+
991
+ #: ../user-submitted-posts.php:1670
992
+ msgid "URL Auto-Display"
993
+ msgstr "Авто-показ ссылки"
994
+
995
+ #: ../user-submitted-posts.php:1672
996
+ msgid "Auto-display user-submitted URL:"
997
+ msgstr "Авто-показ пользовательской ссылки"
998
+
999
+ #: ../user-submitted-posts.php:1677
1000
+ msgid "URL Markup"
1001
+ msgstr "Разметка ссылки"
1002
+
1003
+ #: ../user-submitted-posts.php:1679
1004
+ msgid ""
1005
+ "Markup to use for the submitted URL (when auto-display is enabled). Can use"
1006
+ msgstr ""
1007
+ "Разметка для использования с пользовательскими ссылками (когда авто-показ "
1008
+ "включен). Можно использовать"
1009
+
1010
+ #: ../user-submitted-posts.php:1684 ../user-submitted-posts.php:1716
1011
+ msgid "Save Settings"
1012
+ msgstr "Сохранить настройки"
1013
+
1014
+ #: ../user-submitted-posts.php:1689
1015
+ msgid "Shortcode &amp; Template Tag"
1016
+ msgstr "Шорткод и тег шаблона"
1017
+
1018
+ #: ../user-submitted-posts.php:1692
1019
+ msgid ""
1020
+ "To implement USP, first configure the plugin settings, then use the "
1021
+ "shortcode or template to display the form on the front-end as desired."
1022
+ msgstr ""
1023
+ "Чтобы вставить плагин, сначала настройте его, потом используйте шаблон или "
1024
+ "шорткод, чтобы выводить форму на фронтенд как захотите."
1025
+
1026
+ #: ../user-submitted-posts.php:1694
1027
+ msgid "Shortcode"
1028
+ msgstr "Шорткод"
1029
+
1030
+ #: ../user-submitted-posts.php:1695
1031
+ msgid "Use this shortcode to display the USP Form on any Post or Page:"
1032
+ msgstr ""
1033
+ "Используйте этот шорткод, чтобы показывать форму плагина на любой странице "
1034
+ "или в любом посте:"
1035
+
1036
+ #: ../user-submitted-posts.php:1698
1037
+ msgid "Template tag"
1038
+ msgstr "Тег шаблона"
1039
+
1040
+ #: ../user-submitted-posts.php:1699
1041
+ msgid ""
1042
+ "Use this template tag to display the USP Form anywhere in your theme "
1043
+ "template:"
1044
+ msgstr ""
1045
+ "Используйте этот тег шаблона, чтобы показывать форму плагина где угодно в "
1046
+ "шаблоне вашей темы:"
1047
+
1048
+ #: ../user-submitted-posts.php:1705
1049
+ msgid "Restore Default Options"
1050
+ msgstr "Восстановить настройки по умолчанию"
1051
+
1052
+ #: ../user-submitted-posts.php:1709
1053
+ msgid "Restore default options upon plugin deactivation/reactivation."
1054
+ msgstr ""
1055
+ "Восстановить стандартные настройки после деактивации/реактивации плагина."
1056
+
1057
+ #: ../user-submitted-posts.php:1713
1058
+ msgid ""
1059
+ "<strong>Tip:</strong> leave this option unchecked to remember your settings. "
1060
+ "Or, to go ahead and restore all default options, check the box, save your "
1061
+ "settings, and then deactivate/reactivate the plugin."
1062
+ msgstr ""
1063
+ "<strong>Подсказка:</strong> оставьте эту опцию отключенной чтобы сохранить "
1064
+ "ваши настройки. Или, чтобы восстановить все стандартные настройки, отметьте "
1065
+ "это поле, сохраните настройки, а затем отключите и снова включите плагин."
1066
+
1067
+ #: ../user-submitted-posts.php:1721
1068
+ msgid "Updates &amp; Info"
1069
+ msgstr "Обновления и информация"
1070
+
1071
+ #: ../user-submitted-posts.php:1746
1072
+ msgid "Save Preference"
1073
+ msgstr "Сохранить"
1074
+
1075
+ #: ../user-submitted-posts.php:1753
1076
+ msgid ""
1077
+ "Are you sure you want to restore all default options? (this action cannot be "
1078
+ "undone)"
1079
+ msgstr ""
1080
+ "Вы уверены, что хотите восстановить все стандартные настройки? (это действие "
1081
+ "нельзя отменить)"
1082
+
1083
+ #: ../views/submission-form.php:33 ../views/submission-form.php:34
1084
+ msgid "Your Name"
1085
+ msgstr "Ваше имя"
1086
+
1087
+ #: ../views/submission-form.php:39 ../views/submission-form.php:40
1088
+ msgid "Your URL"
1089
+ msgstr "Ваша ссылка"
1090
+
1091
+ #: ../views/submission-form.php:45 ../views/submission-form.php:46
1092
+ msgid "Your Email"
1093
+ msgstr "Ваша почта"
1094
+
1095
+ #: ../views/submission-form.php:64
1096
+ msgid "Antispam Question"
1097
+ msgstr "Антиспам"
1098
+
1099
+ #: ../views/submission-form.php:71
1100
+ msgid "Please select a category.."
1101
+ msgstr "Пожалуйста, выберите категорию.."
1102
+
1103
+ #: ../views/submission-form.php:113
1104
+ msgid "Upload an Image"
1105
+ msgstr "Загрузить изображение"
1106
+
1107
+ #: ../views/submission-form.php:121
1108
+ msgid "Add another image"
1109
+ msgstr "Добавить другое изображение"
1110
+
1111
+ #: ../views/submission-form.php:142
1112
+ msgid "Human verification: leave this field empty."
1113
+ msgstr "Проверка на робота: оставьте это поле пустым."
1114
+
1115
+ #: ../views/submission-form.php:163
1116
+ msgid "Submit Post"
1117
+ msgstr "Отправить признание"
languages/usp-sr_RS.mo ADDED
Binary file
languages/usp-sr_RS.po ADDED
@@ -0,0 +1,684 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: User Submitted Posts\n"
4
+ "POT-Creation-Date: 2014-09-29 15:31-0800\n"
5
+ "PO-Revision-Date: 2014-11-17 10:33+0100\n"
6
+ "Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
7
+ "Language-Team: Monzilla Media <http://perishablepress.com/contact/>\n"
8
+ "Language: English\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
+ "X-Poedit-KeywordsList: __;_e;_n;_x\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../user-submitted-posts.php:26 ../user-submitted-posts.php:61
20
+ msgid "User Submitted Posts"
21
+ msgstr "User Submitted Posts"
22
+
23
+ #: ../user-submitted-posts.php:48
24
+ msgid "requires WordPress 3.7 or higher, and has been deactivated!"
25
+ msgstr "zahteva WordPress 3.7 ili noviju verziju i deaktiviran je!"
26
+
27
+ #: ../user-submitted-posts.php:49
28
+ msgid "Please return to the "
29
+ msgstr "Vratite se na"
30
+
31
+ #: ../user-submitted-posts.php:49
32
+ msgid "WordPress Admin area"
33
+ msgstr "WordPress Admin oblast"
34
+
35
+ #: ../user-submitted-posts.php:49
36
+ msgid "to upgrade WordPress and try again."
37
+ msgstr "da biste nadgradili WordPress i pokušajte ponovo. "
38
+
39
+ #: ../user-submitted-posts.php:61
40
+ msgid "Submitted"
41
+ msgstr "Podnesen"
42
+
43
+ #: ../user-submitted-posts.php:128
44
+ msgid "An error occurred. Please go back and try again."
45
+ msgstr "Došlo je do greške. Molimo vas da se vratite i da pokušate ponovo."
46
+
47
+ #: ../user-submitted-posts.php:294
48
+ msgid "USP"
49
+ msgstr "USP"
50
+
51
+ #: ../user-submitted-posts.php:474
52
+ msgid "Settings"
53
+ msgstr "Postavke"
54
+
55
+ #: ../user-submitted-posts.php:512
56
+ msgid ""
57
+ "There was an error. Please ensure that you have added a title, some content, "
58
+ "and that you have uploaded only images."
59
+ msgstr ""
60
+ "Došlo je do greške. Proverite da li ste uneli naslov, neki sadržaj i da li "
61
+ "ste otpremili samo slike."
62
+
63
+ #: ../user-submitted-posts.php:519 ../user-submitted-posts.php:520
64
+ #: ../user-submitted-posts.php:521 ../user-submitted-posts.php:522
65
+ #: ../user-submitted-posts.php:523 ../user-submitted-posts.php:530
66
+ #: ../user-submitted-posts.php:531
67
+ msgid "show"
68
+ msgstr "prikaži"
69
+
70
+ #: ../user-submitted-posts.php:524
71
+ msgid "hide"
72
+ msgstr "sakrij"
73
+
74
+ #: ../user-submitted-posts.php:525
75
+ msgid "Please select your image(s) to upload."
76
+ msgstr "Odaberite svoju sliku (ili slike) za otpremanje."
77
+
78
+ #: ../user-submitted-posts.php:532
79
+ msgid "Success! Thank you for your submission."
80
+ msgstr "Uspeli ste! Hvala vam za prijavljivanje!"
81
+
82
+ #: ../user-submitted-posts.php:555
83
+ msgid "HTML5 form + CSS (<small><em>Recommended</em></small>)"
84
+ msgstr "HTML5 obrazac + CSS (<small><em>Preporučen</em></small>)"
85
+
86
+ #: ../user-submitted-posts.php:559
87
+ msgid ""
88
+ "Custom form + CSS (<small><em>You must provide the template for this "
89
+ "option*</em></small>)"
90
+ msgstr ""
91
+ "Prilagođeni obrazac + CSS (<small><em>Morate obezbediti šablon za ovu "
92
+ "opciju*</em></small>)"
93
+
94
+ #: ../user-submitted-posts.php:563
95
+ msgid "Disable stylesheet"
96
+ msgstr "Deaktiviraj datoteku sa stilovima"
97
+
98
+ #: ../user-submitted-posts.php:751
99
+ msgid "Toggle all panels"
100
+ msgstr "Preklopi sve panele"
101
+
102
+ #: ../user-submitted-posts.php:759
103
+ msgid "Overview"
104
+ msgstr "Pregled"
105
+
106
+ #: ../user-submitted-posts.php:763
107
+ msgid ""
108
+ "(USP) enables your visitors to submit posts and upload images from anywhere "
109
+ "on your site."
110
+ msgstr ""
111
+ "(USP) omogućava vašim korisnicima da podnose postove i da otpremaju slike iz "
112
+ "bilo kog dela vašeg site-a."
113
+
114
+ #: ../user-submitted-posts.php:764
115
+ msgid ""
116
+ "To implement, configure the plugin settings and include the USP form in any "
117
+ "post or page via shortcode or anywhere in your theme via template tag."
118
+ msgstr ""
119
+ "Da biste ga implementirali, konfigurišite postavke plugin-a i dodajte USP "
120
+ "obrazac bilo kom postu ili stranici uz pomoć shortcode-a ili bilo gde u "
121
+ "svoju temu putem oznake šablona."
122
+
123
+ #: ../user-submitted-posts.php:765
124
+ msgid "For more functionality check out"
125
+ msgstr "Za više funkcija pogledajte"
126
+
127
+ #: ../user-submitted-posts.php:766
128
+ msgid "&mdash; the ultimate solution for unlimited front-end forms."
129
+ msgstr "&mdash; najbolje rešenje za neograničene front-end obrasce."
130
+
131
+ #: ../user-submitted-posts.php:770
132
+ msgid "Configure settings"
133
+ msgstr "Konfiguriši postavke"
134
+
135
+ #: ../user-submitted-posts.php:771
136
+ msgid "Get the shortcode &amp; template tag"
137
+ msgstr "Obezbedite shortcode &amp; oznaka šablona"
138
+
139
+ #: ../user-submitted-posts.php:772
140
+ msgid "More info:"
141
+ msgstr "Više informacija"
142
+
143
+ #: ../user-submitted-posts.php:772
144
+ msgid "readme.txt"
145
+ msgstr "readme.txt"
146
+
147
+ #: ../user-submitted-posts.php:773 ../user-submitted-posts.php:865
148
+ msgid "and"
149
+ msgstr "i"
150
+
151
+ #: ../user-submitted-posts.php:773
152
+ msgid "homepage"
153
+ msgstr "početna strana"
154
+
155
+ #: ../user-submitted-posts.php:774
156
+ msgid "If you like USP, please"
157
+ msgstr "Ako vam se sviđa USP, molimo vas da"
158
+
159
+ #: ../user-submitted-posts.php:775
160
+ msgid "Rate and review this plugin at the WP Plugin Directory"
161
+ msgstr "ocenite ovaj plugin i da napišete komentar u WP Plugin Direktorijumu"
162
+
163
+ #: ../user-submitted-posts.php:776
164
+ msgid "rate it at WordPress.org"
165
+ msgstr "ocenite ga na WordPress.org"
166
+
167
+ #: ../user-submitted-posts.php:788
168
+ msgid "Options"
169
+ msgstr "Opcije"
170
+
171
+ #: ../user-submitted-posts.php:790
172
+ msgid ""
173
+ "Here you may configure options for USP. See the <code>readme.txt</code> for "
174
+ "more information."
175
+ msgstr ""
176
+ "Ovde možete konfigurisati opcije za USP. Pogledajte <code>readme.txt</code> "
177
+ "za više informacija"
178
+
179
+ #: ../user-submitted-posts.php:791
180
+ msgid "Show/Hide Form Fields"
181
+ msgstr "Polja Prikaži/Sakrij obrazac"
182
+
183
+ #: ../user-submitted-posts.php:795 ../user-submitted-posts.php:801
184
+ #: ../user-submitted-posts.php:807 ../user-submitted-posts.php:813
185
+ #: ../user-submitted-posts.php:819 ../user-submitted-posts.php:825
186
+ #: ../user-submitted-posts.php:831 ../user-submitted-posts.php:837
187
+ msgid "Show"
188
+ msgstr "Prikaži"
189
+
190
+ #: ../user-submitted-posts.php:796 ../user-submitted-posts.php:802
191
+ #: ../user-submitted-posts.php:808 ../user-submitted-posts.php:814
192
+ #: ../user-submitted-posts.php:820 ../user-submitted-posts.php:826
193
+ #: ../user-submitted-posts.php:832 ../user-submitted-posts.php:838
194
+ msgid "Hide"
195
+ msgstr "Sakrij "
196
+
197
+ #: ../user-submitted-posts.php:797
198
+ msgid "User Name"
199
+ msgstr "Korisničko ime"
200
+
201
+ #: ../user-submitted-posts.php:803
202
+ msgid "Post URL"
203
+ msgstr "URL posta"
204
+
205
+ #: ../user-submitted-posts.php:809 ../views/submission-form.php:47
206
+ #: ../views/submission-form.php:48
207
+ msgid "Post Title"
208
+ msgstr "Naslov posta"
209
+
210
+ #: ../user-submitted-posts.php:815 ../views/submission-form.php:52
211
+ #: ../views/submission-form.php:53
212
+ msgid "Post Tags"
213
+ msgstr "Oznake posta"
214
+
215
+ #: ../user-submitted-posts.php:821 ../views/submission-form.php:62
216
+ msgid "Post Category"
217
+ msgstr "Kategorija posta"
218
+
219
+ #: ../user-submitted-posts.php:827 ../views/submission-form.php:91
220
+ #: ../views/submission-form.php:92
221
+ msgid "Post Content"
222
+ msgstr "Sadržaj posta"
223
+
224
+ #: ../user-submitted-posts.php:833
225
+ msgid "Post Images"
226
+ msgstr "Slike posta"
227
+
228
+ #: ../user-submitted-posts.php:839
229
+ msgid "Challenge question (Captcha)"
230
+ msgstr "Pitanje za izazov (Captcha)"
231
+
232
+ #: ../user-submitted-posts.php:842
233
+ msgid "General Form Options"
234
+ msgstr "Opcije za opšti obrazac"
235
+
236
+ #: ../user-submitted-posts.php:846
237
+ msgid "Form style"
238
+ msgstr "Stil obrasca"
239
+
240
+ #: ../user-submitted-posts.php:864
241
+ msgid ""
242
+ "* If &ldquo;Custom&rdquo; is selected, you must upload your own template "
243
+ "files,"
244
+ msgstr ""
245
+ "* If &ldquo;Custom&rdquo; je odabran, morate otpremiti svoje datoteke šablona"
246
+
247
+ #: ../user-submitted-posts.php:866
248
+ msgid "Note: list of CSS selectors available at "
249
+ msgstr "Napomena: spisak CSS selektora raspoloživ na"
250
+
251
+ #: ../user-submitted-posts.php:866
252
+ msgid "CSS selectors for User Submitted Posts"
253
+ msgstr "CSS selektori za User Submitted Posts"
254
+
255
+ #: ../user-submitted-posts.php:871
256
+ msgid "Include JavaScript?"
257
+ msgstr "Uključi JavaScript?"
258
+
259
+ #: ../user-submitted-posts.php:873
260
+ msgid ""
261
+ "Check this box if you want to include the external JavaScript files "
262
+ "(recommended)."
263
+ msgstr ""
264
+ "Štiklirajte ovo polje ako želite da uključite eksterne JavaScript datoteke "
265
+ "(preporučeno)."
266
+
267
+ #: ../user-submitted-posts.php:876
268
+ msgid "Targeted Loading"
269
+ msgstr "Ciljno otpremanje"
270
+
271
+ #: ../user-submitted-posts.php:878
272
+ msgid ""
273
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
274
+ "Here you may specify the URL of the USP form to load resources only on that "
275
+ "page. Note: leave blank to load on all pages."
276
+ msgstr ""
277
+ "Kad je aktiviran eksterni CSS &amp; JavaScript datoteke otpremaju se na "
278
+ "svakoj stranici. Ovde možete navesti URL obrasca da biste otpremali izvore "
279
+ "samo na toj stranici. Napomena: ostavite prazno ako želite da otpremate na "
280
+ "svim stranicama."
281
+
282
+ #: ../user-submitted-posts.php:881
283
+ msgid "Categories"
284
+ msgstr "Kategorije"
285
+
286
+ #: ../user-submitted-posts.php:894
287
+ msgid "Select which categories may be assigned to submitted posts."
288
+ msgstr "Odaberite koje kategorije mogu biti dodeljene na podnesenim postovima."
289
+
290
+ #: ../user-submitted-posts.php:898
291
+ msgid "Assigned Author"
292
+ msgstr "Dodeljeni autor"
293
+
294
+ #: ../user-submitted-posts.php:908
295
+ msgid ""
296
+ "Specify the user that should be assigned as author for user-submitted posts."
297
+ msgstr ""
298
+ "Navedite korisnika koji treba da bude dodeljen kao autor za postove koje "
299
+ "podnose korisnici."
300
+
301
+ #: ../user-submitted-posts.php:912
302
+ msgid "Auto Publish?"
303
+ msgstr "Automatsko objavljivanje?"
304
+
305
+ #: ../user-submitted-posts.php:915
306
+ msgid "Always moderate"
307
+ msgstr "Uvek uredi"
308
+
309
+ #: ../user-submitted-posts.php:916
310
+ msgid "Always publish immediately"
311
+ msgstr "Uvek objavi odmah"
312
+
313
+ #: ../user-submitted-posts.php:921
314
+ msgid ""
315
+ "For submitted posts, you can always moderate (recommended), publish "
316
+ "immediately, or publish after any number of approved posts."
317
+ msgstr ""
318
+ "Podnesene postove možete uvek urediti (preporučeno), odmah objaviti ili "
319
+ "objaviti posle određenog broja odobrenih postova. "
320
+
321
+ #: ../user-submitted-posts.php:925
322
+ msgid "Receive Email Alert"
323
+ msgstr "Primi obaveštenje putem email-a"
324
+
325
+ #: ../user-submitted-posts.php:927
326
+ msgid ""
327
+ "Check this box if you want to be notified via email for new post submissions."
328
+ msgstr ""
329
+ "Štiklirajte ovaj okvir ako želite da putem email-a budete obavešteni o novom "
330
+ "podnošenju postova."
331
+
332
+ #: ../user-submitted-posts.php:930
333
+ msgid "Enable Rich Text Editor"
334
+ msgstr "Aktiviraj Rich Text uređivač"
335
+
336
+ #: ../user-submitted-posts.php:932
337
+ msgid ""
338
+ "Check this box if you want to enable WP rich text editing for submitted "
339
+ "posts."
340
+ msgstr ""
341
+ "Štiklirajte ovaj okvir ako želite da aktivirate WP rich text uređivanje "
342
+ "podnesenih postova."
343
+
344
+ #: ../user-submitted-posts.php:935
345
+ msgid "Set Uploaded Image as Featured Image"
346
+ msgstr "Podesi otpremljenu sliku kao uobličenu sliku"
347
+
348
+ #: ../user-submitted-posts.php:937
349
+ msgid ""
350
+ "Check this box if you want to set submitted images as Featured Images (aka "
351
+ "Post Thumbnails) for posts. \n"
352
+ "\t\t\t\t\t\t\t\t\t\t\tNote: your theme&rsquo;s single.php file must include"
353
+ msgstr ""
354
+ "Štiklirajte ovo polje ako u postovima želite da podesite podnesene slike kao "
355
+ "uobličene slike (tj. sličice posta). \n"
356
+ "\t\t\t\t\t\t\t\t\t\t\tNapomena: vaša theme&rsquo;s single.php datoteka mora "
357
+ "da obuhvata"
358
+
359
+ #: ../user-submitted-posts.php:938
360
+ msgid "to display Featured Images."
361
+ msgstr "da bi prikazala uobličene slike"
362
+
363
+ #: ../user-submitted-posts.php:941
364
+ msgid "Email Address for Alerts"
365
+ msgstr "Email adresa za upozorenja"
366
+
367
+ #: ../user-submitted-posts.php:943
368
+ msgid ""
369
+ "If you checked the box to receive email alerts, indicate here the address"
370
+ "(es) to which the emails should be sent."
371
+ msgstr ""
372
+ "Ako štiklirate okvir za primanje email upozorenja, ovde navedite adresu (ili "
373
+ "više adresa) gde treba slati upozorenja."
374
+
375
+ #: ../user-submitted-posts.php:944
376
+ msgid "Tip: multiple addresses may be included using a comma, like so:"
377
+ msgstr "Savet: ako imate više adresa, razdvojite ih zarezima, na ovaj način:"
378
+
379
+ #: ../user-submitted-posts.php:947
380
+ msgid "Redirect URL"
381
+ msgstr "Preusmeri URL"
382
+
383
+ #: ../user-submitted-posts.php:949
384
+ msgid ""
385
+ "Specify a URL to redirect the user after post-submission. Note: leave blank "
386
+ "to redirect back to current page."
387
+ msgstr ""
388
+ "Navedite URL za preusmeravanje korisnika nakon podnošenja posta. Napomena: "
389
+ "ostavite prazno da biste ih preusmerili nazad na tekuću stranicu."
390
+
391
+ #: ../user-submitted-posts.php:952
392
+ msgid "Success Message"
393
+ msgstr "Poruka o uspehu"
394
+
395
+ #: ../user-submitted-posts.php:954
396
+ msgid ""
397
+ "This is the success message that is displayed if post-submission is "
398
+ "successful."
399
+ msgstr "Ovo je poruka koja se prikazuje nakon uspešnog podnošenja posta."
400
+
401
+ #: ../user-submitted-posts.php:957
402
+ msgid "Error Message"
403
+ msgstr "Poruka o grešci"
404
+
405
+ #: ../user-submitted-posts.php:959
406
+ msgid "This is the error message that is displayed if post-submission fails."
407
+ msgstr "Ova poruka prikazuje se ukoliko podnošenje posta nije uspelo."
408
+
409
+ #: ../user-submitted-posts.php:962
410
+ msgid "Custom Content"
411
+ msgstr "Prilagođeni sadržaj"
412
+
413
+ #: ../user-submitted-posts.php:964
414
+ msgid ""
415
+ "Here you may specify custom text/markup to be included before the submission "
416
+ "form. Note: leave blank to disable."
417
+ msgstr ""
418
+ "Ovde možete navesti prilagođeni tekst ili oznaku koju treba uključiti pre "
419
+ "podnošenja obrasca. Napomena: ostavite prazno da biste opciju deaktivirali."
420
+
421
+ #: ../user-submitted-posts.php:968
422
+ msgid "Registered User Info"
423
+ msgstr "Informacije o registrovanom korisniku"
424
+
425
+ #: ../user-submitted-posts.php:972
426
+ msgid "Use registered username for author?"
427
+ msgstr "Koristi registrovano korisničko ime za autora?"
428
+
429
+ #: ../user-submitted-posts.php:974
430
+ msgid ""
431
+ "Check this box if you want to automatically use the registered username as "
432
+ "the submitted-post author. Note: this really should only be used when "
433
+ "requiring log-in for submissions."
434
+ msgstr ""
435
+ "Štiklirajte ovo polje ako želite da automatski koristite registrovano "
436
+ "korisničko ime kao autora podnesenog posta. Napomena: Ova opcija treba da se "
437
+ "koristi samo kad je za podnošenje posta obavezno prijavljivanje."
438
+
439
+ #: ../user-submitted-posts.php:977
440
+ msgid "Use registered URL for submitted URL?"
441
+ msgstr "Upotrebi registrovani URL za podneseni URL?"
442
+
443
+ #: ../user-submitted-posts.php:979
444
+ msgid ""
445
+ "Check this box if you want to automatically use the registered user&rsquo;s "
446
+ "specified URL as the submitted-post URL. Note: this really should only be "
447
+ "used when requiring log-in for submissions."
448
+ msgstr ""
449
+ "Štiklirajte ovo polje ako želite da automatski koristite registrovani "
450
+ "user&rsquo; navedeni URL kao URL podnesenog posta. Napomena: Ova opcija "
451
+ "treba da se koristi samo kad je za podnošenje posta obavezno prijavljivanje."
452
+
453
+ #: ../user-submitted-posts.php:982
454
+ msgid "Use a hidden field for submitted category?"
455
+ msgstr "Koristi skriveno polje za podnesenu kategoriju?"
456
+
457
+ #: ../user-submitted-posts.php:984
458
+ msgid ""
459
+ "Check this box if you want to use a hidden category field for the submitted "
460
+ "category. Note: this may be used to specify a default category for submitted "
461
+ "posts when the category field is hidden."
462
+ msgstr ""
463
+ "Štiklirajte ovo polje ako želite da koristite skriveno polje kategorije za "
464
+ "podnesenu kategoriju. Napomena: Može se koristiti za određivanje "
465
+ "podrazumevane kategorije podnesenih postova kad je polje kategorije "
466
+ "skriveno. "
467
+
468
+ #: ../user-submitted-posts.php:987
469
+ msgid "Category ID for hidden field"
470
+ msgstr "ID kategorije za skriveno polje"
471
+
472
+ #: ../user-submitted-posts.php:989
473
+ msgid ""
474
+ "Specify a cateogry (ID) to use as the default category when using the &ldquo;"
475
+ "hidden field&rdquo; option."
476
+ msgstr ""
477
+ "Navedite kategoriju (ID) koju ćete koristiti kao podrazumevanu kategoriju "
478
+ "kad koristite opciju &ldquo;skriveno polje&rdquo;."
479
+
480
+ #: ../user-submitted-posts.php:993
481
+ msgid "Challenge Question (Captcha)"
482
+ msgstr "Pitanje izazova (Captcha)"
483
+
484
+ #: ../user-submitted-posts.php:997
485
+ msgid "Challenge Question"
486
+ msgstr "Pitanje izazova"
487
+
488
+ #: ../user-submitted-posts.php:999
489
+ msgid ""
490
+ "To prevent spam, enter a question that users must answer before submitting "
491
+ "the form."
492
+ msgstr ""
493
+ "Da biste sprečili spam-ove, unesite pitanje na koje korisnici moraju da "
494
+ "odgovore pre nego što podnesu obrazac."
495
+
496
+ #: ../user-submitted-posts.php:1002
497
+ msgid "Challenge Response"
498
+ msgstr "Odgovor izazova"
499
+
500
+ #: ../user-submitted-posts.php:1004
501
+ msgid "Enter the <em>only</em> correct answer to the challenge question."
502
+ msgstr "Unesite <em>isključivo</em> tačan odgovor na pitanje izazova. "
503
+
504
+ #: ../user-submitted-posts.php:1007
505
+ msgid "Case-sensitivity"
506
+ msgstr "Velika i mala slova"
507
+
508
+ #: ../user-submitted-posts.php:1009
509
+ msgid "Check this box if you want the challenge response to be case-sensitive."
510
+ msgstr ""
511
+ "Štiklirajte ovo polje ako želite da se u odgovoru prepoznaju velika i mala "
512
+ "slova."
513
+
514
+ #: ../user-submitted-posts.php:1013
515
+ msgid "Image Uploads"
516
+ msgstr "Otpremanje slika"
517
+
518
+ #: ../user-submitted-posts.php:1017
519
+ msgid "Upload Message"
520
+ msgstr "Otpremi poruku"
521
+
522
+ #: ../user-submitted-posts.php:1019
523
+ msgid ""
524
+ "This is the message that appears next to upload field. Useful to state your "
525
+ "upload guidelines/rules/etc."
526
+ msgstr ""
527
+ "Ova poruka pojavljuje se pored polja za otpremanje. Koristiće vam da "
528
+ "navedete uputstva/pravila/itd."
529
+
530
+ #: ../user-submitted-posts.php:1022
531
+ msgid "&ldquo;Add another image&rdquo; link"
532
+ msgstr "&ldquo;Dodaj drugu sliku&rdquo; "
533
+
534
+ #: ../user-submitted-posts.php:1024
535
+ msgid ""
536
+ "Here you may specify your own custom markup for the &ldquo;Add another "
537
+ "image&rdquo; link (leave blank to use the default markup)."
538
+ msgstr ""
539
+ "Ovde možete navesti svoju prilagođenu oznaku za &ldquo;Dodaj drugu "
540
+ "sliku&rdquo; link (ostavite prazno da biste koristili podrazumevanu oznaku)."
541
+
542
+ #: ../user-submitted-posts.php:1027
543
+ msgid "Minimum number of images"
544
+ msgstr "Minimalan broj slika"
545
+
546
+ #: ../user-submitted-posts.php:1030
547
+ msgid "Specify the <em>minimum</em> number of images."
548
+ msgstr "Odredite <em>minimalan</em> broj slika. "
549
+
550
+ #: ../user-submitted-posts.php:1034
551
+ msgid "Maximum number of images"
552
+ msgstr "Maksimalan broj slika"
553
+
554
+ #: ../user-submitted-posts.php:1037
555
+ msgid "Specify the <em>maximum</em> number of images."
556
+ msgstr "Odredite <em>maksimalan</em> broj slika. "
557
+
558
+ #: ../user-submitted-posts.php:1041
559
+ msgid "Minimum image width"
560
+ msgstr "Minimalna širina slike"
561
+
562
+ #: ../user-submitted-posts.php:1043
563
+ msgid "Specify a <em>minimum width</em> (in pixels) for uploaded images."
564
+ msgstr "Odredite <em>minimalnu širinu</em> (u pikselima) za otpremljene slike."
565
+
566
+ #: ../user-submitted-posts.php:1046
567
+ msgid "Minimum image height"
568
+ msgstr "Minimalna visina slike"
569
+
570
+ #: ../user-submitted-posts.php:1048
571
+ msgid "Specify a <em>minimum height</em> (in pixels) for uploaded images."
572
+ msgstr "Odredite <em>minimalnu visinu</em> (u pikselima) za otpremljene slike."
573
+
574
+ #: ../user-submitted-posts.php:1051
575
+ msgid "Maximum image width"
576
+ msgstr "Maksimalna širina slike"
577
+
578
+ #: ../user-submitted-posts.php:1053
579
+ msgid "Specify a <em>maximum width</em> (in pixels) for uploaded images."
580
+ msgstr ""
581
+ "Odredite <em>maksimalnu širinu</em> (u pikselima) za otpremljene slike."
582
+
583
+ #: ../user-submitted-posts.php:1056
584
+ msgid "Maximum image height"
585
+ msgstr "Maksimalna visina slike"
586
+
587
+ #: ../user-submitted-posts.php:1058
588
+ msgid "Specify a <em>maximum height</em> (in pixels) for uploaded images."
589
+ msgstr ""
590
+ "Odredite <em>maksimalnu visinu</em> (u pikselima) za otpremljene slike."
591
+
592
+ #: ../user-submitted-posts.php:1062 ../user-submitted-posts.php:1090
593
+ msgid "Save Settings"
594
+ msgstr "Sačuvaj podešavanja"
595
+
596
+ #: ../user-submitted-posts.php:1066
597
+ msgid "Shortcode &amp; Template Tag"
598
+ msgstr "Shortcode &amp; Oznaka šablona"
599
+
600
+ #: ../user-submitted-posts.php:1069
601
+ msgid "Shortcode"
602
+ msgstr "Shortcode"
603
+
604
+ #: ../user-submitted-posts.php:1070
605
+ msgid "Use this shortcode to display the USP Form on any post or page:"
606
+ msgstr ""
607
+ "Koristite ovaj shortcode da biste prikazali USP obrazac na bilo kom postu "
608
+ "ili na bilo kojoj stranici:"
609
+
610
+ #: ../user-submitted-posts.php:1073
611
+ msgid "Template tag"
612
+ msgstr "Oznaka šablona"
613
+
614
+ #: ../user-submitted-posts.php:1074
615
+ msgid ""
616
+ "Use this template tag to display the USP Form anywhere in your theme "
617
+ "template:"
618
+ msgstr ""
619
+ "Koristite ovu oznaku šablona da biste prikazali USP obrazac bilo gde u vašem "
620
+ "šablonu teme:"
621
+
622
+ #: ../user-submitted-posts.php:1079
623
+ msgid "Restore Default Options"
624
+ msgstr "Vrati na podrazumevane opcije"
625
+
626
+ #: ../user-submitted-posts.php:1083
627
+ msgid "Restore default options upon plugin deactivation/reactivation."
628
+ msgstr ""
629
+ "Vratite podrazumevane opcije nakon deaktiviranja/ponovnog aktiviranja plugin-"
630
+ "a. "
631
+
632
+ #: ../user-submitted-posts.php:1087
633
+ msgid ""
634
+ "<strong>Tip:</strong> leave this option unchecked to remember your settings. "
635
+ "Or, to go ahead and restore all default options, check the box, save your "
636
+ "settings, and then deactivate/reactivate the plugin."
637
+ msgstr ""
638
+ "<strong>Savet:</strong> ostavite ovu opciju neštikliranu da biste zapamtili "
639
+ "svoja podešavanja. Ili, vratite sve podrazumevane opcije, štiklirajte polje, "
640
+ "sačuvajte svoja podešavanja, a zatim deaktivirajte/ponovo aktivirajte plugin."
641
+
642
+ #: ../user-submitted-posts.php:1094
643
+ msgid "Updates &amp; Info"
644
+ msgstr "Ažuriranja &amp; Info"
645
+
646
+ #: ../user-submitted-posts.php:1134
647
+ msgid ""
648
+ "Are you sure you want to restore all default options? (this action cannot be "
649
+ "undone)"
650
+ msgstr ""
651
+ "Jeste li sigurni da želite da vratite sve podrazumevane opcije? (Ova "
652
+ "aktivnost ne može se poništiti)"
653
+
654
+ #: ../views/submission-form.php:37 ../views/submission-form.php:38
655
+ msgid "Your Name"
656
+ msgstr "Vaše ime"
657
+
658
+ #: ../views/submission-form.php:42 ../views/submission-form.php:43
659
+ msgid "Your URL"
660
+ msgstr "Vaš URL"
661
+
662
+ #: ../views/submission-form.php:58
663
+ msgid "Antispam Question"
664
+ msgstr "Antispam pitanje"
665
+
666
+ #: ../views/submission-form.php:64
667
+ msgid "Please select a category.."
668
+ msgstr "Molimo odaberite kategoriju..."
669
+
670
+ #: ../views/submission-form.php:98
671
+ msgid "Upload an Image"
672
+ msgstr "Otpremi sliku"
673
+
674
+ #: ../views/submission-form.php:106
675
+ msgid "Add another image"
676
+ msgstr "Dodaj drugu sliku"
677
+
678
+ #: ../views/submission-form.php:124
679
+ msgid "Human verification: leave this field empty."
680
+ msgstr "Human verification: ostavite ovo polje prazno."
681
+
682
+ #: ../views/submission-form.php:140
683
+ msgid "Submit Post"
684
+ msgstr "Podnesi post"
languages/usp-zh_CN.mo ADDED
Binary file
languages/usp-zh_CN.po ADDED
@@ -0,0 +1,626 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: User Submitted Posts\n"
4
+ "POT-Creation-Date: 2014-09-29 15:31-0800\n"
5
+ "PO-Revision-Date: 2015-03-08 17:56+0300\n"
6
+ "Last-Translator: Jeff Starr <http://perishablepress.com/contact/>\n"
7
+ "Language-Team: Monzilla Media <http://perishablepress.com/contact/>\n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.10\n"
13
+ "X-Poedit-KeywordsList: __;_e;_n;_x\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../user-submitted-posts.php:26 ../user-submitted-posts.php:61
20
+ msgid "User Submitted Posts"
21
+ msgstr ""
22
+
23
+ #: ../user-submitted-posts.php:48
24
+ msgid "requires WordPress 3.7 or higher, and has been deactivated!"
25
+ msgstr "需要 WordPress 3.7 或者更高的版本,并且已激活插件!"
26
+
27
+ #: ../user-submitted-posts.php:49
28
+ msgid "Please return to the "
29
+ msgstr "请返回"
30
+
31
+ #: ../user-submitted-posts.php:49
32
+ msgid "WordPress Admin area"
33
+ msgstr "WordPress 管理区域"
34
+
35
+ #: ../user-submitted-posts.php:49
36
+ msgid "to upgrade WordPress and try again."
37
+ msgstr "升级WordPress 并重试."
38
+
39
+ #: ../user-submitted-posts.php:61
40
+ msgid "Submitted"
41
+ msgstr "已提交"
42
+
43
+ #: ../user-submitted-posts.php:128
44
+ msgid "An error occurred. Please go back and try again."
45
+ msgstr "发生一个错误.请返回并重试."
46
+
47
+ #: ../user-submitted-posts.php:294
48
+ msgid "USP"
49
+ msgstr ""
50
+
51
+ #: ../user-submitted-posts.php:474
52
+ msgid "Settings"
53
+ msgstr "设置"
54
+
55
+ #: ../user-submitted-posts.php:512
56
+ msgid ""
57
+ "There was an error. Please ensure that you have added a title, some content, "
58
+ "and that you have uploaded only images."
59
+ msgstr "错误.情确认您已添加标题,以及一些类容."
60
+
61
+ #: ../user-submitted-posts.php:519 ../user-submitted-posts.php:520
62
+ #: ../user-submitted-posts.php:521 ../user-submitted-posts.php:522
63
+ #: ../user-submitted-posts.php:523 ../user-submitted-posts.php:530
64
+ #: ../user-submitted-posts.php:531
65
+ msgid "show"
66
+ msgstr "显示"
67
+
68
+ #: ../user-submitted-posts.php:524
69
+ msgid "hide"
70
+ msgstr "隐藏"
71
+
72
+ #: ../user-submitted-posts.php:525
73
+ msgid "Please select your image(s) to upload."
74
+ msgstr "请选择图片上传"
75
+
76
+ #: ../user-submitted-posts.php:532
77
+ msgid "Success! Thank you for your submission."
78
+ msgstr "成功!谢谢提交!"
79
+
80
+ #: ../user-submitted-posts.php:555
81
+ msgid "HTML5 form + CSS (<small><em>Recommended</em></small>)"
82
+ msgstr "HTML5 表单 + CSS (<small><em>建议</em></small>)"
83
+
84
+ #: ../user-submitted-posts.php:559
85
+ msgid ""
86
+ "Custom form + CSS (<small><em>You must provide the template for this "
87
+ "option*</em></small>)"
88
+ msgstr "自定义表单 + CSS (<small><em>该选项您需要提供模板*</em></small>)"
89
+
90
+ #: ../user-submitted-posts.php:563
91
+ msgid "Disable stylesheet"
92
+ msgstr "禁用style样式"
93
+
94
+ #: ../user-submitted-posts.php:751
95
+ msgid "Toggle all panels"
96
+ msgstr "切换所有面板"
97
+
98
+ #: ../user-submitted-posts.php:759
99
+ msgid "Overview"
100
+ msgstr "概览"
101
+
102
+ #: ../user-submitted-posts.php:763
103
+ msgid ""
104
+ "(USP) enables your visitors to submit posts and upload images from anywhere "
105
+ "on your site."
106
+ msgstr "(USP) 让您的访客在您网站的任何位置前台发布图片和文章."
107
+
108
+ #: ../user-submitted-posts.php:764
109
+ msgid ""
110
+ "To implement, configure the plugin settings and include the USP form in any "
111
+ "post or page via shortcode or anywhere in your theme via template tag."
112
+ msgstr "在您主题的任何位置通过简码或者模板标签来实现前端发布功能."
113
+
114
+ #: ../user-submitted-posts.php:765
115
+ msgid "For more functionality check out"
116
+ msgstr "更多功能详见"
117
+
118
+ #: ../user-submitted-posts.php:766
119
+ msgid "&mdash; the ultimate solution for unlimited front-end forms."
120
+ msgstr "&mdash; 无限用户前端发布表单的终极解决方案"
121
+
122
+ #: ../user-submitted-posts.php:770
123
+ msgid "Configure settings"
124
+ msgstr "修改设置"
125
+
126
+ #: ../user-submitted-posts.php:771
127
+ msgid "Get the shortcode &amp; template tag"
128
+ msgstr "获得简码&amp; 模板标签"
129
+
130
+ #: ../user-submitted-posts.php:772
131
+ msgid "More info:"
132
+ msgstr "更多信息:"
133
+
134
+ #: ../user-submitted-posts.php:772
135
+ msgid "readme.txt"
136
+ msgstr ""
137
+
138
+ #: ../user-submitted-posts.php:773 ../user-submitted-posts.php:865
139
+ msgid "and"
140
+ msgstr "和"
141
+
142
+ #: ../user-submitted-posts.php:773
143
+ msgid "homepage"
144
+ msgstr "主页"
145
+
146
+ #: ../user-submitted-posts.php:774
147
+ msgid "If you like USP, please"
148
+ msgstr "如果您喜欢USP,请"
149
+
150
+ #: ../user-submitted-posts.php:775
151
+ msgid "Rate and review this plugin at the WP Plugin Directory"
152
+ msgstr "在WP插件目录评价和概览该插件"
153
+
154
+ #: ../user-submitted-posts.php:776
155
+ msgid "rate it at WordPress.org"
156
+ msgstr "在 WordPress.org 评价"
157
+
158
+ #: ../user-submitted-posts.php:788
159
+ msgid "Options"
160
+ msgstr "配置"
161
+
162
+ #: ../user-submitted-posts.php:790
163
+ msgid ""
164
+ "Here you may configure options for USP. See the <code>readme.txt</code> for "
165
+ "more information."
166
+ msgstr "您可以在这里配置USP选项.可在阅读<code>readme.txt</code> 更多信息."
167
+
168
+ #: ../user-submitted-posts.php:791
169
+ msgid "Show/Hide Form Fields"
170
+ msgstr "显示/隐藏表单区域"
171
+
172
+ #: ../user-submitted-posts.php:795 ../user-submitted-posts.php:801
173
+ #: ../user-submitted-posts.php:807 ../user-submitted-posts.php:813
174
+ #: ../user-submitted-posts.php:819 ../user-submitted-posts.php:825
175
+ #: ../user-submitted-posts.php:831 ../user-submitted-posts.php:837
176
+ msgid "Show"
177
+ msgstr "显示"
178
+
179
+ #: ../user-submitted-posts.php:796 ../user-submitted-posts.php:802
180
+ #: ../user-submitted-posts.php:808 ../user-submitted-posts.php:814
181
+ #: ../user-submitted-posts.php:820 ../user-submitted-posts.php:826
182
+ #: ../user-submitted-posts.php:832 ../user-submitted-posts.php:838
183
+ msgid "Hide"
184
+ msgstr "隐藏"
185
+
186
+ #: ../user-submitted-posts.php:797
187
+ msgid "User Name"
188
+ msgstr "用户名"
189
+
190
+ #: ../user-submitted-posts.php:803
191
+ msgid "Post URL"
192
+ msgstr "发表链接"
193
+
194
+ #: ../user-submitted-posts.php:809 ../views/submission-form.php:47
195
+ #: ../views/submission-form.php:48
196
+ msgid "Post Title"
197
+ msgstr "发表标题"
198
+
199
+ #: ../user-submitted-posts.php:815 ../views/submission-form.php:52
200
+ #: ../views/submission-form.php:53
201
+ msgid "Post Tags"
202
+ msgstr "发表标签"
203
+
204
+ #: ../user-submitted-posts.php:821 ../views/submission-form.php:62
205
+ msgid "Post Category"
206
+ msgstr "发表目录"
207
+
208
+ #: ../user-submitted-posts.php:827 ../views/submission-form.php:91
209
+ #: ../views/submission-form.php:92
210
+ msgid "Post Content"
211
+ msgstr "发表类容"
212
+
213
+ #: ../user-submitted-posts.php:833
214
+ msgid "Post Images"
215
+ msgstr "发表图片"
216
+
217
+ #: ../user-submitted-posts.php:839
218
+ msgid "Challenge question (Captcha)"
219
+ msgstr "验证问题(验证码)"
220
+
221
+ #: ../user-submitted-posts.php:842
222
+ msgid "General Form Options"
223
+ msgstr "常规表单设置"
224
+
225
+ #: ../user-submitted-posts.php:846
226
+ msgid "Form style"
227
+ msgstr "表单风格"
228
+
229
+ #: ../user-submitted-posts.php:864
230
+ msgid ""
231
+ "* If &ldquo;Custom&rdquo; is selected, you must upload your own template "
232
+ "files,"
233
+ msgstr "* 如果 &ldquo;自定义&rdquo;已选择, 您必须上传自己的模板,"
234
+
235
+ #: ../user-submitted-posts.php:866
236
+ msgid "Note: list of CSS selectors available at "
237
+ msgstr "注意: CSS选择符列表"
238
+
239
+ #: ../user-submitted-posts.php:866
240
+ msgid "CSS selectors for User Submitted Posts"
241
+ msgstr "User Submitted Posts的 CSS 选择符"
242
+
243
+ #: ../user-submitted-posts.php:871
244
+ msgid "Include JavaScript?"
245
+ msgstr "使用JavaScript?"
246
+
247
+ #: ../user-submitted-posts.php:873
248
+ msgid ""
249
+ "Check this box if you want to include the external JavaScript files "
250
+ "(recommended)."
251
+ msgstr "勾选如果您想使用外部JavaScript 文件(推荐)."
252
+
253
+ #: ../user-submitted-posts.php:876
254
+ msgid "Targeted Loading"
255
+ msgstr "目标载入中"
256
+
257
+ #: ../user-submitted-posts.php:878
258
+ msgid ""
259
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
260
+ "Here you may specify the URL of the USP form to load resources only on that "
261
+ "page. Note: leave blank to load on all pages."
262
+ msgstr ""
263
+ "当启用时外部CSS &amp; JavaScript 文件会在每一个页面加载.您可以为USP表单指定一"
264
+ "个页面,资源都会从该页面加载.注意: 留空白代表每一个页面都加载."
265
+
266
+ #: ../user-submitted-posts.php:881
267
+ msgid "Categories"
268
+ msgstr "分类"
269
+
270
+ #: ../user-submitted-posts.php:894
271
+ msgid "Select which categories may be assigned to submitted posts."
272
+ msgstr "选择可以发表的分类"
273
+
274
+ #: ../user-submitted-posts.php:898
275
+ msgid "Assigned Author"
276
+ msgstr "指派作者"
277
+
278
+ #: ../user-submitted-posts.php:908
279
+ msgid ""
280
+ "Specify the user that should be assigned as author for user-submitted posts."
281
+ msgstr "指定一个用户作为发布文章的作者"
282
+
283
+ #: ../user-submitted-posts.php:912
284
+ msgid "Auto Publish?"
285
+ msgstr "自动发布?"
286
+
287
+ #: ../user-submitted-posts.php:915
288
+ msgid "Always moderate"
289
+ msgstr "总是需要审核"
290
+
291
+ #: ../user-submitted-posts.php:916
292
+ msgid "Always publish immediately"
293
+ msgstr "总是立即发布"
294
+
295
+ #: ../user-submitted-posts.php:921
296
+ msgid ""
297
+ "For submitted posts, you can always moderate (recommended), publish "
298
+ "immediately, or publish after any number of approved posts."
299
+ msgstr "已提交的文章,您可以随时审核 (建议),立刻发表, 或者在审核几篇文章后发布."
300
+
301
+ #: ../user-submitted-posts.php:925
302
+ msgid "Receive Email Alert"
303
+ msgstr "接收邮件通知"
304
+
305
+ #: ../user-submitted-posts.php:927
306
+ msgid ""
307
+ "Check this box if you want to be notified via email for new post submissions."
308
+ msgstr "勾选可通过邮箱接收新发布通知."
309
+
310
+ #: ../user-submitted-posts.php:930
311
+ msgid "Enable Rich Text Editor"
312
+ msgstr "启用富文本编辑框"
313
+
314
+ #: ../user-submitted-posts.php:932
315
+ msgid ""
316
+ "Check this box if you want to enable WP rich text editing for submitted "
317
+ "posts."
318
+ msgstr "勾选启用富文本编辑框."
319
+
320
+ #: ../user-submitted-posts.php:935
321
+ msgid "Set Uploaded Image as Featured Image"
322
+ msgstr "选择已上传图片作为特色图"
323
+
324
+ #: ../user-submitted-posts.php:937
325
+ msgid ""
326
+ "Check this box if you want to set submitted images as Featured Images (aka "
327
+ "Post Thumbnails) for posts. \n"
328
+ "\t\t\t\t\t\t\t\t\t\t\tNote: your theme&rsquo;s single.php file must include"
329
+ msgstr ""
330
+ "如果您想使用特色图请勾选该框(发布时的缩略图). \n"
331
+ "\t\t\t\t\t\t\t\t\t\t\t注意: 您的主题&rsquo;的 single.php 文件必须存在"
332
+
333
+ #: ../user-submitted-posts.php:938
334
+ msgid "to display Featured Images."
335
+ msgstr "显示特色图"
336
+
337
+ #: ../user-submitted-posts.php:941
338
+ msgid "Email Address for Alerts"
339
+ msgstr "邮箱地址"
340
+
341
+ #: ../user-submitted-posts.php:943
342
+ msgid ""
343
+ "If you checked the box to receive email alerts, indicate here the "
344
+ "address(es) to which the emails should be sent."
345
+ msgstr "如果你勾选该选项来接收邮件提醒,在这指定邮箱地址."
346
+
347
+ #: ../user-submitted-posts.php:944
348
+ msgid "Tip: multiple addresses may be included using a comma, like so:"
349
+ msgstr "帮助:多个地址可以用逗号隔开,例如:"
350
+
351
+ #: ../user-submitted-posts.php:947
352
+ msgid "Redirect URL"
353
+ msgstr "跳转链接"
354
+
355
+ #: ../user-submitted-posts.php:949
356
+ msgid ""
357
+ "Specify a URL to redirect the user after post-submission. Note: leave blank "
358
+ "to redirect back to current page."
359
+ msgstr "指定发布成功后的跳转链接.注意:留空白跳转为当前页."
360
+
361
+ #: ../user-submitted-posts.php:952
362
+ msgid "Success Message"
363
+ msgstr "成功信息"
364
+
365
+ #: ../user-submitted-posts.php:954
366
+ msgid ""
367
+ "This is the success message that is displayed if post-submission is "
368
+ "successful."
369
+ msgstr "这是发布成功时显示的信息"
370
+
371
+ #: ../user-submitted-posts.php:957
372
+ msgid "Error Message"
373
+ msgstr "错误信息"
374
+
375
+ #: ../user-submitted-posts.php:959
376
+ msgid "This is the error message that is displayed if post-submission fails."
377
+ msgstr "这是发布失败时显示的错误信息"
378
+
379
+ #: ../user-submitted-posts.php:962
380
+ msgid "Custom Content"
381
+ msgstr "自定义类容"
382
+
383
+ #: ../user-submitted-posts.php:964
384
+ msgid ""
385
+ "Here you may specify custom text/markup to be included before the submission "
386
+ "form. Note: leave blank to disable."
387
+ msgstr " 您可以自定义发表前被包括的文字/标记.注意:留空白来禁用. "
388
+
389
+ #: ../user-submitted-posts.php:968
390
+ msgid "Registered User Info"
391
+ msgstr "已注册用户信息"
392
+
393
+ #: ../user-submitted-posts.php:972
394
+ msgid "Use registered username for author?"
395
+ msgstr "使用用已注册户名作为作者?"
396
+
397
+ #: ../user-submitted-posts.php:974
398
+ msgid ""
399
+ "Check this box if you want to automatically use the registered username as "
400
+ "the submitted-post author. Note: this really should only be used when "
401
+ "requiring log-in for submissions."
402
+ msgstr ""
403
+ "勾选如果您想自动使用已注册用户的名字作为发布文章的作者名.注意:这个功能只有在"
404
+ "需要登录发表时才有必要使用."
405
+
406
+ #: ../user-submitted-posts.php:977
407
+ msgid "Use registered URL for submitted URL?"
408
+ msgstr "使用已注册的URL作为已发表的URL"
409
+
410
+ #: ../user-submitted-posts.php:979
411
+ msgid ""
412
+ "Check this box if you want to automatically use the registered user&rsquo;s "
413
+ "specified URL as the submitted-post URL. Note: this really should only be "
414
+ "used when requiring log-in for submissions."
415
+ msgstr ""
416
+ "勾选如果您想自动使用注册用户&rsquo;的指定URL作为发布文章的URL.注意:这个功能只"
417
+ "有在需要登录发表时才有必要使用."
418
+
419
+ #: ../user-submitted-posts.php:982
420
+ msgid "Use a hidden field for submitted category?"
421
+ msgstr "使用隐藏分类?"
422
+
423
+ #: ../user-submitted-posts.php:984
424
+ msgid ""
425
+ "Check this box if you want to use a hidden category field for the submitted "
426
+ "category. Note: this may be used to specify a default category for submitted "
427
+ "posts when the category field is hidden."
428
+ msgstr "如果您想使用隐藏分类请勾选该.注意:"
429
+
430
+ #: ../user-submitted-posts.php:987
431
+ msgid "Category ID for hidden field"
432
+ msgstr "隐藏区域分类ID"
433
+
434
+ #: ../user-submitted-posts.php:989
435
+ msgid ""
436
+ "Specify a cateogry (ID) to use as the default category when using the &ldquo;"
437
+ "hidden field&rdquo; option."
438
+ msgstr "指定当使用&ldquo时的目录 (ID) ;隐藏区域&rdquo; 选项."
439
+
440
+ #: ../user-submitted-posts.php:993
441
+ msgid "Challenge Question (Captcha)"
442
+ msgstr "验证问题 (验证码)"
443
+
444
+ #: ../user-submitted-posts.php:997
445
+ msgid "Challenge Question"
446
+ msgstr "验证问题"
447
+
448
+ #: ../user-submitted-posts.php:999
449
+ msgid ""
450
+ "To prevent spam, enter a question that users must answer before submitting "
451
+ "the form."
452
+ msgstr "填写一个用户必须回答的问题来阻止垃圾信息."
453
+
454
+ #: ../user-submitted-posts.php:1002
455
+ msgid "Challenge Response"
456
+ msgstr "验证信息"
457
+
458
+ #: ../user-submitted-posts.php:1004
459
+ msgid "Enter the <em>only</em> correct answer to the challenge question."
460
+ msgstr "填写 <em>唯一</em> 正确的答案."
461
+
462
+ #: ../user-submitted-posts.php:1007
463
+ msgid "Case-sensitivity"
464
+ msgstr "大小写敏感性"
465
+
466
+ #: ../user-submitted-posts.php:1009
467
+ msgid "Check this box if you want the challenge response to be case-sensitive."
468
+ msgstr "勾选让验证信息区分大小写"
469
+
470
+ #: ../user-submitted-posts.php:1013
471
+ msgid "Image Uploads"
472
+ msgstr "图片上传"
473
+
474
+ #: ../user-submitted-posts.php:1017
475
+ msgid "Upload Message"
476
+ msgstr "上传区域信息"
477
+
478
+ #: ../user-submitted-posts.php:1019
479
+ msgid ""
480
+ "This is the message that appears next to upload field. Useful to state your "
481
+ "upload guidelines/rules/etc."
482
+ msgstr "这条信息可以显示在上传区域.适用于上传规则/帮助/介绍等."
483
+
484
+ #: ../user-submitted-posts.php:1022
485
+ msgid "&ldquo;Add another image&rdquo; link"
486
+ msgstr "&ldquo;添加新的图片&rdquo; 链接"
487
+
488
+ #: ../user-submitted-posts.php:1024
489
+ msgid ""
490
+ "Here you may specify your own custom markup for the &ldquo;Add another "
491
+ "image&rdquo; link (leave blank to use the default markup)."
492
+ msgstr ""
493
+ "可以在这里使用自定义标记 &ldquo;添加新的图片&rdquo; 链接 (留空白为默认标记)."
494
+
495
+ #: ../user-submitted-posts.php:1027
496
+ msgid "Minimum number of images"
497
+ msgstr "最小图片数"
498
+
499
+ #: ../user-submitted-posts.php:1030
500
+ msgid "Specify the <em>minimum</em> number of images."
501
+ msgstr "指定 <em>最小</em>图片数."
502
+
503
+ #: ../user-submitted-posts.php:1034
504
+ msgid "Maximum number of images"
505
+ msgstr "最大图片数"
506
+
507
+ #: ../user-submitted-posts.php:1037
508
+ msgid "Specify the <em>maximum</em> number of images."
509
+ msgstr "指定<em>最大</em>图片数."
510
+
511
+ #: ../user-submitted-posts.php:1041
512
+ msgid "Minimum image width"
513
+ msgstr "最小宽度"
514
+
515
+ #: ../user-submitted-posts.php:1043
516
+ msgid "Specify a <em>minimum width</em> (in pixels) for uploaded images."
517
+ msgstr "给上图图片指定一个 <em>最小宽度</em> (像素)."
518
+
519
+ #: ../user-submitted-posts.php:1046
520
+ msgid "Minimum image height"
521
+ msgstr "最小高度"
522
+
523
+ #: ../user-submitted-posts.php:1048
524
+ msgid "Specify a <em>minimum height</em> (in pixels) for uploaded images."
525
+ msgstr "给上图图片指定一个 <em>最小高度</em> (像素)."
526
+
527
+ #: ../user-submitted-posts.php:1051
528
+ msgid "Maximum image width"
529
+ msgstr "最大宽度"
530
+
531
+ #: ../user-submitted-posts.php:1053
532
+ msgid "Specify a <em>maximum width</em> (in pixels) for uploaded images."
533
+ msgstr "给上图图片指定一个 <em>最大宽度</em> (像素)."
534
+
535
+ #: ../user-submitted-posts.php:1056
536
+ msgid "Maximum image height"
537
+ msgstr "最大照片高度"
538
+
539
+ #: ../user-submitted-posts.php:1058
540
+ msgid "Specify a <em>maximum height</em> (in pixels) for uploaded images."
541
+ msgstr "给上图图片指定一个 <em>最大高度</em> (像素)."
542
+
543
+ #: ../user-submitted-posts.php:1062 ../user-submitted-posts.php:1090
544
+ msgid "Save Settings"
545
+ msgstr "保存设置"
546
+
547
+ #: ../user-submitted-posts.php:1066
548
+ msgid "Shortcode &amp; Template Tag"
549
+ msgstr "简码 &amp; 模板标签"
550
+
551
+ #: ../user-submitted-posts.php:1069
552
+ msgid "Shortcode"
553
+ msgstr "简码"
554
+
555
+ #: ../user-submitted-posts.php:1070
556
+ msgid "Use this shortcode to display the USP Form on any post or page:"
557
+ msgstr "使用该简码来在任何文章或页面显示USP表单:"
558
+
559
+ #: ../user-submitted-posts.php:1073
560
+ msgid "Template tag"
561
+ msgstr "模板标签"
562
+
563
+ #: ../user-submitted-posts.php:1074
564
+ msgid ""
565
+ "Use this template tag to display the USP Form anywhere in your theme "
566
+ "template:"
567
+ msgstr "使用该模板标签让USP表单显示在您主题的任意位置:"
568
+
569
+ #: ../user-submitted-posts.php:1079
570
+ msgid "Restore Default Options"
571
+ msgstr "恢复默认设置"
572
+
573
+ #: ../user-submitted-posts.php:1083
574
+ msgid "Restore default options upon plugin deactivation/reactivation."
575
+ msgstr "在插件禁用/重新启用的时候恢复默认设置."
576
+
577
+ #: ../user-submitted-posts.php:1087
578
+ msgid ""
579
+ "<strong>Tip:</strong> leave this option unchecked to remember your settings. "
580
+ "Or, to go ahead and restore all default options, check the box, save your "
581
+ "settings, and then deactivate/reactivate the plugin."
582
+ msgstr ""
583
+ "strong>Tip:</strong> 空出该选项来保存您的设置.或者, 继续去重置, 在方框打勾,保"
584
+ "存您的设置, 然后禁用/重新激活插件."
585
+
586
+ #: ../user-submitted-posts.php:1094
587
+ msgid "Updates &amp; Info"
588
+ msgstr "更新 &amp; 信息"
589
+
590
+ #: ../user-submitted-posts.php:1134
591
+ msgid ""
592
+ "Are you sure you want to restore all default options? (this action cannot be "
593
+ "undone)"
594
+ msgstr "确认您要重置所有设置为默认?(无法恢复)"
595
+
596
+ #: ../views/submission-form.php:37 ../views/submission-form.php:38
597
+ msgid "Your Name"
598
+ msgstr "您的名字"
599
+
600
+ #: ../views/submission-form.php:42 ../views/submission-form.php:43
601
+ msgid "Your URL"
602
+ msgstr "您的链接"
603
+
604
+ #: ../views/submission-form.php:58
605
+ msgid "Antispam Question"
606
+ msgstr "验证问题"
607
+
608
+ #: ../views/submission-form.php:64
609
+ msgid "Please select a category.."
610
+ msgstr "请选择分类"
611
+
612
+ #: ../views/submission-form.php:98
613
+ msgid "Upload an Image"
614
+ msgstr "上传一张图片"
615
+
616
+ #: ../views/submission-form.php:106
617
+ msgid "Add another image"
618
+ msgstr "添加图片"
619
+
620
+ #: ../views/submission-form.php:124
621
+ msgid "Human verification: leave this field empty."
622
+ msgstr "验证问题: 这里什么都不要填."
623
+
624
+ #: ../views/submission-form.php:140
625
+ msgid "Submit Post"
626
+ msgstr "提交"
languages/usp.pot ADDED
@@ -0,0 +1,1146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: PACKAGE VERSION\n"
5
+ "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2017-03-28 17:28+0000\n"
7
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
+ "Language-Team: \n"
10
+ "Language: \n"
11
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Loco - https://localise.biz/"
16
+
17
+ #. Name of the plugin
18
+ #: user-submitted-posts.php:26
19
+ msgid "User Submitted Posts"
20
+ msgstr ""
21
+
22
+ #: user-submitted-posts.php:58
23
+ msgid "requires WordPress "
24
+ msgstr ""
25
+
26
+ #: user-submitted-posts.php:59
27
+ msgid " or higher, and has been deactivated! "
28
+ msgstr ""
29
+
30
+ #: user-submitted-posts.php:60
31
+ msgid "Please return to the"
32
+ msgstr ""
33
+
34
+ #: user-submitted-posts.php:61
35
+ msgid "WordPress Admin Area"
36
+ msgstr ""
37
+
38
+ #: user-submitted-posts.php:62
39
+ msgid "to upgrade WordPress and try again."
40
+ msgstr ""
41
+
42
+ #: user-submitted-posts.php:104
43
+ msgid "User Submitted Post"
44
+ msgstr ""
45
+
46
+ #: user-submitted-posts.php:383
47
+ msgid "User Submitted Post Info"
48
+ msgstr ""
49
+
50
+ #: user-submitted-posts.php:413
51
+ msgid "Submitter Name: "
52
+ msgstr ""
53
+
54
+ #: user-submitted-posts.php:414
55
+ msgid "Submitter Email: "
56
+ msgstr ""
57
+
58
+ #: user-submitted-posts.php:415
59
+ msgid "Submitter URL: "
60
+ msgstr ""
61
+
62
+ #: user-submitted-posts.php:416
63
+ msgid "Submitter IP: "
64
+ msgstr ""
65
+
66
+ #: user-submitted-posts.php:465
67
+ msgid "Show USP Posts"
68
+ msgstr ""
69
+
70
+ #: user-submitted-posts.php:466
71
+ msgid "USP"
72
+ msgstr ""
73
+
74
+ #: user-submitted-posts.php:1062
75
+ msgid " files required"
76
+ msgstr ""
77
+
78
+ #: user-submitted-posts.php:1063
79
+ msgid " file required"
80
+ msgstr ""
81
+
82
+ #: user-submitted-posts.php:1065
83
+ msgid " files"
84
+ msgstr ""
85
+
86
+ #: user-submitted-posts.php:1066
87
+ msgid " file"
88
+ msgstr ""
89
+
90
+ #: user-submitted-posts.php:1068 user-submitted-posts.php:1069
91
+ #: user-submitted-posts.php:1070 user-submitted-posts.php:1071
92
+ msgid " pixels"
93
+ msgstr ""
94
+
95
+ #: user-submitted-posts.php:1074
96
+ msgid "An error occurred. Please go back and try again."
97
+ msgstr ""
98
+
99
+ #: user-submitted-posts.php:1084
100
+ msgid "User login required"
101
+ msgstr ""
102
+
103
+ #: user-submitted-posts.php:1085
104
+ msgid "User name required"
105
+ msgstr ""
106
+
107
+ #: user-submitted-posts.php:1086
108
+ msgid "Post title required"
109
+ msgstr ""
110
+
111
+ #: user-submitted-posts.php:1087
112
+ msgid "User URL required"
113
+ msgstr ""
114
+
115
+ #: user-submitted-posts.php:1088
116
+ msgid "Post tags required"
117
+ msgstr ""
118
+
119
+ #: user-submitted-posts.php:1089
120
+ msgid "Post category required"
121
+ msgstr ""
122
+
123
+ #: user-submitted-posts.php:1090
124
+ msgid "Post content required"
125
+ msgstr ""
126
+
127
+ #: user-submitted-posts.php:1091 user-submitted-posts.php:1092
128
+ msgid "Correct captcha required"
129
+ msgstr ""
130
+
131
+ #: user-submitted-posts.php:1093
132
+ msgid "User email required"
133
+ msgstr ""
134
+
135
+ #: user-submitted-posts.php:1094
136
+ msgid "Non-empty value for hidden field"
137
+ msgstr ""
138
+
139
+ #: user-submitted-posts.php:1095
140
+ msgid "Minimum number of images not met"
141
+ msgstr ""
142
+
143
+ #: user-submitted-posts.php:1096
144
+ msgid "Maximum number of images exceeded "
145
+ msgstr ""
146
+
147
+ #: user-submitted-posts.php:1097
148
+ msgid "Minimum image width not met"
149
+ msgstr ""
150
+
151
+ #: user-submitted-posts.php:1098
152
+ msgid "Image width exceeds maximum"
153
+ msgstr ""
154
+
155
+ #: user-submitted-posts.php:1099
156
+ msgid "Minimum image height not met"
157
+ msgstr ""
158
+
159
+ #: user-submitted-posts.php:1100
160
+ msgid "Image height exceeds maximum"
161
+ msgstr ""
162
+
163
+ #: user-submitted-posts.php:1101
164
+ msgid "File type not allowed (please upload images only)"
165
+ msgstr ""
166
+
167
+ #: user-submitted-posts.php:1102
168
+ msgid "The selected files could not be uploaded to the server"
169
+ msgstr ""
170
+
171
+ #: user-submitted-posts.php:1106
172
+ msgid "The file(s) could not be uploaded"
173
+ msgstr ""
174
+
175
+ #: user-submitted-posts.php:1108
176
+ msgid "Post not created. Please contact the site administrator for help."
177
+ msgstr ""
178
+
179
+ #: user-submitted-posts.php:1109
180
+ msgid "Duplicate post title. Please try again."
181
+ msgstr ""
182
+
183
+ #: user-submitted-posts.php:1119
184
+ msgid "Error: "
185
+ msgstr ""
186
+
187
+ #: user-submitted-posts.php:1145
188
+ msgid "Return to form"
189
+ msgstr ""
190
+
191
+ #: user-submitted-posts.php:1173 library/plugin-settings.php:603
192
+ msgid "Please"
193
+ msgstr ""
194
+
195
+ #: user-submitted-posts.php:1174
196
+ msgid "log in"
197
+ msgstr ""
198
+
199
+ #: user-submitted-posts.php:1175
200
+ msgid "to submit content!"
201
+ msgstr ""
202
+
203
+ #: views/submission-form.php:43 views/submission-form-alt.php:52
204
+ msgid "Please complete the required fields."
205
+ msgstr ""
206
+
207
+ #: views/submission-form.php:53 views/submission-form.php:54
208
+ #: views/submission-form-alt.php:58 views/submission-form-alt.php:59
209
+ msgid "Your Name"
210
+ msgstr ""
211
+
212
+ #: views/submission-form.php:59 views/submission-form.php:60
213
+ #: views/submission-form-alt.php:64 views/submission-form-alt.php:65
214
+ msgid "Your URL"
215
+ msgstr ""
216
+
217
+ #: views/submission-form.php:65 views/submission-form.php:66
218
+ #: views/submission-form-alt.php:70 views/submission-form-alt.php:71
219
+ msgid "Your Email"
220
+ msgstr ""
221
+
222
+ #: views/submission-form.php:71 views/submission-form.php:72
223
+ #: views/submission-form-alt.php:76 views/submission-form-alt.php:77
224
+ #: library/plugin-settings.php:692
225
+ msgid "Post Title"
226
+ msgstr ""
227
+
228
+ #: views/submission-form.php:77 views/submission-form.php:78
229
+ #: views/submission-form-alt.php:82 views/submission-form-alt.php:83
230
+ #: library/plugin-settings.php:702
231
+ msgid "Post Tags"
232
+ msgstr ""
233
+
234
+ #: views/submission-form.php:84 views/submission-form-alt.php:89
235
+ msgid "Antispam Question"
236
+ msgstr ""
237
+
238
+ #: views/submission-form.php:89 views/submission-form-alt.php:94
239
+ #: library/plugin-settings.php:712
240
+ msgid "Post Category"
241
+ msgstr ""
242
+
243
+ #: views/submission-form.php:91 views/submission-form-alt.php:96
244
+ msgid "Please select a category.."
245
+ msgstr ""
246
+
247
+ #: views/submission-form.php:124 views/submission-form.php:125
248
+ #: views/submission-form-alt.php:129 views/submission-form-alt.php:130
249
+ #: library/plugin-settings.php:722
250
+ msgid "Post Content"
251
+ msgstr ""
252
+
253
+ #: views/submission-form.php:131 views/submission-form-alt.php:136
254
+ msgid "Verification"
255
+ msgstr ""
256
+
257
+ #: views/submission-form.php:138 views/submission-form-alt.php:143
258
+ msgid "Upload an Image"
259
+ msgstr ""
260
+
261
+ #: views/submission-form.php:147 views/submission-form-alt.php:152
262
+ msgid "Add another image"
263
+ msgstr ""
264
+
265
+ #: views/submission-form.php:169 views/submission-form-alt.php:174
266
+ msgid "Human verification: leave this field empty."
267
+ msgstr ""
268
+
269
+ #: views/submission-form.php:191 views/submission-form-alt.php:196
270
+ msgid "Submit Post"
271
+ msgstr ""
272
+
273
+ #: library/plugin-settings.php:32
274
+ msgid "Get USP Pro for unlimited forms!"
275
+ msgstr ""
276
+
277
+ #: library/plugin-settings.php:33
278
+ msgid "Go Pro"
279
+ msgstr ""
280
+
281
+ #: library/plugin-settings.php:37
282
+ msgid "Settings"
283
+ msgstr ""
284
+
285
+ #: library/plugin-settings.php:55
286
+ msgid "Give USP a 5-star rating at WordPress.org"
287
+ msgstr ""
288
+
289
+ #: library/plugin-settings.php:56
290
+ msgid "Rate this plugin&nbsp;&raquo;"
291
+ msgstr ""
292
+
293
+ #: library/plugin-settings.php:115
294
+ msgid "HTML5 Form + Default CSS"
295
+ msgstr ""
296
+
297
+ #: library/plugin-settings.php:115
298
+ msgid "(Recommended)"
299
+ msgstr ""
300
+
301
+ #: library/plugin-settings.php:119
302
+ msgid "HTML5 Form + Disable CSS"
303
+ msgstr ""
304
+
305
+ #: library/plugin-settings.php:119
306
+ msgid "(Provide your own styles)"
307
+ msgstr ""
308
+
309
+ #: library/plugin-settings.php:123
310
+ msgid "Custom Form + Custom CSS"
311
+ msgstr ""
312
+
313
+ #: library/plugin-settings.php:123
314
+ msgid "(Provide your own form template &amp; styles)"
315
+ msgstr ""
316
+
317
+ #: library/plugin-settings.php:139 library/plugin-settings.php:163
318
+ #: library/plugin-settings.php:186
319
+ msgid "Auto-display before post content"
320
+ msgstr ""
321
+
322
+ #: library/plugin-settings.php:143 library/plugin-settings.php:167
323
+ #: library/plugin-settings.php:190
324
+ msgid "Auto-display after post content"
325
+ msgstr ""
326
+
327
+ #: library/plugin-settings.php:147
328
+ msgid "Do not auto-display submitted images"
329
+ msgstr ""
330
+
331
+ #: library/plugin-settings.php:171
332
+ msgid "Do not auto-display submitted email"
333
+ msgstr ""
334
+
335
+ #: library/plugin-settings.php:194
336
+ msgid "Do not auto-display submitted URL"
337
+ msgstr ""
338
+
339
+ #: library/plugin-settings.php:317
340
+ msgid ""
341
+ "There was an error. Please ensure that you have added a title, some content, "
342
+ "and that you have uploaded only images."
343
+ msgstr ""
344
+
345
+ #: library/plugin-settings.php:331
346
+ msgid "Please select your image(s) to upload."
347
+ msgstr ""
348
+
349
+ #: library/plugin-settings.php:337
350
+ msgid "Success! Thank you for your submission."
351
+ msgstr ""
352
+
353
+ #: library/plugin-settings.php:363
354
+ msgid "Email"
355
+ msgstr ""
356
+
357
+ #: library/plugin-settings.php:364
358
+ msgid "URL"
359
+ msgstr ""
360
+
361
+ #: library/plugin-settings.php:590
362
+ msgid "Toggle all panels"
363
+ msgstr ""
364
+
365
+ #: library/plugin-settings.php:599
366
+ msgid "We need your support!"
367
+ msgstr ""
368
+
369
+ #: library/plugin-settings.php:603
370
+ msgid "Make a donation via PayPal"
371
+ msgstr ""
372
+
373
+ #: library/plugin-settings.php:603
374
+ msgid "make a donation"
375
+ msgstr ""
376
+
377
+ #: library/plugin-settings.php:603
378
+ msgid "and/or"
379
+ msgstr ""
380
+
381
+ #: library/plugin-settings.php:604
382
+ msgid "Rate and review at the Plugin Directory"
383
+ msgstr ""
384
+
385
+ #: library/plugin-settings.php:605
386
+ msgid "give this plugin a 5-star rating"
387
+ msgstr ""
388
+
389
+ #: library/plugin-settings.php:609
390
+ msgid ""
391
+ "Your generous support enables continued development of this free plugin. "
392
+ "Thank you!"
393
+ msgstr ""
394
+
395
+ #: library/plugin-settings.php:614
396
+ msgid "Check this box if you have shown support"
397
+ msgstr ""
398
+
399
+ #: library/plugin-settings.php:623
400
+ msgid "Overview"
401
+ msgstr ""
402
+
403
+ #: library/plugin-settings.php:627
404
+ msgid ""
405
+ "enables your visitors to submit posts and upload images from the front-end "
406
+ "of your site. "
407
+ msgstr ""
408
+
409
+ #: library/plugin-settings.php:628
410
+ msgid "For advanced functionality and unlimited forms, check out"
411
+ msgstr ""
412
+
413
+ #: library/plugin-settings.php:629
414
+ msgid "&mdash; the ultimate solution for user-generated content."
415
+ msgstr ""
416
+
417
+ #: library/plugin-settings.php:633 library/plugin-settings.php:651
418
+ msgid "Plugin Settings"
419
+ msgstr ""
420
+
421
+ #: library/plugin-settings.php:634
422
+ msgid "Display the form"
423
+ msgstr ""
424
+
425
+ #: library/plugin-settings.php:635 library/plugin-settings.php:1181
426
+ msgid "Plugin Homepage"
427
+ msgstr ""
428
+
429
+ #: library/plugin-settings.php:638
430
+ msgid "If you like this plugin, please"
431
+ msgstr ""
432
+
433
+ #: library/plugin-settings.php:639
434
+ msgid "THANK YOU for your support!"
435
+ msgstr ""
436
+
437
+ #: library/plugin-settings.php:639
438
+ msgid "give it a 5-star rating"
439
+ msgstr ""
440
+
441
+ #: library/plugin-settings.php:643
442
+ msgid "Unlimited front-end forms"
443
+ msgstr ""
444
+
445
+ #: library/plugin-settings.php:643
446
+ msgid "Get USP Pro"
447
+ msgstr ""
448
+
449
+ #: library/plugin-settings.php:655
450
+ msgid "Configure your settings for User Submitted Posts."
451
+ msgstr ""
452
+
453
+ #: library/plugin-settings.php:657
454
+ msgid "Form Fields"
455
+ msgstr ""
456
+
457
+ #: library/plugin-settings.php:662
458
+ msgid "User Name"
459
+ msgstr ""
460
+
461
+ #: library/plugin-settings.php:665 library/plugin-settings.php:675
462
+ #: library/plugin-settings.php:685 library/plugin-settings.php:695
463
+ #: library/plugin-settings.php:705 library/plugin-settings.php:715
464
+ #: library/plugin-settings.php:725 library/plugin-settings.php:735
465
+ #: library/plugin-settings.php:745
466
+ msgid "Display and require"
467
+ msgstr ""
468
+
469
+ #: library/plugin-settings.php:666 library/plugin-settings.php:676
470
+ #: library/plugin-settings.php:686 library/plugin-settings.php:696
471
+ #: library/plugin-settings.php:706 library/plugin-settings.php:716
472
+ #: library/plugin-settings.php:726
473
+ msgid "Display but do not require"
474
+ msgstr ""
475
+
476
+ #: library/plugin-settings.php:667 library/plugin-settings.php:677
477
+ #: library/plugin-settings.php:687 library/plugin-settings.php:697
478
+ #: library/plugin-settings.php:707 library/plugin-settings.php:717
479
+ #: library/plugin-settings.php:727 library/plugin-settings.php:736
480
+ #: library/plugin-settings.php:746
481
+ msgid "Disable this field"
482
+ msgstr ""
483
+
484
+ #: library/plugin-settings.php:672
485
+ msgid "User Email"
486
+ msgstr ""
487
+
488
+ #: library/plugin-settings.php:682
489
+ msgid "User URL"
490
+ msgstr ""
491
+
492
+ #: library/plugin-settings.php:732 library/plugin-settings.php:738
493
+ #: library/plugin-settings.php:937 library/plugin-settings.php:942
494
+ msgid "Challenge Question"
495
+ msgstr ""
496
+
497
+ #: library/plugin-settings.php:738 library/plugin-settings.php:748
498
+ #: library/plugin-settings.php:758
499
+ msgid "(Visit"
500
+ msgstr ""
501
+
502
+ #: library/plugin-settings.php:738 library/plugin-settings.php:748
503
+ #: library/plugin-settings.php:758
504
+ msgid "to configure options)"
505
+ msgstr ""
506
+
507
+ #: library/plugin-settings.php:742 library/plugin-settings.php:748
508
+ #: library/plugin-settings.php:959
509
+ msgid "Google reCAPTCHA"
510
+ msgstr ""
511
+
512
+ #: library/plugin-settings.php:752
513
+ msgid "Post Images"
514
+ msgstr ""
515
+
516
+ #: library/plugin-settings.php:755
517
+ msgid "Display"
518
+ msgstr ""
519
+
520
+ #: library/plugin-settings.php:756
521
+ msgid "Disable"
522
+ msgstr ""
523
+
524
+ #: library/plugin-settings.php:758 library/plugin-settings.php:1018
525
+ msgid "Image Uploads"
526
+ msgstr ""
527
+
528
+ #: library/plugin-settings.php:764
529
+ msgid "General Settings"
530
+ msgstr ""
531
+
532
+ #: library/plugin-settings.php:769
533
+ msgid "Form Style"
534
+ msgstr ""
535
+
536
+ #: library/plugin-settings.php:774
537
+ msgid "With this option, you can copy the plugin&rsquo;s default templates:"
538
+ msgstr ""
539
+
540
+ #: library/plugin-settings.php:779
541
+ msgid "..and upload them into a directory named"
542
+ msgstr ""
543
+
544
+ #: library/plugin-settings.php:779
545
+ msgid "in your theme:"
546
+ msgstr ""
547
+
548
+ #: library/plugin-settings.php:785
549
+ msgid ""
550
+ "That will enable you to customize the form and styles as desired. For more "
551
+ "info, check out the \"Custom Submission Form\" section in the"
552
+ msgstr ""
553
+
554
+ #: library/plugin-settings.php:786
555
+ msgid "Installation Docs"
556
+ msgstr ""
557
+
558
+ #: library/plugin-settings.php:787
559
+ msgid "FYI: here is a"
560
+ msgstr ""
561
+
562
+ #: library/plugin-settings.php:787
563
+ msgid "list of USP CSS selectors"
564
+ msgstr ""
565
+
566
+ #: library/plugin-settings.php:793
567
+ msgid "Include JavaScript"
568
+ msgstr ""
569
+
570
+ #: library/plugin-settings.php:795
571
+ msgid ""
572
+ "Check this box if you want to include the external JavaScript files "
573
+ "(recommended)."
574
+ msgstr ""
575
+
576
+ #: library/plugin-settings.php:798
577
+ msgid "Targeted Loading"
578
+ msgstr ""
579
+
580
+ #: library/plugin-settings.php:800
581
+ msgid ""
582
+ "When enabled, external CSS &amp; JavaScript files are loaded on every page. "
583
+ "Here you may specify the URL of the USP form to load resources only on that "
584
+ "page. Note: leave blank to load on all pages."
585
+ msgstr ""
586
+
587
+ #: library/plugin-settings.php:803
588
+ msgid "Auto Publish"
589
+ msgstr ""
590
+
591
+ #: library/plugin-settings.php:806
592
+ msgid "Always moderate via Draft"
593
+ msgstr ""
594
+
595
+ #: library/plugin-settings.php:807
596
+ msgid "Always moderate via Pending"
597
+ msgstr ""
598
+
599
+ #: library/plugin-settings.php:808
600
+ msgid "Always publish immediately"
601
+ msgstr ""
602
+
603
+ #: library/plugin-settings.php:813
604
+ msgid ""
605
+ "Post Status for submitted posts: moderate (recommended), publish immediately,"
606
+ " or publish after any number of approved posts."
607
+ msgstr ""
608
+
609
+ #: library/plugin-settings.php:817
610
+ msgid "Redirect URL"
611
+ msgstr ""
612
+
613
+ #: library/plugin-settings.php:819
614
+ msgid ""
615
+ "Specify a URL to redirect the user after post-submission. Leave blank to "
616
+ "redirect back to current page."
617
+ msgstr ""
618
+
619
+ #: library/plugin-settings.php:822
620
+ msgid "Success Message"
621
+ msgstr ""
622
+
623
+ #: library/plugin-settings.php:824
624
+ msgid ""
625
+ "Success message that is displayed if post-submission is successful. Basic "
626
+ "markup is allowed."
627
+ msgstr ""
628
+
629
+ #: library/plugin-settings.php:827
630
+ msgid "Error Message"
631
+ msgstr ""
632
+
633
+ #: library/plugin-settings.php:829
634
+ msgid ""
635
+ "General error message that is displayed if post-submission fails. Basic "
636
+ "markup is allowed."
637
+ msgstr ""
638
+
639
+ #: library/plugin-settings.php:832
640
+ msgid "Custom Content"
641
+ msgstr ""
642
+
643
+ #: library/plugin-settings.php:834
644
+ msgid ""
645
+ "Custom text/markup to be included before the submission form. Leave blank to "
646
+ "disable."
647
+ msgstr ""
648
+
649
+ #: library/plugin-settings.php:837
650
+ msgid "Rich Text Editor"
651
+ msgstr ""
652
+
653
+ #: library/plugin-settings.php:839
654
+ msgid ""
655
+ "Check this box if you want to enable WP rich text editing for submitted "
656
+ "posts."
657
+ msgstr ""
658
+
659
+ #: library/plugin-settings.php:842
660
+ msgid "Unique Titles"
661
+ msgstr ""
662
+
663
+ #: library/plugin-settings.php:844
664
+ msgid ""
665
+ "Require submitted post titles to be unique (useful for preventing "
666
+ "multiple/duplicate submitted posts)."
667
+ msgstr ""
668
+
669
+ #: library/plugin-settings.php:847
670
+ msgid "Disable Required"
671
+ msgstr ""
672
+
673
+ #: library/plugin-settings.php:849
674
+ msgid ""
675
+ "Disable all required attributes on default form fields (useful for "
676
+ "troubleshooting error messages)."
677
+ msgstr ""
678
+
679
+ #: library/plugin-settings.php:852
680
+ msgid "Disable IP Tracking"
681
+ msgstr ""
682
+
683
+ #: library/plugin-settings.php:854
684
+ msgid ""
685
+ "By default USP records the IP address with each submitted post. Check this "
686
+ "box to disable all IP tracking."
687
+ msgstr ""
688
+
689
+ #: library/plugin-settings.php:857
690
+ msgid "Enable Shortcodes"
691
+ msgstr ""
692
+
693
+ #: library/plugin-settings.php:859
694
+ msgid ""
695
+ "Enable shortcodes in widgets. By default, WordPress does not enable "
696
+ "shortcodes in widgets. "
697
+ msgstr ""
698
+
699
+ #: library/plugin-settings.php:860
700
+ msgid ""
701
+ "This setting enables any/all shortcodes in widgets (even shortcodes from "
702
+ "other plugins)."
703
+ msgstr ""
704
+
705
+ #: library/plugin-settings.php:865 library/plugin-settings.php:870
706
+ msgid "Categories"
707
+ msgstr ""
708
+
709
+ #: library/plugin-settings.php:873
710
+ msgid ""
711
+ "Select which categories may be assigned to submitted posts (click to toggle)"
712
+ msgstr ""
713
+
714
+ #: library/plugin-settings.php:890
715
+ msgid "Hidden/Default Category"
716
+ msgstr ""
717
+
718
+ #: library/plugin-settings.php:892
719
+ msgid ""
720
+ "Use a hidden field for the post category. This may be used to specify a "
721
+ "default category when the category field is disabled."
722
+ msgstr ""
723
+
724
+ #: library/plugin-settings.php:895
725
+ msgid "Category ID for Hidden Field"
726
+ msgstr ""
727
+
728
+ #: library/plugin-settings.php:897
729
+ msgid ""
730
+ "Specify the ID of the category to use for the &ldquo;Hidden/Default "
731
+ "Category&rdquo; option."
732
+ msgstr ""
733
+
734
+ #: library/plugin-settings.php:902
735
+ msgid "Users"
736
+ msgstr ""
737
+
738
+ #: library/plugin-settings.php:907
739
+ msgid "Assigned Author"
740
+ msgstr ""
741
+
742
+ #: library/plugin-settings.php:916
743
+ msgid ""
744
+ "Specify the user that should be assigned as author for user-submitted posts."
745
+ msgstr ""
746
+
747
+ #: library/plugin-settings.php:920
748
+ msgid "Registered Username"
749
+ msgstr ""
750
+
751
+ #: library/plugin-settings.php:922
752
+ msgid ""
753
+ "Use registered username as post author. Valid when the person submitting the "
754
+ "form is logged in to WordPress."
755
+ msgstr ""
756
+
757
+ #: library/plugin-settings.php:925
758
+ msgid "User Profile URL"
759
+ msgstr ""
760
+
761
+ #: library/plugin-settings.php:927
762
+ msgid ""
763
+ "Use registered user&rsquo;s Profile URL as the value of the URL field. Valid "
764
+ "when the person submitting the form is logged in to WordPress."
765
+ msgstr ""
766
+
767
+ #: library/plugin-settings.php:930
768
+ msgid "Require User Login"
769
+ msgstr ""
770
+
771
+ #: library/plugin-settings.php:932
772
+ msgid "Require users to be logged in to WordPress to view/submit the form"
773
+ msgstr ""
774
+
775
+ #: library/plugin-settings.php:944
776
+ msgid ""
777
+ "To prevent spam, enter a question that users must answer before submitting "
778
+ "the form."
779
+ msgstr ""
780
+
781
+ #: library/plugin-settings.php:947
782
+ msgid "Challenge Response"
783
+ msgstr ""
784
+
785
+ #: library/plugin-settings.php:949
786
+ msgid "Enter the *only* correct answer to the challenge question."
787
+ msgstr ""
788
+
789
+ #: library/plugin-settings.php:952
790
+ msgid "Case-sensitivity"
791
+ msgstr ""
792
+
793
+ #: library/plugin-settings.php:954
794
+ msgid "Check this box if you want the challenge response to be case-sensitive."
795
+ msgstr ""
796
+
797
+ #: library/plugin-settings.php:960
798
+ msgid "To enable Google reCAPTCHA, enter your public and private keys."
799
+ msgstr ""
800
+
801
+ #: library/plugin-settings.php:965
802
+ msgid "Public Key"
803
+ msgstr ""
804
+
805
+ #: library/plugin-settings.php:967
806
+ msgid "Enter your Public Key"
807
+ msgstr ""
808
+
809
+ #: library/plugin-settings.php:970
810
+ msgid "Private Key"
811
+ msgstr ""
812
+
813
+ #: library/plugin-settings.php:972
814
+ msgid "Enter your Private Key"
815
+ msgstr ""
816
+
817
+ #: library/plugin-settings.php:977
818
+ msgid "Email Alerts"
819
+ msgstr ""
820
+
821
+ #: library/plugin-settings.php:982
822
+ msgid "Receive Email Alert"
823
+ msgstr ""
824
+
825
+ #: library/plugin-settings.php:984
826
+ msgid ""
827
+ "Check this box if you want to be notified via email for new post submissions."
828
+ msgstr ""
829
+
830
+ #: library/plugin-settings.php:987
831
+ msgid "Enable HTML Format"
832
+ msgstr ""
833
+
834
+ #: library/plugin-settings.php:989
835
+ msgid "Check this box to enable HTML format for email alerts."
836
+ msgstr ""
837
+
838
+ #: library/plugin-settings.php:992
839
+ msgid "Email Address for Alerts"
840
+ msgstr ""
841
+
842
+ #: library/plugin-settings.php:994
843
+ msgid ""
844
+ "If you checked the box to receive email alerts, indicate here the address(es)"
845
+ " to which the emails should be sent."
846
+ msgstr ""
847
+
848
+ #: library/plugin-settings.php:995
849
+ msgid "Multiple recipients may be included using a comma, like so:"
850
+ msgstr ""
851
+
852
+ #: library/plugin-settings.php:998
853
+ msgid "Email &ldquo;From&rdquo; Address"
854
+ msgstr ""
855
+
856
+ #: library/plugin-settings.php:1000
857
+ msgid ""
858
+ "Here you may customize the address(es) used for the &ldquo;From&rdquo; "
859
+ "header (see plugin FAQs for info). "
860
+ msgstr ""
861
+
862
+ #: library/plugin-settings.php:1001
863
+ msgid ""
864
+ "If multiple addresses are specified in the previous setting, include an "
865
+ "equal number of &ldquo;From&rdquo; addresses for this setting (in the same "
866
+ "order)."
867
+ msgstr ""
868
+
869
+ #: library/plugin-settings.php:1004
870
+ msgid "Email Alert Subject"
871
+ msgstr ""
872
+
873
+ #: library/plugin-settings.php:1006
874
+ msgid ""
875
+ "Subject line for email alerts. Leave blank to use the default subject line. "
876
+ "Note: you can use the following variables: "
877
+ msgstr ""
878
+
879
+ #: library/plugin-settings.php:1010
880
+ msgid "Email Alert Message"
881
+ msgstr ""
882
+
883
+ #: library/plugin-settings.php:1012
884
+ msgid ""
885
+ "Message for email alerts. Leave blank to use the default message. Note: you "
886
+ "can use the following variables: "
887
+ msgstr ""
888
+
889
+ #: library/plugin-settings.php:1023
890
+ msgid "Featured Image"
891
+ msgstr ""
892
+
893
+ #: library/plugin-settings.php:1025
894
+ msgid ""
895
+ "Set submitted images as Featured Images. Requires theme support for Featured "
896
+ "Images (aka Post Thumbnails)."
897
+ msgstr ""
898
+
899
+ #: library/plugin-settings.php:1028
900
+ msgid "Upload Message"
901
+ msgstr ""
902
+
903
+ #: library/plugin-settings.php:1030
904
+ msgid ""
905
+ "Message that appears next to the upload field. Useful for stating your "
906
+ "upload guidelines/policy/etc. Basic markup allowed."
907
+ msgstr ""
908
+
909
+ #: library/plugin-settings.php:1033
910
+ msgid "&ldquo;Add another image&rdquo; link"
911
+ msgstr ""
912
+
913
+ #: library/plugin-settings.php:1035
914
+ msgid ""
915
+ "Custom markup for the &ldquo;Add another image&rdquo; link. Leave blank to "
916
+ "use the default markup (recommended)."
917
+ msgstr ""
918
+
919
+ #: library/plugin-settings.php:1038
920
+ msgid "Minimum number of images"
921
+ msgstr ""
922
+
923
+ #: library/plugin-settings.php:1041
924
+ msgid "Specify the minimum number of images."
925
+ msgstr ""
926
+
927
+ #: library/plugin-settings.php:1045
928
+ msgid "Maximum number of images"
929
+ msgstr ""
930
+
931
+ #: library/plugin-settings.php:1048
932
+ msgid "Specify the maximum number of images."
933
+ msgstr ""
934
+
935
+ #: library/plugin-settings.php:1052
936
+ msgid "Minimum image width"
937
+ msgstr ""
938
+
939
+ #: library/plugin-settings.php:1054
940
+ msgid "Specify a minimum width (in pixels) for uploaded images."
941
+ msgstr ""
942
+
943
+ #: library/plugin-settings.php:1057
944
+ msgid "Minimum image height"
945
+ msgstr ""
946
+
947
+ #: library/plugin-settings.php:1059
948
+ msgid "Specify a minimum height (in pixels) for uploaded images."
949
+ msgstr ""
950
+
951
+ #: library/plugin-settings.php:1062
952
+ msgid "Maximum image width"
953
+ msgstr ""
954
+
955
+ #: library/plugin-settings.php:1064
956
+ msgid "Specify a maximum width (in pixels) for uploaded images."
957
+ msgstr ""
958
+
959
+ #: library/plugin-settings.php:1067
960
+ msgid "Maximum image height"
961
+ msgstr ""
962
+
963
+ #: library/plugin-settings.php:1069
964
+ msgid "Specify a maximum height (in pixels) for uploaded images."
965
+ msgstr ""
966
+
967
+ #: library/plugin-settings.php:1072
968
+ msgid "More Options"
969
+ msgstr ""
970
+
971
+ #: library/plugin-settings.php:1075
972
+ msgid ""
973
+ "For more options, like the ability to upload other file types (like PDF, "
974
+ "Word, Zip, videos, and more), check out"
975
+ msgstr ""
976
+
977
+ #: library/plugin-settings.php:1076
978
+ msgid "Go Pro!"
979
+ msgstr ""
980
+
981
+ #: library/plugin-settings.php:1076
982
+ msgid "USP Pro"
983
+ msgstr ""
984
+
985
+ #: library/plugin-settings.php:1083
986
+ msgid "Auto-Display Content"
987
+ msgstr ""
988
+
989
+ #: library/plugin-settings.php:1088
990
+ msgid "Images Auto-Display"
991
+ msgstr ""
992
+
993
+ #: library/plugin-settings.php:1090
994
+ msgid "Auto-display user-submitted images:"
995
+ msgstr ""
996
+
997
+ #: library/plugin-settings.php:1095
998
+ msgid "Image Markup"
999
+ msgstr ""
1000
+
1001
+ #: library/plugin-settings.php:1097
1002
+ msgid ""
1003
+ "Markup to use for each submitted image (when auto-display is enabled). Can "
1004
+ "use"
1005
+ msgstr ""
1006
+
1007
+ #: library/plugin-settings.php:1099 library/plugin-settings.php:1112
1008
+ #: library/plugin-settings.php:1125
1009
+ msgid "and"
1010
+ msgstr ""
1011
+
1012
+ #: library/plugin-settings.php:1102
1013
+ msgid "Email Auto-Display"
1014
+ msgstr ""
1015
+
1016
+ #: library/plugin-settings.php:1104
1017
+ msgid "Auto-display user-submitted email:"
1018
+ msgstr ""
1019
+
1020
+ #: library/plugin-settings.php:1109
1021
+ msgid "Email Markup"
1022
+ msgstr ""
1023
+
1024
+ #: library/plugin-settings.php:1111
1025
+ msgid ""
1026
+ "Markup to use for the submitted email address (when auto-display is enabled)."
1027
+ " Can use"
1028
+ msgstr ""
1029
+
1030
+ #: library/plugin-settings.php:1115
1031
+ msgid "URL Auto-Display"
1032
+ msgstr ""
1033
+
1034
+ #: library/plugin-settings.php:1117
1035
+ msgid "Auto-display user-submitted URL:"
1036
+ msgstr ""
1037
+
1038
+ #: library/plugin-settings.php:1122
1039
+ msgid "URL Markup"
1040
+ msgstr ""
1041
+
1042
+ #: library/plugin-settings.php:1124
1043
+ msgid ""
1044
+ "Markup to use for the submitted URL (when auto-display is enabled). Can use"
1045
+ msgstr ""
1046
+
1047
+ #: library/plugin-settings.php:1130 library/plugin-settings.php:1148
1048
+ msgid "Save Settings"
1049
+ msgstr ""
1050
+
1051
+ #: library/plugin-settings.php:1135
1052
+ msgid "Restore Defaults"
1053
+ msgstr ""
1054
+
1055
+ #: library/plugin-settings.php:1139
1056
+ msgid "Restore default options upon plugin deactivation/reactivation."
1057
+ msgstr ""
1058
+
1059
+ #: library/plugin-settings.php:1143
1060
+ msgid "Tip:"
1061
+ msgstr ""
1062
+
1063
+ #: library/plugin-settings.php:1144
1064
+ msgid "leave this option unchecked to remember your settings."
1065
+ msgstr ""
1066
+
1067
+ #: library/plugin-settings.php:1145
1068
+ msgid ""
1069
+ "Or, to go ahead and restore all default options, check the box, save your "
1070
+ "settings, and then deactivate/reactivate the plugin."
1071
+ msgstr ""
1072
+
1073
+ #: library/plugin-settings.php:1153
1074
+ msgid "Shortcode &amp; Template Tag"
1075
+ msgstr ""
1076
+
1077
+ #: library/plugin-settings.php:1156
1078
+ msgid ""
1079
+ "To implement USP, first configure the plugin settings, then use the "
1080
+ "shortcode or template to display the form on the front-end as desired."
1081
+ msgstr ""
1082
+
1083
+ #: library/plugin-settings.php:1158
1084
+ msgid "Shortcode"
1085
+ msgstr ""
1086
+
1087
+ #: library/plugin-settings.php:1159
1088
+ msgid "Use this shortcode to display the USP Form on any WP Post or Page:"
1089
+ msgstr ""
1090
+
1091
+ #: library/plugin-settings.php:1162
1092
+ msgid "Template tag"
1093
+ msgstr ""
1094
+
1095
+ #: library/plugin-settings.php:1163
1096
+ msgid ""
1097
+ "Use this template tag to display the USP Form anywhere in your theme "
1098
+ "template:"
1099
+ msgstr ""
1100
+
1101
+ #: library/plugin-settings.php:1169
1102
+ msgid "Show Support"
1103
+ msgstr ""
1104
+
1105
+ #: library/plugin-settings.php:1181
1106
+ msgid "by"
1107
+ msgstr ""
1108
+
1109
+ #: library/plugin-settings.php:1182
1110
+ msgid "Jeff Starr on Twitter"
1111
+ msgstr ""
1112
+
1113
+ #: library/plugin-settings.php:1183
1114
+ msgid "Obsessive Web Design &amp; Development"
1115
+ msgstr ""
1116
+
1117
+ #: library/plugin-settings.php:1194
1118
+ msgid "Save Preference"
1119
+ msgstr ""
1120
+
1121
+ #: library/plugin-settings.php:1201
1122
+ msgid ""
1123
+ "Are you sure you want to restore all default options? (this action cannot be "
1124
+ "undone)"
1125
+ msgstr ""
1126
+
1127
+ #: library/template-tags.php:214
1128
+ msgid "View full post"
1129
+ msgstr ""
1130
+
1131
+ #. Description of the plugin
1132
+ msgid ""
1133
+ "Enables your visitors to submit posts and images from anywhere on your site."
1134
+ msgstr ""
1135
+
1136
+ #. URI of the plugin
1137
+ msgid "https://perishablepress.com/user-submitted-posts/"
1138
+ msgstr ""
1139
+
1140
+ #. Author of the plugin
1141
+ msgid "Jeff Starr"
1142
+ msgstr ""
1143
+
1144
+ #. Author URI of the plugin
1145
+ msgid "https://plugin-planet.com/"
1146
+ msgstr ""
library/core-functions.php ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php // User Submitted Posts - Core Functions
2
+
3
+ if (!defined('ABSPATH')) die();
4
+
5
+
6
+
7
+ function usp_auto_display_images($content) {
8
+
9
+ global $usp_options;
10
+
11
+ $location = isset($usp_options['auto_display_images']) ? $usp_options['auto_display_images'] : '';
12
+ $markup = isset($usp_options['auto_image_markup']) ? $usp_options['auto_image_markup'] : '';
13
+
14
+ apply_filters('usp_image_args', $args = array(
15
+ 'post_type' => 'attachment',
16
+ 'post_parent' => get_the_ID(),
17
+ 'numberposts' => -1,
18
+ )
19
+ );
20
+
21
+ $attachments = get_posts($args);
22
+
23
+ if ($attachments) {
24
+
25
+ $images = '<p>';
26
+
27
+ foreach ($attachments as $attachment) {
28
+
29
+ $title = apply_filters('usp_image_title', $attachment->post_title);
30
+
31
+ $thumb = apply_filters('usp_image_thumb', wp_get_attachment_image_src($attachment->ID, 'thumbnail', false));
32
+ $medium = apply_filters('usp_image_medium', wp_get_attachment_image_src($attachment->ID, 'medium', false));
33
+ $large = apply_filters('usp_image_large', wp_get_attachment_image_src($attachment->ID, 'large', false));
34
+ $full = apply_filters('usp_image_full', wp_get_attachment_image_src($attachment->ID, 'full', false));
35
+
36
+ $custom_size = apply_filters('usp_image_custom_size', 'custom');
37
+ $custom = apply_filters('usp_image_custom', wp_get_attachment_image_src($attachment->ID, $custom_size, false));
38
+
39
+ $parent_id = wp_get_post_parent_id($attachment->ID);
40
+ $parent_title = get_the_title($parent_id);
41
+
42
+ $images .= usp_replace_image_vars($markup, $title, $thumb, $medium, $large, $full, $custom, $parent_title);
43
+
44
+ }
45
+
46
+ $images .= '</p>';
47
+
48
+ if (usp_is_public_submission()) {
49
+
50
+ if ($location === 'before') $content = $images . $content;
51
+ elseif ($location === 'after') $content = $content . $images;
52
+
53
+ }
54
+
55
+ }
56
+
57
+ return $content;
58
+
59
+ }
60
+ add_filter('the_content', 'usp_auto_display_images');
61
+
62
+
63
+
64
+ function usp_replace_image_vars($markup, $title, $thumb, $medium, $large, $full, $custom, $parent_title) {
65
+
66
+ $patterns = array();
67
+ $patterns[0] = "/%%title%%/";
68
+ $patterns[1] = "/%%thumb%%/";
69
+ $patterns[2] = "/%%medium%%/";
70
+ $patterns[3] = "/%%large%%/";
71
+ $patterns[4] = "/%%full%%/";
72
+ $patterns[5] = "/%%custom%%/";
73
+ $patterns[6] = "/%%width%%/";
74
+ $patterns[7] = "/%%height%%/";
75
+ $patterns[8] = "/%%title_parent%%/";
76
+
77
+ $replacements = array();
78
+ $replacements[0] = $title;
79
+ $replacements[1] = $thumb[0];
80
+ $replacements[2] = $medium[0];
81
+ $replacements[3] = $large[0];
82
+ $replacements[4] = $full[0];
83
+ $replacements[5] = $custom[0];
84
+
85
+ if (stripos($markup, '%%thumb%%')) {
86
+
87
+ $replacements[6] = $thumb[1];
88
+ $replacements[7] = $thumb[2];
89
+
90
+ } elseif (stripos($markup, '%%medium%%')) {
91
+
92
+ $replacements[6] = $medium[1];
93
+ $replacements[7] = $medium[2];
94
+
95
+ } elseif (stripos($markup, '%%large%%')) {
96
+
97
+ $replacements[6] = $large[1];
98
+ $replacements[7] = $large[2];
99
+
100
+ } elseif (stripos($markup, '%%full%%')) {
101
+
102
+ $replacements[6] = $full[1];
103
+ $replacements[7] = $full[2];
104
+
105
+ } elseif (stripos($markup, '%%custom%%')) {
106
+
107
+ $replacements[6] = $custom[1];
108
+ $replacements[7] = $custom[2];
109
+ }
110
+
111
+ $replacements[8] = $parent_title;
112
+
113
+ $image = preg_replace($patterns, $replacements, $markup);
114
+
115
+ return $image;
116
+
117
+ }
118
+
119
+
120
+
121
+ function usp_auto_display_email($content) {
122
+
123
+ global $usp_options;
124
+
125
+ $location = isset($usp_options['auto_display_email']) ? $usp_options['auto_display_email'] : '';
126
+ $markup = isset($usp_options['auto_email_markup']) ? $usp_options['auto_email_markup'] : '';
127
+
128
+ $email = apply_filters('usp_email_custom_field', get_post_meta(get_the_ID(), 'user_submit_email', true));
129
+ $title = get_the_title(get_the_ID());
130
+
131
+ if (!empty($email)) {
132
+
133
+ $patterns = array();
134
+ $patterns[0] = "/%%email%%/";
135
+ $patterns[1] = "/%%title%%/";
136
+
137
+ $replacements = array();
138
+ $replacements[0] = $email;
139
+ $replacements[1] = $title;
140
+
141
+ $markup = preg_replace($patterns, $replacements, $markup);
142
+
143
+ if (usp_is_public_submission()) {
144
+
145
+ if ($location === 'before') $content = $markup . $content;
146
+ elseif ($location === 'after') $content = $content . $markup;
147
+
148
+ }
149
+
150
+ }
151
+
152
+ return $content;
153
+
154
+ }
155
+ add_filter('the_content', 'usp_auto_display_email');
156
+
157
+
158
+
159
+ function usp_auto_display_url($content) {
160
+
161
+ global $usp_options;
162
+
163
+ $location = isset($usp_options['auto_display_url']) ? $usp_options['auto_display_url'] : '';
164
+ $markup = isset($usp_options['auto_url_markup']) ? $usp_options['auto_url_markup'] : '';
165
+
166
+ $url = apply_filters('usp_url_custom_field', get_post_meta(get_the_ID(), 'user_submit_url', true));
167
+ $title = get_the_title(get_the_ID());
168
+
169
+ if (!empty($url)) {
170
+
171
+ $patterns = array();
172
+ $patterns[0] = "/%%url%%/";
173
+ $patterns[1] = "/%%title%%/";
174
+
175
+ $replacements = array();
176
+ $replacements[0] = $url;
177
+ $replacements[1] = $title;
178
+
179
+ $markup = preg_replace($patterns, $replacements, $markup);
180
+
181
+ if (usp_is_public_submission()) {
182
+
183
+ if ($location === 'before') $content = $markup . $content;
184
+ elseif ($location === 'after') $content = $content . $markup;
185
+
186
+ }
187
+
188
+ }
189
+
190
+ return $content;
191
+
192
+ }
193
+ add_filter('the_content', 'usp_auto_display_url');
library/enqueue-scripts.php ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php // User Submitted Posts - Enqueue Script & Style
2
+
3
+ if (!defined('ABSPATH')) die();
4
+
5
+
6
+
7
+ function usp_enqueueResources() {
8
+
9
+ global $usp_options;
10
+
11
+ $min_images = $usp_options['min-images'];
12
+ $include_js = $usp_options['usp_include_js'];
13
+ $form_type = $usp_options['usp_form_version'];
14
+ $display_url = $usp_options['usp_display_url'];
15
+ $recaptcha = $usp_options['usp_recaptcha'];
16
+
17
+ $protocol = is_ssl() ? 'https://' : 'http://';
18
+
19
+ $display_url = esc_url_raw(trim($display_url));
20
+ $current_url = esc_url_raw($protocol . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
21
+ $current_url = remove_query_arg(array('submission-error', 'error', 'success', 'post_id'), $current_url);
22
+
23
+ $plugin_url = plugins_url() .'/'. basename(dirname(dirname(__FILE__)));
24
+
25
+ $custom_url = get_stylesheet_directory_uri() .'/usp/usp.css';
26
+ $custom_path = get_stylesheet_directory() .'/usp/usp.css';
27
+
28
+ $usp_css = ($form_type === 'custom' && file_exists($custom_path)) ? $custom_url : $plugin_url . '/resources/usp.css';
29
+
30
+ $display_js = false;
31
+ $display_css = false;
32
+
33
+ if (empty($display_url) || strpos($current_url, $display_url) !== false) {
34
+
35
+ if ($include_js == true) $display_js = true;
36
+ if ($form_type !== 'disable') $display_css = true;
37
+
38
+ }
39
+
40
+ if ($display_css) {
41
+
42
+ wp_enqueue_style('usp_style', $usp_css, false, null, 'all');
43
+
44
+ }
45
+
46
+ if ($display_js) {
47
+
48
+ if ($recaptcha === 'show') {
49
+
50
+ wp_enqueue_script('usp_recaptcha', 'https://www.google.com/recaptcha/api.js', array(), null);
51
+
52
+ }
53
+
54
+ wp_enqueue_script('usp_cookie', $plugin_url .'/resources/jquery.cookie.js', array('jquery'), null);
55
+ wp_enqueue_script('usp_parsley', $plugin_url .'/resources/jquery.parsley.min.js', array('jquery'), null);
56
+ wp_enqueue_script('usp_core', $plugin_url .'/resources/jquery.usp.core.js', array('jquery'), null);
57
+
58
+ usp_inline_script();
59
+
60
+ // if ($min_images > 0) wp_enqueue_script('usp_files', $plugin_url .'/resources/jquery.usp.files.js', array('jquery'), null);
61
+
62
+ }
63
+
64
+ }
65
+ add_action('wp_enqueue_scripts', 'usp_enqueueResources');
66
+
67
+
68
+
69
+ // WP >= 4.5
70
+ function usp_inline_script() {
71
+
72
+ $wp_version = get_bloginfo('version');
73
+
74
+ if (version_compare($wp_version, '4.5', '>=')) {
75
+
76
+ global $usp_options;
77
+
78
+ $usp_casing = $usp_options['usp_casing'];
79
+ $usp_response = $usp_options['usp_response'];
80
+ $print_casing = $usp_casing ? 'true' : 'false';
81
+
82
+ $script = 'window.ParsleyConfig = { excluded: ".exclude" }; ';
83
+ $script .= 'var usp_case_sensitivity = '. json_encode($print_casing) .'; ';
84
+ $script .= 'var usp_challenge_response = '. json_encode($usp_response) .';';
85
+
86
+ wp_add_inline_script('usp_core', $script, 'before');
87
+
88
+ }
89
+
90
+ }
91
+
92
+
93
+
94
+ // WP < 4.5
95
+ function usp_print_scripts() {
96
+
97
+ $wp_version = get_bloginfo('version');
98
+
99
+ if (version_compare($wp_version, '4.5', '<')) {
100
+
101
+ global $usp_options;
102
+
103
+ $usp_casing = $usp_options['usp_casing'];
104
+ $usp_response = $usp_options['usp_response'];
105
+ $print_casing = $usp_casing ? 'true' : 'false';
106
+
107
+ if (!is_admin()) : ?>
108
+
109
+ <script type="text/javascript">
110
+ window.ParsleyConfig = { excluded: ".exclude" };
111
+ var usp_case_sensitivity = <?php echo json_encode($print_casing); ?>;
112
+ var usp_challenge_response = <?php echo json_encode($usp_response); ?>;
113
+ </script>
114
+
115
+ <?php endif;
116
+
117
+ }
118
+
119
+ }
120
+ add_action('wp_print_scripts','usp_print_scripts');
121
+
122
+
123
+
124
+ function usp_load_admin_styles($hook) {
125
+
126
+ global $pagenow;
127
+
128
+ /*
129
+ wp_enqueue_style($handle, $src, $deps, $ver, $media)
130
+ wp_enqueue_script($handle, $src, $deps, $ver, $in_footer)
131
+ */
132
+
133
+ $base = plugins_url() .'/'. basename(dirname(dirname(__FILE__)));
134
+
135
+ if ($hook === 'settings_page_user-submitted-posts/user-submitted-posts') {
136
+
137
+ wp_enqueue_style('usp_admin_styles', $base .'/resources/usp-admin.css', array(), USP_VERSION, 'all');
138
+ wp_enqueue_script('usp_admin_script', $base .'/resources/jquery.usp.admin.js', array('jquery'), USP_VERSION, false);
139
+
140
+ }
141
+
142
+ if ($pagenow === 'edit.php') {
143
+
144
+ wp_enqueue_style('usp_posts_styles', $base .'/resources/usp-posts.css', array(), USP_VERSION, 'all');
145
+
146
+ }
147
+
148
+ }
149
+ add_action('admin_enqueue_scripts', 'usp_load_admin_styles');
150
+
151
+
library/plugin-settings.php ADDED
@@ -0,0 +1,1212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php // User Submitted Posts - Plugin Settings
2
+
3
+ if (!defined('ABSPATH')) die();
4
+
5
+
6
+
7
+ function usp_add_options_page() {
8
+
9
+ // add_options_page($page_title, $menu_title, $capability, $menu_slug, $function)
10
+ add_options_page(USP_PLUGIN, USP_PLUGIN, 'manage_options', USP_PATH, 'usp_render_form');
11
+
12
+ }
13
+ add_action ('admin_menu', 'usp_add_options_page');
14
+
15
+
16
+
17
+ function usp_init() {
18
+
19
+ // register_setting($option_group, $option_name, $sanitize_callback)
20
+ register_setting('usp_plugin_options', 'usp_options', 'usp_validate_options');
21
+
22
+ }
23
+ add_action ('admin_init', 'usp_init');
24
+
25
+
26
+
27
+ function usp_plugin_action_links($links, $file) {
28
+
29
+ if ($file == USP_PATH) {
30
+
31
+ $pro_href = 'https://plugin-planet.com/usp-pro/';
32
+ $pro_title = esc_attr__('Get USP Pro for unlimited forms!', 'usp');
33
+ $pro_text = esc_html__('Go Pro', 'usp');
34
+ $pro_style = 'font-weight:bold;';
35
+
36
+ $pro = '<a target="_blank" href="'. $pro_href .'" title="'. $pro_title .'" style="'. $pro_style .'">'. $pro_text .'</a>';
37
+ $settings = '<a href="'. get_admin_url() .'options-general.php?page='. USP_PATH .'">'. esc_html__('Settings', 'usp') .'</a>';
38
+
39
+ array_unshift($links, $pro, $settings);
40
+
41
+ }
42
+
43
+ return $links;
44
+
45
+ }
46
+ add_filter('plugin_action_links', 'usp_plugin_action_links', 10, 2);
47
+
48
+
49
+
50
+ function add_usp_links($links, $file) {
51
+
52
+ if ($file == USP_PATH) {
53
+
54
+ $rate_href = 'https://wordpress.org/support/plugin/user-submitted-posts/reviews/?rate=5#new-post';
55
+ $rate_title = esc_attr__('Give USP a 5-star rating at WordPress.org', 'usp');
56
+ $rate_text = esc_html__('Rate this plugin&nbsp;&raquo;', 'usp');
57
+
58
+ $links[] = '<a target="_blank" href="'. $rate_href .'" title="'. $rate_title .'">'. $rate_text .'</a>';
59
+
60
+ }
61
+
62
+ return $links;
63
+
64
+ }
65
+ add_filter('plugin_row_meta', 'add_usp_links', 10, 2);
66
+
67
+
68
+
69
+ // http://bit.ly/1MJWrau
70
+ function usp_filter_safe_styles($styles) {
71
+
72
+ $styles[] = 'display';
73
+
74
+ return $styles;
75
+
76
+ }
77
+ add_filter('safe_style_css', 'usp_filter_safe_styles');
78
+
79
+
80
+
81
+ // version control
82
+ function usp_compare_version() {
83
+
84
+ global $usp_options;
85
+
86
+ $usp_options = get_option('usp_options');
87
+
88
+ $version_current = intval(USP_VERSION);
89
+ $version_previous = isset($usp_options['usp_version']) ? intval($usp_options['usp_version']) : $version_current;
90
+
91
+ if ($version_current > $version_previous) {
92
+
93
+ $usp_options['version_alert'] = 0;
94
+ $usp_options['usp_version'] = $version_current;
95
+
96
+ } else {
97
+
98
+ $usp_options['usp_version'] = $version_previous;
99
+
100
+ }
101
+
102
+ update_option('usp_options', $usp_options);
103
+
104
+ }
105
+ add_action('admin_init', 'usp_compare_version');
106
+
107
+
108
+
109
+ function usp_form_version() {
110
+
111
+ $form_version = array(
112
+
113
+ 'current' => array(
114
+ 'value' => 'current',
115
+ 'label' => esc_html__('HTML5 Form + Default CSS', 'usp') .' <small>'. esc_html__('(Recommended)', 'usp') .'</small>',
116
+ ),
117
+ 'disable' => array(
118
+ 'value' => 'disable',
119
+ 'label' => esc_html__('HTML5 Form + Disable CSS', 'usp') .' <small>'. esc_html__('(Provide your own styles)', 'usp') .'</small>',
120
+ ),
121
+ 'custom' => array(
122
+ 'value' => 'custom',
123
+ 'label' => esc_html__('Custom Form + Custom CSS', 'usp') .' <small>'. esc_html__('(Provide your own form template &amp; styles)', 'usp') .'</small>',
124
+ ),
125
+ );
126
+
127
+ return $form_version;
128
+
129
+ }
130
+
131
+
132
+
133
+ function usp_image_display() {
134
+
135
+ $image_display = array(
136
+
137
+ 'before' => array(
138
+ 'value' => 'before',
139
+ 'label' => esc_html__('Auto-display before post content', 'usp')
140
+ ),
141
+ 'after' => array(
142
+ 'value' => 'after',
143
+ 'label' => esc_html__('Auto-display after post content', 'usp')
144
+ ),
145
+ 'disable' => array(
146
+ 'value' => 'disable',
147
+ 'label' => esc_html__('Do not auto-display submitted images', 'usp')
148
+ ),
149
+ );
150
+
151
+ return $image_display;
152
+
153
+ }
154
+
155
+
156
+
157
+ function usp_email_display() {
158
+
159
+ $email_display = array(
160
+
161
+ 'before' => array(
162
+ 'value' => 'before',
163
+ 'label' => esc_html__('Auto-display before post content', 'usp')
164
+ ),
165
+ 'after' => array(
166
+ 'value' => 'after',
167
+ 'label' => esc_html__('Auto-display after post content', 'usp')
168
+ ),
169
+ 'disable' => array(
170
+ 'value' => 'disable',
171
+ 'label' => esc_html__('Do not auto-display submitted email', 'usp')
172
+ ),
173
+ );
174
+
175
+ return $email_display;
176
+
177
+ }
178
+
179
+
180
+ function usp_url_display() {
181
+
182
+ $url_display = array(
183
+
184
+ 'before' => array(
185
+ 'value' => 'before',
186
+ 'label' => esc_html__('Auto-display before post content', 'usp')
187
+ ),
188
+ 'after' => array(
189
+ 'value' => 'after',
190
+ 'label' => esc_html__('Auto-display after post content', 'usp')
191
+ ),
192
+ 'disable' => array(
193
+ 'value' => 'disable',
194
+ 'label' => esc_html__('Do not auto-display submitted URL', 'usp')
195
+ ),
196
+ );
197
+
198
+ return $url_display;
199
+
200
+ }
201
+
202
+
203
+
204
+ function usp_form_display_options() {
205
+
206
+ global $usp_options;
207
+
208
+ $usp_form_version = usp_form_version();
209
+
210
+ if (!isset($checked)) $checked = '';
211
+
212
+ foreach ($usp_form_version as $usp_form) {
213
+
214
+ $radio_setting = $usp_options['usp_form_version'];
215
+
216
+ if ('' != $radio_setting) {
217
+
218
+ if ($usp_options['usp_form_version'] == $usp_form['value']) {
219
+
220
+ $checked = 'checked="checked"';
221
+
222
+ } else {
223
+
224
+ $checked = '';
225
+
226
+ }
227
+
228
+ }
229
+
230
+ ?>
231
+
232
+ <div class="mm-radio-inputs">
233
+ <input type="radio" name="usp_options[usp_form_version]" class="usp<?php if ($usp_form['value'] == 'custom') echo '-custom'; ?>-form" value="<?php echo esc_attr($usp_form['value']); ?>" <?php echo $checked; ?> />
234
+ <?php echo $usp_form['label']; ?>
235
+ </div>
236
+
237
+ <?php }
238
+
239
+ }
240
+
241
+
242
+
243
+ function usp_auto_display_options($item) {
244
+
245
+ global $usp_options;
246
+
247
+ $usp_image_display = usp_image_display();
248
+ $usp_email_display = usp_email_display();
249
+ $usp_url_display = usp_url_display();
250
+
251
+ if ($item === 'images') {
252
+
253
+ $array = $usp_image_display;
254
+ $key = 'auto_display_images';
255
+
256
+ } elseif ($item === 'email') {
257
+
258
+ $array = $usp_email_display;
259
+ $key = 'auto_display_email';
260
+
261
+ } elseif ($item === 'url') {
262
+
263
+ $array = $usp_url_display;
264
+ $key = 'auto_display_url';
265
+ }
266
+
267
+ if (!isset($checked)) $checked = '';
268
+
269
+ foreach ($array as $arr) {
270
+
271
+ $radio_setting = $usp_options[$key];
272
+
273
+ if ('' != $radio_setting) {
274
+
275
+ if ($usp_options[$key] == $arr['value']) {
276
+
277
+ $checked = 'checked="checked"';
278
+
279
+ } else {
280
+
281
+ $checked = '';
282
+
283
+ }
284
+ }
285
+
286
+ ?>
287
+
288
+ <div class="mm-radio-inputs">
289
+ <input type="radio" name="usp_options[<?php echo $key; ?>]" value="<?php echo esc_attr($arr['value']); ?>" <?php echo $checked; ?> />
290
+ <?php echo $arr['label']; ?>
291
+ </div>
292
+
293
+ <?php }
294
+
295
+ }
296
+
297
+
298
+
299
+ function usp_add_defaults() {
300
+
301
+ $currentUser = wp_get_current_user();
302
+
303
+ $admin_mail = get_bloginfo('admin_email');
304
+
305
+ $tmp = get_option('usp_options');
306
+
307
+ if (($tmp['default_options'] == '1') || (!is_array($tmp))) {
308
+
309
+ $arr = array(
310
+ 'usp_version' => USP_VERSION,
311
+ 'version_alert' => 0,
312
+ 'default_options' => 0,
313
+ 'author' => $currentUser->ID,
314
+ 'categories' => array(get_option('default_category')),
315
+ 'number-approved' => -1,
316
+ 'redirect-url' => '',
317
+ 'error-message' => esc_html__('There was an error. Please ensure that you have added a title, some content, and that you have uploaded only images.', 'usp'),
318
+ 'min-images' => 0,
319
+ 'max-images' => 1,
320
+ 'min-image-height' => 0,
321
+ 'min-image-width' => 0,
322
+ 'max-image-height' => 1500,
323
+ 'max-image-width' => 1500,
324
+ 'usp_name' => 'show',
325
+ 'usp_url' => 'show',
326
+ 'usp_email' => 'hide',
327
+ 'usp_title' => 'show',
328
+ 'usp_tags' => 'show',
329
+ 'usp_category' => 'show',
330
+ 'usp_images' => 'hide',
331
+ 'upload-message' => esc_html__('Please select your image(s) to upload.', 'usp'),
332
+ 'usp_question' => '1 + 1 =',
333
+ 'usp_response' => '2',
334
+ 'usp_casing' => 0,
335
+ 'usp_captcha' => 'show',
336
+ 'usp_content' => 'show',
337
+ 'success-message' => esc_html__('Success! Thank you for your submission.', 'usp'),
338
+ 'usp_form_version' => 'current',
339
+ 'usp_email_alerts' => 1,
340
+ 'usp_email_html' => 0,
341
+ 'usp_email_address' => $admin_mail,
342
+ 'usp_email_from' => $admin_mail,
343
+ 'usp_use_author' => 0,
344
+ 'usp_use_url' => 0,
345
+ 'usp_use_cat' => 0,
346
+ 'usp_use_cat_id' => '',
347
+ 'usp_include_js' => 1,
348
+ 'usp_display_url' => '',
349
+ 'usp_form_content' => '',
350
+ 'usp_richtext_editor' => 0,
351
+ 'usp_featured_images' => 0,
352
+ 'usp_add_another' => '',
353
+ 'disable_required' => 0,
354
+ 'titles_unique' => 0,
355
+ 'enable_shortcodes' => 0,
356
+ 'disable_ip_tracking' => 0,
357
+ 'email_alert_subject' => '',
358
+ 'email_alert_message' => '',
359
+ 'auto_display_images' => 'disable',
360
+ 'auto_display_email' => 'disable',
361
+ 'auto_display_url' => 'disable',
362
+ 'auto_image_markup' => '<a href="%%full%%"><img src="%%thumb%%" width="%%width%%" height="%%height%%" alt="%%title%%" style="display:inline-block;" /></a> ',
363
+ 'auto_email_markup' => '<p><a href="mailto:%%email%%">'. esc_html__('Email', 'usp') .'</a></p>',
364
+ 'auto_url_markup' => '<p><a href="%%url%%">'. esc_html__('URL', 'usp') .'</a></p>',
365
+ 'logged_in_users' => 0,
366
+ 'recaptcha_public' => '',
367
+ 'recaptcha_private' => '',
368
+ 'usp_recaptcha' => 'hide',
369
+ );
370
+
371
+ update_option('usp_options', $arr);
372
+
373
+ }
374
+
375
+ }
376
+ register_activation_hook(dirname(dirname(__FILE__)).'/user-submitted-posts.php', 'usp_add_defaults');
377
+
378
+
379
+
380
+ function usp_delete_plugin_options() {
381
+
382
+ delete_option('usp_options');
383
+
384
+ }
385
+ if ($usp_options['default_options'] == 1) {
386
+
387
+ register_deactivation_hook(dirname(dirname(__FILE__)).'/user-submitted-posts.php', 'usp_delete_plugin_options');
388
+
389
+ }
390
+
391
+
392
+
393
+ function usp_validate_options($input) {
394
+
395
+ global $usp_options;
396
+
397
+ if (!isset($input['version_alert'])) $input['version_alert'] = null;
398
+ $input['version_alert'] = ($input['version_alert'] == 1 ? 1 : 0);
399
+
400
+ if (!isset($input['default_options'])) $input['default_options'] = null;
401
+ $input['default_options'] = ($input['default_options'] == 1 ? 1 : 0);
402
+
403
+ $input['categories'] = is_array($input['categories']) && !empty($input['categories']) ? array_unique($input['categories']) : array(get_option('default_category'));
404
+ $input['number-approved'] = is_numeric($input['number-approved']) ? intval($input['number-approved']) : -1;
405
+
406
+ $input['min-images'] = is_numeric($input['min-images']) ? intval($input['min-images']) : $input['max-images'];
407
+ $input['max-images'] = (is_numeric($input['max-images']) && ($usp_options['min-images'] <= abs($input['max-images']))) ? intval($input['max-images']) : $usp_options['max-images'];
408
+
409
+ $input['min-image-height'] = is_numeric($input['min-image-height']) ? intval($input['min-image-height']) : $usp_options['min-image-height'];
410
+ $input['min-image-width'] = is_numeric($input['min-image-width']) ? intval($input['min-image-width']) : $usp_options['min-image-width'];
411
+
412
+ $input['max-image-height'] = (is_numeric($input['max-image-height']) && ($usp_options['min-image-height'] <= $input['max-image-height'])) ? intval($input['max-image-height']) : $usp_options['max-image-height'];
413
+ $input['max-image-width'] = (is_numeric($input['max-image-width']) && ($usp_options['min-image-width'] <= $input['max-image-width'])) ? intval($input['max-image-width']) : $usp_options['max-image-width'];
414
+
415
+ $usp_form_version = usp_form_version();
416
+ if (!isset($input['usp_form_version'])) $input['usp_form_version'] = null;
417
+ if (!array_key_exists($input['usp_form_version'], $usp_form_version)) $input['usp_form_version'] = null;
418
+
419
+ $usp_image_display = usp_image_display();
420
+ if (!isset($input['auto_display_images'])) $input['auto_display_images'] = null;
421
+ if (!array_key_exists($input['auto_display_images'], $usp_image_display)) $input['auto_display_images'] = null;
422
+
423
+ $usp_email_display = usp_email_display();
424
+ if (!isset($input['auto_display_email'])) $input['auto_display_email'] = null;
425
+ if (!array_key_exists($input['auto_display_email'], $usp_email_display)) $input['auto_display_email'] = null;
426
+
427
+ $usp_url_display = usp_url_display();
428
+ if (!isset($input['auto_display_url'])) $input['auto_display_url'] = null;
429
+ if (!array_key_exists($input['auto_display_url'], $usp_url_display)) $input['auto_display_url'] = null;
430
+
431
+ $input['author'] = wp_filter_nohtml_kses($input['author']);
432
+ $input['usp_name'] = wp_filter_nohtml_kses($input['usp_name']);
433
+ $input['usp_url'] = wp_filter_nohtml_kses($input['usp_url']);
434
+ $input['usp_email'] = wp_filter_nohtml_kses($input['usp_email']);
435
+ $input['usp_title'] = wp_filter_nohtml_kses($input['usp_title']);
436
+ $input['usp_tags'] = wp_filter_nohtml_kses($input['usp_tags']);
437
+ $input['usp_category'] = wp_filter_nohtml_kses($input['usp_category']);
438
+ $input['usp_images'] = wp_filter_nohtml_kses($input['usp_images']);
439
+ $input['usp_question'] = wp_filter_nohtml_kses($input['usp_question']);
440
+ $input['usp_captcha'] = wp_filter_nohtml_kses($input['usp_captcha']);
441
+ $input['usp_content'] = wp_filter_nohtml_kses($input['usp_content']);
442
+ $input['usp_email_address'] = wp_filter_nohtml_kses($input['usp_email_address']);
443
+ $input['usp_email_from'] = wp_filter_nohtml_kses($input['usp_email_from']);
444
+ $input['usp_use_cat_id'] = wp_filter_nohtml_kses($input['usp_use_cat_id']);
445
+ $input['usp_display_url'] = wp_filter_nohtml_kses($input['usp_display_url']);
446
+ $input['redirect-url'] = wp_filter_nohtml_kses($input['redirect-url']);
447
+ $input['email_alert_subject'] = wp_filter_nohtml_kses($input['email_alert_subject']);
448
+ $input['recaptcha_public'] = wp_filter_nohtml_kses($input['recaptcha_public']);
449
+ $input['recaptcha_private'] = wp_filter_nohtml_kses($input['recaptcha_private']);
450
+ $input['usp_recaptcha'] = wp_filter_nohtml_kses($input['usp_recaptcha']);
451
+
452
+ // dealing with kses
453
+ global $allowedposttags;
454
+ $allowed_atts = array(
455
+ 'align' => array(),
456
+ 'class' => array(),
457
+ 'type' => array(),
458
+ 'id' => array(),
459
+ 'dir' => array(),
460
+ 'lang' => array(),
461
+ 'style' => array(),
462
+ 'xml:lang' => array(),
463
+ 'src' => array(),
464
+ 'alt' => array(),
465
+ 'href' => array(),
466
+ 'rel' => array(),
467
+ 'rev' => array(),
468
+ 'target' => array(),
469
+ 'novalidate' => array(),
470
+ 'type' => array(),
471
+ 'value' => array(),
472
+ 'name' => array(),
473
+ 'tabindex' => array(),
474
+ 'action' => array(),
475
+ 'method' => array(),
476
+ 'for' => array(),
477
+ 'width' => array(),
478
+ 'height' => array(),
479
+ 'data' => array(),
480
+ 'title' => array(),
481
+ );
482
+ $allowedposttags['form'] = $allowed_atts;
483
+ $allowedposttags['label'] = $allowed_atts;
484
+ $allowedposttags['input'] = $allowed_atts;
485
+ $allowedposttags['textarea'] = $allowed_atts;
486
+ $allowedposttags['iframe'] = $allowed_atts;
487
+ $allowedposttags['script'] = $allowed_atts;
488
+ $allowedposttags['style'] = $allowed_atts;
489
+ $allowedposttags['strong'] = $allowed_atts;
490
+ $allowedposttags['small'] = $allowed_atts;
491
+ $allowedposttags['table'] = $allowed_atts;
492
+ $allowedposttags['span'] = $allowed_atts;
493
+ $allowedposttags['abbr'] = $allowed_atts;
494
+ $allowedposttags['code'] = $allowed_atts;
495
+ $allowedposttags['pre'] = $allowed_atts;
496
+ $allowedposttags['div'] = $allowed_atts;
497
+ $allowedposttags['img'] = $allowed_atts;
498
+ $allowedposttags['h1'] = $allowed_atts;
499
+ $allowedposttags['h2'] = $allowed_atts;
500
+ $allowedposttags['h3'] = $allowed_atts;
501
+ $allowedposttags['h4'] = $allowed_atts;
502
+ $allowedposttags['h5'] = $allowed_atts;
503
+ $allowedposttags['h6'] = $allowed_atts;
504
+ $allowedposttags['ol'] = $allowed_atts;
505
+ $allowedposttags['ul'] = $allowed_atts;
506
+ $allowedposttags['li'] = $allowed_atts;
507
+ $allowedposttags['em'] = $allowed_atts;
508
+ $allowedposttags['hr'] = $allowed_atts;
509
+ $allowedposttags['br'] = $allowed_atts;
510
+ $allowedposttags['tr'] = $allowed_atts;
511
+ $allowedposttags['td'] = $allowed_atts;
512
+ $allowedposttags['p'] = $allowed_atts;
513
+ $allowedposttags['a'] = $allowed_atts;
514
+ $allowedposttags['b'] = $allowed_atts;
515
+ $allowedposttags['i'] = $allowed_atts;
516
+
517
+ $input['usp_form_content'] = wp_kses_post($input['usp_form_content'], $allowedposttags);
518
+ $input['error-message'] = wp_kses_post($input['error-message'], $allowedposttags);
519
+ $input['upload-message'] = wp_kses_post($input['upload-message'], $allowedposttags);
520
+ $input['success-message'] = wp_kses_post($input['success-message'], $allowedposttags);
521
+ $input['usp_add_another'] = wp_kses_post($input['usp_add_another'], $allowedposttags);
522
+ $input['email_alert_message'] = wp_kses_post($input['email_alert_message'], $allowedposttags);
523
+ $input['auto_image_markup'] = wp_kses_post($input['auto_image_markup'], $allowedposttags);
524
+ $input['auto_email_markup'] = wp_kses_post($input['auto_email_markup'], $allowedposttags);
525
+ $input['auto_url_markup'] = wp_kses_post($input['auto_url_markup'], $allowedposttags);
526
+
527
+ if (!isset($input['usp_casing'])) $input['usp_casing'] = null;
528
+ $input['usp_casing'] = ($input['usp_casing'] == 1 ? 1 : 0);
529
+
530
+ if (!isset($input['usp_email_alerts'])) $input['usp_email_alerts'] = null;
531
+ $input['usp_email_alerts'] = ($input['usp_email_alerts'] == 1 ? 1 : 0);
532
+
533
+ if (!isset($input['usp_email_html'])) $input['usp_email_html'] = null;
534
+ $input['usp_email_html'] = ($input['usp_email_html'] == 1 ? 1 : 0);
535
+
536
+ if (!isset($input['usp_use_author'])) $input['usp_use_author'] = null;
537
+ $input['usp_use_author'] = ($input['usp_use_author'] == 1 ? 1 : 0);
538
+
539
+ if (!isset($input['usp_use_url'])) $input['usp_use_url'] = null;
540
+ $input['usp_use_url'] = ($input['usp_use_url'] == 1 ? 1 : 0);
541
+
542
+ if (!isset($input['usp_use_cat'])) $input['usp_use_cat'] = null;
543
+ $input['usp_use_cat'] = ($input['usp_use_cat'] == 1 ? 1 : 0);
544
+
545
+ if (!isset($input['usp_include_js'])) $input['usp_include_js'] = null;
546
+ $input['usp_include_js'] = ($input['usp_include_js'] == 1 ? 1 : 0);
547
+
548
+ if (!isset($input['usp_richtext_editor'])) $input['usp_richtext_editor'] = null;
549
+ $input['usp_richtext_editor'] = ($input['usp_richtext_editor'] == 1 ? 1 : 0);
550
+
551
+ if (!isset($input['usp_featured_images'])) $input['usp_featured_images'] = null;
552
+ $input['usp_featured_images'] = ($input['usp_featured_images'] == 1 ? 1 : 0);
553
+
554
+ if (!isset($input['disable_required'])) $input['disable_required'] = null;
555
+ $input['disable_required'] = ($input['disable_required'] == 1 ? 1 : 0);
556
+
557
+ if (!isset($input['titles_unique'])) $input['titles_unique'] = null;
558
+ $input['titles_unique'] = ($input['titles_unique'] == 1 ? 1 : 0);
559
+
560
+ if (!isset($input['enable_shortcodes'])) $input['enable_shortcodes'] = null;
561
+ $input['enable_shortcodes'] = ($input['enable_shortcodes'] == 1 ? 1 : 0);
562
+
563
+ if (!isset($input['disable_ip_tracking'])) $input['disable_ip_tracking'] = null;
564
+ $input['disable_ip_tracking'] = ($input['disable_ip_tracking'] == 1 ? 1 : 0);
565
+
566
+ if (!isset($input['logged_in_users'])) $input['logged_in_users'] = null;
567
+ $input['logged_in_users'] = ($input['logged_in_users'] == 1 ? 1 : 0);
568
+
569
+ return apply_filters('usp_input_validate', $input);
570
+ }
571
+
572
+
573
+
574
+ function usp_render_form() {
575
+
576
+ global $wpdb, $usp_options;
577
+
578
+ $display_alert = ' style="display:block;"';
579
+ if (isset($usp_options['version_alert']) && $usp_options['version_alert']) $display_alert = ' style="display:none;"';
580
+
581
+ $version_previous = isset($usp_options['usp_version']) ? esc_attr($usp_options['usp_version']) : USP_VERSION;
582
+
583
+ ?>
584
+
585
+ <style type="text/css">#mm-plugin-options .usp-custom-form-info { <?php if ($usp_options['usp_form_version'] !== 'custom') echo 'display: none;'; ?> }</style>
586
+
587
+ <div id="mm-plugin-options" class="wrap">
588
+
589
+ <h1><?php echo USP_PLUGIN; ?> <small><?php echo 'v'. USP_VERSION; ?></small></h1>
590
+ <div id="mm-panel-toggle"><a href="<?php get_admin_url() .'options-general.php?page='. USP_PATH; ?>"><?php esc_html_e('Toggle all panels', 'usp'); ?></a></div>
591
+
592
+ <form method="post" action="options.php">
593
+ <?php settings_fields('usp_plugin_options'); ?>
594
+
595
+ <div class="metabox-holder">
596
+ <div class="meta-box-sortables ui-sortable">
597
+
598
+ <div id="mm-panel-alert"<?php echo $display_alert; ?> class="postbox">
599
+ <h2><?php esc_html_e('We need your support!', 'usp'); ?></h2>
600
+ <div class="toggle">
601
+ <div class="mm-panel-alert">
602
+ <p>
603
+ <?php esc_html_e('Please', 'usp'); ?> <a target="_blank" href="https://m0n.co/donate" title="<?php esc_attr_e('Make a donation via PayPal', 'usp'); ?>"><?php esc_html_e('make a donation', 'usp'); ?></a> <?php esc_html_e('and/or', 'usp'); ?>
604
+ <a target="_blank" href="https://wordpress.org/support/plugin/user-submitted-posts/reviews/?rate=5#new-post" title="<?php esc_attr_e('Rate and review at the Plugin Directory', 'usp'); ?>">
605
+ <?php esc_html_e('give this plugin a 5-star rating', 'usp'); ?>&nbsp;&raquo;
606
+ </a>
607
+ </p>
608
+ <p>
609
+ <?php esc_html_e('Your generous support enables continued development of this free plugin. Thank you!', 'usp'); ?>
610
+ </p>
611
+ <div class="dismiss-alert">
612
+ <div class="dismiss-alert-wrap">
613
+ <input class="input-alert" name="usp_options[version_alert]" type="checkbox" value="1" <?php if (isset($usp_options['version_alert'])) checked('1', $usp_options['version_alert']); ?> />
614
+ <label class="description" for="usp_options[version_alert]"><?php esc_html_e('Check this box if you have shown support', 'usp') ?></label>
615
+ <input type="hidden" name="usp_options[usp_version]" value="<?php echo $version_previous; ?>" />
616
+ </div>
617
+ </div>
618
+ </div>
619
+ </div>
620
+ </div>
621
+
622
+ <div id="mm-panel-overview" class="postbox">
623
+ <h2><?php esc_html_e('Overview', 'usp'); ?></h2>
624
+ <div class="toggle<?php if (isset($_GET['settings-updated'])) { echo ' default-hidden'; } ?>">
625
+ <div class="mm-panel-overview clear">
626
+ <p class="mm-overview-intro">
627
+ <strong><abbr title="<?php echo USP_PLUGIN; ?>">USP</abbr></strong> <?php esc_html_e('enables your visitors to submit posts and upload images from the front-end of your site. ', 'usp'); ?>
628
+ <?php esc_html_e('For advanced functionality and unlimited forms, check out', 'usp'); ?> <strong><a href="https://plugin-planet.com/usp-pro/" target="_blank">USP Pro</a></strong>
629
+ <?php esc_html_e('&mdash; the ultimate solution for user-generated content.', 'usp'); ?>
630
+ </p>
631
+ <div class="mm-left-div">
632
+ <ul>
633
+ <li><a id="mm-panel-primary-link" href="#mm-panel-primary"><?php esc_html_e('Plugin Settings', 'usp'); ?></a></li>
634
+ <li><a id="mm-panel-secondary-link" href="#mm-panel-secondary"><?php esc_html_e('Display the form', 'usp'); ?></a></li>
635
+ <li><a target="_blank" href="https://wordpress.org/plugins/user-submitted-posts/"><?php esc_html_e('Plugin Homepage', 'usp'); ?>&nbsp;&raquo;</a></li>
636
+ </ul>
637
+ <p>
638
+ <?php esc_html_e('If you like this plugin, please', 'usp'); ?>
639
+ <a target="_blank" href="https://wordpress.org/support/plugin/user-submitted-posts/reviews/?rate=5#new-post" title="<?php esc_attr_e('THANK YOU for your support!', 'usp'); ?>"><?php esc_html_e('give it a 5-star rating', 'usp'); ?>&nbsp;&raquo;</a>
640
+ </p>
641
+ </div>
642
+ <div class="mm-right-div">
643
+ <a target="_blank" class="mm-pro-blurb" href="https://plugin-planet.com/usp-pro/" title="<?php esc_attr_e('Unlimited front-end forms', 'usp'); ?>"><?php esc_html_e('Get USP Pro', 'usp'); ?></a>
644
+ </div>
645
+ </div>
646
+ </div>
647
+ </div>
648
+
649
+ <div id="mm-panel-primary" class="postbox">
650
+
651
+ <h2><?php esc_html_e('Plugin Settings', 'usp'); ?></h2>
652
+
653
+ <div class="toggle<?php if (!isset($_GET['settings-updated'])) { echo ' default-hidden'; } ?>">
654
+
655
+ <p><?php esc_html_e('Configure your settings for User Submitted Posts.', 'usp'); ?></p>
656
+
657
+ <h3><?php esc_html_e('Form Fields', 'usp'); ?></h3>
658
+
659
+ <div class="mm-table-wrap mm-table-less-padding">
660
+ <table class="widefat mm-table">
661
+ <tr>
662
+ <th scope="row"><label class="description" for="usp_options[usp_name]"><?php esc_html_e('User Name', 'usp'); ?></label></th>
663
+ <td>
664
+ <select name="usp_options[usp_name]" id="usp_options[usp_name]">
665
+ <option <?php if ($usp_options['usp_name'] == 'show') echo 'selected="selected"'; ?> value="show"><?php esc_html_e('Display and require', 'usp'); ?></option>
666
+ <option <?php if ($usp_options['usp_name'] == 'optn') echo 'selected="selected"'; ?> value="optn"><?php esc_html_e('Display but do not require', 'usp'); ?></option>
667
+ <option <?php if ($usp_options['usp_name'] == 'hide') echo 'selected="selected"'; ?> value="hide"><?php esc_html_e('Disable this field', 'usp'); ?></option>
668
+ </select>
669
+ </td>
670
+ </tr>
671
+ <tr>
672
+ <th scope="row"><label class="description" for="usp_options[usp_email]"><?php esc_html_e('User Email', 'usp'); ?></label></th>
673
+ <td>
674
+ <select name="usp_options[usp_email]" id="usp_options[usp_email]">
675
+ <option <?php if ($usp_options['usp_email'] == 'show') echo 'selected="selected"'; ?> value="show"><?php esc_html_e('Display and require', 'usp'); ?></option>
676
+ <option <?php if ($usp_options['usp_email'] == 'optn') echo 'selected="selected"'; ?> value="optn"><?php esc_html_e('Display but do not require', 'usp'); ?></option>
677
+ <option <?php if ($usp_options['usp_email'] == 'hide') echo 'selected="selected"'; ?> value="hide"><?php esc_html_e('Disable this field', 'usp'); ?></option>
678
+ </select>
679
+ </td>
680
+ </tr>
681
+ <tr>
682
+ <th scope="row"><label class="description" for="usp_options[usp_url]"><?php esc_html_e('User URL', 'usp'); ?></label></th>
683
+ <td>
684
+ <select name="usp_options[usp_url]" id="usp_options[usp_url]">
685
+ <option <?php if ($usp_options['usp_url'] == 'show') echo 'selected="selected"'; ?> value="show"><?php esc_html_e('Display and require', 'usp'); ?></option>
686
+ <option <?php if ($usp_options['usp_url'] == 'optn') echo 'selected="selected"'; ?> value="optn"><?php esc_html_e('Display but do not require', 'usp'); ?></option>
687
+ <option <?php if ($usp_options['usp_url'] == 'hide') echo 'selected="selected"'; ?> value="hide"><?php esc_html_e('Disable this field', 'usp'); ?></option>
688
+ </select>
689
+ </td>
690
+ </tr>
691
+ <tr>
692
+ <th scope="row"><label class="description" for="usp_options[usp_title]"><?php esc_html_e('Post Title', 'usp'); ?></label></th>
693
+ <td>
694
+ <select name="usp_options[usp_title]" id="usp_options[usp_title]">
695
+ <option <?php if ($usp_options['usp_title'] == 'show') echo 'selected="selected"'; ?> value="show"><?php esc_html_e('Display and require', 'usp'); ?></option>
696
+ <option <?php if ($usp_options['usp_title'] == 'optn') echo 'selected="selected"'; ?> value="optn"><?php esc_html_e('Display but do not require', 'usp'); ?></option>
697
+ <option <?php if ($usp_options['usp_title'] == 'hide') echo 'selected="selected"'; ?> value="hide"><?php esc_html_e('Disable this field', 'usp'); ?></option>
698
+ </select>
699
+ </td>
700
+ </tr>
701
+ <tr>
702
+ <th scope="row"><label class="description" for="usp_options[usp_tags]"><?php esc_html_e('Post Tags', 'usp'); ?></label></th>
703
+ <td>
704
+ <select name="usp_options[usp_tags]" id="usp_options[usp_tags]">
705
+ <option <?php if ($usp_options['usp_tags'] == 'show') echo 'selected="selected"'; ?> value="show"><?php esc_html_e('Display and require', 'usp'); ?></option>
706
+ <option <?php if ($usp_options['usp_tags'] == 'optn') echo 'selected="selected"'; ?> value="optn"><?php esc_html_e('Display but do not require', 'usp'); ?></option>
707
+ <option <?php if ($usp_options['usp_tags'] == 'hide') echo 'selected="selected"'; ?> value="hide"><?php esc_html_e('Disable this field', 'usp'); ?></option>
708
+ </select>
709
+ </td>
710
+ </tr>
711
+ <tr>
712
+ <th scope="row"><label class="description" for="usp_options[usp_category]"><?php esc_html_e('Post Category', 'usp'); ?></label></th>
713
+ <td>
714
+ <select name="usp_options[usp_category]" id="usp_options[usp_category]">
715
+ <option <?php if ($usp_options['usp_category'] == 'show') echo 'selected="selected"'; ?> value="show"><?php esc_html_e('Display and require', 'usp'); ?></option>
716
+ <option <?php if ($usp_options['usp_category'] == 'optn') echo 'selected="selected"'; ?> value="optn"><?php esc_html_e('Display but do not require', 'usp'); ?></option>
717
+ <option <?php if ($usp_options['usp_category'] == 'hide') echo 'selected="selected"'; ?> value="hide"><?php esc_html_e('Disable this field', 'usp'); ?></option>
718
+ </select>
719
+ </td>
720
+ </tr>
721
+ <tr>
722
+ <th scope="row"><label class="description" for="usp_options[usp_content]"><?php esc_html_e('Post Content', 'usp'); ?></label></th>
723
+ <td>
724
+ <select name="usp_options[usp_content]" id="usp_options[usp_content]">
725
+ <option <?php if ($usp_options['usp_content'] == 'show') echo 'selected="selected"'; ?> value="show"><?php esc_html_e('Display and require', 'usp'); ?></option>
726
+ <option <?php if ($usp_options['usp_content'] == 'optn') echo 'selected="selected"'; ?> value="optn"><?php esc_html_e('Display but do not require', 'usp'); ?></option>
727
+ <option <?php if ($usp_options['usp_content'] == 'hide') echo 'selected="selected"'; ?> value="hide"><?php esc_html_e('Disable this field', 'usp'); ?></option>
728
+ </select>
729
+ </td>
730
+ </tr>
731
+ <tr>
732
+ <th scope="row"><label class="description" for="usp_options[usp_captcha]"><?php esc_html_e('Challenge Question', 'usp'); ?></label></th>
733
+ <td>
734
+ <select name="usp_options[usp_captcha]" id="usp_options[usp_captcha]">
735
+ <option <?php if ($usp_options['usp_captcha'] == 'show') echo 'selected="selected"'; ?> value="show"><?php esc_html_e('Display and require', 'usp'); ?></option>
736
+ <option <?php if ($usp_options['usp_captcha'] == 'hide') echo 'selected="selected"'; ?> value="hide"><?php esc_html_e('Disable this field', 'usp'); ?></option>
737
+ </select>
738
+ <span class="mm-item-caption"><?php esc_html_e('(Visit', 'usp'); ?> <a href="#usp-challenge-question"><?php esc_html_e('Challenge Question', 'usp'); ?></a> <?php esc_html_e('to configure options)', 'usp'); ?></span>
739
+ </td>
740
+ </tr>
741
+ <tr>
742
+ <th scope="row"><label class="description" for="usp_options[usp_recaptcha]"><?php esc_html_e('Google reCAPTCHA', 'usp'); ?></label></th>
743
+ <td>
744
+ <select name="usp_options[usp_recaptcha]" id="usp_options[usp_recaptcha]">
745
+ <option <?php if ($usp_options['usp_recaptcha'] == 'show') echo 'selected="selected"'; ?> value="show"><?php esc_html_e('Display and require', 'usp'); ?></option>
746
+ <option <?php if ($usp_options['usp_recaptcha'] == 'hide') echo 'selected="selected"'; ?> value="hide"><?php esc_html_e('Disable this field', 'usp'); ?></option>
747
+ </select>
748
+ <span class="mm-item-caption"><?php esc_html_e('(Visit', 'usp'); ?> <a href="#usp-recaptcha"><?php esc_html_e('Google reCAPTCHA', 'usp'); ?></a> <?php esc_html_e('to configure options)', 'usp'); ?></span>
749
+ </td>
750
+ </tr>
751
+ <tr>
752
+ <th scope="row"><label class="description" for="usp_options[usp_images]"><?php esc_html_e('Post Images', 'usp'); ?></label></th>
753
+ <td>
754
+ <select name="usp_options[usp_images]" id="usp_options[usp_images]">
755
+ <option <?php if ($usp_options['usp_images'] == 'show') echo 'selected="selected"'; ?> value="show"><?php esc_html_e('Display', 'usp'); ?></option>
756
+ <option <?php if ($usp_options['usp_images'] == 'hide') echo 'selected="selected"'; ?> value="hide"><?php esc_html_e('Disable', 'usp'); ?></option>
757
+ </select>
758
+ <span class="mm-item-caption"><?php esc_html_e('(Visit', 'usp'); ?> <a href="#usp-image-uploads"><?php esc_html_e('Image Uploads', 'usp'); ?></a> <?php esc_html_e('to configure options)', 'usp'); ?></span>
759
+ </td>
760
+ </tr>
761
+ </table>
762
+ </div>
763
+
764
+ <h3><?php esc_html_e('General Settings', 'usp'); ?></h3>
765
+
766
+ <div class="mm-table-wrap">
767
+ <table class="widefat mm-table">
768
+ <tr>
769
+ <th scope="row"><label class="description" for="usp_options[usp_form_version]"><?php esc_html_e('Form Style', 'usp'); ?></label></th>
770
+ <td>
771
+ <?php usp_form_display_options(); ?>
772
+
773
+ <div class="usp-custom-form-info">
774
+ <p><?php esc_html_e('With this option, you can copy the plugin&rsquo;s default templates:', 'usp'); ?></p>
775
+ <ul>
776
+ <li><code>/user-submitted-posts/resources/usp.css</code></li>
777
+ <li><code>/user-submitted-posts/views/submission-form.php</code></li>
778
+ </ul>
779
+ <p><?php esc_html_e('..and upload them into a directory named', 'usp'); ?> <code>/usp/</code> <?php esc_html_e('in your theme:', 'usp'); ?></p>
780
+ <ul>
781
+ <li><code>/wp-content/themes/your-theme/usp/usp.css</code></li>
782
+ <li><code>/wp-content/themes/your-theme/usp/submission-form.php</code></li>
783
+ </ul>
784
+ <p>
785
+ <?php esc_html_e('That will enable you to customize the form and styles as desired. For more info, check out the "Custom Submission Form" section in the', 'usp'); ?>
786
+ <a target="_blank" href="https://wordpress.org/plugins/user-submitted-posts/installation/"><?php esc_html_e('Installation Docs', 'usp'); ?></a>.
787
+ <?php esc_html_e('FYI: here is a', 'usp'); ?> <a target="_blank" href="https://m0n.co/e"><?php esc_html_e('list of USP CSS selectors', 'usp'); ?>&nbsp;&raquo;</a>
788
+ </p>
789
+ </div>
790
+ </td>
791
+ </tr>
792
+ <tr>
793
+ <th scope="row"><label class="description" for="usp_options[usp_include_js]"><?php esc_html_e('Include JavaScript', 'usp'); ?></label></th>
794
+ <td><input type="checkbox" value="1" name="usp_options[usp_include_js]" <?php if (isset($usp_options['usp_include_js'])) { checked('1', $usp_options['usp_include_js']); } ?> />
795
+ <span class="mm-item-caption"><?php esc_html_e('Check this box if you want to include the external JavaScript files (recommended).', 'usp'); ?></span></td>
796
+ </tr>
797
+ <tr>
798
+ <th scope="row"><label class="description" for="usp_options[usp_display_url]"><?php esc_html_e('Targeted Loading', 'usp'); ?></label></th>
799
+ <td><input type="text" size="45" maxlength="200" name="usp_options[usp_display_url]" value="<?php echo esc_attr($usp_options['usp_display_url']); ?>" />
800
+ <div class="mm-item-caption"><?php esc_html_e('When enabled, external CSS &amp; JavaScript files are loaded on every page. Here you may specify the URL of the USP form to load resources only on that page. Note: leave blank to load on all pages.', 'usp'); ?></div></td>
801
+ </tr>
802
+ <tr>
803
+ <th scope="row"><label class="description" for="usp_options[number-approved]"><?php esc_html_e('Auto Publish', 'usp'); ?></label></th>
804
+ <td>
805
+ <select name="usp_options[number-approved]">
806
+ <option <?php selected(-1, $usp_options['number-approved']); ?> value="-2"><?php esc_html_e('Always moderate via Draft', 'usp'); ?></option>
807
+ <option <?php selected(-1, $usp_options['number-approved']); ?> value="-1"><?php esc_html_e('Always moderate via Pending', 'usp'); ?></option>
808
+ <option <?php selected( 0, $usp_options['number-approved']); ?> value="0"><?php esc_html_e('Always publish immediately', 'usp'); ?></option>
809
+ <?php foreach(range(1, 20) as $value) { ?>
810
+ <option <?php selected($value, $usp_options['number-approved']); ?> value="<?php echo $value; ?>"><?php echo $value; ?></option>
811
+ <?php } ?>
812
+ </select>
813
+ <div class="mm-item-caption"><?php esc_html_e('Post Status for submitted posts: moderate (recommended), publish immediately, or publish after any number of approved posts.', 'usp'); ?></div>
814
+ </td>
815
+ </tr>
816
+ <tr>
817
+ <th scope="row"><label class="description" for="usp_options[redirect-url]"><?php esc_html_e('Redirect URL', 'usp'); ?></label></th>
818
+ <td><input type="text" size="45" maxlength="200" name="usp_options[redirect-url]" value="<?php echo esc_attr($usp_options['redirect-url']); ?>" />
819
+ <div class="mm-item-caption"><?php esc_html_e('Specify a URL to redirect the user after post-submission. Leave blank to redirect back to current page.', 'usp'); ?></div></td>
820
+ </tr>
821
+ <tr>
822
+ <th scope="row"><label class="description" for="usp_options[success-message]"><?php esc_html_e('Success Message', 'usp'); ?></label></th>
823
+ <td><textarea class="textarea" rows="3" cols="50" name="usp_options[success-message]"><?php echo esc_attr($usp_options['success-message']); ?></textarea>
824
+ <div class="mm-item-caption"><?php esc_html_e('Success message that is displayed if post-submission is successful. Basic markup is allowed.', 'usp'); ?></div></td>
825
+ </tr>
826
+ <tr>
827
+ <th scope="row"><label class="description" for="usp_options[error-message]"><?php esc_html_e('Error Message', 'usp'); ?></label></th>
828
+ <td><textarea class="textarea" rows="3" cols="50" name="usp_options[error-message]"><?php echo esc_attr($usp_options['error-message']); ?></textarea>
829
+ <div class="mm-item-caption"><?php esc_html_e('General error message that is displayed if post-submission fails. Basic markup is allowed.', 'usp'); ?></div></td>
830
+ </tr>
831
+ <tr>
832
+ <th scope="row"><label class="description" for="usp_options[usp_form_content]"><?php esc_html_e('Custom Content', 'usp'); ?></label></th>
833
+ <td><textarea class="textarea" rows="3" cols="50" name="usp_options[usp_form_content]"><?php echo esc_attr($usp_options['usp_form_content']); ?></textarea>
834
+ <div class="mm-item-caption"><?php esc_html_e('Custom text/markup to be included before the submission form. Leave blank to disable.', 'usp'); ?></div></td>
835
+ </tr>
836
+ <tr>
837
+ <th scope="row"><label class="description" for="usp_options[usp_richtext_editor]"><?php esc_html_e('Rich Text Editor', 'usp'); ?></label></th>
838
+ <td><input type="checkbox" value="1" name="usp_options[usp_richtext_editor]" <?php if (isset($usp_options['usp_richtext_editor'])) { checked('1', $usp_options['usp_richtext_editor']); } ?> />
839
+ <span class="mm-item-caption"><?php esc_html_e('Check this box if you want to enable WP rich text editing for submitted posts.', 'usp'); ?></span></td>
840
+ </tr>
841
+ <tr>
842
+ <th scope="row"><label class="description" for="usp_options[titles_unique]"><?php esc_html_e('Unique Titles', 'usp'); ?></label></th>
843
+ <td><input type="checkbox" value="1" name="usp_options[titles_unique]" <?php if (isset($usp_options['titles_unique'])) { checked('1', $usp_options['titles_unique']); } ?> />
844
+ <span class="mm-item-caption"><?php esc_html_e('Require submitted post titles to be unique (useful for preventing multiple/duplicate submitted posts).', 'usp'); ?></span></td>
845
+ </tr>
846
+ <tr>
847
+ <th scope="row"><label class="description" for="usp_options[disable_required]"><?php esc_html_e('Disable Required', 'usp'); ?></label></th>
848
+ <td><input type="checkbox" value="1" name="usp_options[disable_required]" <?php if (isset($usp_options['disable_required'])) { checked('1', $usp_options['disable_required']); } ?> />
849
+ <span class="mm-item-caption"><?php esc_html_e('Disable all required attributes on default form fields (useful for troubleshooting error messages).', 'usp'); ?></span></td>
850
+ </tr>
851
+ <tr>
852
+ <th scope="row"><label class="description" for="usp_options[disable_ip_tracking]"><?php esc_html_e('Disable IP Tracking', 'usp'); ?></label></th>
853
+ <td><input type="checkbox" value="1" name="usp_options[disable_ip_tracking]" <?php if (isset($usp_options['disable_ip_tracking'])) { checked('1', $usp_options['disable_ip_tracking']); } ?> />
854
+ <span class="mm-item-caption"><?php esc_html_e('By default USP records the IP address with each submitted post. Check this box to disable all IP tracking.', 'usp'); ?></span></td>
855
+ </tr>
856
+ <tr>
857
+ <th scope="row"><label class="description" for="usp_options[enable_shortcodes]"><?php esc_html_e('Enable Shortcodes', 'usp'); ?></label></th>
858
+ <td><input name="usp_options[enable_shortcodes]" type="checkbox" value="1" <?php if (isset($usp_options['enable_shortcodes'])) checked('1', $usp_options['enable_shortcodes']); ?> />
859
+ <span class="mm-item-caption"><?php esc_html_e('Enable shortcodes in widgets. By default, WordPress does not enable shortcodes in widgets. ', 'usp'); ?>
860
+ <?php esc_html_e('This setting enables any/all shortcodes in widgets (even shortcodes from other plugins).', 'usp'); ?></span></td>
861
+ </tr>
862
+ </table>
863
+ </div>
864
+
865
+ <h3><?php esc_html_e('Categories', 'usp'); ?></h3>
866
+
867
+ <div class="mm-table-wrap">
868
+ <table class="widefat mm-table">
869
+ <tr>
870
+ <th scope="row"><label class="description"><?php esc_html_e('Categories', 'usp'); ?></label></th>
871
+ <td>
872
+ <div class="mm-item-desc">
873
+ <a href="#" class="usp-cat-toggle-link"><?php esc_html_e('Select which categories may be assigned to submitted posts (click to toggle)', 'usp'); ?></a>
874
+ </div>
875
+ <div class="usp-cat-toggle-div default-hidden">
876
+
877
+ <?php $categories = get_categories(array('hide_empty' => 0)); foreach($categories as $category) : ?>
878
+ <div class="mm-radio-inputs">
879
+ <label class="description">
880
+ <input <?php checked(true, in_array($category->term_id, $usp_options['categories'])); ?> type="checkbox" name="usp_options[categories][]" value="<?php echo $category->term_id; ?>" />
881
+ <span><?php echo sanitize_text_field($category->name); ?></span>
882
+ </label>
883
+ </div>
884
+ <?php endforeach; ?>
885
+
886
+ </div>
887
+ </td>
888
+ </tr>
889
+ <tr>
890
+ <th scope="row"><label class="description" for="usp_options[usp_use_cat]"><?php esc_html_e('Hidden/Default Category', 'usp'); ?></label></th>
891
+ <td><input type="checkbox" value="1" name="usp_options[usp_use_cat]" <?php if (isset($usp_options['usp_use_cat'])) { checked('1', $usp_options['usp_use_cat']); } ?> />
892
+ <span class="mm-item-caption"><?php esc_html_e('Use a hidden field for the post category. This may be used to specify a default category when the category field is disabled.', 'usp'); ?></span></td>
893
+ </tr>
894
+ <tr>
895
+ <th scope="row"><label class="description" for="usp_options[usp_use_cat_id]"><?php esc_html_e('Category ID for Hidden Field', 'usp'); ?></label></th>
896
+ <td><input class="input-short" type="text" size="45" maxlength="100" name="usp_options[usp_use_cat_id]" value="<?php echo esc_attr($usp_options['usp_use_cat_id']); ?>" />
897
+ <span class="mm-item-caption"><?php esc_html_e('Specify the ID of the category to use for the &ldquo;Hidden/Default Category&rdquo; option.', 'usp'); ?></span></td>
898
+ </tr>
899
+ </table>
900
+ </div>
901
+
902
+ <h3><?php esc_html_e('Users', 'usp'); ?></h3>
903
+
904
+ <div class="mm-table-wrap">
905
+ <table class="widefat mm-table">
906
+ <tr>
907
+ <th scope="row"><label class="description" for="usp_options[author]"><?php esc_html_e('Assigned Author', 'usp'); ?></label></th>
908
+ <td>
909
+ <select id="usp_options[author]" name="usp_options[author]">
910
+
911
+ <?php $allAuthors = $wpdb->get_results("SELECT ID, display_name FROM {$wpdb->users}"); foreach($allAuthors as $author) : ?>
912
+ <option <?php selected($usp_options['author'], $author->ID); ?> value="<?php echo $author->ID; ?>"><?php echo $author->display_name; ?></option>
913
+ <?php endforeach; ?>
914
+
915
+ </select>
916
+ <span class="mm-item-caption"><?php esc_html_e('Specify the user that should be assigned as author for user-submitted posts.', 'usp'); ?></span>
917
+ </td>
918
+ </tr>
919
+ <tr>
920
+ <th scope="row"><label class="description" for="usp_options[usp_use_author]"><?php esc_html_e('Registered Username', 'usp'); ?></label></th>
921
+ <td><input type="checkbox" value="1" name="usp_options[usp_use_author]" <?php if (isset($usp_options['usp_use_author'])) { checked('1', $usp_options['usp_use_author']); } ?> />
922
+ <span class="mm-item-caption"><?php esc_html_e('Use registered username as post author. Valid when the person submitting the form is logged in to WordPress.', 'usp'); ?></span></td>
923
+ </tr>
924
+ <tr>
925
+ <th scope="row"><label class="description" for="usp_options[usp_use_url]"><?php esc_html_e('User Profile URL', 'usp'); ?></label></th>
926
+ <td><input type="checkbox" value="1" name="usp_options[usp_use_url]" <?php if (isset($usp_options['usp_use_url'])) { checked('1', $usp_options['usp_use_url']); } ?> />
927
+ <span class="mm-item-caption"><?php esc_html_e('Use registered user&rsquo;s Profile URL as the value of the URL field. Valid when the person submitting the form is logged in to WordPress.', 'usp'); ?></span></td>
928
+ </tr>
929
+ <tr>
930
+ <th scope="row"><label class="description" for="usp_options[logged_in_users]"><?php esc_html_e('Require User Login', 'usp'); ?></label></th>
931
+ <td><input type="checkbox" value="1" name="usp_options[logged_in_users]" <?php if (isset($usp_options['logged_in_users'])) { checked('1', $usp_options['logged_in_users']); } ?> />
932
+ <span class="mm-item-caption"><?php esc_html_e('Require users to be logged in to WordPress to view/submit the form', 'usp'); ?></span></td>
933
+ </tr>
934
+ </table>
935
+ </div>
936
+
937
+ <h3 id="usp-challenge-question"><?php esc_html_e('Challenge Question', 'usp'); ?></h3>
938
+
939
+ <div class="mm-table-wrap">
940
+ <table class="widefat mm-table">
941
+ <tr>
942
+ <th scope="row"><label class="description" for="usp_options[usp_question]"><?php esc_html_e('Challenge Question', 'usp'); ?></label></th>
943
+ <td><input type="text" size="45" name="usp_options[usp_question]" value="<?php echo esc_attr($usp_options['usp_question']); ?>" />
944
+ <div class="mm-item-caption"><?php esc_html_e('To prevent spam, enter a question that users must answer before submitting the form.', 'usp'); ?></div></td>
945
+ </tr>
946
+ <tr>
947
+ <th scope="row"><label class="description" for="usp_options[usp_response]"><?php esc_html_e('Challenge Response', 'usp'); ?></label></th>
948
+ <td><input type="text" size="45" name="usp_options[usp_response]" value="<?php echo esc_attr($usp_options['usp_response']); ?>" />
949
+ <div class="mm-item-caption"><?php esc_html_e('Enter the *only* correct answer to the challenge question.', 'usp'); ?></div></td>
950
+ </tr>
951
+ <tr>
952
+ <th scope="row"><label class="description" for="usp_options[usp_casing]"><?php esc_html_e('Case-sensitivity', 'usp'); ?></label></th>
953
+ <td><input type="checkbox" value="1" name="usp_options[usp_casing]" <?php if (isset($usp_options['usp_casing'])) { checked('1', $usp_options['usp_casing']); } ?> />
954
+ <span class="mm-item-caption"><?php esc_html_e('Check this box if you want the challenge response to be case-sensitive.', 'usp'); ?></span></td>
955
+ </tr>
956
+ </table>
957
+ </div>
958
+
959
+ <h3 id="usp-recaptcha"><?php esc_html_e('Google reCAPTCHA', 'usp'); ?></h3>
960
+ <p><?php esc_html_e('To enable Google reCAPTCHA, enter your public and private keys.', 'usp'); ?></p>
961
+
962
+ <div class="mm-table-wrap">
963
+ <table class="widefat mm-table">
964
+ <tr>
965
+ <th scope="row"><label class="description" for="usp_options[recaptcha_public]"><?php esc_html_e('Public Key', 'usp'); ?></label></th>
966
+ <td><input type="text" size="45" name="usp_options[recaptcha_public]" value="<?php echo esc_attr($usp_options['recaptcha_public']); ?>" />
967
+ <div class="mm-item-caption"><?php esc_html_e('Enter your Public Key', 'usp'); ?></div></td>
968
+ </tr>
969
+ <tr>
970
+ <th scope="row"><label class="description" for="usp_options[recaptcha_private]"><?php esc_html_e('Private Key', 'usp'); ?></label></th>
971
+ <td><input type="text" size="45" name="usp_options[recaptcha_private]" value="<?php echo esc_attr($usp_options['recaptcha_private']); ?>" />
972
+ <div class="mm-item-caption"><?php esc_html_e('Enter your Private Key', 'usp'); ?></div></td>
973
+ </tr>
974
+ </table>
975
+ </div>
976
+
977
+ <h3><?php esc_html_e('Email Alerts', 'usp'); ?></h3>
978
+
979
+ <div class="mm-table-wrap">
980
+ <table class="widefat mm-table">
981
+ <tr>
982
+ <th scope="row"><label class="description" for="usp_options[usp_email_alerts]"><?php esc_html_e('Receive Email Alert', 'usp'); ?></label></th>
983
+ <td><input type="checkbox" value="1" name="usp_options[usp_email_alerts]" <?php if (isset($usp_options['usp_email_alerts'])) { checked('1', $usp_options['usp_email_alerts']); } ?> />
984
+ <span class="mm-item-caption"><?php esc_html_e('Check this box if you want to be notified via email for new post submissions.', 'usp'); ?></span></td>
985
+ </tr>
986
+ <tr>
987
+ <th scope="row"><label class="description" for="usp_options[usp_email_html]"><?php esc_html_e('Enable HTML Format', 'usp'); ?></label></th>
988
+ <td><input type="checkbox" value="1" name="usp_options[usp_email_html]" <?php if (isset($usp_options['usp_email_html'])) { checked('1', $usp_options['usp_email_html']); } ?> />
989
+ <span class="mm-item-caption"><?php esc_html_e('Check this box to enable HTML format for email alerts.', 'usp'); ?></span></td>
990
+ </tr>
991
+ <tr>
992
+ <th scope="row"><label class="description" for="usp_options[usp_email_address]"><?php esc_html_e('Email Address for Alerts', 'usp'); ?></label></th>
993
+ <td><input type="text" size="45" maxlength="200" name="usp_options[usp_email_address]" value="<?php echo esc_attr($usp_options['usp_email_address']); ?>" />
994
+ <div class="mm-item-caption"><?php esc_html_e('If you checked the box to receive email alerts, indicate here the address(es) to which the emails should be sent.', 'usp'); ?>
995
+ <?php esc_html_e('Multiple recipients may be included using a comma, like so:', 'usp'); ?> <code>email1@example.com</code>, <code>email2@example.com</code>, <code>email3@example.com</code></div></td>
996
+ </tr>
997
+ <tr>
998
+ <th scope="row"><label class="description" for="usp_options[usp_email_from]"><?php esc_html_e('Email &ldquo;From&rdquo; Address', 'usp'); ?></label></th>
999
+ <td><input type="text" size="45" maxlength="200" name="usp_options[usp_email_from]" value="<?php echo esc_attr($usp_options['usp_email_from']); ?>" />
1000
+ <div class="mm-item-caption"><?php esc_html_e('Here you may customize the address(es) used for the &ldquo;From&rdquo; header (see plugin FAQs for info). ', 'usp'); ?>
1001
+ <?php esc_html_e('If multiple addresses are specified in the previous setting, include an equal number of &ldquo;From&rdquo; addresses for this setting (in the same order).', 'usp'); ?></div></td>
1002
+ </tr>
1003
+ <tr>
1004
+ <th scope="row"><label class="description" for="usp_options[email_alert_subject]"><?php esc_html_e('Email Alert Subject', 'usp'); ?></label></th>
1005
+ <td><input type="text" size="45" name="usp_options[email_alert_subject]" value="<?php echo esc_attr($usp_options['email_alert_subject']); ?>" />
1006
+ <div class="mm-item-caption"><?php esc_html_e('Subject line for email alerts. Leave blank to use the default subject line. Note: you can use the following variables: ', 'usp'); ?>
1007
+ <code>%%post_title%%</code>, <code>%%admin_url%%</code>, <code>%%blog_name%%</code>, <code>%%post_url%%</code>, <code>%%blog_url%%</code></div></td>
1008
+ </tr>
1009
+ <tr>
1010
+ <th scope="row"><label class="description" for="usp_options[email_alert_message]"><?php esc_html_e('Email Alert Message', 'usp'); ?></label></th>
1011
+ <td><textarea class="textarea" rows="3" cols="50" name="usp_options[email_alert_message]"><?php echo esc_attr($usp_options['email_alert_message']); ?></textarea>
1012
+ <div class="mm-item-caption"><?php esc_html_e('Message for email alerts. Leave blank to use the default message. Note: you can use the following variables: ', 'usp'); ?>
1013
+ <code>%%post_title%%</code>, <code>%%admin_url%%</code>, <code>%%blog_name%%</code>, <code>%%post_url%%</code>, <code>%%blog_url%%</code></div></td>
1014
+ </tr>
1015
+ </table>
1016
+ </div>
1017
+
1018
+ <h3 id="usp-image-uploads"><?php esc_html_e('Image Uploads', 'usp'); ?></h3>
1019
+
1020
+ <div class="mm-table-wrap">
1021
+ <table class="widefat mm-table">
1022
+ <tr>
1023
+ <th scope="row"><label class="description" for="usp_options[usp_featured_images]"><?php esc_html_e('Featured Image', 'usp'); ?></label></th>
1024
+ <td><input type="checkbox" value="1" name="usp_options[usp_featured_images]" <?php if (isset($usp_options['usp_featured_images'])) { checked('1', $usp_options['usp_featured_images']); } ?> />
1025
+ <span class="mm-item-caption"><?php esc_html_e('Set submitted images as Featured Images. Requires theme support for Featured Images (aka Post Thumbnails).', 'usp'); ?></span></td>
1026
+ </tr>
1027
+ <tr>
1028
+ <th scope="row"><label class="description" for="usp_options[upload-message]"><?php esc_html_e('Upload Message', 'usp'); ?></label></th>
1029
+ <td><textarea class="textarea" rows="3" cols="50" name="usp_options[upload-message]"><?php echo esc_attr($usp_options['upload-message']); ?></textarea>
1030
+ <div class="mm-item-caption"><?php esc_html_e('Message that appears next to the upload field. Useful for stating your upload guidelines/policy/etc. Basic markup allowed.', 'usp'); ?></div></td>
1031
+ </tr>
1032
+ <tr>
1033
+ <th scope="row"><label class="description" for="usp_options[usp_add_another]"><?php esc_html_e('&ldquo;Add another image&rdquo; link', 'usp'); ?></label></th>
1034
+ <td><textarea class="textarea" rows="3" cols="50" name="usp_options[usp_add_another]"><?php echo esc_attr($usp_options['usp_add_another']); ?></textarea>
1035
+ <div class="mm-item-caption"><?php esc_html_e('Custom markup for the &ldquo;Add another image&rdquo; link. Leave blank to use the default markup (recommended).', 'usp'); ?></div></td>
1036
+ </tr>
1037
+ <tr>
1038
+ <th scope="row"><label class="description" for="usp_options[min-images]"><?php esc_html_e('Minimum number of images', 'usp'); ?></label></th>
1039
+ <td>
1040
+ <input name="usp_options[min-images]" type="number" step="1" min="0" max="999" maxlength="3" value="<?php echo $usp_options['min-images']; ?>" />
1041
+ <span class="mm-item-caption"><?php esc_html_e('Specify the minimum number of images.', 'usp'); ?></span>
1042
+ </td>
1043
+ </tr>
1044
+ <tr>
1045
+ <th scope="row"><label class="description" for="usp_options[max-images]"><?php esc_html_e('Maximum number of images', 'usp'); ?></label></th>
1046
+ <td>
1047
+ <input name="usp_options[max-images]" type="number" step="1" min="0" max="999" maxlength="3" value="<?php echo $usp_options['max-images']; ?>" />
1048
+ <span class="mm-item-caption"><?php esc_html_e('Specify the maximum number of images.', 'usp'); ?></span>
1049
+ </td>
1050
+ </tr>
1051
+ <tr>
1052
+ <th scope="row"><label class="description" for="usp_options[min-image-width]"><?php esc_html_e('Minimum image width', 'usp'); ?></label></th>
1053
+ <td><input class="input-short" type="text" size="5" maxlength="100" name="usp_options[min-image-width]" value="<?php echo esc_attr($usp_options['min-image-width']); ?>" />
1054
+ <span class="mm-item-caption"><?php esc_html_e('Specify a minimum width (in pixels) for uploaded images.', 'usp'); ?></span></td>
1055
+ </tr>
1056
+ <tr>
1057
+ <th scope="row"><label class="description" for="usp_options[min-image-height]"><?php esc_html_e('Minimum image height', 'usp'); ?></label></th>
1058
+ <td><input class="input-short" type="text" size="5" maxlength="100" name="usp_options[min-image-height]" value="<?php echo esc_attr($usp_options['min-image-height']); ?>" />
1059
+ <span class="mm-item-caption"><?php esc_html_e('Specify a minimum height (in pixels) for uploaded images.', 'usp'); ?></span></td>
1060
+ </tr>
1061
+ <tr>
1062
+ <th scope="row"><label class="description" for="usp_options[max-image-width]"><?php esc_html_e('Maximum image width', 'usp'); ?></label></th>
1063
+ <td><input class="input-short" type="text" size="5" maxlength="100" name="usp_options[max-image-width]" value="<?php echo esc_attr($usp_options['max-image-width']); ?>" />
1064
+ <span class="mm-item-caption"><?php esc_html_e('Specify a maximum width (in pixels) for uploaded images.', 'usp'); ?></span></td>
1065
+ </tr>
1066
+ <tr>
1067
+ <th scope="row"><label class="description" for="usp_options[max-image-height]"><?php esc_html_e('Maximum image height', 'usp'); ?></label></th>
1068
+ <td><input class="input-short" type="text" size="5" maxlength="100" name="usp_options[max-image-height]" value="<?php echo esc_attr($usp_options['max-image-height']); ?>" />
1069
+ <span class="mm-item-caption"><?php esc_html_e('Specify a maximum height (in pixels) for uploaded images.', 'usp'); ?></span></td>
1070
+ </tr>
1071
+ <tr>
1072
+ <th scope="row"><label class="description"><?php esc_html_e('More Options', 'usp'); ?></label></th>
1073
+ <td>
1074
+ <span class="mm-item-caption">
1075
+ <?php esc_html_e('For more options, like the ability to upload other file types (like PDF, Word, Zip, videos, and more), check out', 'usp'); ?>
1076
+ <a target="_blank" href="https://plugin-planet.com/usp-pro/" title="<?php esc_attr__('Go Pro!', 'usp'); ?>"><?php esc_html_e('USP Pro', 'usp'); ?>&nbsp;&raquo;</a>
1077
+ </span>
1078
+ </td>
1079
+ </tr>
1080
+ </table>
1081
+ </div>
1082
+
1083
+ <h3><?php esc_html_e('Auto-Display Content', 'usp'); ?></h3>
1084
+
1085
+ <div class="mm-table-wrap">
1086
+ <table class="widefat mm-table">
1087
+ <tr>
1088
+ <th scope="row"><label class="description" for="usp_options[auto_display_images]"><?php esc_html_e('Images Auto-Display', 'usp'); ?></label></th>
1089
+ <td>
1090
+ <span class="mm-item-desc"><?php esc_html_e('Auto-display user-submitted images:', 'usp'); ?></span>
1091
+ <?php usp_auto_display_options('images') ; ?>
1092
+ </td>
1093
+ </tr>
1094
+ <tr>
1095
+ <th scope="row"><label class="description" for="usp_options[auto_image_markup]"><?php esc_html_e('Image Markup', 'usp'); ?></label></th>
1096
+ <td><textarea class="textarea" rows="3" cols="50" name="usp_options[auto_image_markup]"><?php echo esc_attr($usp_options['auto_image_markup']); ?></textarea>
1097
+ <div class="mm-item-caption"><?php esc_html_e('Markup to use for each submitted image (when auto-display is enabled). Can use', 'usp'); ?>
1098
+ <code>%%width%%</code>, <code>%%height%%</code>, <code>%%thumb%%</code>, <code>%%medium%%</code>, <code>%%large%%</code>,
1099
+ <code>%%full%%</code>, <code>%%custom%%</code>, <code>%%title%%</code>, <?php esc_html_e('and', 'usp'); ?> <code>%%title_parent%%</code>.</div></td>
1100
+ </tr>
1101
+ <tr>
1102
+ <th scope="row"><label class="description" for="usp_options[auto_display_email]"><?php esc_html_e('Email Auto-Display', 'usp'); ?></label></th>
1103
+ <td>
1104
+ <span class="mm-item-desc"><?php esc_html_e('Auto-display user-submitted email:', 'usp'); ?></span>
1105
+ <?php usp_auto_display_options('email') ; ?>
1106
+ </td>
1107
+ </tr>
1108
+ <tr>
1109
+ <th scope="row"><label class="description" for="usp_options[auto_email_markup]"><?php esc_html_e('Email Markup', 'usp'); ?></label></th>
1110
+ <td><textarea class="textarea" rows="3" cols="50" name="usp_options[auto_email_markup]"><?php echo esc_attr($usp_options['auto_email_markup']); ?></textarea>
1111
+ <div class="mm-item-caption"><?php esc_html_e('Markup to use for the submitted email address (when auto-display is enabled). Can use', 'usp'); ?>
1112
+ <code>%%email%%</code> <?php esc_html_e('and', 'usp'); ?> <code>%%title%%</code>.</div></td>
1113
+ </tr>
1114
+ <tr>
1115
+ <th scope="row"><label class="description" for="usp_options[auto_display_url]"><?php esc_html_e('URL Auto-Display', 'usp'); ?></label></th>
1116
+ <td>
1117
+ <span class="mm-item-desc"><?php esc_html_e('Auto-display user-submitted URL:', 'usp'); ?></span>
1118
+ <?php usp_auto_display_options('url') ; ?>
1119
+ </td>
1120
+ </tr>
1121
+ <tr>
1122
+ <th scope="row"><label class="description" for="usp_options[auto_url_markup]"><?php esc_html_e('URL Markup', 'usp'); ?></label></th>
1123
+ <td><textarea class="textarea" rows="3" cols="50" name="usp_options[auto_url_markup]"><?php echo esc_attr($usp_options['auto_url_markup']); ?></textarea>
1124
+ <div class="mm-item-caption"><?php esc_html_e('Markup to use for the submitted URL (when auto-display is enabled). Can use', 'usp'); ?>
1125
+ <code>%%url%%</code> <?php esc_html_e('and', 'usp'); ?> <code>%%title%%</code>.</div></td>
1126
+ </tr>
1127
+ </table>
1128
+ </div>
1129
+
1130
+ <input type="submit" class="button-primary" value="<?php esc_attr_e('Save Settings', 'usp'); ?>" />
1131
+ </div>
1132
+ </div>
1133
+
1134
+ <div id="mm-restore-settings" class="postbox">
1135
+ <h2><?php esc_html_e('Restore Defaults', 'usp'); ?></h2>
1136
+ <div class="toggle<?php if (!isset($_GET['settings-updated'])) { echo ' default-hidden'; } ?>">
1137
+ <p>
1138
+ <input name="usp_options[default_options]" type="checkbox" value="1" id="mm_restore_defaults" <?php if (isset($usp_options['default_options'])) { checked('1', $usp_options['default_options']); } ?> />
1139
+ <label class="description" for="usp_options[default_options]"><?php esc_html_e('Restore default options upon plugin deactivation/reactivation.', 'usp'); ?></label>
1140
+ </p>
1141
+ <p>
1142
+ <small>
1143
+ <strong><?php esc_html_e('Tip:', 'usp'); ?></strong>
1144
+ <?php esc_html_e('leave this option unchecked to remember your settings.', 'usp'); ?>
1145
+ <?php esc_html_e('Or, to go ahead and restore all default options, check the box, save your settings, and then deactivate/reactivate the plugin.', 'usp'); ?>
1146
+ </small>
1147
+ </p>
1148
+ <input type="submit" class="button-primary" value="<?php esc_attr_e('Save Settings', 'usp'); ?>" />
1149
+ </div>
1150
+ </div>
1151
+
1152
+ <div id="mm-panel-secondary" class="postbox">
1153
+ <h2><?php esc_html_e('Shortcode &amp; Template Tag', 'usp'); ?></h2>
1154
+ <div class="toggle default-hidden">
1155
+
1156
+ <p><?php esc_html_e('To implement USP, first configure the plugin settings, then use the shortcode or template to display the form on the front-end as desired.', 'usp'); ?></p>
1157
+
1158
+ <h3><?php esc_html_e('Shortcode', 'usp'); ?></h3>
1159
+ <p><?php esc_html_e('Use this shortcode to display the USP Form on any WP Post or Page:', 'usp'); ?></p>
1160
+ <p><code class="mm-code">[user-submitted-posts]</code></p>
1161
+
1162
+ <h3><?php esc_html_e('Template tag', 'usp'); ?></h3>
1163
+ <p><?php esc_html_e('Use this template tag to display the USP Form anywhere in your theme template:', 'usp'); ?></p>
1164
+ <p><code class="mm-code">&lt;?php if (function_exists('user_submitted_posts')) user_submitted_posts(); ?&gt;</code></p>
1165
+ </div>
1166
+ </div>
1167
+
1168
+ <div id="mm-panel-current" class="postbox">
1169
+ <h2><?php esc_html_e('Show Support', 'usp'); ?></h2>
1170
+ <div class="toggle">
1171
+ <div id="mm-iframe-wrap">
1172
+ <iframe src="https://perishablepress.com/current/data.php?current=usp"></iframe>
1173
+ </div>
1174
+ </div>
1175
+ </div>
1176
+
1177
+ </div>
1178
+ </div>
1179
+
1180
+ <div id="mm-credit-info">
1181
+ <a target="_blank" href="https://perishablepress.com/user-submitted-posts/" title="<?php esc_attr_e('Plugin Homepage', 'usp'); ?>"><?php echo USP_PLUGIN; ?></a> <?php esc_html_e('by', 'usp'); ?>
1182
+ <a target="_blank" href="https://twitter.com/perishable" title="<?php esc_attr_e('Jeff Starr on Twitter', 'usp'); ?>">Jeff Starr</a> @
1183
+ <a target="_blank" href="https://monzillamedia.com/" title="<?php esc_attr_e('Obsessive Web Design &amp; Development', 'usp'); ?>">Monzilla Media</a>
1184
+ </div>
1185
+ </form>
1186
+ </div>
1187
+
1188
+ <script type="text/javascript">
1189
+ jQuery(document).ready(function($){
1190
+
1191
+ // dismiss alert
1192
+ if (!$('.dismiss-alert-wrap input').is(':checked')){
1193
+ $('.dismiss-alert-wrap input').one('click', function(){
1194
+ $('.dismiss-alert-wrap').after('<input type="submit" class="button-secondary" value="<?php esc_attr_e('Save Preference', 'usp'); ?>" />');
1195
+ });
1196
+ }
1197
+
1198
+ // prevent accidents
1199
+ if (!$("#mm_restore_defaults").is(":checked")){
1200
+ $('#mm_restore_defaults').click(function(event){
1201
+ var r = confirm("<?php esc_html_e('Are you sure you want to restore all default options? (this action cannot be undone)', 'usp'); ?>");
1202
+ if (r == true) $("#mm_restore_defaults").attr('checked', true);
1203
+ else $("#mm_restore_defaults").attr('checked', false);
1204
+ });
1205
+ }
1206
+
1207
+ });
1208
+ </script>
1209
+
1210
+ <?php }
1211
+
1212
+
library/recaptchalib_v2.php ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This is a PHP library that handles calling reCAPTCHA.
4
+ * - Documentation and latest version
5
+ * https://developers.google.com/recaptcha/docs/php
6
+ * - Get a reCAPTCHA API Key
7
+ * https://www.google.com/recaptcha/admin/create
8
+ * - Discussion group
9
+ * http://groups.google.com/group/recaptcha
10
+ *
11
+ * @copyright Copyright (c) 2014, Google Inc.
12
+ * @link http://www.google.com/recaptcha
13
+ *
14
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ * of this software and associated documentation files (the "Software"), to deal
16
+ * in the Software without restriction, including without limitation the rights
17
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ * copies of the Software, and to permit persons to whom the Software is
19
+ * furnished to do so, subject to the following conditions:
20
+ *
21
+ * The above copyright notice and this permission notice shall be included in
22
+ * all copies or substantial portions of the Software.
23
+ *
24
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
30
+ * THE SOFTWARE.
31
+ */
32
+
33
+ /*
34
+
35
+ Note: changed constructor name from ReCaptcha to __construct.
36
+
37
+ */
38
+
39
+ /**
40
+ * A ReCaptchaResponse is returned from checkAnswer().
41
+ */
42
+ class ReCaptchaResponse
43
+ {
44
+ public $success;
45
+ public $errorCodes;
46
+ }
47
+
48
+ class ReCaptcha
49
+ {
50
+ private static $_signupUrl = "https://www.google.com/recaptcha/admin";
51
+ private static $_siteVerifyUrl = "https://www.google.com/recaptcha/api/siteverify?";
52
+ private $_secret;
53
+ private static $_version = "php_1.0";
54
+
55
+ /**
56
+ * Constructor.
57
+ *
58
+ * @param string $secret shared secret between site and ReCAPTCHA server.
59
+ */
60
+ function __construct($secret)
61
+ {
62
+ if ($secret == null || $secret == "") {
63
+ die("To use reCAPTCHA you must get an API key from <a href='"
64
+ . self::$_signupUrl . "'>" . self::$_signupUrl . "</a>");
65
+ }
66
+ $this->_secret=$secret;
67
+ }
68
+
69
+ /**
70
+ * Encodes the given data into a query string format.
71
+ *
72
+ * @param array $data array of string elements to be encoded.
73
+ *
74
+ * @return string - encoded request.
75
+ */
76
+ private function _encodeQS($data)
77
+ {
78
+ $req = "";
79
+ foreach ($data as $key => $value) {
80
+ $req .= $key . '=' . urlencode(stripslashes($value)) . '&';
81
+ }
82
+
83
+ // Cut the last '&'
84
+ $req=substr($req, 0, strlen($req)-1);
85
+ return $req;
86
+ }
87
+
88
+ /**
89
+ * Submits an HTTP GET to a reCAPTCHA server.
90
+ *
91
+ * @param string $path url path to recaptcha server.
92
+ * @param array $data array of parameters to be sent.
93
+ *
94
+ * @return array response
95
+ */
96
+ private function _submitHTTPGet($path, $data)
97
+ {
98
+ $req = $this->_encodeQS($data);
99
+ $response = file_get_contents($path . $req);
100
+ return $response;
101
+ }
102
+
103
+ /**
104
+ * Calls the reCAPTCHA siteverify API to verify whether the user passes
105
+ * CAPTCHA test.
106
+ *
107
+ * @param string $remoteIp IP address of end user.
108
+ * @param string $response response string from recaptcha verification.
109
+ *
110
+ * @return ReCaptchaResponse
111
+ */
112
+ public function verifyResponse($remoteIp, $response)
113
+ {
114
+ // Discard empty solution submissions
115
+ if ($response == null || strlen($response) == 0) {
116
+ $recaptchaResponse = new ReCaptchaResponse();
117
+ $recaptchaResponse->success = false;
118
+ $recaptchaResponse->errorCodes = 'missing-input';
119
+ return $recaptchaResponse;
120
+ }
121
+
122
+ $getResponse = $this->_submitHttpGet(
123
+ self::$_siteVerifyUrl,
124
+ array (
125
+ 'secret' => $this->_secret,
126
+ 'remoteip' => $remoteIp,
127
+ 'v' => self::$_version,
128
+ 'response' => $response
129
+ )
130
+ );
131
+ $answers = json_decode($getResponse, true);
132
+ $recaptchaResponse = new ReCaptchaResponse();
133
+
134
+ if (trim($answers ['success']) == true) {
135
+ $recaptchaResponse->success = true;
136
+ } else {
137
+ $recaptchaResponse->success = false;
138
+ $recaptchaResponse->errorCodes = $answers [error-codes];
139
+ }
140
+
141
+ return $recaptchaResponse;
142
+ }
143
+ }
library/template-tags.php ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php // User Submitted Posts - Template Tags
2
+
3
+ if (!defined('ABSPATH')) die();
4
+
5
+
6
+
7
+ /*
8
+ Returns a boolean value indicating whether the specified post is a public submission
9
+ Usage: <?php if (function_exists('usp_is_public_submission')) usp_is_public_submission(); ?>
10
+ */
11
+ function usp_is_public_submission($postId = false) {
12
+
13
+ global $post;
14
+
15
+ if (false === $postId) {
16
+
17
+ if ($post) $postId = $post->ID;
18
+
19
+ }
20
+
21
+ if (get_post_meta($postId, 'is_submission', true) == true) {
22
+
23
+ return true;
24
+
25
+ }
26
+
27
+ return false;
28
+
29
+ }
30
+
31
+
32
+
33
+ /*
34
+ Returns an array of URLs for the specified post image
35
+ Usage: <?php $images = usp_get_post_images(); foreach ($images as $image) { echo $image; } ?>
36
+ */
37
+ function usp_get_post_images($postId = false) {
38
+
39
+ global $post;
40
+
41
+ if (false === $postId) {
42
+
43
+ if ($post) $postId = $post->ID;
44
+
45
+ }
46
+
47
+ if (usp_is_public_submission($postId)) {
48
+
49
+ return get_post_meta($postId, 'user_submit_image');
50
+
51
+ }
52
+
53
+ return array();
54
+
55
+ }
56
+
57
+
58
+
59
+ /*
60
+ Prints the URLs for all post attachments.
61
+ Usage: <?php if (function_exists('usp_post_attachments')) usp_post_attachments(); ?>
62
+ Syntax: <?php if (function_exists('usp_post_attachments')) usp_post_attachments($size, $beforeUrl, $afterUrl, $numberImages, $postId); ?>
63
+ Parameters:
64
+ $size = image size as thumbnail, medium, large or full -> default = full
65
+ $beforeUrl = text/markup displayed before the image URL -> default = <img src="
66
+ $afterUrl = text/markup displayed after the image URL -> default = " />
67
+ $numberImages = the number of images to display for each post -> default = false (display all)
68
+ $postId = an optional post ID to use -> default = uses global post
69
+ */
70
+ function usp_post_attachments($size = 'full', $beforeUrl = '<img src="', $afterUrl = '" />', $numberImages = false, $postId = false) {
71
+
72
+ global $post;
73
+
74
+ if (false === $postId) {
75
+
76
+ if ($post) $postId = $post->ID;
77
+
78
+ }
79
+
80
+ if (false === $numberImages || !is_numeric($numberImages)) {
81
+
82
+ $numberImages = 99;
83
+
84
+ }
85
+
86
+ $args = array(
87
+ 'post_type' => 'attachment',
88
+ 'post_parent' => $postId,
89
+ 'post_status' => 'inherit',
90
+ 'numberposts' => $numberImages
91
+ );
92
+
93
+ $attachments = get_posts($args);
94
+
95
+ foreach ($attachments as $attachment) {
96
+
97
+ $info = wp_get_attachment_image_src($attachment->ID, $size);
98
+
99
+ echo $beforeUrl . $info[0] . $afterUrl;
100
+
101
+ }
102
+
103
+ }
104
+
105
+
106
+
107
+ /*
108
+ For public-submitted posts, this tag displays the author's name as a link (if URL provided) or plain text (if URL not provided)
109
+ For normal posts, this tag displays the author's name as a link to their author's post page
110
+ Usage: <?php if (function_exists('usp_author_link')) usp_author_link(); ?>
111
+ */
112
+ function usp_author_link() {
113
+
114
+ global $post;
115
+
116
+ $isSubmission = get_post_meta($post->ID, 'is_submission', true);
117
+ $submissionAuthor = get_post_meta($post->ID, 'user_submit_name', true);
118
+ $submissionLink = get_post_meta($post->ID, 'user_submit_url', true);
119
+
120
+ if ($isSubmission && !empty($submissionAuthor)) {
121
+
122
+ if (empty($submissionLink)) {
123
+
124
+ echo '<span class="usp-author-link">' . $submissionAuthor . '</span>';
125
+
126
+ } else {
127
+
128
+ echo '<span class="usp-author-link"><a href="' . $submissionLink . '">' . $submissionAuthor . '</a></span>';
129
+
130
+ }
131
+
132
+ } else {
133
+
134
+ the_author_posts_link();
135
+
136
+ }
137
+
138
+ }
139
+
140
+
141
+
142
+ /*
143
+ Displays a list of all user submitted posts
144
+ Bonus: includes any posts submitted by the Pro version of USP :)
145
+ Shortcode:
146
+ [usp_display_posts userid="1"] : displays all submitted posts by registered user with ID = 1
147
+ [usp_display_posts userid="Pat Smith"] : displays all submitted posts by author name "Pat Smith"
148
+ [usp_display_posts userid="all"] : displays all submitted posts by all users/authors
149
+ [usp_display_posts userid="all" numposts="5"] : limit to 5 posts
150
+
151
+ Note that the Pro version of USP provides many more options for the display-posts shortcode:
152
+
153
+ https://plugin-planet.com/usp-pro-display-list-submitted-posts/
154
+
155
+ */
156
+ function usp_display_posts($attr, $content = null) {
157
+
158
+ global $post;
159
+
160
+ extract(shortcode_atts(array(
161
+
162
+ 'userid' => 'all',
163
+ 'numposts' => -1
164
+
165
+ ), $attr));
166
+
167
+ if (ctype_digit($userid)) {
168
+
169
+ $args = array(
170
+ 'author' => $userid,
171
+ 'posts_per_page' => $numposts,
172
+ 'meta_key' => 'is_submission',
173
+ 'meta_value' => '1'
174
+ );
175
+
176
+ } elseif ($userid === 'all') {
177
+
178
+ $args = array(
179
+ 'posts_per_page' => $numposts,
180
+ 'meta_key' => 'is_submission',
181
+ 'meta_value' => '1'
182
+ );
183
+
184
+ } else {
185
+
186
+ $args = array(
187
+ 'posts_per_page' => $numposts,
188
+
189
+ 'meta_query' => array(
190
+
191
+ 'relation' => 'AND',
192
+
193
+ array(
194
+ 'key' => 'is_submission',
195
+ 'value' => '1'
196
+ ),
197
+ array(
198
+ 'key' => 'user_submit_name',
199
+ 'value' => $userid
200
+ )
201
+ )
202
+ );
203
+
204
+ }
205
+
206
+ $submitted_posts = get_posts($args);
207
+
208
+ $display_posts = '<ul>';
209
+
210
+ foreach ($submitted_posts as $post) {
211
+
212
+ setup_postdata($post);
213
+
214
+ $display_posts .= '<li><a href="'. get_the_permalink() .'" title="'. esc_attr__('View full post', 'usp') .'">'. get_the_title() .'</a></li>';
215
+
216
+ }
217
+
218
+ $display_posts .= '</ul>';
219
+
220
+ wp_reset_postdata();
221
+
222
+ return $display_posts;
223
+
224
+ }
225
+ add_shortcode('usp_display_posts', 'usp_display_posts');
226
+
227
+
readme.txt ADDED
@@ -0,0 +1,1012 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === User Submitted Posts ===
2
+
3
+ Plugin Name: User Submitted Posts
4
+ Plugin URI: https://perishablepress.com/user-submitted-posts/
5
+ Description: Enables your visitors to submit posts and images from anywhere on your site.
6
+ Tags: frontend, submission, publish, upload, share, community, content, custom fields, files, form, forms, front end, front-end, frontend content, frontend publishing, frontend uploader, generated, generated content, guest, images, login, post, posts, public, publishing, publishing, register, sharing, submit, submissions, submitted, uploader, user generated, user submit, user submitted, user-generated, user-submit, user-submitted, users, visitor
7
+ Author: Jeff Starr
8
+ Author URI: https://plugin-planet.com/
9
+ Donate link: https://m0n.co/donate
10
+ Contributors: specialk
11
+ Requires at least: 4.1
12
+ Tested up to: 4.8
13
+ Stable tag: 20170326
14
+ Version: 20170326
15
+ Text Domain: usp
16
+ Domain Path: /languages
17
+ License: GPL v2 or later
18
+
19
+ Easily submit posts and images from the front-end of your site.
20
+
21
+
22
+
23
+ == Description ==
24
+
25
+ **The #1 Plugin for User-Generated Content!**
26
+
27
+ User Submitted Posts (USP) adds a frontend form via template tag or shortcode that enables your visitors to submit posts and upload images. Just add the following shortcode to any Post, Page, or Widget:
28
+
29
+ `[user-submitted-posts]`
30
+
31
+ That's all there is to it! Your site now can accept user generated content. Everything is super easy to customize via Plugin Settings page.
32
+
33
+ The USP Form includes the following fields:
34
+
35
+ * Name
36
+ * URL
37
+ * Email
38
+ * Post Title
39
+ * Post Tags
40
+ * Anti-Spam/Captcha
41
+ * Post Category
42
+ * Post Content
43
+ * Image Upload
44
+
45
+ USP Form fields may be set as required, optional, or disabled. You can set the Post Status of submitted posts as "Draft", "Publish Immediately", or publish after some number of approved posts.
46
+
47
+ USP also enables users to upload multiple images when submitting a post. You control the min/max number of images and the min/max number of images that may be submitted.
48
+
49
+ *User Submitted Posts is the first and best plugin for front-end content!*
50
+
51
+
52
+ **Features**
53
+
54
+ * NEW! Google reCAPTCHA :)
55
+ * Let visitors submit posts from anywhere on your site
56
+ * Option to set submitted images as WP Featured Images
57
+ * NEW! Option to require users to be logged in to use the form
58
+ * Option to use WP's built-in rich text editor for post content
59
+ * Use template tag or shortcode to display USP form anywhere
60
+ * Stops spam via input validation, captcha, and hidden field
61
+ * Optionally include post author, title, tags, images, and more
62
+ * Redirect user to any URL or current page after post submission
63
+ * Includes template tags to display & customize submitted posts
64
+ * Display submission form via WP Text (and other) widgets
65
+ * Client-side validation with [Parsley](http://parsleyjs.org/)
66
+ * HTML5 submission form with streamlined CSS styles
67
+ * Option to require unique post titles
68
+ * Use your own custom form template and stylesheet
69
+ * 35 action/filter hooks for advanced customization
70
+ * Make form fields optional or required
71
+ * Auto Display Custom Fields and Images
72
+ * Shortcode to display all submitted posts
73
+
74
+ USP is simple to use and built with clean code via the WP API :)
75
+
76
+ **More Features**
77
+
78
+ * Translated into 10 languages
79
+ * Regularly updated to stay current with WordPress
80
+ * Option to receive email alerts for new submitted posts
81
+ * Option to set logged-in username as submitted-post author
82
+ * Option to set logged-in user&rsquo;s URL as the submitted URL
83
+ * Option to set a default submission category via hidden field
84
+ * Option to disable loading of external JavaScript file
85
+ * Option to specify URL for targeted resource loading
86
+ * Multiple emails supported in email alerts
87
+ * NEW! Option to disable tracking of IP addresses
88
+ * NEW! Option to specify custom email alert subject
89
+ * NEW! Option to specify custom email alert message
90
+
91
+
92
+ **Image Uploads**
93
+
94
+ * Optionally allow/require visitors to upload any number of images
95
+ * Specify minimum and maximum width and height for uploaded images
96
+ * Specify minimum and maximum allowed image uploads for each post
97
+ * Includes jQuery snippet for easy choosing of multiple images
98
+ * Automatically display submitted images
99
+
100
+
101
+ **Customization**
102
+
103
+ * Control which fields are displayed in the submission form
104
+ * Choose which categories users are allowed to select
105
+ * Assign submitted posts to any registered user
106
+ * Customizable success, error, and upload messages
107
+ * Plus options for the captcha, auto-publish, and redirect-URL
108
+ * Option to use classic form, HTML5 form, or disable only the stylesheet
109
+
110
+
111
+ **Post Management**
112
+
113
+ * Custom Fields saved w/ each post: name, IP, URL, and image URLs
114
+ * Set posts to any status: Draft, Pending, Publish, or Moderate
115
+ * One-click filtering of submitted posts on the Admin Posts page
116
+ * Includes template tags to display submitted images
117
+
118
+ Plus much more! Too many features to list them all :)
119
+
120
+ User Submitted Posts supports translation into any language. Current translations include:
121
+
122
+ * ar_AR : Arabic (Argentina)
123
+ * de_DE : German
124
+ * es_ES : Spanish (Spain)
125
+ * fa_IR : Persian
126
+ * fr_FR : French (France)
127
+ * it_IT : Italian
128
+ * nl_NL : Dutch
129
+ * pt_BR : Portuguese (Brazil)
130
+ * ro_RO : Romanian
131
+ * ru_RU : Russian
132
+ * sr_RS : Serbian
133
+ * zh_CN : Chinese (China)
134
+
135
+
136
+
137
+ **Pro Version**
138
+
139
+ **USP Pro** now available at [Plugin Planet](https://plugin-planet.com/usp-pro/)!
140
+
141
+ Pro version includes many, many more features and settings, with unlimited custom forms, infinite custom fields, multimedia file uploads, and much more. [Check it out &raquo;](https://plugin-planet.com/usp-pro/)
142
+
143
+
144
+
145
+ == Installation ==
146
+
147
+ **Installation**
148
+
149
+ 1. Upload the plugin to your blog and activate
150
+ 2. Visit the USP settings to configure your options
151
+
152
+ [More info on installing WP plugins](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins)
153
+
154
+
155
+ **Usage**
156
+
157
+ To display the form on any WP Post or Page, add the shortcode:
158
+
159
+ [user-submitted-posts]
160
+
161
+ Or, to display the form anywhere in your theme, add the template tag:
162
+
163
+ <?php if (function_exists('user_submitted_posts')) user_submitted_posts(); ?>
164
+
165
+
166
+ **Customizing the form**
167
+
168
+ There are three main ways of customizing the form:
169
+
170
+ * Plugin settings, you can show/hide fields, configure options, etc.
171
+ * Custom form template (see "Custom Submission Form" for more info)
172
+ * By using USP action/filter hooks (advanced)
173
+
174
+ USP Hooks:
175
+
176
+ `Filters:
177
+ usp_post_status
178
+ usp_post_author
179
+ usp_form_shortcode
180
+ usp_mail_subject
181
+ usp_mail_message
182
+ usp_new_post
183
+ usp_input_validate
184
+ usp_require_login
185
+ usp_default_title
186
+
187
+ Actions:
188
+ usp_submit_success
189
+ usp_submit_error
190
+ usp_insert_before
191
+ usp_insert_after
192
+ usp_files_before
193
+ usp_files_after`
194
+
195
+ Check out the [complete list of action hooks for User Submitted Posts](https://perishablepress.com/action-filter-hooks-user-submitted-posts/)
196
+
197
+ More info about [WordPress Actions and Filters](http://codex.wordpress.org/Plugin_API#Hooks.2C_Actions_and_Filters)
198
+
199
+
200
+ **Custom Submission Form**
201
+
202
+ Out of the box, User Submitted Posts provides a highly configurable submission form. Simply visit the plugin settings to control which fields are displayed, set the Challenge Question, configure submitted images, and much more.
203
+
204
+ There are situations, however, where advanced form configuration may be required. In order to allow for this, USP makes it possible to create a custom submission form. Here are the steps:
205
+
206
+ First, copy these two plugin files:
207
+
208
+ /user-submitted-posts/resources/usp.css
209
+ /user-submitted-posts/views/submission-form.php
210
+
211
+ Then, paste those two files into a directory named `/usp/` in your theme:
212
+
213
+ /wp-content/themes/your-theme/usp/usp.css
214
+ /wp-content/themes/your-theme/usp/submission-form.php
215
+
216
+ Lastly, visit the plugin settings and change "Form style" to "Custom Form + CSS". You now may customize the two files as desired; they will not be overwritten when the plugin is updated.
217
+
218
+ Alternately, you can set the option "Form style" to "HTML5 Form + Disable CSS" to use the default USP form along with your own CSS. FYI: here is a list of [USP CSS selectors](https://m0n.co/e).
219
+
220
+ Or, to go further with unlimited custom forms, [check out USP Pro](https://plugin-planet.com/usp-pro/) :)
221
+
222
+
223
+
224
+ **Displaying submitted posts**
225
+
226
+ User-submitted posts are handled by WordPress as regular Posts. So they are displayed along with other posts according to your WP Theme. Additionally, each submitted post includes a set of Custom Fields that include the following information:
227
+
228
+ * `is_submission` - indicates that the post is a user-submitted post
229
+ * `user_submit_image` - the URL of the submitted image (one custom field per image)
230
+ * `user_submit_ip` - the IP address of the submitted-post author
231
+ * `user_submit_name` - the name of the submitted-post author
232
+ * `user_submit_url` - the submitted URL
233
+
234
+ There are numerous ways to display these Custom Fields. The easiest way is to visit the plugin settings and configure the options available under "Auto-Display Content". There you can enable auto-display of submitted email address, URL, and images. Note that submitted images also are uploaded to the WP Media Library.
235
+
236
+ For more flexibility, you can use a variety of WP Template Tags (e.g., [get_post_meta()](https://codex.wordpress.org/Function_Reference/get_post_meta)) to display Custom Fields. Here are some tutorials for more information:
237
+
238
+ * [WordPress Custom Fields, Part I: The Basics](https://perishablepress.com/wordpress-custom-fields-tutorial/)
239
+ * [WordPress Custom Fields, Part II: Tips and Tricks](https://perishablepress.com/wordpress-custom-fields-tips-tricks/)
240
+
241
+ And here are some tutorials that may help with custom display of submitted images:
242
+
243
+ * [Display all images attached to post](https://wp-mix.com/display-images-attached-post/)
244
+ * [Display images with links](https://wp-mix.com/display-images-with-user-submitted-posts/)
245
+
246
+ Also, here is a [Helper Plugin to display Custom Fields](https://plugin-planet.com/usp-pro-custom-field-helper-plugin/). It originally is designed for use with USP Pro, but also works great with the free version of USP.
247
+
248
+
249
+ **Auto Display Images**
250
+
251
+ To automatically display submitted images on the frontend, visit the plugin settings, "Images Auto-Display" and select whether to display the images before or after post content. Save changes.
252
+
253
+
254
+ **Featured Images**
255
+
256
+ To set submitted images as Featured Images (aka Post Thumbnails) for submitted posts, visit the plugin settings, "Image Uploads" and check the box to enable "Featured Image". Save changes.
257
+
258
+
259
+ **Shortcodes**
260
+
261
+ User Submitted Posts includes two shortcodes:
262
+
263
+ * `[user-submitted-posts]` - displays the form on any Post or Page
264
+ * `[usp_display_posts]` - displays list of all submitted posts
265
+
266
+ The `[user-submitted-posts]` shortcode does not have any attributes. You simply include it wherever you want to display the form.
267
+
268
+ The `[usp_display_posts]` shortcode has two optional attributes, "userid" and "numposts". Examples:
269
+
270
+ * `[usp_display_posts userid="1"]` : displays all submitted posts by registered user with ID = 1
271
+ * `[usp_display_posts userid="Pat Smith"]` : displays all submitted posts by author name "Pat Smith"
272
+ * `[usp_display_posts userid="all"]` : displays all submitted posts by all users/authors
273
+ * `[usp_display_posts userid="all" numposts="5"]` : limit to 5 posts
274
+
275
+ By default `[usp_display_posts]` displays all submitted posts by all authors. So the attributes can be used to customize as desired. Note that the Pro version of USP provides many more options for the [display-posts shortcode](https://plugin-planet.com/usp-pro-display-list-submitted-posts/).
276
+
277
+
278
+ **Template tags**
279
+
280
+ USP also includes a set of template tags for customizing and displaying submitted posts:
281
+
282
+ /*
283
+ Display the USP Form
284
+ Usage: <?php if (function_exists('user_submitted_posts')) user_submitted_posts(); ?>
285
+ */
286
+
287
+ user_submitted_posts()
288
+
289
+
290
+
291
+ /*
292
+ Check if post is a submitted post
293
+ Returns true or false
294
+ Usage: <?php if (usp_is_public_submission()) return true; ?>
295
+ */
296
+
297
+ usp_is_public_submission()
298
+
299
+
300
+
301
+ /*
302
+ Get all image URLs
303
+ Returns an array of image URLs that are attached to the current submitted post
304
+ Usage: <?php $images = usp_get_post_images(); foreach ($images as $image) echo $image; ?>
305
+ */
306
+
307
+ usp_get_post_images()
308
+
309
+
310
+
311
+ /*
312
+ Display all images
313
+ Outputs a set of <img> tags for images attached to the current submitted post
314
+ Usage: <?php usp_post_attachments($size, $beforeUrl, $afterUrl, $numberImages, $postId); ?>
315
+ Parameters:
316
+ $size = image size: thumbnail, medium, large or full -> default = full
317
+ $beforeUrl = text/markup displayed before each image URL -> default = <img src="
318
+ $afterUrl = text/markup displayed after each image URL -> default = " />
319
+ $numberImages = number of images to display for each post -> default = false (display all)
320
+ $postId = an optional post ID to use -> default = uses global post
321
+ */
322
+
323
+ usp_post_attachments()
324
+
325
+
326
+
327
+ /*
328
+ Display submitted author name and URL
329
+ This tag displays one of the following:
330
+ - The author's submitted name as a link (if both 'User Name' and 'User URL' fields are included in the form)
331
+ - The author's submitted name as plain text (if 'User Name' is included in the form, but 'User URL' is not included)
332
+ - The author's registered username as a link to the author's post archive (if 'User Name' is not included in the form)
333
+
334
+ Usage: <?php usp_author_link(); ?>
335
+ */
336
+
337
+ usp_author_link()
338
+
339
+
340
+ These template tags should work out of the box when included in your theme template file(s). Keep in mind that for some of the tags to work, there must be some existing submitted posts and/or images available.
341
+
342
+ The source code for these tags is located in `/library/template-tags.php`.
343
+
344
+
345
+ **Upgrades**
346
+
347
+ To upgrade User Submitted Posts, remove the old version and replace with the new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically.
348
+
349
+ __Note:__ uninstalling the plugin from the WP Plugins screen results in the removal of all settings from the WP database. Submitted posts are NOT removed if you deactivate the plugin, reset default options, or uninstall the plugins; that is, all submitted posts must be removed manually.
350
+
351
+
352
+ **Restore Default Options**
353
+
354
+ To restore default plugin options, either uninstall/reinstall the plugin, or visit the plugin settings &gt; Restore Default Options.
355
+
356
+
357
+ **Uninstalling**
358
+
359
+ User Submitted Posts cleans up after itself. All plugin settings will be removed from your database when the plugin is uninstalled via the Plugins screen. Submitted posts are NOT removed if you deactivate the plugin, reset default options, or uninstall the plugins; that is, _all submitted posts must be removed manually_.
360
+
361
+
362
+ **Pro Version**
363
+
364
+ Pro version of USP now available! USP Pro includes many more awesome features and settings, with unlimited custom forms, infinite custom fields, multimedia file uploads, and much, much more.
365
+
366
+ * [Check out USP Pro for virtually limitless form-building action &raquo;](https://plugin-planet.com/usp-pro/)
367
+ * [Read what users are saying about USP Pro &raquo;](https://plugin-planet.com/testimonials/)
368
+
369
+
370
+
371
+ == Upgrade Notice ==
372
+
373
+ To upgrade User Submitted Posts, remove the old version and replace with the new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically.
374
+
375
+ __Note:__ uninstalling the plugin from the WP Plugins screen results in the removal of all settings from the WP database. Submitted posts are NOT removed if you deactivate the plugin, reset default options, or uninstall the plugins; that is, all submitted posts must be removed manually.
376
+
377
+
378
+
379
+ == Screenshots ==
380
+
381
+ 1. USP Settings Screen (panels toggled closed)
382
+ 2. USP Plugin Settings, showing default options (panels toggle open/closed)
383
+ 3. USP Form (with all fields enabled)
384
+ 4. USP Form (with just a few fields enabled)
385
+ 5. Example showing how to display the form on a Page (using a shortcode)
386
+
387
+ More screenshots and infos available at the [USP Homepage](https://perishablepress.com/user-submitted-posts/)
388
+
389
+
390
+
391
+ == Frequently Asked Questions ==
392
+
393
+ **Can you add this feature or that feature?**
394
+
395
+ Please check the [Pro version of USP](https://plugin-planet.com/usp-pro/), which includes many of the most commonly requested features from users. The free version also may include new features in future updates.
396
+
397
+
398
+ **Images are not uploaded or displaying**
399
+
400
+ If everything is configured properly, USP will display submitted images on the front-end. If that is not happening, here are some things to check:
401
+
402
+ * Make sure that the setting "Images Auto-Display" is enabled
403
+ * And/or make sure that the setting "Featured Image" is enabled
404
+ * And/or make sure that your theme is set up to display submitted images
405
+
406
+ Assuming that everything is set up to display submitted images, here are some further things to check:
407
+
408
+ * Is there any error message when trying to submit an image?
409
+ * Check that the submitted images are uploaded to the Media Library
410
+ * Check that the URL of the submitted image is attached to the submitted post as a Custom Field (on Edit Post screen)
411
+ * Check the permission settings on the upload folder(s) by ensuring that you can successfully upload image files directly via the Media Uploader
412
+ * Double-check that all the "Image Uploads" settings make sense, and that the images being uploaded meet the specified requirements
413
+
414
+ Note: when changing permissions on files and folders, it is important to use the least-restrictive settings possible. If you have to use more permissive settings, it is important to secure the directory against malicious activity. For more information check out: [Secure Media Uploads](https://digwp.com/2012/09/secure-media-uploads/)
415
+
416
+
417
+ **How to set submitted image as the featured image?**
418
+
419
+ Here are the steps:
420
+
421
+ 1. Visit USP settings &gt; Options panel &gt; Image Uploads &gt; Featured Image
422
+ 2. Check the box and click "Save Settings" to save your changes
423
+
424
+ Note that this setting merely assigns the submitted image as the Featured Image; it's up to your theme's single.php file to include `the_post_thumbnail()` to display the Featured Images. If your theme is not so equipped, [check out this tutorial at WP-Mix](https://wp-mix.com/set-attachment-featured-image/).
425
+
426
+
427
+ **How to require login?**
428
+
429
+ Visit the plugin settings and enable the option to "Require User Login". That will display the submission form only to logged-in users. To go further and require login for other types of content, there are many techniques available to you. For more information check out my WP-Mix post, [WordPress Require User Login](https://wp-mix.com/wordpress-require-user-login/), which provides a good summary of the possibilities. Also note: [USP Pro includes built-in shortcodes](https://plugin-planet.com/usp-pro-display-form-logged-in-users/) to display forms and other content to registered/logged-in users and/or guests/logged-out users.
430
+
431
+
432
+ **How do I change the appearance of the submission form?**
433
+
434
+ The easiest way to customize the form is via the plugin settings. There you can choose one of the following form configurations:
435
+
436
+ * HTML5 Form + Default CSS (Recommended)
437
+ * HTML5 Form + Disable CSS (Provide your own styles)
438
+ * Custom Form + Custom CSS (Provide your own form template & styles)
439
+
440
+ Additionally, you can configure the settings to show/hide specific fields, control the number and size of submitted images, customize the Challenge Question, and much more.
441
+
442
+ To go beyond what's possible with the plugin settings, USP enables creation of a custom submission form. To learn how, check out the "Custom Submission Form" section under [Installation](https://wordpress.org/plugins/user-submitted-posts/installation/). And for advanced customization, developers can use [USP action and filter hooks](https://perishablepress.com/action-filter-hooks-user-submitted-posts/).
443
+
444
+ Or, to go further with unlimited custom forms, [check out USP Pro](https://plugin-planet.com/usp-pro/) :)
445
+
446
+
447
+ **What about security and spam?**
448
+
449
+ User Submitted Posts uses the WordPress API to keep everything secure, fast, and flexible. The plugin also features a Challenge Question and hidden anti-spam field to stop automated spam and bad bots.
450
+
451
+
452
+ **How do I display success and error messages when the "Redirect URL" setting is enabled?**
453
+
454
+ Add the following template tag in your theme template, wherever you want to display the success/error messages: `<?php echo usp_redirect_message(); ?>`. You can then style the output via: `#usp-error-message` and `.usp-error` (for errors), and `#usp-success-message` (for the success message).
455
+
456
+
457
+ **Can I include video?**
458
+
459
+ The free version of USP supports uploads of images only, but some hosted videos may be included in the submitted content (textarea) by simply including the video URL on its own line. See [this page](http://codex.wordpress.org/Embeds) for more info. Note that [USP Pro](https://plugin-planet.com/usp-pro/) enables users to [upload video and much more](https://plugin-planet.com/usp-pro-allowed-file-types/#file-formats).
460
+
461
+
462
+ **How do I reset the plugin settings? Will it erase all of my submitted posts?**
463
+
464
+ To reset plugin settings to factory defaults:
465
+
466
+ 1. Visit "Restore Default Options" in the plugin settings
467
+ 2. Check the box and save your changes
468
+ 3. Deactivate the plugin and then reactivate it
469
+ 4. Plugin settings now are restored to defaults
470
+
471
+ And no, restoring default settings does not delete any submitted posts. Even if you completely remove the plugin, the submitted posts will not be deleted. You have to remove them manually, if desired.
472
+
473
+
474
+ **Wanted to be sure that the plugin does not require the exec() / exec.php or url_fopen functions, as both of those have been disabled on our host server for security reasons.**
475
+
476
+ User Submitted Posts does not use any of "the exec() / exec.php or url_fopen functions". So you're good to go.
477
+
478
+
479
+ **The Name and URL fields are not displayed in the form, even though they are set to display in the plugin options.**
480
+
481
+ The setting "Registered Username" when enabled will automatically hide the Name field. Likewise the setting "User Profile URL" when enabled will automatically hide the URL field. Try enabling these settings and refreshing the form page.
482
+
483
+
484
+ **I'm new to WordPress and just installed your plugin User Submitted posts. What template do I add the code to have it work everywhere.**
485
+
486
+ It really depends on the theme, as each tends to use template files differently.. it also depends on where on the page you would like to display the form, for example the sidebar (sidebar.php), the footer (footer.php), and so forth. Also, chances are that you'll need to add the form to more than one template file, for example index.php and page.php, etc. A good first place to try would be the sidebar, or maybe index.php and then go from there.
487
+
488
+
489
+ **I have the option for multiple image uploads enabled in the plug-in settings however it does not work on the site. When you click on the Add another image text nothing happens.**
490
+
491
+ The "Add another image" link is dependent on the required JavaScript being included in the page. Check the plugin setting to "Include JavaScript?" and you should be good to go.
492
+
493
+
494
+ **I really like the new Rich Text editor, but the Add Media button only shows up if I'm logged in to the site, and so nobody else can see it. Is there a way to change that so that all readers wanting to submit something can use that button?**
495
+
496
+ As far as I know the user must be logged in to have access to file uploads, Media Library and the uploader. This is a security measure aimed at preventing foul play. The Pro version of USP, however, provides an option to [enable Add Media uploads for all user levels](https://plugin-planet.com/usp-pro-enable-non-admin-users-upload-media/).
497
+
498
+
499
+ **I have it set so that articles get submitted under the users name. Sometimes when a user submits an article the article gets submitted under the users name, and other times set as the default user as set in the settings. When the article gets set to the default user I cannot change it in wordpress, I need to copy and paste the whole article to a new article and then set it to the proper user.**
500
+
501
+ The registered username of the submitter can be used for post author only when the user is logged in to WordPress (otherwise it's impossible for WordPress to know their identity). Thus, to resolve the dilemma posed in the question, one solution is to require users to be logged in to submit posts. See the previous Q&amp;A, "How to require login?". See also the related settings, "Registered Username" and "User Profile URL".
502
+
503
+
504
+ **Can you explains how the setting 'Registered Username' works?**
505
+
506
+ Yes, here is a summary:
507
+
508
+ * When "Registered Username" is enabled:
509
+ * If the user is logged in, their registered username is used as the Post Author
510
+ * If the user is logged out, the setting "Assigned Author" is used as the Post Author
511
+ * When "Registered Username" is disabled:
512
+ * The setting "Assigned Author" always is used as the Post Author for all users (whether logged in or not)
513
+
514
+
515
+ **When displaying the post author and author URL for submitted posts, my theme uses the default assigned author. How can I change it so that my theme uses the submitted author name and author URL instead of the default assigned author?**
516
+
517
+ This functionality is built in to the Pro version of USP, but it's also possible using either of the following methods:
518
+
519
+ * Replace your theme's current author tags with USP's `usp_author_link()`
520
+ * By adding some custom code to your theme's functions.php file. If interested, please [contact me directly](https://perishablepress.com/contact/) and I will send the code and steps to implement.
521
+
522
+
523
+ **Why doesn't the USP shortcode work when added to the WP Text widget?**
524
+
525
+ By default, WordPress does not enable shortcodes in widgets. I have added a plugin setting called "Enable Shortcodes" that will enable any/all shortcodes to work in widgets. Enable that setting and you should be good to go. Note: the "Enable Shortcodes" setting applies to all shortcodes, even those of other plugins. Check out WP-Mix for more information on [enabling shortcodes in widgets](https://wp-mix.com/enable-shortcodes-widgets/).
526
+
527
+
528
+ **How can I change the default Post Title?**
529
+
530
+ When the Post Title field is not included in the submission form, USP automatically uses the default: "User Submitted Post". To customize the default Post Title, you can use the provided USP filter hook, `usp_default_title`. Here is an example: `function usp_customize_default_title($title, $time) { return $title .' - '. $time; } add_filter('usp_default_title', 'usp_customize_default_title', 10, 2);`. This will append a unique date/time string to the default Post Title.
531
+
532
+
533
+ **How can I translate this plugin?**
534
+
535
+ Currently the easiest and most flexible method is to [use GlotPress to translate USP](https://translate.wordpress.org/projects/wp-plugins/user-submitted-posts). That is the recommended translation route going forward, but for the time being you may also translate using a plugin such as [Loco Translate](https://wordpress.org/plugins/loco-translate/). FYI, USP's translation files are located in the `/languages/` directory.
536
+
537
+
538
+ **How can I customize the login-required message?**
539
+
540
+ When the setting "Require User Login" is enabled, and the user is not logged in, they will see a message that says, "Please log in to submit content!". To customize this, add the following code to your theme's functions.php file: `function usp_customize_login_required_message($message) { return '<p>Please <a href="http://example.com/wp-login.php">register</a> to submit content.</p>'; } add_filter('usp_require_login', 'usp_customize_login_required_message');`. Then customize the return line however is desired. This trick uses USP's `usp_require_login` [hook](https://codex.wordpress.org/Plugin_API/Hooks).
541
+
542
+
543
+ **My form has lots of extra spacing between each field, how to fix?**
544
+
545
+ There are numerous reasons why a form might be displayed with too much spacing between the fields. Here are some possible things to look at:
546
+
547
+ * Theme CSS may be interfering with its own styles; solution: examine theme styles and edit as needed.
548
+ * The USP shortcode may be wrapped with code tags; solution: remove the code tags.
549
+ * There may be interference from some other plugin/theme; solution: [troubleshoot your plugins and themes](https://perishablepress.com/how-to-troubleshoot-wordpress/) (check out the sections on troubleshooting plugins and themes).
550
+
551
+
552
+ **The height of my form fields are all messed up, how to fix?**
553
+
554
+ USP provides its own, very minimal styles. Nothing that sets the height for any form fields. So if your field heights look weird, most likely your theme or a plugin is adding its own CSS styles. To resolve, you can try adding this bit of CSS to your stylesheet: `#usp_form .usp-input, #usp_form .usp-select, #usp_form .usp-textarea, #usp_form .usp-submit { height: initial; }`. That line basically resets the height property of all form fields to the original value. So it should override any other height styles.
555
+
556
+
557
+ **How can I display the form again after the user has successfully submitted a post?**
558
+
559
+ Follow the steps to create a custom form, but use `submission-form-alt.php` instead of `submission-form.php`. Note the alternate form template still needs a way to clear cookies after successful form submission, so not recommended for public sites.
560
+
561
+
562
+ **What is the plugin setting for the 'From' email header?**
563
+
564
+ That setting enables you to customize the address used as the "From" header for email messages. If your email address is a domain-based address, then this setting should be the same as the previous Email setting. Otherwise, if you are using a 3rd-party email service, this setting should be a local, domain-based address. If you find that email messages are getting sent to the spam bin, this setting may help.
565
+
566
+
567
+ **Is it possible to set up conditional redirects?**
568
+
569
+ I haven't tried it myself, but it might be possible. In the form code, there is a hidden input that specifies the redirect URL. The hidden input has a name attribute with a value of `redirect-override`. So you could target this input with some JavaScript, and then change the value of the hidden field based on whatever criteria you need.
570
+
571
+
572
+ **Questions? Feedback?**
573
+
574
+ Send any questions or feedback via my [contact form](https://perishablepress.com/contact/). Thanks! :)
575
+
576
+
577
+
578
+ == Support development of this plugin ==
579
+
580
+ I develop and maintain this free plugin with love for the WordPress community. To show support, you can [make a cash donation](https://m0n.co/donate), [bitcoin donation](https://m0n.co/bitcoin), or purchase one of my books:
581
+
582
+ * [The Tao of WordPress](https://wp-tao.com/)
583
+ * [Digging into WordPress](https://digwp.com/)
584
+ * [.htaccess made easy](https://htaccessbook.com/)
585
+ * [WordPress Themes In Depth](https://wp-tao.com/wordpress-themes-book/)
586
+
587
+ And/or purchase one of my premium WordPress plugins:
588
+
589
+ * [BBQ Pro](https://plugin-planet.com/bbq-pro/) - Pro version of Block Bad Queries
590
+ * [Blackhole Pro](https://plugin-planet.com/blackhole-pro/) - Pro version of Blackhole for Bad Bots
591
+ * [SES Pro](https://plugin-planet.com/ses-pro/) - Super-simple &amp; flexible email signup forms
592
+ * [USP Pro](https://plugin-planet.com/usp-pro/) - Pro version of User Submitted Posts
593
+
594
+ Links, tweets and likes also appreciated. Thanks! :)
595
+
596
+
597
+
598
+ == Changelog ==
599
+
600
+ **20170326**
601
+
602
+ * Adds Google reCAPTCHA (anti-spam) field
603
+ * Adds function to clear form cookies if user logs out
604
+ * Adds new Arabic translation (Thanks to Abdeslam Lachhab)
605
+ * Adds new french translation by Milehan
606
+ * Improves plugin documentation
607
+ * Changes "USP" post-filter button to display for WP Posts
608
+ * Adds option to send HTML-format email alerts
609
+ * Fixes undefined variable notice for filter link
610
+ * Adds `%%title_parent%%` for auto-display images
611
+ * Adds `%%title%%` for auto-display email and url
612
+ * Adds class `.usp-submit` to submit button
613
+ * Fixes email validation bug when email optional
614
+ * Adds filter hook `usp_editor_content` for `wp_editor()`
615
+ * Adds filter hook `usp_return_form` for return link
616
+ * Adds fallback for `wp_add_inline_script` for WP &lt; 4.5
617
+ * Tweaks sanitization of post content to improve security
618
+ * Updates show support panel in plugin settings
619
+ * Reorders plugin action links
620
+ * Improves default options functionality
621
+ * Replaces global `$wp_version` with `get_bloginfo('version')`
622
+ * Adds option to customize the "From" email address for alerts
623
+ * Refines display of settings panels
624
+ * Adds new IP-detection script
625
+ * Generates new default translation template
626
+ * Tests on WordPress version 4.8
627
+
628
+ **20161122**
629
+
630
+ Important! The `/custom/` directory is deprecated. If you are using a custom form template, please move it to `/wp-content/your-theme/usp/`. For more information, check out the "Custom Submission Form" section under [Installation](https://wordpress.org/plugins/user-submitted-posts/installation/).
631
+
632
+ * Changed `get_template_directory()` to `get_stylesheet_directory()` in `usp_display_form()`
633
+ * Changed `get_template_directory()` to `get_stylesheet_directory()` in `usp_enqueueResources()`
634
+ * Changed `get_template_directory_uri()` to `get_stylesheet_directory_uri()` in `usp_enqueueResources()`
635
+
636
+ **20161119**
637
+
638
+ Important! The `/custom/` directory is deprecated. If you are using a custom form template, please move it to `/wp-content/your-theme/usp/`. For more information, check out the "Custom Submission Form" section under [Installation](https://wordpress.org/plugins/user-submitted-posts/installation/).
639
+
640
+ * Moved custom form template to theme directory
641
+ * Refactored and combined `usp_js_vars()` with `usp_enqueueResources()`
642
+ * Refactored `usp_load_admin_styles()`
643
+ * Refactored `add_usp_links()` function
644
+ * Refined `usp_display_form()` function
645
+ * Removed `usp_editor_style()` and file
646
+ * Removed deprecated `usp_currentPageURL()`
647
+ * Removed filter hook `usp_current_page`
648
+ * Fine-tuned submission form and styles
649
+ * Improved default styling of WP RTE field
650
+ * Reorganized and refined plugin settings page
651
+ * Upgraded Parsley.js to version 2.6.0
652
+ * Deprecated JS function `usp_check_files()`
653
+ * Bugfix: conflict with "Require User Login" and "Registered Username"
654
+ * Bugfix: conflict with "Require User Login" and "User Profile URL"
655
+ * Bugfix: support nag re-appears after each settings save
656
+ * Added `usp_default_title` filter hook for default post titles
657
+ * Changed form label from "Post URL" to "User URL" on plugin settings page
658
+ * Added missing parameter to `usp_check_images()`
659
+ * Reorganized and streamlined plugin file structure
660
+ * Streamlined some global variables
661
+ * Added some missing translation strings
662
+ * Updated plugin author URL
663
+ * Updated Twitter URL to https
664
+ * Changed stable tag from trunk to latest version
665
+ * Updated URL for rate this plugin links
666
+ * Regenerated default translation template
667
+ * Tested on WordPress version 4.7 (beta)
668
+
669
+ **20160815**
670
+
671
+ * Fine-tuned the plugin settings page
672
+ * Replaced `_e()` with `esc_html_e()` or `esc_attr_e()`
673
+ * Replaced `__()` with `esc_html__()` or `esc_attr__()`
674
+ * Added plugin icons and larger banner image
675
+ * Improved translation support
676
+ * Added more allowed tags and attributes to relevant plugin settings
677
+ * Removed usp_addNewPostStatus() function (deprecated hook)
678
+ * Fixed bug where required URL field shows error if User Profile URL enabled
679
+ * Added more allowed tags and attributes to submitted post content
680
+ * Refined logic of usp_checkForPublicSubmission() function
681
+ * Added usp_redirect_message() for error messages when Redirect URL enabled
682
+ * Changed hook priority for usp_checkForPublicSubmission() function
683
+ * Added Russian translation (thanks to [Nick Lysenko](https://twitter.com/unbirth7))
684
+ * Added setting to display form only to logged-in users
685
+ * Fine-tuned default form styles and error messages
686
+ * Generated new translation template
687
+ * Tested on WordPress 4.6
688
+
689
+ **20160411**
690
+
691
+ * Cleaned up plugin tags
692
+ * Added new Dutch translation (thanks to [Berend](http://botoboto.com/))
693
+ * Added Italian translation (thanks to [Rosario](http://rosariomonaco.com/))
694
+ * Replaced icon with retina version
695
+ * Added screenshot to readme/docs
696
+ * Added retina version of banner
697
+ * Reorganized and refreshed readme.txt
698
+ * Tested on WordPress version 4.5 beta
699
+
700
+ **20160215**
701
+
702
+ * Fixes XSS vulnerability (thanks to [Panagiotis Vagenas](https://twitter.com/panVagenas))
703
+ * Updates descriptions for settings "Registered Username" and "User Profile URL"
704
+ * Adds `[usp_display_posts]` shortcode to display list of user submitted posts
705
+ * Adds UTF-8 default parameter to get_option('blog_charset')
706
+ * Replaces get_currentuserinfo() with wp_get_current_user()
707
+ * Removes quotes from charset in email headers
708
+ * Adds screenshots to readme.txt/documentation
709
+ * Cleans up readme.txt/documentation
710
+ * Tested on WordPress 4.5 alpha
711
+
712
+ **20151113**
713
+
714
+ Note: the CSS and JavaScript for the plugin settings page is now moved to their own external files. Please clear your browser cache and/or force refresh the settings page to load the new files!
715
+
716
+ * Added options to auto-display custom fields and images
717
+ * "USP" button on Posts screen now displays all USP Posts (not just Pending)
718
+ * Added Dutch translation (Thanks to [Erik Kroon](http://www.punchcreative.nl/))
719
+ * Added German translation (Thanks to [Michael](https://wordpress.org/support/topic/image-problem-german-translation))
720
+ * Added check for `$post` in `usp_is_public_submission()`
721
+ * Removed width from `a#usp_add-another` in `usp.css`
722
+ * Fixed custom markup for "Add Another" link
723
+ * Added option to show fields but not require
724
+ * Added `usp_check_required()` function
725
+ * Added setting to enable shortcodes in widgets
726
+ * Added `get_currentuserinfo()` where required
727
+ * Added `esc_url()` to sanitize URI strings
728
+ * Removed unnecessary `mail()` headers (Thanks to [Jason Hendriks](http://www.codingmonkey.ca/))
729
+ * Refined `usp_send_mail_alert()`
730
+ * Fixed sending alerts to multiple email addresses
731
+ * Added option to disable tracking of IP addresses
732
+ * Added option to specify customize email alert subject
733
+ * Added option to specify customize email alert message
734
+ * Reorganized and streamlined settings page
735
+ * Added option to disable default USP styles for custom forms
736
+ * Replaced USP graphics with retina versions
737
+ * Added `usp_load_admin_styles()` to enqueue settings styles
738
+ * Replaced `load_custom_admin_css()` with `usp_load_admin_styles()`
739
+ * Moved JavaScript and CSS to their own external files
740
+ * Added option to publish as "Draft" Post Status
741
+ * Removed deprecated `usp_answer` and `usp_form_width` options
742
+ * Added more attributes to `$allowed_atts`
743
+ * Added `usp_form_display_options()`
744
+ * Added `usp_auto_display_options()`
745
+ * Added hooks:
746
+ * `usp_post_draft`
747
+ * `usp_image_args`
748
+ * `usp_image_title`
749
+ * `usp_image_thumb`
750
+ * `usp_image_medium`
751
+ * `usp_image_large`
752
+ * `usp_image_full`
753
+ * `usp_image_custom_size`
754
+ * `usp_image_custom`
755
+ * `usp_email_custom_field`
756
+ * `usp_url_custom_field`
757
+ * Added `usp_auto_display_images()`, `usp_auto_display_email()`, `usp_auto_display_url()`
758
+ * Added `usp_replace_image_vars()`
759
+ * USP Meta Box not displayed if no data to display
760
+ * Fixed bug with targeted loading of USP stylesheet
761
+ * Updated heading hierarchy in plugin settings
762
+ * Updated translation template file
763
+ * Updated minimum version requirement
764
+ * Tested on WordPress 4.4 beta
765
+
766
+ **20150808**
767
+
768
+ * Tested on WordPress 4.3
769
+ * Updated minimum version requirement
770
+
771
+ **20150507**
772
+
773
+ * Tested with WP 4.2 + 4.3 (alpha)
774
+ * Changes a few "http" links to "https"
775
+ * Fixes XSS vulnerability with add_query_arg()
776
+ * Adds isset() to stop some minor PHP warnings
777
+ * Fixes mixed content warning for https sites
778
+ * Adds support for exif_imagetype when needed
779
+ * Adds Arabic translation, thanks to Amine CH
780
+ * Adds Spanish translation, thanks to Clara Roldán
781
+
782
+ **20150319**
783
+
784
+ * Tested with latest version of WP (4.1)
785
+ * Increases minimum version to WP 3.8
786
+ * Removes deprecated screen_icon()
787
+ * Adds $usp_wp_vers for version check
788
+ * Streamline/fine-tune plugin code
789
+ * Adds Text Domain and Domain Path to file header
790
+ * Adds alert panel to plugin settings page
791
+ * Adds Serbo-Croatian translation - thanks [Borisa Djuraskovic](http://www.webhostinghub.com/)
792
+ * Adds Chinese translation - thanks Xing
793
+ * Improves error handling
794
+ * Improves post author process
795
+ * Improves post-submission process
796
+ * Improves code in submission-form.php
797
+ * Adds nonce security to submission process
798
+ * Adds proper headers to email alert
799
+ * Adds Email field to the form (hidden by default)
800
+ * Adds USP Info meta box to Post Edit screen (Props: Nathan Clough)
801
+ * Adds specific error messages for fields/files (e.g., min, max, required)
802
+ * Adds option to disable required attributes
803
+ * Adds usp_post_status filter hook
804
+ * Adds usp_file_key filter hook
805
+ * Adds usp_post_data filter hook
806
+ * Adds usp_editor_settings filter hook
807
+ * Adds usp_error_message filter hook
808
+ * Adds usp_post_moderate filter hook
809
+ * Adds usp_post_publish filter hook
810
+ * Adds usp_post_approve filter hook
811
+ * Adds drag_drop_upload to visual/rich-text editor
812
+ * Adds option to require unique post titles
813
+ * Changes approved-post count to check for name/IP instead of URL/IP
814
+ * Changes class .hidden to .usp-hidden in default submission form
815
+ * Changes class .no-js to .usp-no-js in default submission form
816
+ * Changes class .js to .usp-js in default submission form
817
+ * Replaces sanitize_text_field() with esc_url() for URL field
818
+ * Replaces default .mo/.po templates with .pot template
819
+ * Fixes bug where encoded characters are removed from URL
820
+ * Fixes various bugs and PHP notices
821
+
822
+ **20140930**
823
+
824
+ * Removes required attribute from default form textarea
825
+ * Removes "exclude" from type on redirect-override in default form
826
+ * Adds class "exclude" and "hidden" to redirect-override in default form
827
+
828
+ **20140927**
829
+
830
+ * Tested on latest version of WordPress (4.0)
831
+ * Increases min-version requirement to 3.7
832
+ * Improves layout and styles of plugin settings page
833
+ * Adds Romanian translation - thanks [Hideg Andras](http://www.blue-design.ro/)
834
+ * Adds Persian (Farsi) translation - thanks [Pooya Behravesh](http://icomp.ir/)
835
+ * Adds French translation - thanks [Mirko Humbert](http://www.designer-daily.com/) and [Matthieu Solente](http://copier-coller.com/)
836
+ * Updates default mo/po translation files
837
+ * Updates Parsley.js to version 2.0
838
+ * Updates usp.css with styles for Parsley 2.0
839
+ * Updates captcha-check script for Parsley 2.0
840
+ * Updates markup in default form for Parsley 2.0
841
+ * Replaces call to wp-load.php with wp_print_scripts
842
+ * Replaces sac.php with individual JavaScript libraries
843
+ * Improves logic of usp_enqueueResources() function
844
+ * Improves logic of min-file check JavaScript
845
+ * Removes ?version from enqueued resources
846
+ * Adds option to use "custom" form and stylesheet
847
+ * Removes deprecated "classic" form, submission-form-classic.php and usp-classic.css
848
+ * Removes `novalidate` from default form
849
+ * Removes `data-type="url"` from default form
850
+ * Removes `.usp-required` classes from default form
851
+ * Removes `id="user-submitted-tags"` from default form
852
+ * Removes `<div class="usp-error"></div>` from default form
853
+ * Adds "Please select a category.." to category select field
854
+ * Updates CSS for default form, see list at https://m0n.co/e
855
+ * Replaces some stripslashes() with sanitize_text_field()
856
+ * Replaces some htmlentities() with sanitize_text_field()
857
+ * Fixes bug where too big/small images would not trigger error
858
+ * Adds post id and error as query variable in return URL
859
+ * Adds sanitize_text_field() to usp_currentPageURL()
860
+ * Adds the following filter hooks:
861
+ * `usp_post_status`
862
+ * `usp_post_author`
863
+ * `usp_form_shortcode`
864
+ * `usp_mail_subject`
865
+ * `usp_mail_message`
866
+ * `usp_new_post`
867
+ * `usp_input_validate`
868
+ * Adds the following action hooks:
869
+ * `usp_submit_success`
870
+ * `usp_submit_error`
871
+ * `usp_insert_before`
872
+ * `usp_insert_after`
873
+ * `usp_files_before`
874
+ * `usp_files_after`
875
+ * `usp_current_page`
876
+
877
+ **20140308**
878
+
879
+ * usp_require_wp_version() now runs only on plugin activation
880
+
881
+ **20140123**
882
+
883
+ * Tested with latest version of WordPress (3.8)
884
+ * Added trailing slash to load_plugin_textdomain()
885
+ * Increased WP minimum version requirement from 3.3 to 3.5
886
+ * Added popout info about Pro version now available
887
+ * Added Spanish translation; thanks to [María Iglesias](http://www.globalcultura.com/)
888
+ * Change CSS for "USP" button to display after the "Filter" button on edit.php
889
+ * Added 8px margin to "Empty Trash" button on the Post Trash screen
890
+ * Changed handle from "uspContent" to "uspcontent" for wp_editor()
891
+ * Added class ".usp-required" to input fields (for use with JavaScript)
892
+ * Fixed issue of submitted posts going to Trash when a specific number of images is required AND the user submits the form without selecting the required number of images. JavaScript now checks for required image(s) and will not allow the form to be submitted until the user has selected the correct number of images.
893
+ * Improved logic responsible for displaying file input fields and the "Add Another Image" button
894
+ * Added option to display custom markup for "Add Another Image" button
895
+ * Replaced select fields with number inputs for settings "minimum/maximum number of images"
896
+ * Added `href`, `rel`, and `target` attributes to $allowed_atts
897
+ * Made default options translatable, generated new mo/po templates
898
+ * Streamlined plugin settings intro panel
899
+
900
+ **20131107**
901
+
902
+ * Added i18n support
903
+ * Added uninstall.php file
904
+ * Removed "&Delta;" from `die()`
905
+ * Added "rate this plugin" links
906
+ * Added Brazilian Portuguese translation; thanks to [Daniel Lemes](http://www.tutoriart.com.br/)
907
+ * Added notes about support for multiple email addresses for email alerts
908
+ * Increased `line-height` on settings page `<td>` elements
909
+ * Added `.inline` class to some plugin settings
910
+ * Changed CSS for `#usp_admin_filter_posts` in usp-admin.css
911
+ * Changed link text on Post filter button from "User Submitted Posts" to "USP"
912
+ * Fixed backwards setting for captcha case-sensitivity
913
+ * Added `is_object($post)` to `usp_display_featured_image`; Thanks to [Larry Holish](holish.net)
914
+ * Changed `application/x-javascript` to `application/javascript` in usp.php
915
+ * Removed `getUrlVars` function and changed "forget input values" to use a simpler regex; Thanks to [Larry Holish](holish.net)
916
+ * Tricked out `wp_editor` with complete array in both submission-form files
917
+ * Added note on settings screen about deprecating the "classic" submit form
918
+ * Replaced `wp-blog-header.php` with `wp-load.php` in usp.php
919
+ * Improved sanitization of POST variables
920
+ * Added check for empty content when content textarea is displayed on form
921
+ * Removed closing `?>` from user-submitted-posts.php
922
+ * Tested with latest version of WordPress (3.7)
923
+ * Fleshed out readme.txt with even more infos
924
+ * General code cleanup and maintenance
925
+
926
+ **20130720**
927
+
928
+ * Added option to set attachment as featured image
929
+ * Improved localization support (.mo and .po)
930
+ * Added optional use of WP's built-in rich text editor
931
+ * Added custom stylesheet for WP's rich text editor
932
+ * Replace antispam placeholder in submission-form.php
933
+ * Improved jQuery for "add another image" functionality
934
+ * Added jQuery script to remember form input values via cookies
935
+ * Added data validation for input fields via Parsley @ http://parsleyjs.org
936
+ * Overview and Updates panels now toggled open by default
937
+ * Updated CSS styles for HTML5 and Classic forms
938
+ * Improved logic for form verification JavaScript
939
+ * Resolved numerous PHP notices and warnings
940
+ * Updated readme.txt with more infos
941
+ * General code check n clean
942
+
943
+ **20130104**
944
+
945
+ * Added explanation of plugin functionality in readme.txt
946
+ * Fixed character encoding issue for author name
947
+ * Added margins to submit buttons (to fix WP's new CSS)
948
+ * Removed "anti-spam" text from captcha placeholder attribute
949
+ * usp_post_attachments() tag now accepts custom sizes
950
+ * Added temp fix for warning: "getimagesize(): Filename cannot be empty"
951
+ * Restyled USP filter button on admin Posts pages
952
+
953
+ **20121120**
954
+
955
+ * added id to tag input field in submission-form.php
956
+ * enabled option to disable loading of external JavaScript file
957
+ * enabled option to specify URL for targeted resource loading
958
+ * added `fieldset { border: 0; }` to usp.css stylesheet
959
+ * increased width of anti-spam input field (via usp.css)
960
+ * changed the order of input fields in submission-form.php
961
+ * fixed loading of resources on success and error pages
962
+ * added field for custom content to display before the USP form
963
+ * enable HMTL for success, error, and upload messages
964
+ * fixed issue with content not getting included in posts
965
+
966
+ **20121119**
967
+
968
+ * increased default image width and height
969
+ * comment out output start in three files
970
+ * remove echo output for input value attributes
971
+ * cleaned up placeholders with clearer infos
972
+ * remove usp_validateContent() function
973
+ * remove conditional if for content in usp_checkForPublicSubmission() [1]
974
+ * [1] default text no longer added to posts when empty
975
+ * remove content validation in usp_createPublicSubmission()
976
+ * added option to receive email alert for new submissions
977
+ * added option to set author as current user
978
+ * added option to set author url as usp url
979
+ * added option to set category as hidden
980
+ * submission-form.php &amp; submission-form-classic.php: changed markup output for success &amp; error messages
981
+
982
+ **20121108**
983
+
984
+ * Fixed non-submission when title and other fields are hidden
985
+
986
+ **20121107**
987
+
988
+ * Rebuilt plugin and optimized code using current WP API
989
+ * Redesigned settings page, toggling panels, better structure, more info, etc.
990
+ * Errors now redirect to specified page (if set) or current page
991
+ * Fixed bug to allow for unlimited number of uploaded images
992
+ * Cleaned up template tags, added inline comments
993
+ * Optimized/enhanced the user-submission form
994
+ * Added option to restore default settings
995
+ * Added settings link from Plugins page
996
+ * Renamed CSS and JavaScript files
997
+ * Added challenge question captcha
998
+ * Added hidden field for security
999
+ * Added option for custom success message
1000
+ * Submission form now retains entered value if error
1001
+ * Added placeholder attributes to the form fields
1002
+ * Submissions including invalid upload files now redirect to form with error message
1003
+ * Fixed default author of submitted posts
1004
+ * the_author_link is not filterable, so created new function usp_author_link
1005
+ * moved admin styles from form stylesheet to admin-only stylesheet
1006
+ * Added new HTML5 form and stylesheet, kept originals as "classic" version
1007
+
1008
+ **1.0**
1009
+
1010
+ * Initial release
1011
+
1012
+
resources/jquery.cookie.js ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * jQuery Cookie Plugin v1.4.1
3
+ * https://github.com/carhartl/jquery-cookie
4
+ *
5
+ * Copyright 2006, 2014 Klaus Hartl
6
+ * Released under the MIT license
7
+ */
8
+ (function (factory) {
9
+ if (typeof define === 'function' && define.amd) {
10
+ // AMD
11
+ define(['jquery'], factory);
12
+ } else if (typeof exports === 'object') {
13
+ // CommonJS
14
+ factory(require('jquery'));
15
+ } else {
16
+ // Browser globals
17
+ factory(jQuery);
18
+ }
19
+ }(function ($) {
20
+
21
+ var pluses = /\+/g;
22
+
23
+ function encode(s) {
24
+ return config.raw ? s : encodeURIComponent(s);
25
+ }
26
+
27
+ function decode(s) {
28
+ return config.raw ? s : decodeURIComponent(s);
29
+ }
30
+
31
+ function stringifyCookieValue(value) {
32
+ return encode(config.json ? JSON.stringify(value) : String(value));
33
+ }
34
+
35
+ function parseCookieValue(s) {
36
+ if (s.indexOf('"') === 0) {
37
+ // This is a quoted cookie as according to RFC2068, unescape...
38
+ s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
39
+ }
40
+
41
+ try {
42
+ // Replace server-side written pluses with spaces.
43
+ // If we can't decode the cookie, ignore it, it's unusable.
44
+ // If we can't parse the cookie, ignore it, it's unusable.
45
+ s = decodeURIComponent(s.replace(pluses, ' '));
46
+ return config.json ? JSON.parse(s) : s;
47
+ } catch(e) {}
48
+ }
49
+
50
+ function read(s, converter) {
51
+ var value = config.raw ? s : parseCookieValue(s);
52
+ return $.isFunction(converter) ? converter(value) : value;
53
+ }
54
+
55
+ var config = $.cookie = function (key, value, options) {
56
+
57
+ // Write
58
+
59
+ if (arguments.length > 1 && !$.isFunction(value)) {
60
+ options = $.extend({}, config.defaults, options);
61
+
62
+ if (typeof options.expires === 'number') {
63
+ var days = options.expires, t = options.expires = new Date();
64
+ t.setTime(+t + days * 864e+5);
65
+ }
66
+
67
+ return (document.cookie = [
68
+ encode(key), '=', stringifyCookieValue(value),
69
+ options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
70
+ options.path ? '; path=' + options.path : '',
71
+ options.domain ? '; domain=' + options.domain : '',
72
+ options.secure ? '; secure' : ''
73
+ ].join(''));
74
+ }
75
+
76
+ // Read
77
+
78
+ var result = key ? undefined : {};
79
+
80
+ // To prevent the for loop in the first place assign an empty array
81
+ // in case there are no cookies at all. Also prevents odd result when
82
+ // calling $.cookie().
83
+ var cookies = document.cookie ? document.cookie.split('; ') : [];
84
+
85
+ for (var i = 0, l = cookies.length; i < l; i++) {
86
+ var parts = cookies[i].split('=');
87
+ var name = decode(parts.shift());
88
+ var cookie = parts.join('=');
89
+
90
+ if (key && key === name) {
91
+ // If second argument (value) is a function it's a converter...
92
+ result = read(cookie, value);
93
+ break;
94
+ }
95
+
96
+ // Prevent storing a cookie that we couldn't decode.
97
+ if (!key && (cookie = read(cookie)) !== undefined) {
98
+ result[name] = cookie;
99
+ }
100
+ }
101
+
102
+ return result;
103
+ };
104
+
105
+ config.defaults = {};
106
+
107
+ $.removeCookie = function (key, options) {
108
+ if ($.cookie(key) === undefined) {
109
+ return false;
110
+ }
111
+
112
+ // Must not alter options, thus extending a fresh object...
113
+ $.cookie(key, '', $.extend({}, options, { expires: -1 }));
114
+ return !$.cookie(key);
115
+ };
116
+
117
+ }));
resources/jquery.parsley.min.js ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Parsley.js
3
+ * Version 2.6.0 - built Wed, Nov 2nd 2016, 10:27 am
4
+ * http://parsleyjs.org
5
+ * Guillaume Potier - <guillaume@wisembly.com>
6
+ * Marc-Andre Lafortune - <petroselinum@marc-andre.ca>
7
+ * MIT Licensed
8
+ */
9
+ function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}var _slice=Array.prototype.slice;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):e.parsley=t(e.jQuery)}(this,function(e){"use strict";function t(e,t){return e.parsleyAdaptedCallback||(e.parsleyAdaptedCallback=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift(this),e.apply(t||T,i)}),e.parsleyAdaptedCallback}function i(e){return 0===e.lastIndexOf(D,0)?e.substr(D.length):e}/**
10
+ * inputevent - Alleviate browser bugs for input events
11
+ * https://github.com/marcandre/inputevent
12
+ * @version v0.0.3 - (built Thu, Apr 14th 2016, 5:58 pm)
13
+ * @author Marc-Andre Lafortune <github@marc-andre.ca>
14
+ * @license MIT
15
+ */
16
+ function n(){var t=this,i=window||global;e.extend(this,{isNativeEvent:function(e){return e.originalEvent&&e.originalEvent.isTrusted!==!1},fakeInputEvent:function(i){t.isNativeEvent(i)&&e(i.target).trigger("input")},misbehaves:function(i){t.isNativeEvent(i)&&(t.behavesOk(i),e(document).on("change.inputevent",i.data.selector,t.fakeInputEvent),t.fakeInputEvent(i))},behavesOk:function(i){t.isNativeEvent(i)&&e(document).off("input.inputevent",i.data.selector,t.behavesOk).off("change.inputevent",i.data.selector,t.misbehaves)},install:function(){if(!i.inputEventPatched){i.inputEventPatched="0.0.3";for(var n=["select",'input[type="checkbox"]','input[type="radio"]','input[type="file"]'],r=0;r<n.length;r++){var s=n[r];e(document).on("input.inputevent",s,{selector:s},t.behavesOk).on("change.inputevent",s,{selector:s},t.misbehaves)}}},uninstall:function(){delete i.inputEventPatched,e(document).off(".inputevent")}})}var r=1,s={},a={attr:function(e,t,i){var n,r,s,a=new RegExp("^"+t,"i");if("undefined"==typeof i)i={};else for(n in i)i.hasOwnProperty(n)&&delete i[n];if("undefined"==typeof e||"undefined"==typeof e[0])return i;for(s=e[0].attributes,n=s.length;n--;)r=s[n],r&&r.specified&&a.test(r.name)&&(i[this.camelize(r.name.slice(t.length))]=this.deserializeValue(r.value));return i},checkAttr:function(e,t,i){return e.is("["+t+i+"]")},setAttr:function(e,t,i,n){e[0].setAttribute(this.dasherize(t+i),String(n))},generateID:function(){return""+r++},deserializeValue:function(t){var i;try{return t?"true"==t||("false"==t?!1:"null"==t?null:isNaN(i=Number(t))?/^[\[\{]/.test(t)?e.parseJSON(t):t:i):t}catch(n){return t}},camelize:function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},dasherize:function(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},warn:function(){var e;window.console&&"function"==typeof window.console.warn&&(e=window.console).warn.apply(e,arguments)},warnOnce:function(e){s[e]||(s[e]=!0,this.warn.apply(this,arguments))},_resetWarnings:function(){s={}},trimString:function(e){return e.replace(/^\s+|\s+$/g,"")},namespaceEvents:function(t,i){return t=this.trimString(t||"").split(/\s+/),t[0]?e.map(t,function(e){return e+"."+i}).join(" "):""},difference:function(t,i){var n=[];return e.each(t,function(e,t){-1==i.indexOf(t)&&n.push(t)}),n},all:function(t){return e.when.apply(e,_toConsumableArray(t).concat([42,42]))},objectCreate:Object.create||function(){var e=function(){};return function(t){if(arguments.length>1)throw Error("Second argument not supported");if("object"!=typeof t)throw TypeError("Argument must be an object");e.prototype=t;var i=new e;return e.prototype=null,i}}(),_SubmitSelector:'input[type="submit"], button:submit'},o=a,l={namespace:"data-parsley-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,multiple:null,group:null,uiEnabled:!0,validationThreshold:3,focus:"first",trigger:!1,triggerAfterFailure:"input",errorClass:"parsley-error",successClass:"parsley-success",classHandler:function(e){},errorsContainer:function(e){},errorsWrapper:'<ul class="parsley-errors-list"></ul>',errorTemplate:"<li></li>"},u=function(){this.__id__=o.generateID()};u.prototype={asyncSupport:!0,_pipeAccordingToValidationResult:function(){var t=this,i=function(){var i=e.Deferred();return!0!==t.validationResult&&i.reject(),i.resolve().promise()};return[i,i]},actualizeOptions:function(){return o.attr(this.$element,this.options.namespace,this.domOptions),this.parent&&this.parent.actualizeOptions&&this.parent.actualizeOptions(),this},_resetOptions:function(e){this.domOptions=o.objectCreate(this.parent.options),this.options=o.objectCreate(this.domOptions);for(var t in e)e.hasOwnProperty(t)&&(this.options[t]=e[t]);this.actualizeOptions()},_listeners:null,on:function(e,t){this._listeners=this._listeners||{};var i=this._listeners[e]=this._listeners[e]||[];return i.push(t),this},subscribe:function(t,i){e.listenTo(this,t.toLowerCase(),i)},off:function(e,t){var i=this._listeners&&this._listeners[e];if(i)if(t)for(var n=i.length;n--;)i[n]===t&&i.splice(n,1);else delete this._listeners[e];return this},unsubscribe:function(t,i){e.unsubscribeTo(this,t.toLowerCase())},trigger:function(e,t,i){t=t||this;var n,r=this._listeners&&this._listeners[e];if(r)for(var s=r.length;s--;)if(n=r[s].call(t,t,i),n===!1)return n;return this.parent?this.parent.trigger(e,t,i):!0},reset:function(){if("ParsleyForm"!==this.__class__)return this._resetUI(),this._trigger("reset");for(var e=0;e<this.fields.length;e++)this.fields[e].reset();this._trigger("reset")},destroy:function(){if(this._destroyUI(),"ParsleyForm"!==this.__class__)return this.$element.removeData("Parsley"),this.$element.removeData("ParsleyFieldMultiple"),void this._trigger("destroy");for(var e=0;e<this.fields.length;e++)this.fields[e].destroy();this.$element.removeData("Parsley"),this._trigger("destroy")},asyncIsValid:function(e,t){return o.warnOnce("asyncIsValid is deprecated; please use whenValid instead"),this.whenValid({group:e,force:t})},_findRelated:function(){return this.options.multiple?this.parent.$element.find("["+this.options.namespace+'multiple="'+this.options.multiple+'"]'):this.$element}};var d={string:function(e){return e},integer:function(e){if(isNaN(e))throw'Requirement is not an integer: "'+e+'"';return parseInt(e,10)},number:function(e){if(isNaN(e))throw'Requirement is not a number: "'+e+'"';return parseFloat(e)},reference:function(t){var i=e(t);if(0===i.length)throw'No such reference: "'+t+'"';return i},"boolean":function(e){return"false"!==e},object:function(e){return o.deserializeValue(e)},regexp:function(e){var t="";return/^\/.*\/(?:[gimy]*)$/.test(e)?(t=e.replace(/.*\/([gimy]*)$/,"$1"),e=e.replace(new RegExp("^/(.*?)/"+t+"$"),"$1")):e="^"+e+"$",new RegExp(e,t)}},h=function(e,t){var i=e.match(/^\s*\[(.*)\]\s*$/);if(!i)throw'Requirement is not an array: "'+e+'"';var n=i[1].split(",").map(o.trimString);if(n.length!==t)throw"Requirement has "+n.length+" values when "+t+" are needed";return n},p=function(e,t){var i=d[e||"string"];if(!i)throw'Unknown requirement specification: "'+e+'"';return i(t)},c=function(e,t,i){var n=null,r={};for(var s in e)if(s){var a=i(s);"string"==typeof a&&(a=p(e[s],a)),r[s]=a}else n=p(e[s],t);return[n,r]},f=function(t){e.extend(!0,this,t)};f.prototype={validate:function(t,i){if(this.fn)return arguments.length>3&&(i=[].slice.call(arguments,1,-1)),this.fn.call(this,t,i);if(e.isArray(t)){if(!this.validateMultiple)throw"Validator `"+this.name+"` does not handle multiple values";return this.validateMultiple.apply(this,arguments)}if(this.validateNumber)return isNaN(t)?!1:(arguments[0]=parseFloat(arguments[0]),this.validateNumber.apply(this,arguments));if(this.validateString)return this.validateString.apply(this,arguments);throw"Validator `"+this.name+"` only handles multiple values"},parseRequirements:function(t,i){if("string"!=typeof t)return e.isArray(t)?t:[t];var n=this.requirementType;if(e.isArray(n)){for(var r=h(t,n.length),s=0;s<r.length;s++)r[s]=p(n[s],r[s]);return r}return e.isPlainObject(n)?c(n,t,i):[p(n,t)]},requirementType:"string",priority:2};var m=function(e,t){this.__class__="ParsleyValidatorRegistry",this.locale="en",this.init(e||{},t||{})},g={email:/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,number:/^-?(\d*\.)?\d+(e[-+]?\d+)?$/i,integer:/^-?\d+$/,digits:/^\d+$/,alphanum:/^\w+$/i,url:new RegExp("^(?:(?:https?|ftp)://)?(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:/\\S*)?$","i")};g.range=g.number;var v=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0};m.prototype={init:function(t,i){this.catalog=i,this.validators=e.extend({},this.validators);for(var n in t)this.addValidator(n,t[n].fn,t[n].priority);window.Parsley.trigger("parsley:validator:init")},setLocale:function(e){if("undefined"==typeof this.catalog[e])throw new Error(e+" is not available in the catalog");return this.locale=e,this},addCatalog:function(e,t,i){return"object"==typeof t&&(this.catalog[e]=t),!0===i?this.setLocale(e):this},addMessage:function(e,t,i){return"undefined"==typeof this.catalog[e]&&(this.catalog[e]={}),this.catalog[e][t]=i,this},addMessages:function(e,t){for(var i in t)this.addMessage(e,i,t[i]);return this},addValidator:function(e,t,i){if(this.validators[e])o.warn('Validator "'+e+'" is already defined.');else if(l.hasOwnProperty(e))return void o.warn('"'+e+'" is a restricted keyword and is not a valid validator name.');return this._setValidator.apply(this,arguments)},updateValidator:function(e,t,i){return this.validators[e]?this._setValidator.apply(this,arguments):(o.warn('Validator "'+e+'" is not already defined.'),this.addValidator.apply(this,arguments))},removeValidator:function(e){return this.validators[e]||o.warn('Validator "'+e+'" is not defined.'),delete this.validators[e],this},_setValidator:function(e,t,i){"object"!=typeof t&&(t={fn:t,priority:i}),t.validate||(t=new f(t)),this.validators[e]=t;for(var n in t.messages||{})this.addMessage(n,e,t.messages[n]);return this},getErrorMessage:function(e){var t;if("type"===e.name){var i=this.catalog[this.locale][e.name]||{};t=i[e.requirements]}else t=this.formatMessage(this.catalog[this.locale][e.name],e.requirements);return t||this.catalog[this.locale].defaultMessage||this.catalog.en.defaultMessage},formatMessage:function(e,t){if("object"==typeof t){for(var i in t)e=this.formatMessage(e,t[i]);return e}return"string"==typeof e?e.replace(/%s/i,t):""},validators:{notblank:{validateString:function(e){return/\S/.test(e)},priority:2},required:{validateMultiple:function(e){return e.length>0},validateString:function(e){return/\S/.test(e)},priority:512},type:{validateString:function(e,t){var i=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],n=i.step,r=void 0===n?"any":n,s=i.base,a=void 0===s?0:s,o=g[t];if(!o)throw new Error("validator type `"+t+"` is not supported");if(!o.test(e))return!1;if("number"===t&&!/^any$/i.test(r||"")){var l=Number(e),u=Math.max(v(r),v(a));if(v(l)>u)return!1;var d=function(e){return Math.round(e*Math.pow(10,u))};if((d(l)-d(a))%d(r)!=0)return!1}return!0},requirementType:{"":"string",step:"string",base:"number"},priority:256},pattern:{validateString:function(e,t){return t.test(e)},requirementType:"regexp",priority:64},minlength:{validateString:function(e,t){return e.length>=t},requirementType:"integer",priority:30},maxlength:{validateString:function(e,t){return e.length<=t},requirementType:"integer",priority:30},length:{validateString:function(e,t,i){return e.length>=t&&e.length<=i},requirementType:["integer","integer"],priority:30},mincheck:{validateMultiple:function(e,t){return e.length>=t},requirementType:"integer",priority:30},maxcheck:{validateMultiple:function(e,t){return e.length<=t},requirementType:"integer",priority:30},check:{validateMultiple:function(e,t,i){return e.length>=t&&e.length<=i},requirementType:["integer","integer"],priority:30},min:{validateNumber:function(e,t){return e>=t},requirementType:"number",priority:30},max:{validateNumber:function(e,t){return t>=e},requirementType:"number",priority:30},range:{validateNumber:function(e,t,i){return e>=t&&i>=e},requirementType:["number","number"],priority:30},equalto:{validateString:function(t,i){var n=e(i);return n.length?t===n.val():t===i},priority:256}}};var y={},_=function k(e,t,i){for(var n=[],r=[],s=0;s<e.length;s++){for(var a=!1,o=0;o<t.length;o++)if(e[s].assert.name===t[o].assert.name){a=!0;break}a?r.push(e[s]):n.push(e[s])}return{kept:r,added:n,removed:i?[]:k(t,e,!0).added}};y.Form={_actualizeTriggers:function(){var e=this;this.$element.on("submit.Parsley",function(t){e.onSubmitValidate(t)}),this.$element.on("click.Parsley",o._SubmitSelector,function(t){e.onSubmitButton(t)}),!1!==this.options.uiEnabled&&this.$element.attr("novalidate","")},focus:function(){if(this._focusedField=null,!0===this.validationResult||"none"===this.options.focus)return null;for(var e=0;e<this.fields.length;e++){var t=this.fields[e];if(!0!==t.validationResult&&t.validationResult.length>0&&"undefined"==typeof t.options.noFocus&&(this._focusedField=t.$element,"first"===this.options.focus))break}return null===this._focusedField?null:this._focusedField.focus()},_destroyUI:function(){this.$element.off(".Parsley")}},y.Field={_reflowUI:function(){if(this._buildUI(),this._ui){var e=_(this.validationResult,this._ui.lastValidationResult);this._ui.lastValidationResult=this.validationResult,this._manageStatusClass(),this._manageErrorsMessages(e),this._actualizeTriggers(),!e.kept.length&&!e.added.length||this._failedOnce||(this._failedOnce=!0,this._actualizeTriggers())}},getErrorsMessages:function(){if(!0===this.validationResult)return[];for(var e=[],t=0;t<this.validationResult.length;t++)e.push(this.validationResult[t].errorMessage||this._getErrorMessage(this.validationResult[t].assert));return e},addError:function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=t.message,n=t.assert,r=t.updateClass,s=void 0===r?!0:r;this._buildUI(),this._addError(e,{message:i,assert:n}),s&&this._errorClass()},updateError:function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=t.message,n=t.assert,r=t.updateClass,s=void 0===r?!0:r;this._buildUI(),this._updateError(e,{message:i,assert:n}),s&&this._errorClass()},removeError:function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=t.updateClass,n=void 0===i?!0:i;this._buildUI(),this._removeError(e),n&&this._manageStatusClass()},_manageStatusClass:function(){this.hasConstraints()&&this.needsValidation()&&!0===this.validationResult?this._successClass():this.validationResult.length>0?this._errorClass():this._resetClass()},_manageErrorsMessages:function(t){if("undefined"==typeof this.options.errorsMessagesDisabled){if("undefined"!=typeof this.options.errorMessage)return t.added.length||t.kept.length?(this._insertErrorWrapper(),0===this._ui.$errorsWrapper.find(".parsley-custom-error-message").length&&this._ui.$errorsWrapper.append(e(this.options.errorTemplate).addClass("parsley-custom-error-message")),this._ui.$errorsWrapper.addClass("filled").find(".parsley-custom-error-message").html(this.options.errorMessage)):this._ui.$errorsWrapper.removeClass("filled").find(".parsley-custom-error-message").remove();for(var i=0;i<t.removed.length;i++)this._removeError(t.removed[i].assert.name);for(i=0;i<t.added.length;i++)this._addError(t.added[i].assert.name,{message:t.added[i].errorMessage,assert:t.added[i].assert});for(i=0;i<t.kept.length;i++)this._updateError(t.kept[i].assert.name,{message:t.kept[i].errorMessage,assert:t.kept[i].assert})}},_addError:function(t,i){var n=i.message,r=i.assert;this._insertErrorWrapper(),this._ui.$errorsWrapper.addClass("filled").append(e(this.options.errorTemplate).addClass("parsley-"+t).html(n||this._getErrorMessage(r)))},_updateError:function(e,t){var i=t.message,n=t.assert;this._ui.$errorsWrapper.addClass("filled").find(".parsley-"+e).html(i||this._getErrorMessage(n))},_removeError:function(e){this._ui.$errorsWrapper.removeClass("filled").find(".parsley-"+e).remove()},_getErrorMessage:function(e){var t=e.name+"Message";return"undefined"!=typeof this.options[t]?window.Parsley.formatMessage(this.options[t],e.requirements):window.Parsley.getErrorMessage(e)},_buildUI:function(){if(!this._ui&&!1!==this.options.uiEnabled){var t={};this.$element.attr(this.options.namespace+"id",this.__id__),t.$errorClassHandler=this._manageClassHandler(),t.errorsWrapperId="parsley-id-"+(this.options.multiple?"multiple-"+this.options.multiple:this.__id__),t.$errorsWrapper=e(this.options.errorsWrapper).attr("id",t.errorsWrapperId),t.lastValidationResult=[],t.validationInformationVisible=!1,this._ui=t}},_manageClassHandler:function(){if("string"==typeof this.options.classHandler&&e(this.options.classHandler).length)return e(this.options.classHandler);var t=this.options.classHandler.call(this,this);return"undefined"!=typeof t&&t.length?t:this._inputHolder()},_inputHolder:function(){return!this.options.multiple||this.$element.is("select")?this.$element:this.$element.parent()},_insertErrorWrapper:function(){var t;if(0!==this._ui.$errorsWrapper.parent().length)return this._ui.$errorsWrapper.parent();if("string"==typeof this.options.errorsContainer){if(e(this.options.errorsContainer).length)return e(this.options.errorsContainer).append(this._ui.$errorsWrapper);o.warn("The errors container `"+this.options.errorsContainer+"` does not exist in DOM")}else"function"==typeof this.options.errorsContainer&&(t=this.options.errorsContainer.call(this,this));return"undefined"!=typeof t&&t.length?t.append(this._ui.$errorsWrapper):this._inputHolder().after(this._ui.$errorsWrapper)},_actualizeTriggers:function(){var e,t=this,i=this._findRelated();i.off(".Parsley"),this._failedOnce?i.on(o.namespaceEvents(this.options.triggerAfterFailure,"Parsley"),function(){t._validateIfNeeded()}):(e=o.namespaceEvents(this.options.trigger,"Parsley"))&&i.on(e,function(e){t._validateIfNeeded(e)})},_validateIfNeeded:function(e){var t=this;e&&/key|input/.test(e.type)&&(!this._ui||!this._ui.validationInformationVisible)&&this.getValue().length<=this.options.validationThreshold||(this.options.debounce?(window.clearTimeout(this._debounced),this._debounced=window.setTimeout(function(){return t.validate()},this.options.debounce)):this.validate())},_resetUI:function(){this._failedOnce=!1,this._actualizeTriggers(),"undefined"!=typeof this._ui&&(this._ui.$errorsWrapper.removeClass("filled").children().remove(),this._resetClass(),this._ui.lastValidationResult=[],this._ui.validationInformationVisible=!1)},_destroyUI:function(){this._resetUI(),"undefined"!=typeof this._ui&&this._ui.$errorsWrapper.remove(),delete this._ui},_successClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.errorClass).addClass(this.options.successClass)},_errorClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.successClass).addClass(this.options.errorClass)},_resetClass:function(){this._ui.$errorClassHandler.removeClass(this.options.successClass).removeClass(this.options.errorClass)}};var w=function(t,i,n){this.__class__="ParsleyForm",this.$element=e(t),this.domOptions=i,this.options=n,this.parent=window.Parsley,this.fields=[],this.validationResult=null},b={pending:null,resolved:!0,rejected:!1};w.prototype={onSubmitValidate:function(e){var t=this;if(!0!==e.parsley){var i=this._$submitSource||this.$element.find(o._SubmitSelector).first();if(this._$submitSource=null,this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!0),!i.is("[formnovalidate]")){var n=this.whenValidate({event:e});"resolved"===n.state()&&!1!==this._trigger("submit")||(e.stopImmediatePropagation(),e.preventDefault(),"pending"===n.state()&&n.done(function(){t._submit(i)}))}}},onSubmitButton:function(t){this._$submitSource=e(t.currentTarget)},_submit:function(t){if(!1!==this._trigger("submit")){if(t){var i=this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!1);0===i.length&&(i=e('<input class="parsley-synthetic-submit-button" type="hidden">').appendTo(this.$element)),i.attr({name:t.attr("name"),value:t.attr("value")})}this.$element.trigger(e.extend(e.Event("submit"),{parsley:!0}))}},validate:function(t){if(arguments.length>=1&&!e.isPlainObject(t)){o.warnOnce("Calling validate on a parsley form without passing arguments as an object is deprecated.");var i=_slice.call(arguments),n=i[0],r=i[1],s=i[2];t={group:n,force:r,event:s}}return b[this.whenValidate(t).state()]},whenValidate:function(){var t,i=this,n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],r=n.group,s=n.force,a=n.event;this.submitEvent=a,a&&(this.submitEvent=e.extend({},a,{preventDefault:function(){o.warnOnce("Using `this.submitEvent.preventDefault()` is deprecated; instead, call `this.validationResult = false`"),i.validationResult=!1}})),this.validationResult=!0,this._trigger("validate"),this._refreshFields();var l=this._withoutReactualizingFormOptions(function(){return e.map(i.fields,function(e){return e.whenValidate({force:s,group:r})})});return(t=o.all(l).done(function(){i._trigger("success")}).fail(function(){i.validationResult=!1,i.focus(),i._trigger("error")}).always(function(){i._trigger("validated")})).pipe.apply(t,_toConsumableArray(this._pipeAccordingToValidationResult()))},isValid:function(t){if(arguments.length>=1&&!e.isPlainObject(t)){o.warnOnce("Calling isValid on a parsley form without passing arguments as an object is deprecated.");var i=_slice.call(arguments),n=i[0],r=i[1];t={group:n,force:r}}return b[this.whenValid(t).state()]},whenValid:function(){var t=this,i=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=i.group,r=i.force;this._refreshFields();var s=this._withoutReactualizingFormOptions(function(){return e.map(t.fields,function(e){return e.whenValid({group:n,force:r})})});return o.all(s)},_refreshFields:function(){return this.actualizeOptions()._bindFields()},_bindFields:function(){var t=this,i=this.fields;return this.fields=[],this.fieldsMappedById={},this._withoutReactualizingFormOptions(function(){t.$element.find(t.options.inputs).not(t.options.excluded).each(function(e,i){var n=new window.Parsley.Factory(i,{},t);"ParsleyField"!==n.__class__&&"ParsleyFieldMultiple"!==n.__class__||!0===n.options.excluded||"undefined"==typeof t.fieldsMappedById[n.__class__+"-"+n.__id__]&&(t.fieldsMappedById[n.__class__+"-"+n.__id__]=n,t.fields.push(n))}),e.each(o.difference(i,t.fields),function(e,t){t._trigger("reset")})}),this},_withoutReactualizingFormOptions:function(e){var t=this.actualizeOptions;this.actualizeOptions=function(){return this};var i=e();return this.actualizeOptions=t,i},_trigger:function(e){return this.trigger("form:"+e)}};var F=function(t,i,n,r,s){if(!/ParsleyField/.test(t.__class__))throw new Error("ParsleyField or ParsleyFieldMultiple instance expected");var a=window.Parsley._validatorRegistry.validators[i],o=new f(a);e.extend(this,{validator:o,name:i,requirements:n,priority:r||t.options[i+"Priority"]||o.priority,isDomConstraint:!0===s}),this._parseRequirements(t.options)},C=function(e){var t=e[0].toUpperCase();return t+e.slice(1)};F.prototype={validate:function(e,t){var i;return(i=this.validator).validate.apply(i,[e].concat(_toConsumableArray(this.requirementList),[t]))},_parseRequirements:function(e){var t=this;this.requirementList=this.validator.parseRequirements(this.requirements,function(i){return e[t.name+C(i)]})}};var $=function(t,i,n,r){this.__class__="ParsleyField",this.$element=e(t),"undefined"!=typeof r&&(this.parent=r),this.options=n,this.domOptions=i,this.constraints=[],this.constraintsByName={},this.validationResult=!0,this._bindConstraints()},x={pending:null,resolved:!0,rejected:!1};$.prototype={validate:function(t){arguments.length>=1&&!e.isPlainObject(t)&&(o.warnOnce("Calling validate on a parsley field without passing arguments as an object is deprecated."),t={options:t});var i=this.whenValidate(t);if(!i)return!0;switch(i.state()){case"pending":return null;case"resolved":return!0;case"rejected":return this.validationResult}},whenValidate:function(){var e,t=this,i=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=i.force,r=i.group;return this.refreshConstraints(),!r||this._isInGroup(r)?(this.value=this.getValue(),this._trigger("validate"),(e=this.whenValid({force:n,value:this.value,_refreshed:!0}).always(function(){t._reflowUI()}).done(function(){t._trigger("success")}).fail(function(){t._trigger("error")}).always(function(){t._trigger("validated")})).pipe.apply(e,_toConsumableArray(this._pipeAccordingToValidationResult()))):void 0},hasConstraints:function(){return 0!==this.constraints.length},needsValidation:function(e){return"undefined"==typeof e&&(e=this.getValue()),!(!e.length&&!this._isRequired()&&"undefined"==typeof this.options.validateIfEmpty)},_isInGroup:function(t){return e.isArray(this.options.group)?-1!==e.inArray(t,this.options.group):this.options.group===t},isValid:function(t){if(arguments.length>=1&&!e.isPlainObject(t)){o.warnOnce("Calling isValid on a parsley field without passing arguments as an object is deprecated.");var i=_slice.call(arguments),n=i[0],r=i[1];t={force:n,value:r}}var s=this.whenValid(t);return s?x[s.state()]:!0},whenValid:function(){var t=this,i=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=i.force,r=void 0===n?!1:n,s=i.value,a=i.group,l=i._refreshed;if(l||this.refreshConstraints(),!a||this._isInGroup(a)){if(this.validationResult=!0,!this.hasConstraints())return e.when();if("undefined"!=typeof s&&null!==s||(s=this.getValue()),!this.needsValidation(s)&&!0!==r)return e.when();var u=this._getGroupedConstraints(),d=[];return e.each(u,function(i,n){var r=o.all(e.map(n,function(e){return t._validateConstraint(s,e)}));return d.push(r),"rejected"===r.state()?!1:void 0}),o.all(d)}},_validateConstraint:function(t,i){var n=this,r=i.validate(t,this);return!1===r&&(r=e.Deferred().reject()),o.all([r]).fail(function(e){n.validationResult instanceof Array||(n.validationResult=[]),n.validationResult.push({assert:i,errorMessage:"string"==typeof e&&e})})},getValue:function(){var e;return e="function"==typeof this.options.value?this.options.value(this):"undefined"!=typeof this.options.value?this.options.value:this.$element.val(),"undefined"==typeof e||null===e?"":this._handleWhitespace(e)},refreshConstraints:function(){return this.actualizeOptions()._bindConstraints()},addConstraint:function(e,t,i,n){if(window.Parsley._validatorRegistry.validators[e]){var r=new F(this,e,t,i,n);"undefined"!==this.constraintsByName[r.name]&&this.removeConstraint(r.name),this.constraints.push(r),this.constraintsByName[r.name]=r}return this},removeConstraint:function(e){for(var t=0;t<this.constraints.length;t++)if(e===this.constraints[t].name){this.constraints.splice(t,1);break}return delete this.constraintsByName[e],this},updateConstraint:function(e,t,i){return this.removeConstraint(e).addConstraint(e,t,i)},_bindConstraints:function(){for(var e=[],t={},i=0;i<this.constraints.length;i++)!1===this.constraints[i].isDomConstraint&&(e.push(this.constraints[i]),t[this.constraints[i].name]=this.constraints[i]);this.constraints=e,this.constraintsByName=t;for(var n in this.options)this.addConstraint(n,this.options[n],void 0,!0);return this._bindHtml5Constraints()},_bindHtml5Constraints:function(){this.$element.attr("required")&&this.addConstraint("required",!0,void 0,!0),"string"==typeof this.$element.attr("pattern")&&this.addConstraint("pattern",this.$element.attr("pattern"),void 0,!0),"undefined"!=typeof this.$element.attr("min")&&"undefined"!=typeof this.$element.attr("max")?this.addConstraint("range",[this.$element.attr("min"),this.$element.attr("max")],void 0,!0):"undefined"!=typeof this.$element.attr("min")?this.addConstraint("min",this.$element.attr("min"),void 0,!0):"undefined"!=typeof this.$element.attr("max")&&this.addConstraint("max",this.$element.attr("max"),void 0,!0),"undefined"!=typeof this.$element.attr("minlength")&&"undefined"!=typeof this.$element.attr("maxlength")?this.addConstraint("length",[this.$element.attr("minlength"),this.$element.attr("maxlength")],void 0,!0):"undefined"!=typeof this.$element.attr("minlength")?this.addConstraint("minlength",this.$element.attr("minlength"),void 0,!0):"undefined"!=typeof this.$element.attr("maxlength")&&this.addConstraint("maxlength",this.$element.attr("maxlength"),void 0,!0);var e=this.$element.attr("type");return"undefined"==typeof e?this:"number"===e?this.addConstraint("type",["number",{step:this.$element.attr("step")||"1",base:this.$element.attr("min")||this.$element.attr("value")}],void 0,!0):/^(email|url|range)$/i.test(e)?this.addConstraint("type",e,void 0,!0):this},_isRequired:function(){return"undefined"==typeof this.constraintsByName.required?!1:!1!==this.constraintsByName.required.requirements},_trigger:function(e){return this.trigger("field:"+e)},_handleWhitespace:function(e){return!0===this.options.trimValue&&o.warnOnce('data-parsley-trim-value="true" is deprecated, please use data-parsley-whitespace="trim"'),"squish"===this.options.whitespace&&(e=e.replace(/\s{2,}/g," ")),"trim"!==this.options.whitespace&&"squish"!==this.options.whitespace&&!0!==this.options.trimValue||(e=o.trimString(e)),e},_getGroupedConstraints:function(){if(!1===this.options.priorityEnabled)return[this.constraints];for(var e=[],t={},i=0;i<this.constraints.length;i++){var n=this.constraints[i].priority;t[n]||e.push(t[n]=[]),t[n].push(this.constraints[i])}return e.sort(function(e,t){return t[0].priority-e[0].priority}),e}};var E=$,P=function(){this.__class__="ParsleyFieldMultiple"};P.prototype={addElement:function(e){return this.$elements.push(e),this},refreshConstraints:function(){var t;if(this.constraints=[],this.$element.is("select"))return this.actualizeOptions()._bindConstraints(),this;for(var i=0;i<this.$elements.length;i++)if(e("html").has(this.$elements[i]).length){t=this.$elements[i].data("ParsleyFieldMultiple").refreshConstraints().constraints;for(var n=0;n<t.length;n++)this.addConstraint(t[n].name,t[n].requirements,t[n].priority,t[n].isDomConstraint)}else this.$elements.splice(i,1);return this},getValue:function(){if("function"==typeof this.options.value)return this.options.value(this);if("undefined"!=typeof this.options.value)return this.options.value;if(this.$element.is("input[type=radio]"))return this._findRelated().filter(":checked").val()||"";if(this.$element.is("input[type=checkbox]")){var t=[];return this._findRelated().filter(":checked").each(function(){t.push(e(this).val())}),t}return this.$element.is("select")&&null===this.$element.val()?[]:this.$element.val()},_init:function(){return this.$elements=[this.$element],this}};var V=function(t,i,n){this.$element=e(t);var r=this.$element.data("Parsley");if(r)return"undefined"!=typeof n&&r.parent===window.Parsley&&(r.parent=n,r._resetOptions(r.options)),"object"==typeof i&&e.extend(r.options,i),r;if(!this.$element.length)throw new Error("You must bind Parsley on an existing element.");if("undefined"!=typeof n&&"ParsleyForm"!==n.__class__)throw new Error("Parent instance must be a ParsleyForm instance");return this.parent=n||window.Parsley,this.init(i)};V.prototype={init:function(e){return this.__class__="Parsley",this.__version__="2.6.0",this.__id__=o.generateID(),this._resetOptions(e),this.$element.is("form")||o.checkAttr(this.$element,this.options.namespace,"validate")&&!this.$element.is(this.options.inputs)?this.bind("parsleyForm"):this.isMultiple()?this.handleMultiple():this.bind("parsleyField")},isMultiple:function(){return this.$element.is("input[type=radio], input[type=checkbox]")||this.$element.is("select")&&"undefined"!=typeof this.$element.attr("multiple")},handleMultiple:function(){
17
+ var t,i,n=this;if(this.options.multiple||("undefined"!=typeof this.$element.attr("name")&&this.$element.attr("name").length?this.options.multiple=t=this.$element.attr("name"):"undefined"!=typeof this.$element.attr("id")&&this.$element.attr("id").length&&(this.options.multiple=this.$element.attr("id"))),this.$element.is("select")&&"undefined"!=typeof this.$element.attr("multiple"))return this.options.multiple=this.options.multiple||this.__id__,this.bind("parsleyFieldMultiple");if(!this.options.multiple)return o.warn("To be bound by Parsley, a radio, a checkbox and a multiple select input must have either a name or a multiple option.",this.$element),this;this.options.multiple=this.options.multiple.replace(/(:|\.|\[|\]|\{|\}|\$)/g,""),"undefined"!=typeof t&&e('input[name="'+t+'"]').each(function(t,i){e(i).is("input[type=radio], input[type=checkbox]")&&e(i).attr(n.options.namespace+"multiple",n.options.multiple)});for(var r=this._findRelated(),s=0;s<r.length;s++)if(i=e(r.get(s)).data("Parsley"),"undefined"!=typeof i){this.$element.data("ParsleyFieldMultiple")||i.addElement(this.$element);break}return this.bind("parsleyField",!0),i||this.bind("parsleyFieldMultiple")},bind:function(t,i){var n;switch(t){case"parsleyForm":n=e.extend(new w(this.$element,this.domOptions,this.options),new u,window.ParsleyExtend)._bindFields();break;case"parsleyField":n=e.extend(new E(this.$element,this.domOptions,this.options,this.parent),new u,window.ParsleyExtend);break;case"parsleyFieldMultiple":n=e.extend(new E(this.$element,this.domOptions,this.options,this.parent),new P,new u,window.ParsleyExtend)._init();break;default:throw new Error(t+"is not a supported Parsley type")}return this.options.multiple&&o.setAttr(this.$element,this.options.namespace,"multiple",this.options.multiple),"undefined"!=typeof i?(this.$element.data("ParsleyFieldMultiple",n),n):(this.$element.data("Parsley",n),n._actualizeTriggers(),n._trigger("init"),n)}};var M=e.fn.jquery.split(".");if(parseInt(M[0])<=1&&parseInt(M[1])<8)throw"The loaded version of jQuery is too old. Please upgrade to 1.8.x or better.";M.forEach||o.warn("Parsley requires ES5 to run properly. Please include https://github.com/es-shims/es5-shim");var O=e.extend(new u,{$element:e(document),actualizeOptions:null,_resetOptions:null,Factory:V,version:"2.6.0"});e.extend(E.prototype,y.Field,u.prototype),e.extend(w.prototype,y.Form,u.prototype),e.extend(V.prototype,u.prototype),e.fn.parsley=e.fn.psly=function(t){if(this.length>1){var i=[];return this.each(function(){i.push(e(this).parsley(t))}),i}return e(this).length?new V(this,t):void o.warn("You must bind Parsley on an existing element.")},"undefined"==typeof window.ParsleyExtend&&(window.ParsleyExtend={}),O.options=e.extend(o.objectCreate(l),window.ParsleyConfig),window.ParsleyConfig=O.options,window.Parsley=window.psly=O,window.ParsleyUtils=o;var A=window.Parsley._validatorRegistry=new m(window.ParsleyConfig.validators,window.ParsleyConfig.i18n);window.ParsleyValidator={},e.each("setLocale addCatalog addMessage addMessages getErrorMessage formatMessage addValidator updateValidator removeValidator".split(" "),function(t,i){window.Parsley[i]=e.proxy(A,i),window.ParsleyValidator[i]=function(){var e;return o.warnOnce("Accessing the method '"+i+"' through ParsleyValidator is deprecated. Simply call 'window.Parsley."+i+"(...)'"),(e=window.Parsley)[i].apply(e,arguments)}}),window.Parsley.UI=y,window.ParsleyUI={removeError:function(e,t,i){var n=!0!==i;return o.warnOnce("Accessing ParsleyUI is deprecated. Call 'removeError' on the instance directly. Please comment in issue 1073 as to your need to call this method."),e.removeError(t,{updateClass:n})},getErrorsMessages:function(e){return o.warnOnce("Accessing ParsleyUI is deprecated. Call 'getErrorsMessages' on the instance directly."),e.getErrorsMessages()}},e.each("addError updateError".split(" "),function(e,t){window.ParsleyUI[t]=function(e,i,n,r,s){var a=!0!==s;return o.warnOnce("Accessing ParsleyUI is deprecated. Call '"+t+"' on the instance directly. Please comment in issue 1073 as to your need to call this method."),e[t](i,{message:n,assert:r,updateClass:a})}}),!1!==window.ParsleyConfig.autoBind&&e(function(){e("[data-parsley-validate]").length&&e("[data-parsley-validate]").parsley()});var T=e({}),R=function(){o.warnOnce("Parsley's pubsub module is deprecated; use the 'on' and 'off' methods on parsley instances or window.Parsley")},D="parsley:";e.listen=function(e,n){var r;if(R(),"object"==typeof arguments[1]&&"function"==typeof arguments[2]&&(r=arguments[1],n=arguments[2]),"function"!=typeof n)throw new Error("Wrong parameters");window.Parsley.on(i(e),t(n,r))},e.listenTo=function(e,n,r){if(R(),!(e instanceof E||e instanceof w))throw new Error("Must give Parsley instance");if("string"!=typeof n||"function"!=typeof r)throw new Error("Wrong parameters");e.on(i(n),t(r))},e.unsubscribe=function(e,t){if(R(),"string"!=typeof e||"function"!=typeof t)throw new Error("Wrong arguments");window.Parsley.off(i(e),t.parsleyAdaptedCallback)},e.unsubscribeTo=function(e,t){if(R(),!(e instanceof E||e instanceof w))throw new Error("Must give Parsley instance");e.off(i(t))},e.unsubscribeAll=function(t){R(),window.Parsley.off(i(t)),e("form,input,textarea,select").each(function(){var n=e(this).data("Parsley");n&&n.off(i(t))})},e.emit=function(e,t){var n;R();var r=t instanceof E||t instanceof w,s=Array.prototype.slice.call(arguments,r?2:1);s.unshift(i(e)),r||(t=window.Parsley),(n=t).trigger.apply(n,_toConsumableArray(s))};e.extend(!0,O,{asyncValidators:{"default":{fn:function(e){return e.status>=200&&e.status<300},url:!1},reverse:{fn:function(e){return e.status<200||e.status>=300},url:!1}},addAsyncValidator:function(e,t,i,n){return O.asyncValidators[e]={fn:t,url:i||!1,options:n||{}},this}}),O.addValidator("remote",{requirementType:{"":"string",validator:"string",reverse:"boolean",options:"object"},validateString:function(t,i,n,r){var s,a,o={},l=n.validator||(!0===n.reverse?"reverse":"default");if("undefined"==typeof O.asyncValidators[l])throw new Error("Calling an undefined async validator: `"+l+"`");i=O.asyncValidators[l].url||i,i.indexOf("{value}")>-1?i=i.replace("{value}",encodeURIComponent(t)):o[r.$element.attr("name")||r.$element.attr("id")]=t;var u=e.extend(!0,n.options||{},O.asyncValidators[l].options);s=e.extend(!0,{},{url:i,data:o,type:"GET"},u),r.trigger("field:ajaxoptions",r,s),a=e.param(s),"undefined"==typeof O._remoteCache&&(O._remoteCache={});var d=O._remoteCache[a]=O._remoteCache[a]||e.ajax(s),h=function(){var t=O.asyncValidators[l].fn.call(r,d,i,n);return t||(t=e.Deferred().reject()),e.when(t)};return d.then(h,h)},priority:-1}),O.on("form:submit",function(){O._remoteCache={}}),window.ParsleyExtend.addAsyncValidator=function(){return ParsleyUtils.warnOnce("Accessing the method `addAsyncValidator` through an instance is deprecated. Simply call `Parsley.addAsyncValidator(...)`"),O.addAsyncValidator.apply(O,arguments)},O.addMessages("en",{defaultMessage:"This value seems to be invalid.",type:{email:"This value should be a valid email.",url:"This value should be a valid url.",number:"This value should be a valid number.",integer:"This value should be a valid integer.",digits:"This value should be digits.",alphanum:"This value should be alphanumeric."},notblank:"This value should not be blank.",required:"This value is required.",pattern:"This value seems to be invalid.",min:"This value should be greater than or equal to %s.",max:"This value should be lower than or equal to %s.",range:"This value should be between %s and %s.",minlength:"This value is too short. It should have %s characters or more.",maxlength:"This value is too long. It should have %s characters or fewer.",length:"This value length is invalid. It should be between %s and %s characters long.",mincheck:"You must select at least %s choices.",maxcheck:"You must select %s choices or fewer.",check:"You must select between %s and %s choices.",equalto:"This value should be the same."}),O.setLocale("en");var I=new n;I.install();var q=O;return q});
18
+ //# sourceMappingURL=parsley.min.js.map
resources/jquery.usp.admin.js ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ User Submitted Posts > Plugin Settings
3
+ @ https://perishablepress.com/user-submitted-posts/
4
+ */
5
+
6
+ jQuery(document).ready(function($){
7
+
8
+ // toggle panels
9
+ $('.default-hidden').hide();
10
+ $('#mm-panel-toggle a').click(function(){
11
+ $('.toggle').slideToggle(300);
12
+ return false;
13
+ });
14
+ $('h2').click(function(){
15
+ $(this).next().slideToggle(300);
16
+ return false;
17
+ });
18
+
19
+ // jump toggle panels
20
+ $('#mm-panel-primary-link').click(function(){
21
+ $('.toggle').hide();
22
+ $('#mm-panel-primary .toggle').slideToggle(300);
23
+ return true;
24
+ });
25
+ $('#mm-panel-secondary-link').click(function(){
26
+ $('.toggle').hide();
27
+ $('#mm-panel-secondary .toggle').slideToggle(300);
28
+ return true;
29
+ });
30
+
31
+ // toggle form info
32
+ $('.usp-custom-form').click(function(e){
33
+ e.preventDefault;
34
+ $('.usp-custom-form-info').slideDown(300);
35
+ });
36
+ $('.usp-form').click(function(e){
37
+ e.preventDefault;
38
+ $('.usp-custom-form-info').slideUp(300);
39
+ });
40
+
41
+ // toggle categories
42
+ $('.usp-cat-toggle-link').click(function(){
43
+ $('.usp-cat-toggle-div').toggle(300);
44
+ return false;
45
+ });
46
+
47
+ });
resources/jquery.usp.core.js ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ User Submitted Posts > JavaScript > Core
3
+ @ https://perishablepress.com/user-submitted-posts/
4
+ */
5
+ jQuery(document).ready(function($) {
6
+
7
+ $('#usp_add-another').removeClass('usp-no-js');
8
+ $('#usp_add-another').addClass('usp-js');
9
+
10
+ // captcha check
11
+ $('#usp_form').submit(function(e) {
12
+ usp_captcha_check(e);
13
+ });
14
+ $('.usp-captcha .usp-input').change(function() {
15
+ usp_captcha_check();
16
+ });
17
+ function usp_captcha_check(e) {
18
+ if (usp_case_sensitivity === 'true') var usp_casing = '';
19
+ else var usp_casing = 'i';
20
+ var usp_response = new RegExp(usp_challenge_response + '$', usp_casing);
21
+ var usp_captcha = $('.user-submitted-captcha').val();
22
+ if (typeof usp_captcha != 'undefined') {
23
+ if (usp_captcha.match(usp_response)) {
24
+ $('.usp-captcha-error').remove();
25
+ $('.usp-captcha .usp-input').removeClass('parsley-error');
26
+ $('.usp-captcha .usp-input').addClass('parsley-success');
27
+ } else {
28
+ if (e) e.preventDefault();
29
+ $('.usp-captcha-error').remove();
30
+ $('.usp-captcha').append('<ul class="usp-captcha-error parsley-errors-list filled"><li class="parsley-required">Incorrect response.</li></ul>');
31
+ $('.usp-captcha .usp-input').removeClass('parsley-success');
32
+ $('.usp-captcha .usp-input').addClass('parsley-error');
33
+ }
34
+ }
35
+ }
36
+
37
+ // remember input values
38
+ function remember(selector){
39
+ $(selector).each(function(){
40
+ var name = $(this).attr('name');
41
+ if($.cookie(name)){ $(this).val($.cookie(name)); }
42
+ $(this).change(function(){$.cookie(name, $(this).val(), { path: '/', expires: 365 });});
43
+ });
44
+ }
45
+ remember('[name=user-submitted-name]');
46
+ remember('[name=user-submitted-url]');
47
+ remember('[name=user-submitted-email]');
48
+ remember('[name=user-submitted-title]');
49
+ remember('[name=user-submitted-tags]');
50
+ remember('[name=user-submitted-captcha]');
51
+ remember('[name=user-submitted-category]');
52
+ remember('[name=user-submitted-content]');
53
+
54
+ // forget input values
55
+ var re = /[?&]success=/;
56
+ if (re.test(location.href)) {
57
+ $.removeCookie('user-submitted-name', { path: '/' });
58
+ $.removeCookie('user-submitted-url', { path: '/' });
59
+ $.removeCookie('user-submitted-email', { path: '/' });
60
+ $.removeCookie('user-submitted-title', { path: '/' });
61
+ $.removeCookie('user-submitted-tags', { path: '/' });
62
+ $.removeCookie('user-submitted-captcha', { path: '/' });
63
+ $.removeCookie('user-submitted-category', { path: '/' });
64
+ $.removeCookie('user-submitted-content', { path: '/' });
65
+ }
66
+
67
+ // parsely
68
+ /*
69
+ $.listen('parsley:field:validate', function() {
70
+ validateFront();
71
+ });
72
+ */
73
+ $('#user-submitted-post').on('click', function() {
74
+ // $('#usp_form').parsley().validate();
75
+ validateFront();
76
+ });
77
+ $('.usp-callout-failure').addClass('usp-hidden').hide();
78
+ var validateFront = function() {
79
+ if (true === $('#usp_form').parsley().isValid()) {
80
+ $('.usp-callout-failure').addClass('usp-hidden').hide();
81
+ } else {
82
+ $('.usp-callout-failure').removeClass('usp-hidden').show();
83
+ }
84
+ };
85
+ // add another image
86
+ var x = parseInt($('#usp-min-images').val());
87
+ var y = parseInt($('#usp-max-images').val());
88
+ if (x === 0) x = 1;
89
+ if (x >= y) $('#usp_add-another').hide();
90
+ $('#usp_add-another').click(function(e) {
91
+ e.preventDefault();
92
+ x++;
93
+ var $this = $(this);
94
+ var $new = $('#user-submitted-image').find('input:visible:last').clone().val('').attr('style', 'display:block;');;
95
+ $('#usp-min-images').val(x);
96
+ if (x < y) {
97
+ $this.before($new.fadeIn(300));
98
+ } else if (x = y) {
99
+ $this.before($new.fadeIn(300));
100
+ $this.hide();
101
+ } else {
102
+ $this.hide();
103
+ }
104
+ $new.removeClass('usp-required-file');
105
+ });
106
+ });
resources/jquery.usp.files.js ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ User Submitted Posts > JavaScript > Files
3
+ @ https://perishablepress.com/user-submitted-posts/
4
+ */
5
+ jQuery(document).ready(function($) {
6
+ // check min files
7
+ $('#usp_form').submit(function(e) {
8
+ usp_check_files(e);
9
+ });
10
+ $('.usp-required-file').change(function() {
11
+ // usp_check_files();
12
+ });
13
+ function usp_check_files(e) {
14
+ var n = $('.usp-clone').length;
15
+ var y = parseInt($('#usp-max-images').val());
16
+ $('.usp-required-file').each(function() {
17
+ if ($.trim($(this).val()).length == 0) {
18
+ if (e) e.preventDefault();
19
+ $('.usp-files-error').remove();
20
+ $(this).removeClass('parsley-success');
21
+ $(this).addClass('parsley-error');
22
+ $('#usp_add-another').hide();
23
+ $('#user-submitted-image').after('<ul class="usp-files-error parsley-errors-list filled"><li class="parsley-required">File(s) required.</li></ul>');
24
+ } else {
25
+ $('.usp-files-error').remove();
26
+ $(this).removeClass('parsley-error');
27
+ $(this).addClass('parsley-success');
28
+ if (n < y) $('#usp_add-another').show();
29
+ }
30
+ });
31
+ }
32
+ });
resources/usp-admin.css ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* User Submitted Posts > CSS > Plugin Settings */
2
+
3
+ /* Support Panel */
4
+ .dismiss-alert { margin: 15px; }
5
+ .dismiss-alert-wrap { display: inline-block; padding: 7px 0 10px 0; }
6
+ .dismiss-alert .description { display: inline-block; margin: -2px 15px 0 0; }
7
+
8
+ /* Overview Panel */
9
+ .mm-panel-overview { padding: 0 0 0 200px; background-image: url(../images/usp-logo.jpg); background-repeat: no-repeat; background-position: 15px 0; background-size: 180px 130px; }
10
+ .mm-overview-intro { margin: 0 15px; padding: 0 15px 10px 0; }
11
+
12
+ .mm-left-div { float: left; margin: 0 0 15px 0; }
13
+ #mm-plugin-options .mm-left-div ul { margin-bottom: 30px; }
14
+
15
+ .mm-right-div { float: left; margin: 0 15px 15px 15px; }
16
+ .mm-pro-blurb {
17
+ display: block; position: relative; width: 100px; height: 100px; line-height: 100px; text-decoration: none; text-align: center; text-indent: -9999em;
18
+ color: #fff; background-image: url(../images/usp-pro.png); background-repeat: no-repeat; background-position: center center; background-size: 100px 100px;
19
+ border: none; -webkit-border-radius: 100px; -moz-border-radius: 100px; border-radius: 100px;
20
+ }
21
+ .mm-pro-blurb:hover { text-decoration: none; }
22
+ .mm-pro-blurb:active { text-decoration: none; top: 1px; }
23
+
24
+ @media (max-width: 700px) {
25
+ .mm-panel-overview { padding: 0; background-image: none; }
26
+ .mm-left-div, .mm-right-div { float: none; width: 100%; }
27
+ .mm-pro-blurb { margin: 0 auto; }
28
+ }
29
+
30
+ /* General Styles */
31
+ #mm-plugin-options h1 small { line-height: 12px; font-size: 12px; color: #bbb; }
32
+ #mm-plugin-options h2 { margin: 0; padding: 12px 0 12px 15px; font-size: 16px; cursor: pointer; }
33
+ #mm-plugin-options h3 { margin: 20px 15px; font-size: 14px; }
34
+ #mm-plugin-options p { margin-left: 15px; }
35
+ #mm-plugin-options ul { margin: 15px 15px 15px 40px; }
36
+ #mm-plugin-options li { margin: 10px 0; list-style-type: disc; }
37
+ #mm-plugin-options abbr[title] { cursor: help !important; border-bottom: 1px dotted #dfdfdf !important; text-decoration: none !important; }
38
+
39
+ /* Table Styles */
40
+ .mm-table-wrap { margin: 15px; }
41
+ .mm-table-wrap table { padding: 10px 0; }
42
+ .mm-table-wrap td,
43
+ .mm-table-wrap th { padding: 15px; vertical-align: middle; }
44
+ .mm-table-wrap th { width: 25%; }
45
+ .mm-table-less-padding table { padding: 10px 0; }
46
+ .mm-table-less-padding th,
47
+ .mm-table-less-padding td { padding: 5px 15px; }
48
+
49
+ /* Custom Form Info */
50
+ #mm-plugin-options .usp-custom-form-info { padding: 0 0 0 30px; }
51
+ #mm-plugin-options .usp-custom-form-info code { font-size: 11px; }
52
+ #mm-plugin-options .usp-custom-form-info p { margin: 0; padding: 10px 0; font-size: 11px; }
53
+ #mm-plugin-options .usp-custom-form-info ul { margin: 0 0 0 30px; padding: 0; font-size: 11px; }
54
+ #mm-plugin-options .usp-custom-form-info li { margin: 3px 0; }
55
+
56
+ /* Form Controls */
57
+ .mm-table-wrap input[type="text"] { width: 80%; font-size: 13px; }
58
+ .mm-table-wrap textarea { width: 90%; font-size: 13px; }
59
+ .mm-table-wrap .input-short[type="text"] { width: 77px; }
60
+ .mm-radio-inputs { margin: 7px 0; }
61
+ .mm-radio-inputs span { padding-left: 5px; }
62
+ .mm-radio-inputs small { padding-left: 5px; color: #777; font-size: 11px; }
63
+
64
+ /* Code & Captions */
65
+ .mm-item-desc { font-size: 13px; color: #777; }
66
+ .mm-item-caption { margin: 1px 0 0 3px; font-size: 11px; color: #777; }
67
+ .mm-item-caption code { font-size: 10px; }
68
+ .mm-code { padding: 5px; background-color: #fafae0; color: #333; font-size: 14px; }
69
+
70
+ /* Misc. Styles */
71
+ #mm-panel-toggle { margin: 5px 0; }
72
+ #mm-credit-info { margin-top: -5px; }
73
+ #setting-error-settings_updated { margin: 8px 0 15px 0; }
74
+ #setting-error-settings_updated p { margin: 7px 0; }
75
+ #mm-plugin-options .button-primary { margin: 0 0 15px 15px; }
76
+
77
+ /* Updates & Info */
78
+ #mm-iframe-wrap { width: 100%; height: 225px; overflow: hidden; }
79
+ #mm-iframe-wrap iframe { width: 100%; height: 100%; overflow: hidden; margin: 0; padding: 0; }
80
+
81
+ /* Clearfix */
82
+ .clear:before,
83
+ .clear:after { content: ""; display: table; }
84
+ .clear:after { clear: both; }
resources/usp-posts.css ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ /* User Submitted Posts > CSS > Posts */
2
+ form#posts-filter a#usp_admin_filter_posts { float: right; margin: 1px 8px 0 0; }
3
+ form#posts-filter input#delete_all { margin-right: 8px; }
resources/usp.css ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ User Submitted Posts > CSS > HTML5 form
3
+ @ https://perishablepress.com/user-submitted-posts/
4
+ Complete list of CSS selectors @ https://m0n.co/e
5
+ */
6
+
7
+ div#user-submitted-posts { width: 100%; max-width: 800px; overflow: hidden; }
8
+ div#user-submitted-posts form { box-sizing: border-box; margin: 10px 0; padding: 5px; }
9
+ div#user-submitted-posts fieldset { box-sizing: border-box; margin: 10px 0; padding: 0; border: 0; }
10
+
11
+ div#user-submitted-posts fieldset label { box-sizing: border-box; display: block; float: none; clear: both; width: 80%; margin: 0; padding: 0; border: 0; font-size: 90%; }
12
+ div#user-submitted-posts fieldset input.usp-input { box-sizing: border-box; display: block; float: none; clear: both; width: 80%; margin: 0; }
13
+ div#user-submitted-posts textarea.usp-textarea { box-sizing: border-box; display: block; float: none; clear: both; width: 100%; margin: 0; }
14
+ div#user-submitted-posts select { box-sizing: border-box; display: block; float: none; clear: both; width: auto; margin: 0; }
15
+
16
+ div#user-submitted-posts div.usp_text-editor { margin: 20px 0 0 0; }
17
+ div#user-submitted-posts div.wp-editor-container { border: 1px solid #e5e5e5; }
18
+
19
+ div#user-submitted-posts fieldset.usp-images { margin: 25px 0; }
20
+ div#user-submitted-posts div#usp-upload-message { font-size: 90%; }
21
+ div#user-submitted-posts fieldset input.usp-input.usp-clone { margin: 10px 0 0 0; font-size: 90%; }
22
+ div#user-submitted-posts a#usp_add-another { display: inline-block; clear: both; margin: 10px 0 0 0; font-size: 90%; }
23
+ div#user-submitted-posts div#usp-submit { margin: 20px 0; }
24
+
25
+ div#user-submitted-posts div.usp-error { color: #cc3333; }
26
+ div#user-submitted-posts div#usp-error-message { margin: 0 0 20px 0; }
27
+ div#user-submitted-posts div#usp-error-message.usp-callout-failure { color: #cc3333; }
28
+ div#user-submitted-posts div#usp-success-message { margin: 0 0 20px 0; font-weight: bold; }
29
+
30
+ .usp-hidden, .usp-no-js { display: none; }
31
+ .usp-js { display: block; }
32
+
33
+ /* Parsley */
34
+
35
+ div#user-submitted-posts ul.parsley-errors-list { display: none; list-style-type: none; }
36
+ div#user-submitted-posts ul.parsley-errors-list.filled { display: block; float: none; clear: both; margin: 0; padding: 0; font-size: 12px; line-height: 18px; }
37
+ div#user-submitted-posts ul.parsley-errors-list.filled li.parsley-required { display: inline-block; margin: 0; padding: 5px 10px; color: #fff; background-color: #cc3333; }
uninstall.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php // uninstall remove options
2
+
3
+ if(!defined('ABSPATH') && !defined('WP_UNINSTALL_PLUGIN')) exit();
4
+
5
+ // delete options
6
+ delete_option('usp_options');
7
+
8
+
9
+
10
+
11
+
user-submitted-posts.php ADDED
@@ -0,0 +1,1204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: User Submitted Posts
4
+ Plugin URI: https://perishablepress.com/user-submitted-posts/
5
+ Description: Enables your visitors to submit posts and images from anywhere on your site.
6
+ Tags: frontend, submission, publish, upload, share, community, content, custom fields, files, form, forms, front end, front-end, frontend content, frontend publishing, frontend uploader, generated, generated content, guest, images, login, post, posts, public, publishing, publishing, register, sharing, submit, submissions, submitted, uploader, user generated, user submit, user submitted, user-generated, user-submit, user-submitted, users, visitor
7
+ Author: Jeff Starr
8
+ Author URI: https://plugin-planet.com/
9
+ Donate link: https://m0n.co/donate
10
+ Contributors: specialk
11
+ Requires at least: 4.1
12
+ Tested up to: 4.8
13
+ Stable tag: 20170326
14
+ Version: 20170326
15
+ Text Domain: usp
16
+ Domain Path: /languages
17
+ License: GPL v2 or later
18
+ */
19
+
20
+ /*
21
+ This program is free software; you can redistribute it and/or
22
+ modify it under the terms of the GNU General Public License
23
+ as published by the Free Software Foundation; either version 2
24
+ of the License, or (at your option) any later version.
25
+
26
+ This program is distributed in the hope that it will be useful,
27
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
28
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29
+ GNU General Public License for more details.
30
+
31
+ Get a copy of the GNU General Public License: http://www.gnu.org/licenses/
32
+ */
33
+
34
+ if (!defined('ABSPATH')) die();
35
+
36
+
37
+
38
+ define('USP_WP_VERSION', '4.1');
39
+ define('USP_VERSION', '20170326');
40
+ define('USP_PLUGIN', esc_html__('User Submitted Posts', 'usp'));
41
+ define('USP_PATH', plugin_basename(__FILE__));
42
+
43
+ $usp_options = get_option('usp_options');
44
+
45
+ require_once('library/template-tags.php');
46
+ require_once('library/core-functions.php');
47
+ require_once('library/enqueue-scripts.php');
48
+ require_once('library/plugin-settings.php');
49
+
50
+
51
+
52
+ function usp_i18n_init() {
53
+
54
+ load_plugin_textdomain('usp', false, dirname(plugin_basename(__FILE__)) .'/languages/');
55
+
56
+ }
57
+ add_action('plugins_loaded', 'usp_i18n_init');
58
+
59
+
60
+
61
+ function usp_require_wp_version() {
62
+
63
+ $wp_version = get_bloginfo('version');
64
+
65
+ if (version_compare($wp_version, USP_WP_VERSION, '<')) {
66
+
67
+ if (is_plugin_active(USP_PATH)) {
68
+
69
+ deactivate_plugins(USP_PATH);
70
+
71
+ $msg = '<strong>'. USP_PLUGIN .'</strong> ';
72
+ $msg .= esc_html__('requires WordPress ', 'usp') . USP_WP_VERSION;
73
+ $msg .= esc_html__(' or higher, and has been deactivated! ', 'usp');
74
+ $msg .= esc_html__('Please return to the', 'usp') .' <a href="'. admin_url() .'">';
75
+ $msg .= esc_html__('WordPress Admin Area', 'usp') .'</a> ';
76
+ $msg .= esc_html__('to upgrade WordPress and try again.', 'usp');
77
+
78
+ wp_die($msg);
79
+
80
+ }
81
+
82
+ }
83
+
84
+ }
85
+ if (isset($_GET['activate']) && $_GET['activate'] == 'true') {
86
+
87
+ add_action('admin_init', 'usp_require_wp_version');
88
+
89
+ }
90
+
91
+
92
+
93
+ if (isset($usp_options['enable_shortcodes']) && $usp_options['enable_shortcodes']) {
94
+
95
+ // add_filter('the_content', 'do_shortcode', 10);
96
+ add_filter('widget_text', 'do_shortcode', 10);
97
+
98
+ }
99
+
100
+
101
+
102
+ function usp_check_required($field) {
103
+
104
+ global $usp_options;
105
+
106
+ if ($usp_options[$field] === 'show') return true;
107
+
108
+ else return false;
109
+
110
+ }
111
+
112
+
113
+
114
+ function usp_get_default_title() {
115
+
116
+ $time = date_i18n('Ymd', current_time('timestamp')) .'-'. date_i18n('His', current_time('timestamp'));
117
+
118
+ $title = esc_html__('User Submitted Post', 'usp');
119
+
120
+ $title = apply_filters('usp_default_title', $title, $time);
121
+
122
+ return $title;
123
+
124
+ }
125
+
126
+
127
+
128
+ function usp_get_ip_address() {
129
+
130
+ if (isset($_SERVER)) {
131
+
132
+ if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
133
+ $ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];
134
+
135
+ } elseif (isset($_SERVER['HTTP_CLIENT_IP'])) {
136
+ $ip_address = $_SERVER['HTTP_CLIENT_IP'];
137
+
138
+ } else {
139
+ $ip_address = $_SERVER['REMOTE_ADDR'];
140
+
141
+ }
142
+
143
+ } else {
144
+
145
+ if (getenv('HTTP_X_FORWARDED_FOR')) {
146
+ $ip_address = getenv('HTTP_X_FORWARDED_FOR');
147
+
148
+ } elseif (getenv('HTTP_CLIENT_IP')) {
149
+ $ip_address = getenv('HTTP_CLIENT_IP');
150
+
151
+ } else {
152
+ $ip_address = getenv('REMOTE_ADDR');
153
+
154
+ }
155
+
156
+ }
157
+
158
+ return $ip_address;
159
+
160
+ }
161
+
162
+
163
+
164
+ function usp_checkForPublicSubmission() {
165
+
166
+ global $usp_options;
167
+
168
+ if (isset($_POST['user-submitted-post'], $_POST['usp-nonce']) && !empty($_POST['user-submitted-post']) && wp_verify_nonce($_POST['usp-nonce'], 'usp-nonce')) {
169
+
170
+ $title = usp_get_default_title();
171
+
172
+ if (isset($_POST['user-submitted-title']) && ($usp_options['usp_title'] == 'show' || $usp_options['usp_title'] == 'optn')) {
173
+
174
+ $title = sanitize_text_field($_POST['user-submitted-title']);
175
+
176
+ }
177
+
178
+ $ip = sanitize_text_field(usp_get_ip_address());
179
+
180
+ $files = isset($_FILES['user-submitted-image']) ? $_FILES['user-submitted-image'] : array();
181
+
182
+ $author = isset($_POST['user-submitted-name']) ? sanitize_text_field($_POST['user-submitted-name']) : '';
183
+ $url = isset($_POST['user-submitted-url']) ? esc_url($_POST['user-submitted-url']) : '';
184
+ $email = isset($_POST['user-submitted-email']) ? sanitize_email($_POST['user-submitted-email']) : '';
185
+ $tags = isset($_POST['user-submitted-tags']) ? sanitize_text_field($_POST['user-submitted-tags']) : '';
186
+ $captcha = isset($_POST['user-submitted-captcha']) ? sanitize_text_field($_POST['user-submitted-captcha']) : '';
187
+ $verify = isset($_POST['user-submitted-verify']) ? sanitize_text_field($_POST['user-submitted-verify']) : '';
188
+ $content = isset($_POST['user-submitted-content']) ? usp_sanitize_content($_POST['user-submitted-content']) : '';
189
+ $category = isset($_POST['user-submitted-category']) ? intval($_POST['user-submitted-category']) : '';
190
+
191
+ $result = usp_createPublicSubmission($title, $files, $ip, $author, $url, $email, $tags, $captcha, $verify, $content, $category);
192
+
193
+ $post_id = false;
194
+
195
+ if (isset($result['id'])) $post_id = $result['id'];
196
+
197
+ $error = false;
198
+
199
+ if (isset($result['error'])) $error = array_filter(array_unique($result['error']));
200
+
201
+ if ($error) {
202
+
203
+ $e = implode(',', $error);
204
+ $e = trim($e, ',');
205
+
206
+ } else {
207
+
208
+ $e = 'error';
209
+
210
+ }
211
+
212
+ if ($post_id) {
213
+
214
+ if (!empty($_POST['redirect-override'])) {
215
+
216
+ $redirect = $_POST['redirect-override'];
217
+
218
+ $redirect = remove_query_arg(array('usp-error'), $redirect);
219
+ $redirect = add_query_arg(array('usp_redirect' => '1', 'success' => 1, 'post_id' => $post_id), $redirect);
220
+
221
+ } else {
222
+
223
+ $redirect = $_SERVER['REQUEST_URI'];
224
+
225
+ $redirect = remove_query_arg(array('usp-error'), $redirect);
226
+ $redirect = add_query_arg(array('success' => 1, 'post_id' => $post_id), $redirect);
227
+
228
+ }
229
+
230
+ do_action('usp_submit_success', $redirect);
231
+
232
+ } else {
233
+
234
+ if (!empty($_POST['redirect-override'])) {
235
+
236
+ $redirect = $_POST['redirect-override'];
237
+
238
+ $redirect = remove_query_arg(array('success', 'post_id'), $redirect);
239
+ $redirect = add_query_arg(array('usp_redirect' => '1', 'usp-error' => $e), $redirect);
240
+
241
+ } else {
242
+
243
+ $redirect = $_SERVER['REQUEST_URI'];
244
+
245
+ $redirect = remove_query_arg(array('success', 'post_id'), $redirect);
246
+ $redirect = add_query_arg(array('usp-error' => $e), $redirect);
247
+
248
+ }
249
+
250
+ do_action('usp_submit_error', $redirect);
251
+
252
+ }
253
+
254
+ wp_redirect(esc_url_raw($redirect));
255
+
256
+ exit();
257
+
258
+ }
259
+
260
+ }
261
+ add_action('parse_request', 'usp_checkForPublicSubmission', 1);
262
+
263
+
264
+
265
+ function usp_verify_recaptcha() {
266
+
267
+ global $usp_options;
268
+
269
+ $public = isset($usp_options['recaptcha_public']) ? $usp_options['recaptcha_public'] : false;
270
+ $private = isset($usp_options['recaptcha_private']) ? $usp_options['recaptcha_private'] : false;
271
+
272
+ if (empty($public) || empty($private)) return true;
273
+
274
+ if (isset($_POST['g-recaptcha-response'])) {
275
+
276
+ $response = null;
277
+
278
+ require_once(plugin_dir_path(__FILE__) .'library/recaptchalib_v2.php');
279
+
280
+ $check = new ReCaptcha($private);
281
+
282
+ $response = $check->verifyResponse($_SERVER['REMOTE_ADDR'], $_POST['g-recaptcha-response']);
283
+
284
+ return ($response->success) ? true : false;
285
+
286
+ }
287
+
288
+ return false;
289
+
290
+ }
291
+
292
+
293
+
294
+ function usp_sanitize_content($content) {
295
+
296
+ $allowed_tags = wp_kses_allowed_html('post');
297
+
298
+ $allowed_tags['style'] = array('types' => array());
299
+
300
+ $patterns = array('/target="_blank"/i', "/target='_blank'/i");
301
+
302
+ $replacements = array('', '');
303
+
304
+ $content = wp_kses(stripslashes($content), $allowed_tags);
305
+
306
+ $content = preg_replace($patterns, $replacements, $content);
307
+
308
+ return $content;
309
+
310
+ }
311
+
312
+
313
+
314
+ if (!current_theme_supports('post-thumbnails')) {
315
+
316
+ add_theme_support('post-thumbnails');
317
+
318
+ }
319
+ function usp_display_featured_image() {
320
+
321
+ global $post, $usp_options;
322
+
323
+ if (is_object($post) && usp_is_public_submission($post->ID)) {
324
+
325
+ if ((!has_post_thumbnail()) && ($usp_options['usp_featured_images'] == 1)) {
326
+
327
+ $args = array(
328
+ 'post_type' => 'attachment',
329
+ 'post_mime_type' =>'image',
330
+ 'posts_per_page' => 0,
331
+ 'post_parent' => $post->ID,
332
+ 'order' =>'ASC'
333
+ );
334
+
335
+ $attachments = get_posts($args);
336
+
337
+ if ($attachments) {
338
+
339
+ foreach ($attachments as $attachment) {
340
+
341
+ set_post_thumbnail($post->ID, $attachment->ID);
342
+
343
+ break;
344
+
345
+ }
346
+
347
+ }
348
+
349
+ }
350
+
351
+ }
352
+
353
+ }
354
+ add_action('wp', 'usp_display_featured_image');
355
+
356
+
357
+
358
+ function usp_add_meta_box() {
359
+
360
+ global $post;
361
+
362
+ if (usp_is_public_submission()) {
363
+
364
+ $screens = array('post', 'page');
365
+
366
+ $name = get_post_meta($post->ID, 'user_submit_name', true);
367
+ $email = get_post_meta($post->ID, 'user_submit_email', true);
368
+ $url = get_post_meta($post->ID, 'user_submit_url', true);
369
+ $ip = get_post_meta($post->ID, 'user_submit_ip', true);
370
+
371
+ if (!empty($name) || !empty($email) || !empty($url) || !empty($ip)) {
372
+
373
+ foreach ($screens as $screen) {
374
+
375
+ add_meta_box('usp_section_id', esc_html__('User Submitted Post Info', 'usp'), 'usp_meta_box_callback', $screen);
376
+
377
+ }
378
+
379
+ }
380
+
381
+ }
382
+
383
+ }
384
+ add_action('add_meta_boxes', 'usp_add_meta_box');
385
+
386
+
387
+
388
+ function usp_meta_box_callback($post) {
389
+
390
+ global $usp_options;
391
+
392
+ if (usp_is_public_submission()) {
393
+
394
+ wp_nonce_field('usp_meta_box_nonce', 'usp_meta_box_nonce');
395
+
396
+ $name = get_post_meta($post->ID, 'user_submit_name', true);
397
+ $email = get_post_meta($post->ID, 'user_submit_email', true);
398
+ $url = get_post_meta($post->ID, 'user_submit_url', true);
399
+ $ip = get_post_meta($post->ID, 'user_submit_ip', true);
400
+
401
+ if (!empty($name) || !empty($email) || !empty($url) || !empty($ip)) {
402
+
403
+ echo '<ul style="margin-left:24px;list-style:square outside;">';
404
+
405
+ if (!empty($name)) echo '<li>'. esc_html__('Submitter Name: ', 'usp') . $name .'</li>';
406
+ if (!empty($email)) echo '<li>'. esc_html__('Submitter Email: ', 'usp') . $email .'</li>';
407
+ if (!empty($url)) echo '<li>'. esc_html__('Submitter URL: ', 'usp') . $url .'</li>';
408
+ if (!empty($ip) && !$usp_options['disable_ip_tracking']) echo '<li>'. esc_html__('Submitter IP: ', 'usp') . $ip .'</li>';
409
+
410
+ echo '</ul>';
411
+
412
+ }
413
+
414
+ }
415
+
416
+ }
417
+
418
+
419
+
420
+ function usp_display_form() {
421
+
422
+ global $usp_options;
423
+
424
+ $default = WP_PLUGIN_DIR .'/'. basename(dirname(__FILE__)) .'/views/submission-form.php';
425
+
426
+ $custom = get_stylesheet_directory() .'/usp/submission-form.php';
427
+
428
+ ob_start();
429
+
430
+ if ($usp_options['usp_form_version'] === 'custom' && file_exists($custom)) include($custom);
431
+
432
+ else include($default);
433
+
434
+ return apply_filters('usp_form_shortcode', ob_get_clean());
435
+
436
+ }
437
+ add_shortcode ('user-submitted-posts', 'usp_display_form');
438
+
439
+
440
+
441
+ function user_submitted_posts() {
442
+
443
+ echo usp_display_form();
444
+
445
+ }
446
+
447
+
448
+
449
+ function usp_outputUserSubmissionLink() {
450
+
451
+ global $pagenow;
452
+
453
+ $screen = get_current_screen();
454
+
455
+ if ($pagenow === 'edit.php' && $screen->post_type === 'post') {
456
+
457
+ $link = '<a id="usp_admin_filter_posts" class="button" ';
458
+ $link .= 'href="'. admin_url('edit.php?user_submitted=1') .'" ';
459
+ $link .= 'title="'. esc_attr__('Show USP Posts', 'usp') .'">';
460
+ $link .= esc_html__('USP', 'usp') .'</a>';
461
+
462
+ echo $link;
463
+
464
+ }
465
+
466
+ }
467
+ add_action ('restrict_manage_posts', 'usp_outputUserSubmissionLink');
468
+
469
+
470
+
471
+ function usp_addSubmittedStatusClause($wp_query) {
472
+
473
+ global $pagenow;
474
+
475
+ if (isset($_GET['user_submitted']) && $_GET['user_submitted'] === '1') {
476
+
477
+ if (is_admin() && $pagenow == 'edit.php') {
478
+
479
+ set_query_var('meta_key', 'is_submission');
480
+ set_query_var('meta_value', 1);
481
+
482
+ }
483
+
484
+ }
485
+
486
+ }
487
+ add_action ('parse_query', 'usp_addSubmittedStatusClause');
488
+
489
+
490
+
491
+ function usp_replaceAuthor($author) {
492
+
493
+ global $post, $usp_options;
494
+
495
+ $isSubmission = get_post_meta($post->ID, 'is_submission', true);
496
+ $submissionAuthor = get_post_meta($post->ID, 'user_submit_name', true);
497
+
498
+ if ($isSubmission && !empty($submissionAuthor)) $author = $submissionAuthor;
499
+
500
+ return apply_filters('usp_post_author', $author);
501
+
502
+ }
503
+ add_filter ('the_author', 'usp_replaceAuthor');
504
+
505
+
506
+
507
+ function usp_get_author($author) {
508
+
509
+ global $usp_options;
510
+
511
+ $error = false;
512
+
513
+ $author_id = $usp_options['author'];
514
+
515
+ if (!empty($author)) {
516
+
517
+ if ($usp_options['usp_use_author']) {
518
+
519
+ $author_info = get_user_by('login', $author);
520
+
521
+ if ($author_info) {
522
+
523
+ $author_id = $author_info->ID;
524
+
525
+ $author = get_the_author_meta('display_name', $author_id);
526
+
527
+ }
528
+
529
+ }
530
+
531
+ } else {
532
+
533
+ if ($usp_options['usp_name'] == 'show') {
534
+
535
+ $error = 'required-name';
536
+
537
+ } else {
538
+
539
+ $author = get_the_author_meta('display_name', $author_id);
540
+
541
+ }
542
+
543
+ }
544
+
545
+ $author_data = array('author' => $author, 'author_id' => $author_id, 'error' => $error);
546
+
547
+ return $author_data;
548
+
549
+ }
550
+
551
+
552
+
553
+ if (!function_exists('exif_imagetype')) {
554
+
555
+ function exif_imagetype($filename) {
556
+
557
+ if ((list($width, $height, $type, $attr) = getimagesize($filename)) !== false) {
558
+
559
+ return $type;
560
+
561
+ }
562
+
563
+ return false;
564
+
565
+ }
566
+
567
+ }
568
+
569
+
570
+
571
+ function usp_check_images($files, $newPost) {
572
+
573
+ global $usp_options;
574
+
575
+ $temp = false; $errr = false; $error = array();
576
+
577
+ if (isset($files['tmp_name'])) $temp = array_filter($files['tmp_name']);
578
+ if (isset($files['error'])) $errr = array_filter($files['error']);
579
+
580
+ $file_count = 0;
581
+
582
+ if (!empty($temp)) {
583
+
584
+ foreach ($temp as $key => $value) if (is_uploaded_file($value)) $file_count++;
585
+
586
+ }
587
+
588
+ if ($usp_options['usp_images'] == 'show') {
589
+
590
+ if ($file_count < $usp_options['min-images']) $error[] = 'file-min';
591
+ if ($file_count > $usp_options['max-images']) $error[] = 'file-max';
592
+
593
+ for ($i = 0; $i < $file_count; $i++) {
594
+
595
+ $image = @getimagesize($temp[$i]);
596
+
597
+ if (false === $image) {
598
+
599
+ $error[] = 'file-type';
600
+
601
+ break;
602
+
603
+ } else {
604
+
605
+ if (isset($temp[$i]) && !exif_imagetype($temp[$i])) {
606
+
607
+ $error[] = 'file-type';
608
+
609
+ break;
610
+
611
+ }
612
+
613
+ if (isset($image[0]) && !usp_width_min($image[0])) {
614
+
615
+ $error[] = 'width-min';
616
+
617
+ break;
618
+
619
+ }
620
+
621
+ if (isset($image[0]) && !usp_width_max($image[0])) {
622
+
623
+ $error[] = 'width-max';
624
+
625
+ break;
626
+
627
+ }
628
+
629
+ if (isset($image[1]) && !usp_height_min($image[1])) {
630
+
631
+ $error[] = 'height-min';
632
+
633
+ break;
634
+
635
+ }
636
+
637
+ if (isset($image[1]) && !usp_height_max($image[1])) {
638
+
639
+ $error[] = 'height-max';
640
+
641
+ break;
642
+
643
+ }
644
+
645
+ if (isset($errr[$i]) && $errr[$i] == 4) {
646
+
647
+ $error[] = 'file-error';
648
+
649
+ break;
650
+
651
+ }
652
+
653
+ }
654
+
655
+ }
656
+
657
+ } else {
658
+
659
+ $files = false;
660
+
661
+ }
662
+
663
+ $file_data = array('error' => $error, 'file_count' => $file_count);
664
+
665
+ return $file_data;
666
+
667
+ }
668
+
669
+
670
+
671
+ function usp_prepare_post($title, $content, $author_id, $author, $ip) {
672
+
673
+ global $usp_options;
674
+
675
+ $postData = array();
676
+ $postData['post_title'] = $title;
677
+ $postData['post_content'] = $content;
678
+ $postData['post_author'] = $author_id;
679
+ $postData['post_status'] = apply_filters('usp_post_status', 'pending');
680
+
681
+ $numberApproved = $usp_options['number-approved'];
682
+
683
+ if ($numberApproved == 0) {
684
+
685
+ $postData['post_status'] = apply_filters('usp_post_publish', 'publish');
686
+
687
+ } elseif ($numberApproved == -1) {
688
+
689
+ $postData['post_status'] = apply_filters('usp_post_moderate', 'pending');
690
+
691
+ } elseif ($numberApproved == -2) {
692
+
693
+ $postData['post_status'] = apply_filters('usp_post_draft', 'draft');
694
+
695
+ } else {
696
+
697
+ $posts = get_posts(array('post_status' => 'publish', 'meta_key' => 'user_submit_name', 'meta_value' => $author));
698
+
699
+ $counter = 0;
700
+
701
+ foreach ($posts as $post) {
702
+
703
+ $submitterName = get_post_meta($post->ID, 'user_submit_name', true);
704
+ $submitterIp = get_post_meta($post->ID, 'user_submit_ip', true);
705
+
706
+ if ($submitterName == $author && $submitterIp == $ip) $counter++;
707
+
708
+ }
709
+
710
+ if ($counter >= $numberApproved) $postData['post_status'] = apply_filters('usp_post_approve', 'publish');
711
+
712
+ }
713
+
714
+ return apply_filters('usp_post_data', $postData);
715
+
716
+ }
717
+
718
+
719
+
720
+ function usp_check_duplicates($title) {
721
+
722
+ global $usp_options;
723
+
724
+ if ($usp_options['titles_unique']) {
725
+
726
+ $check_post = get_page_by_title($title, OBJECT, 'post');
727
+
728
+ if ($check_post && $check_post->ID) return false;
729
+
730
+ }
731
+
732
+ return true;
733
+
734
+ }
735
+
736
+
737
+
738
+ function usp_createPublicSubmission($title, $files, $ip, $author, $url, $email, $tags, $captcha, $verify, $content, $category) {
739
+
740
+ global $usp_options;
741
+
742
+ // check errors
743
+ $newPost = array('id' => false, 'error' => false);
744
+
745
+ $author_data = usp_get_author($author);
746
+ $author = $author_data['author'];
747
+ $author_id = $author_data['author_id'];
748
+ $newPost['error'][] = $author_data['error'];
749
+
750
+ $file_data = usp_check_images($files, $newPost);
751
+ $file_count = $file_data['file_count'];
752
+ $newPost['error'] = array_unique(array_merge($file_data['error'], $newPost['error']));
753
+
754
+ if (isset($usp_options['usp_title']) && ($usp_options['usp_title'] == 'show') && empty($title)) $newPost['error'][] = 'required-title';
755
+ if (isset($usp_options['usp_url']) && ($usp_options['usp_url'] == 'show') && empty($url)) $newPost['error'][] = 'required-url';
756
+ if (isset($usp_options['usp_tags']) && ($usp_options['usp_tags'] == 'show') && empty($tags)) $newPost['error'][] = 'required-tags';
757
+ if (isset($usp_options['usp_category']) && ($usp_options['usp_category'] == 'show') && empty($category)) $newPost['error'][] = 'required-category';
758
+ if (isset($usp_options['usp_content']) && ($usp_options['usp_content'] == 'show') && empty($content)) $newPost['error'][] = 'required-content';
759
+
760
+ if (isset($usp_options['usp_recaptcha']) && ($usp_options['usp_recaptcha'] == 'show') && !usp_verify_recaptcha()) $newPost['error'][] = 'required-recaptcha';
761
+ if (isset($usp_options['usp_captcha']) && ($usp_options['usp_captcha'] == 'show') && !usp_spamQuestion($captcha)) $newPost['error'][] = 'required-captcha';
762
+ if (isset($usp_options['usp_email']) && ($usp_options['usp_email'] != 'hide') && !usp_validateEmail($email)) $newPost['error'][] = 'required-email';
763
+
764
+ if (isset($usp_options['titles_unique']) && $usp_options['titles_unique'] && !usp_check_duplicates($title)) $newPost['error'][] = 'duplicate-title';
765
+ if (!empty($verify)) $newPost['error'][] = 'spam-verify';
766
+
767
+ foreach ($newPost['error'] as $e) {
768
+
769
+ if (!empty($e)) {
770
+
771
+ unset($newPost['id']);
772
+
773
+ return $newPost;
774
+
775
+ }
776
+
777
+ }
778
+
779
+ // submit post
780
+ $postData = usp_prepare_post($title, $content, $author_id, $author, $ip);
781
+
782
+ do_action('usp_insert_before', $postData);
783
+ $newPost['id'] = wp_insert_post($postData);
784
+ do_action('usp_insert_after', $newPost);
785
+
786
+ if ($newPost['id']) {
787
+
788
+ $post_id = $newPost['id'];
789
+
790
+ wp_set_post_tags($post_id, $tags);
791
+
792
+ wp_set_post_categories($post_id, array($category));
793
+
794
+ usp_send_mail_alert($post_id, $title);
795
+
796
+ do_action('usp_files_before', $files);
797
+
798
+ $attach_ids = array();
799
+
800
+ if ($files && $file_count > 0) {
801
+
802
+ usp_include_deps();
803
+
804
+ for ($i = 0; $i < $file_count; $i++) {
805
+
806
+ $key = apply_filters('usp_file_key', 'user-submitted-image-{$i}');
807
+
808
+ $_FILES[$key] = array();
809
+ $_FILES[$key]['name'] = $files['name'][$i];
810
+ $_FILES[$key]['tmp_name'] = $files['tmp_name'][$i];
811
+ $_FILES[$key]['type'] = $files['type'][$i];
812
+ $_FILES[$key]['error'] = $files['error'][$i];
813
+ $_FILES[$key]['size'] = $files['size'][$i];
814
+
815
+ $attach_id = media_handle_upload($key, $post_id);
816
+
817
+ if (!is_wp_error($attach_id) && wp_attachment_is_image($attach_id)) {
818
+
819
+ $attach_ids[] = $attach_id;
820
+
821
+ add_post_meta($post_id, 'user_submit_image', wp_get_attachment_url($attach_id));
822
+
823
+ } else {
824
+
825
+ wp_delete_attachment($attach_id);
826
+
827
+ wp_delete_post($post_id, true);
828
+
829
+ $newPost['error'][] = 'file-upload';
830
+
831
+ unset($newPost['id']);
832
+
833
+ return $newPost;
834
+
835
+ }
836
+
837
+ }
838
+
839
+ }
840
+
841
+ do_action('usp_files_after', $attach_ids);
842
+
843
+ update_post_meta($post_id, 'is_submission', true);
844
+
845
+ if (!empty($author)) update_post_meta($post_id, 'user_submit_name', $author);
846
+ if (!empty($email)) update_post_meta($post_id, 'user_submit_email', $email);
847
+ if (!empty($url)) update_post_meta($post_id, 'user_submit_url', $url);
848
+
849
+ if (!empty($ip) && !$usp_options['disable_ip_tracking']) update_post_meta($post_id, 'user_submit_ip', $ip);
850
+
851
+ } else {
852
+
853
+ $newPost['error'][] = 'post-fail';
854
+
855
+ }
856
+
857
+ return apply_filters('usp_new_post', $newPost);
858
+
859
+ }
860
+
861
+
862
+
863
+ function usp_include_deps() {
864
+
865
+ if (!function_exists('media_handle_upload')) {
866
+
867
+ require_once (ABSPATH .'/wp-admin/includes/media.php');
868
+ require_once (ABSPATH .'/wp-admin/includes/file.php');
869
+ require_once (ABSPATH .'/wp-admin/includes/image.php');
870
+
871
+ }
872
+
873
+ }
874
+
875
+
876
+
877
+ function usp_width_min($width) {
878
+
879
+ global $usp_options;
880
+
881
+ if (intval($width) < intval($usp_options['min-image-width'])) return false;
882
+
883
+ else return true;
884
+
885
+ }
886
+
887
+
888
+
889
+ function usp_width_max($width) {
890
+
891
+ global $usp_options;
892
+
893
+ if (intval($width) > intval($usp_options['max-image-width'])) return false;
894
+
895
+ else return true;
896
+
897
+ }
898
+
899
+
900
+
901
+ function usp_height_min($height) {
902
+
903
+ global $usp_options;
904
+
905
+ if (intval($height) < intval($usp_options['min-image-height'])) return false;
906
+
907
+ else return true;
908
+
909
+ }
910
+
911
+
912
+
913
+ function usp_height_max($height) {
914
+
915
+ global $usp_options;
916
+
917
+ if (intval($height) > intval($usp_options['max-image-height'])) return false;
918
+
919
+ else return true;
920
+
921
+ }
922
+
923
+
924
+
925
+ function usp_validateEmail($email) {
926
+
927
+ if (!is_email($email)) return false;
928
+
929
+ $bad_stuff = array("\r", "\n", "mime-version", "content-type", "cc:", "to:");
930
+
931
+ foreach ($bad_stuff as $bad) {
932
+
933
+ if (strpos(strtolower($email), strtolower($bad)) !== false) {
934
+
935
+ return false;
936
+
937
+ }
938
+
939
+ }
940
+
941
+ return true;
942
+
943
+ }
944
+
945
+
946
+
947
+ function usp_send_mail_alert($post_id, $title) {
948
+
949
+ global $usp_options;
950
+
951
+ if ($usp_options['usp_email_alerts'] == true) {
952
+
953
+ $blog_url = get_bloginfo('url'); // %%blog_url%%
954
+ $blog_name = get_bloginfo('name'); // %%blog_name%%
955
+ $post_url = get_permalink($post_id); // %%post_url%%
956
+ $admin_url = admin_url(); // %%admin_url%%
957
+ $post_title = $title; // %%post_title%%
958
+
959
+ $patterns = array();
960
+ $patterns[0] = "/%%blog_url%%/";
961
+ $patterns[1] = "/%%blog_name%%/";
962
+ $patterns[2] = "/%%post_url%%/";
963
+ $patterns[3] = "/%%admin_url%%/";
964
+ $patterns[4] = "/%%post_title%%/";
965
+
966
+ $replacements = array();
967
+ $replacements[0] = $blog_url;
968
+ $replacements[1] = $blog_name;
969
+ $replacements[2] = $post_url;
970
+ $replacements[3] = $admin_url;
971
+ $replacements[4] = $post_title;
972
+
973
+ //
974
+
975
+ $subject_default = $blog_name .': New user-submitted post!';
976
+ $subject = (isset($usp_options['email_alert_subject']) && !empty($usp_options['email_alert_subject'])) ? $usp_options['email_alert_subject'] : $subject_default;
977
+ $subject = preg_replace($patterns, $replacements, $subject);
978
+ $subject = apply_filters('usp_mail_subject', $subject);
979
+
980
+ $message_default = 'Hello, there is a new user-submitted post:'. "\r\n\n" . 'Title: '. $post_title . "\r\n\n" .'Visit Admin Area: '. $admin_url;
981
+ $message = (isset($usp_options['email_alert_message']) && !empty($usp_options['email_alert_message'])) ? $usp_options['email_alert_message'] : $message_default;
982
+ $message = preg_replace($patterns, $replacements, $message);
983
+ $message = apply_filters('usp_mail_message', $message);
984
+
985
+ $html = isset($usp_options['usp_email_html']) ? $usp_options['usp_email_html'] : false;
986
+ $format = $html ? 'text/html' : 'text/plain';
987
+
988
+ //
989
+
990
+ $default = get_bloginfo('admin_email');
991
+
992
+ $to = (isset($usp_options['usp_email_address']) && !empty($usp_options['usp_email_address'])) ? $usp_options['usp_email_address'] : $default;
993
+ $from = (isset($usp_options['usp_email_from']) && !empty($usp_options['usp_email_from'])) ? $usp_options['usp_email_from'] : $to;
994
+
995
+ $to = explode(',', $to);
996
+ $from = explode(',', $from);
997
+
998
+ $address = array();
999
+
1000
+ foreach ($to as $k => $v) $address[$k]['to'] = trim($v);
1001
+ foreach ($from as $k => $v) $address[$k]['from'] = trim($v);
1002
+
1003
+ if (!empty($address[0])) {
1004
+
1005
+ foreach ($address as $k => $v) {
1006
+
1007
+ $address_to = (isset($v['to']) && !empty($v['to'])) ? $v['to'] : $default;
1008
+ $address_from = (isset($v['from']) && !empty($v['from'])) ? $v['from'] : $default;
1009
+
1010
+ $headers = 'X-Mailer: User Submitted Posts'. "\n";
1011
+ $headers .= 'From: '. $blog_name .' <'. $address_from .'>'. "\n";
1012
+ $headers .= 'Reply-To: '. $blog_name .' <'. $address_from .'>'. "\n";
1013
+ $headers .= 'Content-Type: '. $format .'; charset='. get_option('blog_charset', 'UTF-8') . "\n";
1014
+
1015
+ wp_mail($address_to, $subject, $message, $headers);
1016
+
1017
+ }
1018
+
1019
+ }
1020
+
1021
+ }
1022
+
1023
+ }
1024
+
1025
+
1026
+
1027
+ function usp_spamQuestion($input) {
1028
+
1029
+ global $usp_options;
1030
+
1031
+ $response = $usp_options['usp_response'];
1032
+
1033
+ $response = sanitize_text_field($response);
1034
+
1035
+ if ($usp_options['usp_casing'] == false) {
1036
+
1037
+ return (strtoupper($input) == strtoupper($response));
1038
+
1039
+ } else {
1040
+
1041
+ return ($input == $response);
1042
+
1043
+ }
1044
+
1045
+ }
1046
+
1047
+
1048
+
1049
+ function usp_error_message() {
1050
+
1051
+ global $usp_options;
1052
+
1053
+ $min = $usp_options['min-images'];
1054
+ $max = $usp_options['max-images'];
1055
+
1056
+ if ((int) $min > 1) $min = ' ('. $min . esc_html__(' files required', 'usp') .')';
1057
+ else $min = ' ('. $min . esc_html__(' file required', 'usp') .')';
1058
+
1059
+ if ((int) $max > 1) $max = ' (limit: '. $max . esc_html__(' files', 'usp') .')';
1060
+ else $max = ' (limit: '. $max . esc_html__(' file', 'usp') .')';
1061
+
1062
+ $min_width = ' ('. $usp_options['min-image-width'] . esc_html__(' pixels', 'usp') .')';
1063
+ $max_width = ' ('. $usp_options['max-image-width'] . esc_html__(' pixels', 'usp') .')';
1064
+ $min_height = ' ('. $usp_options['min-image-height'] . esc_html__(' pixels', 'usp') .')';
1065
+ $max_height = ' ('. $usp_options['max-image-height'] . esc_html__(' pixels', 'usp') .')';
1066
+
1067
+ if (!empty($usp_options['error-message'])) $general_error = $usp_options['error-message'];
1068
+ else $general_error = esc_html__('An error occurred. Please go back and try again.', 'usp');
1069
+
1070
+ if (isset($_GET['usp-error']) && !empty($_GET['usp-error'])) {
1071
+
1072
+ $error_string = sanitize_text_field($_GET['usp-error']);
1073
+ $error_array = explode(',', $error_string);
1074
+ $error = array();
1075
+
1076
+ foreach ($error_array as $e) {
1077
+
1078
+ if ($e == 'required-login') $error[] = esc_html__('User login required', 'usp');
1079
+ elseif ($e == 'required-name') $error[] = esc_html__('User name required', 'usp');
1080
+ elseif ($e == 'required-title') $error[] = esc_html__('Post title required', 'usp');
1081
+ elseif ($e == 'required-url') $error[] = esc_html__('User URL required', 'usp');
1082
+ elseif ($e == 'required-tags') $error[] = esc_html__('Post tags required', 'usp');
1083
+ elseif ($e == 'required-category') $error[] = esc_html__('Post category required', 'usp');
1084
+ elseif ($e == 'required-content') $error[] = esc_html__('Post content required', 'usp');
1085
+ elseif ($e == 'required-recaptcha') $error[] = esc_html__('Correct captcha required', 'usp');
1086
+ elseif ($e == 'required-captcha') $error[] = esc_html__('Correct captcha required', 'usp');
1087
+ elseif ($e == 'required-email') $error[] = esc_html__('User email required', 'usp');
1088
+ elseif ($e == 'spam-verify') $error[] = esc_html__('Non-empty value for hidden field', 'usp');
1089
+ elseif ($e == 'file-min') $error[] = esc_html__('Minimum number of images not met', 'usp') . $min;
1090
+ elseif ($e == 'file-max') $error[] = esc_html__('Maximum number of images exceeded ', 'usp') . $max;
1091
+ elseif ($e == 'width-min') $error[] = esc_html__('Minimum image width not met', 'usp') . $min_width;
1092
+ elseif ($e == 'width-max') $error[] = esc_html__('Image width exceeds maximum', 'usp') . $max_width;
1093
+ elseif ($e == 'height-min') $error[] = esc_html__('Minimum image height not met', 'usp') . $min_height;
1094
+ elseif ($e == 'height-max') $error[] = esc_html__('Image height exceeds maximum', 'usp') . $max_height;
1095
+ elseif ($e == 'file-type') $error[] = esc_html__('File type not allowed (please upload images only)', 'usp');
1096
+ elseif ($e == 'file-error') $error[] = esc_html__('The selected files could not be uploaded to the server', 'usp'); // general file(s) error
1097
+
1098
+ // check permissions on /uploads/ directory, check error log for the following error:
1099
+ // PHP Warning: mysql_real_escape_string() expects parameter 1 to be string, object given in /wp-includes/wp-db.php
1100
+ elseif ($e == 'file-upload') $error[] = esc_html__('The file(s) could not be uploaded', 'usp');
1101
+
1102
+ elseif ($e == 'post-fail') $error[] = esc_html__('Post not created. Please contact the site administrator for help.', 'usp');
1103
+ elseif ($e == 'duplicate-title') $error[] = esc_html__('Duplicate post title. Please try again.', 'usp');
1104
+
1105
+ elseif ($e == 'error') $error[] = $general_error;
1106
+
1107
+ }
1108
+
1109
+ $output = '';
1110
+
1111
+ foreach ($error as $e) {
1112
+
1113
+ $output .= "\t\t\t".'<div class="usp-error">'. esc_html__('Error: ', 'usp') . $e .'</div>'."\n";
1114
+
1115
+ }
1116
+
1117
+ $return = '<div id="usp-error-message">'."\n". $output ."\t\t".'</div>'."\n";
1118
+
1119
+ return apply_filters('usp_error_message', $return);
1120
+
1121
+ }
1122
+
1123
+ return false;
1124
+
1125
+ }
1126
+
1127
+
1128
+
1129
+ function usp_redirect_message($content = '') {
1130
+
1131
+ global $usp_options;
1132
+
1133
+ $url = (isset($usp_options['redirect-url']) && !empty($usp_options['redirect-url'])) ? true : false;
1134
+
1135
+ $enable = (!is_admin() && (isset($_GET['usp_redirect']) && $_GET['usp_redirect'] == '1')) ? true : false;
1136
+
1137
+ $referrer = (isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER'])) ? esc_url($_SERVER['HTTP_REFERER']) : false;
1138
+
1139
+ $link = $referrer ? '<p id="usp-return-form"><a href="'. $referrer .'">'. esc_html__('Return to form', 'usp') .'</a></p>' : '';
1140
+
1141
+ $link = apply_filters('usp_return_form', $link, $referrer);
1142
+
1143
+ $message = '';
1144
+
1145
+ if ($url && $enable) {
1146
+
1147
+ if (isset($_GET['success']) && $_GET['success'] == '1') {
1148
+
1149
+ $message = '<p id="usp-success-message"><strong>'. $usp_options['success-message'] .'</strong></p>'. $link;
1150
+
1151
+ } else {
1152
+
1153
+ $message = usp_error_message() . $link;
1154
+
1155
+ }
1156
+
1157
+ }
1158
+
1159
+ return $message . $content;
1160
+
1161
+ }
1162
+
1163
+
1164
+
1165
+ function usp_login_required_message() {
1166
+
1167
+ $message = '<p>'. esc_html__('Please', 'usp');
1168
+ $message .= ' <a href="'. wp_login_url() .'">'. esc_html__('log in', 'usp') .'</a> ';
1169
+ $message .= esc_html__('to submit content!', 'usp') .'</p>';
1170
+
1171
+ $message = apply_filters('usp_require_login', $message);
1172
+
1173
+ return $message;
1174
+
1175
+ }
1176
+
1177
+
1178
+
1179
+ function usp_clear_cookies() {
1180
+
1181
+ $cookies = array(
1182
+ 'user-submitted-name',
1183
+ 'user-submitted-url',
1184
+ 'user-submitted-email',
1185
+ 'user-submitted-title',
1186
+ 'user-submitted-tags',
1187
+ 'user-submitted-captcha',
1188
+ 'user-submitted-category',
1189
+ 'user-submitted-content',
1190
+ );
1191
+
1192
+ foreach ($cookies as $cookie) {
1193
+
1194
+ if (isset($_COOKIE[$cookie]) && !empty($_COOKIE[$cookie])) {
1195
+
1196
+ unset($_COOKIE[$cookie]);
1197
+ setcookie($cookie, null, time() - 3600, '/');
1198
+
1199
+ }
1200
+
1201
+ }
1202
+
1203
+ }
1204
+ add_action('wp_logout', 'usp_clear_cookies');
views/submission-form-alt.php ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php // User Submitted Posts - Submission Form (alternate)
2
+
3
+ // this is just an alternate template that you can use for a custom form
4
+ // this template returns the form upon successful post submission
5
+
6
+ if (!defined('ABSPATH')) die();
7
+
8
+ if ($usp_options['logged_in_users'] && !is_user_logged_in()) :
9
+
10
+ echo usp_login_required_message();
11
+
12
+ else :
13
+
14
+ $usp_current_user = wp_get_current_user();
15
+ $usp_user_name = $usp_current_user->user_login;
16
+ $usp_user_url = $usp_current_user->user_url;
17
+
18
+ if ($usp_options['disable_required']) {
19
+
20
+ $usp_required = '';
21
+ $usp_captcha = '';
22
+ $usp_files = '';
23
+
24
+ } else {
25
+
26
+ $usp_required = ' data-required="true" required';
27
+ $usp_captcha = ' user-submitted-captcha';
28
+ $usp_files = ' usp-required-file';
29
+
30
+ }
31
+
32
+ $usp_display_name = (is_user_logged_in() && $usp_options['usp_use_author']) ? false : true;
33
+ $usp_display_url = (is_user_logged_in() && $usp_options['usp_use_url']) ? false : true;
34
+
35
+ $usp_recaptcha_public = (isset($usp_options['recaptcha_public']) && !empty($usp_options['recaptcha_public'])) ? true : false;
36
+ $usp_recaptcha_private = (isset($usp_options['recaptcha_private']) && !empty($usp_options['recaptcha_private'])) ? true : false;
37
+
38
+ if (isset($_GET['success']) && $_GET['success'] == '1') {
39
+
40
+ echo '<div id="usp-success-message">'. $usp_options['success-message'] .'</div>';
41
+
42
+ }
43
+
44
+ ?>
45
+
46
+ <!-- User Submitted Posts @ https://m0n.co/usp -->
47
+
48
+ <div id="user-submitted-posts">
49
+ <?php if ($usp_options['usp_form_content'] !== '') echo $usp_options['usp_form_content']; ?>
50
+
51
+ <form id="usp_form" method="post" enctype="multipart/form-data" data-parsley-validate action="">
52
+ <div id="usp-error-message" class="usp-callout-failure usp-hidden"><?php esc_html_e('Please complete the required fields.', 'usp'); ?></div>
53
+ <?php echo usp_error_message();
54
+
55
+ if (($usp_options['usp_name'] == 'show' || $usp_options['usp_name'] == 'optn') && ($usp_display_name)) { ?>
56
+
57
+ <fieldset class="usp-name">
58
+ <label for="user-submitted-name"><?php esc_html_e('Your Name', 'usp'); ?></label>
59
+ <input id="user-submitted-name" name="user-submitted-name" type="text" value="" placeholder="<?php esc_attr_e('Your Name', 'usp'); ?>"<?php if (usp_check_required('usp_name')) echo $usp_required; ?> class="usp-input">
60
+ </fieldset>
61
+ <?php } if (($usp_options['usp_url'] == 'show' || $usp_options['usp_url'] == 'optn') && ($usp_display_url)) { ?>
62
+
63
+ <fieldset class="usp-url">
64
+ <label for="user-submitted-url"><?php esc_html_e('Your URL', 'usp'); ?></label>
65
+ <input id="user-submitted-url" name="user-submitted-url" type="text" value="" placeholder="<?php esc_attr_e('Your URL', 'usp'); ?>"<?php if (usp_check_required('usp_url')) echo $usp_required; ?> class="usp-input">
66
+ </fieldset>
67
+ <?php } if ($usp_options['usp_email'] == 'show' || $usp_options['usp_email'] == 'optn') { ?>
68
+
69
+ <fieldset class="usp-email">
70
+ <label for="user-submitted-email"><?php esc_html_e('Your Email', 'usp'); ?></label>
71
+ <input id="user-submitted-email" name="user-submitted-email" type="text" value="" placeholder="<?php esc_attr_e('Your Email', 'usp'); ?>"<?php if (usp_check_required('usp_email')) echo $usp_required; ?> class="usp-input">
72
+ </fieldset>
73
+ <?php } if ($usp_options['usp_title'] == 'show' || $usp_options['usp_title'] == 'optn') { ?>
74
+
75
+ <fieldset class="usp-title">
76
+ <label for="user-submitted-title"><?php esc_html_e('Post Title', 'usp'); ?></label>
77
+ <input id="user-submitted-title" name="user-submitted-title" type="text" value="" placeholder="<?php esc_attr_e('Post Title', 'usp'); ?>"<?php if (usp_check_required('usp_title')) echo $usp_required; ?> class="usp-input">
78
+ </fieldset>
79
+ <?php } if ($usp_options['usp_tags'] == 'show' || $usp_options['usp_tags'] == 'optn') { ?>
80
+
81
+ <fieldset class="usp-tags">
82
+ <label for="user-submitted-tags"><?php esc_html_e('Post Tags', 'usp'); ?></label>
83
+ <input id="user-submitted-tags" name="user-submitted-tags" type="text" value="" placeholder="<?php esc_attr_e('Post Tags', 'usp'); ?>"<?php if (usp_check_required('usp_tags')) echo $usp_required; ?> class="usp-input">
84
+ </fieldset>
85
+ <?php } if ($usp_options['usp_captcha'] == 'show') { ?>
86
+
87
+ <fieldset class="usp-captcha">
88
+ <label for="user-submitted-captcha"><?php echo $usp_options['usp_question']; ?></label>
89
+ <input id="user-submitted-captcha" name="user-submitted-captcha" type="text" value="" placeholder="<?php esc_attr_e('Antispam Question', 'usp'); ?>"<?php echo $usp_required; ?> class="usp-input exclude<?php echo $usp_captcha; ?>">
90
+ </fieldset>
91
+ <?php } if (($usp_options['usp_category'] == 'show' || $usp_options['usp_category'] == 'optn') && ($usp_options['usp_use_cat'] == false)) { ?>
92
+
93
+ <fieldset class="usp-category">
94
+ <label for="user-submitted-category"><?php esc_html_e('Post Category', 'usp'); ?></label>
95
+ <select id="user-submitted-category" name="user-submitted-category"<?php if (usp_check_required('usp_category')) echo $usp_required; ?> class="usp-select">
96
+ <option value=""><?php esc_html_e('Please select a category..', 'usp'); ?></option>
97
+ <?php foreach($usp_options['categories'] as $categoryId) { $category = get_category($categoryId); if (!$category) { continue; } ?>
98
+
99
+ <option value="<?php echo $categoryId; ?>"><?php $category = get_category($categoryId); echo sanitize_text_field($category->name); ?></option>
100
+ <?php } ?>
101
+
102
+ </select>
103
+ </fieldset>
104
+ <?php } if ($usp_options['usp_content'] == 'show' || $usp_options['usp_content'] == 'optn') { ?>
105
+
106
+ <fieldset class="usp-content">
107
+ <?php if ($usp_options['usp_richtext_editor'] == true) { ?>
108
+
109
+ <div class="usp_text-editor">
110
+ <?php $usp_rte_settings = array(
111
+ 'wpautop' => true, // enable rich text editor
112
+ 'media_buttons' => true, // enable add media button
113
+ 'textarea_name' => 'user-submitted-content', // name
114
+ 'textarea_rows' => '10', // number of textarea rows
115
+ 'tabindex' => '', // tabindex
116
+ 'editor_css' => '', // extra CSS
117
+ 'editor_class' => 'usp-rich-textarea', // class
118
+ 'teeny' => false, // output minimal editor config
119
+ 'dfw' => false, // replace fullscreen with DFW
120
+ 'tinymce' => true, // enable TinyMCE
121
+ 'quicktags' => true, // enable quicktags
122
+ 'drag_drop_upload' => true, // enable drag-drop
123
+ );
124
+ $usp_rte_settings = apply_filters('usp_editor_settings', $usp_rte_settings);
125
+ $usp_editor_content = apply_filters('usp_editor_content', '');
126
+ wp_editor($usp_editor_content, 'uspcontent', $usp_rte_settings); ?>
127
+
128
+ </div>
129
+ <?php } else { ?>
130
+
131
+ <label for="user-submitted-content"><?php esc_html_e('Post Content', 'usp'); ?></label>
132
+ <textarea id="user-submitted-content" name="user-submitted-content" rows="5" placeholder="<?php esc_attr_e('Post Content', 'usp'); ?>"<?php if (usp_check_required('usp_content')) echo $usp_required; ?> class="usp-textarea"></textarea>
133
+ <?php } ?>
134
+
135
+ </fieldset>
136
+ <?php } if ($usp_recaptcha_public && $usp_recaptcha_private && $usp_options['usp_recaptcha'] == 'show') { ?>
137
+
138
+ <label for="user-submitted-category"><?php esc_html_e('Verification', 'usp'); ?></label>
139
+ <div class="g-recaptcha" data-sitekey="6LcD3-4SAAAAAD2UfHrxo8NXhQ9lTlpOVKnGIPVy"></div>
140
+
141
+ <?php } if ($usp_options['usp_images'] == 'show') { ?>
142
+ <?php if ($usp_options['max-images'] !== 0) { ?>
143
+
144
+ <fieldset class="usp-images">
145
+ <label for="user-submitted-image"><?php esc_html_e('Upload an Image', 'usp'); ?></label>
146
+ <div id="usp-upload-message"><?php echo $usp_options['upload-message']; ?></div>
147
+ <div id="user-submitted-image">
148
+ <?php // upload files
149
+
150
+ $usp_minImages = intval($usp_options['min-images']);
151
+ $usp_maxImages = intval($usp_options['max-images']);
152
+ $usp_addAnother = $usp_options['usp_add_another'];
153
+
154
+ if (empty($usp_addAnother)) $usp_addAnother = '<a href="#" id="usp_add-another" class="usp-no-js">'. esc_html__('Add another image', 'usp') .'</a>';
155
+
156
+ if ($usp_minImages > 0) : ?>
157
+ <?php for ($i = 0; $i < $usp_minImages; $i++) : ?>
158
+
159
+ <input name="user-submitted-image[]" type="file" size="25"<?php echo $usp_required; ?> class="usp-input usp-clone<?php echo $usp_files; ?> exclude">
160
+ <?php endfor; ?>
161
+ <?php if ($usp_minImages < $usp_maxImages) : echo $usp_addAnother; endif; ?>
162
+ <?php else : ?>
163
+
164
+ <input name="user-submitted-image[]" type="file" size="25" class="usp-input usp-clone exclude">
165
+ <?php echo $usp_addAnother; ?>
166
+ <?php endif; ?>
167
+
168
+ </div>
169
+ <input type="hidden" class="usp-hidden exclude" id="usp-min-images" name="usp-min-images" value="<?php echo $usp_options['min-images']; ?>">
170
+ <input type="hidden" class="usp-hidden exclude" id="usp-max-images" name="usp-max-images" value="<?php echo $usp_options['max-images']; ?>">
171
+ </fieldset>
172
+ <?php } ?>
173
+ <?php } ?>
174
+
175
+ <fieldset id="coldform_verify" style="display:none;">
176
+ <label for="user-submitted-verify"><?php esc_html_e('Human verification: leave this field empty.', 'usp'); ?></label>
177
+ <input id="user-submitted-verify" name="user-submitted-verify" type="text" class="exclude" value="">
178
+ </fieldset>
179
+
180
+ <div id="usp-submit">
181
+ <?php if (!empty($usp_options['redirect-url'])) { ?>
182
+
183
+ <input type="hidden" class="usp-hidden exclude" name="redirect-override" value="<?php echo $usp_options['redirect-url']; ?>">
184
+ <?php } ?>
185
+ <?php if (!$usp_display_name) { ?>
186
+
187
+ <input type="hidden" class="usp-hidden exclude" name="user-submitted-name" value="<?php echo $usp_user_name; ?>">
188
+ <?php } ?>
189
+ <?php if (!$usp_display_url) { ?>
190
+
191
+ <input type="hidden" class="usp-hidden exclude" name="user-submitted-url" value="<?php echo $usp_user_url; ?>">
192
+ <?php } ?>
193
+ <?php if ($usp_options['usp_use_cat'] == true) { ?>
194
+
195
+ <input type="hidden" class="usp-hidden exclude" name="user-submitted-category" value="<?php echo $usp_options['usp_use_cat_id']; ?>">
196
+ <?php } ?>
197
+
198
+ <input type="submit" class="usp-submit exclude" id="user-submitted-post" name="user-submitted-post" value="<?php esc_attr_e('Submit Post', 'usp'); ?>">
199
+ <?php wp_nonce_field('usp-nonce', 'usp-nonce', false); ?>
200
+
201
+ </div>
202
+
203
+ </form>
204
+ </div>
205
+ <script>(function(){var e = document.getElementById('coldform_verify'); if(e) e.parentNode.removeChild(e);})();</script>
206
+
207
+ <?php endif; ?>
views/submission-form.php ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php // User Submitted Posts - Submission Form
2
+
3
+ if (!defined('ABSPATH')) die();
4
+
5
+ if ($usp_options['logged_in_users'] && !is_user_logged_in()) :
6
+
7
+ echo usp_login_required_message();
8
+
9
+ else :
10
+
11
+ $usp_current_user = wp_get_current_user();
12
+ $usp_user_name = $usp_current_user->user_login;
13
+ $usp_user_url = $usp_current_user->user_url;
14
+
15
+ if ($usp_options['disable_required']) {
16
+
17
+ $usp_required = '';
18
+ $usp_captcha = '';
19
+ $usp_files = '';
20
+
21
+ } else {
22
+
23
+ $usp_required = ' data-required="true" required';
24
+ $usp_captcha = ' user-submitted-captcha';
25
+ $usp_files = ' usp-required-file';
26
+
27
+ }
28
+
29
+ $usp_display_name = (is_user_logged_in() && $usp_options['usp_use_author']) ? false : true;
30
+ $usp_display_url = (is_user_logged_in() && $usp_options['usp_use_url']) ? false : true;
31
+
32
+ $usp_recaptcha_public = (isset($usp_options['recaptcha_public']) && !empty($usp_options['recaptcha_public'])) ? true : false;
33
+ $usp_recaptcha_private = (isset($usp_options['recaptcha_private']) && !empty($usp_options['recaptcha_private'])) ? true : false;
34
+
35
+ ?>
36
+
37
+ <!-- User Submitted Posts @ https://m0n.co/usp -->
38
+
39
+ <div id="user-submitted-posts">
40
+ <?php if ($usp_options['usp_form_content'] !== '') echo $usp_options['usp_form_content']; ?>
41
+
42
+ <form id="usp_form" method="post" enctype="multipart/form-data" data-parsley-validate action="">
43
+ <div id="usp-error-message" class="usp-callout-failure usp-hidden"><?php esc_html_e('Please complete the required fields.', 'usp'); ?></div>
44
+ <?php echo usp_error_message();
45
+
46
+ if (isset($_GET['success']) && $_GET['success'] == '1') :
47
+ echo '<div id="usp-success-message">'. $usp_options['success-message'] .'</div>';
48
+ else :
49
+
50
+ if (($usp_options['usp_name'] == 'show' || $usp_options['usp_name'] == 'optn') && ($usp_display_name)) { ?>
51
+
52
+ <fieldset class="usp-name">
53
+ <label for="user-submitted-name"><?php esc_html_e('Your Name', 'usp'); ?></label>
54
+ <input id="user-submitted-name" name="user-submitted-name" type="text" value="" placeholder="<?php esc_attr_e('Your Name', 'usp'); ?>"<?php if (usp_check_required('usp_name')) echo $usp_required; ?> class="usp-input">
55
+ </fieldset>
56
+ <?php } if (($usp_options['usp_url'] == 'show' || $usp_options['usp_url'] == 'optn') && ($usp_display_url)) { ?>
57
+
58
+ <fieldset class="usp-url">
59
+ <label for="user-submitted-url"><?php esc_html_e('Your URL', 'usp'); ?></label>
60
+ <input id="user-submitted-url" name="user-submitted-url" type="text" value="" placeholder="<?php esc_attr_e('Your URL', 'usp'); ?>"<?php if (usp_check_required('usp_url')) echo $usp_required; ?> class="usp-input">
61
+ </fieldset>
62
+ <?php } if ($usp_options['usp_email'] == 'show' || $usp_options['usp_email'] == 'optn') { ?>
63
+
64
+ <fieldset class="usp-email">
65
+ <label for="user-submitted-email"><?php esc_html_e('Your Email', 'usp'); ?></label>
66
+ <input id="user-submitted-email" name="user-submitted-email" type="text" value="" placeholder="<?php esc_attr_e('Your Email', 'usp'); ?>"<?php if (usp_check_required('usp_email')) echo $usp_required; ?> class="usp-input">
67
+ </fieldset>
68
+ <?php } if ($usp_options['usp_title'] == 'show' || $usp_options['usp_title'] == 'optn') { ?>
69
+
70
+ <fieldset class="usp-title">
71
+ <label for="user-submitted-title"><?php esc_html_e('Post Title', 'usp'); ?></label>
72
+ <input id="user-submitted-title" name="user-submitted-title" type="text" value="" placeholder="<?php esc_attr_e('Post Title', 'usp'); ?>"<?php if (usp_check_required('usp_title')) echo $usp_required; ?> class="usp-input">
73
+ </fieldset>
74
+ <?php } if ($usp_options['usp_tags'] == 'show' || $usp_options['usp_tags'] == 'optn') { ?>
75
+
76
+ <fieldset class="usp-tags">
77
+ <label for="user-submitted-tags"><?php esc_html_e('Post Tags', 'usp'); ?></label>
78
+ <input id="user-submitted-tags" name="user-submitted-tags" type="text" value="" placeholder="<?php esc_attr_e('Post Tags', 'usp'); ?>"<?php if (usp_check_required('usp_tags')) echo $usp_required; ?> class="usp-input">
79
+ </fieldset>
80
+ <?php } if ($usp_options['usp_captcha'] == 'show') { ?>
81
+
82
+ <fieldset class="usp-captcha">
83
+ <label for="user-submitted-captcha"><?php echo $usp_options['usp_question']; ?></label>
84
+ <input id="user-submitted-captcha" name="user-submitted-captcha" type="text" value="" placeholder="<?php esc_attr_e('Antispam Question', 'usp'); ?>"<?php echo $usp_required; ?> class="usp-input exclude<?php echo $usp_captcha; ?>">
85
+ </fieldset>
86
+ <?php } if (($usp_options['usp_category'] == 'show' || $usp_options['usp_category'] == 'optn') && ($usp_options['usp_use_cat'] == false)) { ?>
87
+
88
+ <fieldset class="usp-category">
89
+ <label for="user-submitted-category"><?php esc_html_e('Post Category', 'usp'); ?></label>
90
+ <select id="user-submitted-category" name="user-submitted-category"<?php if (usp_check_required('usp_category')) echo $usp_required; ?> class="usp-select">
91
+ <option value=""><?php esc_html_e('Please select a category..', 'usp'); ?></option>
92
+ <?php foreach($usp_options['categories'] as $categoryId) { $category = get_category($categoryId); if (!$category) { continue; } ?>
93
+
94
+ <option value="<?php echo $categoryId; ?>"><?php $category = get_category($categoryId); echo sanitize_text_field($category->name); ?></option>
95
+ <?php } ?>
96
+
97
+ </select>
98
+ </fieldset>
99
+ <?php } if ($usp_options['usp_content'] == 'show' || $usp_options['usp_content'] == 'optn') { ?>
100
+
101
+ <fieldset class="usp-content">
102
+ <?php if ($usp_options['usp_richtext_editor'] == true) { ?>
103
+
104
+ <div class="usp_text-editor">
105
+ <?php $usp_rte_settings = array(
106
+ 'wpautop' => true, // enable rich text editor
107
+ 'media_buttons' => true, // enable add media button
108
+ 'textarea_name' => 'user-submitted-content', // name
109
+ 'textarea_rows' => '10', // number of textarea rows
110
+ 'tabindex' => '', // tabindex
111
+ 'editor_css' => '', // extra CSS
112
+ 'editor_class' => 'usp-rich-textarea', // class
113
+ 'teeny' => false, // output minimal editor config
114
+ 'dfw' => false, // replace fullscreen with DFW
115
+ 'tinymce' => true, // enable TinyMCE
116
+ 'quicktags' => true, // enable quicktags
117
+ 'drag_drop_upload' => true, // enable drag-drop
118
+ );
119
+ $usp_rte_settings = apply_filters('usp_editor_settings', $usp_rte_settings);
120
+ $usp_editor_content = apply_filters('usp_editor_content', '');
121
+ wp_editor($usp_editor_content, 'uspcontent', $usp_rte_settings); ?>
122
+
123
+ </div>
124
+ <?php } else { ?>
125
+
126
+ <label for="user-submitted-content"><?php esc_html_e('Post Content', 'usp'); ?></label>
127
+ <textarea id="user-submitted-content" name="user-submitted-content" rows="5" placeholder="<?php esc_attr_e('Post Content', 'usp'); ?>"<?php if (usp_check_required('usp_content')) echo $usp_required; ?> class="usp-textarea"></textarea>
128
+ <?php } ?>
129
+
130
+ </fieldset>
131
+ <?php } if ($usp_recaptcha_public && $usp_recaptcha_private && $usp_options['usp_recaptcha'] == 'show') { ?>
132
+
133
+ <label for="user-submitted-category"><?php esc_html_e('Verification', 'usp'); ?></label>
134
+ <div class="g-recaptcha" data-sitekey="6LcD3-4SAAAAAD2UfHrxo8NXhQ9lTlpOVKnGIPVy"></div>
135
+
136
+ <?php } if ($usp_options['usp_images'] == 'show') { ?>
137
+ <?php if ($usp_options['max-images'] !== 0) { ?>
138
+
139
+ <fieldset class="usp-images">
140
+ <label for="user-submitted-image"><?php esc_html_e('Upload an Image', 'usp'); ?></label>
141
+ <div id="usp-upload-message"><?php echo $usp_options['upload-message']; ?></div>
142
+ <div id="user-submitted-image">
143
+ <?php // upload files
144
+
145
+ $usp_minImages = intval($usp_options['min-images']);
146
+ $usp_maxImages = intval($usp_options['max-images']);
147
+ $usp_addAnother = $usp_options['usp_add_another'];
148
+
149
+ if (empty($usp_addAnother)) $usp_addAnother = '<a href="#" id="usp_add-another" class="usp-no-js">'. esc_html__('Add another image', 'usp') .'</a>';
150
+
151
+ if ($usp_minImages > 0) : ?>
152
+ <?php for ($i = 0; $i < $usp_minImages; $i++) : ?>
153
+
154
+ <input name="user-submitted-image[]" type="file" size="25"<?php echo $usp_required; ?> class="usp-input usp-clone<?php echo $usp_files; ?> exclude">
155
+ <?php endfor; ?>
156
+ <?php if ($usp_minImages < $usp_maxImages) : echo $usp_addAnother; endif; ?>
157
+ <?php else : ?>
158
+
159
+ <input name="user-submitted-image[]" type="file" size="25" class="usp-input usp-clone exclude">
160
+ <?php echo $usp_addAnother; ?>
161
+ <?php endif; ?>
162
+
163
+ </div>
164
+ <input type="hidden" class="usp-hidden exclude" id="usp-min-images" name="usp-min-images" value="<?php echo $usp_options['min-images']; ?>">
165
+ <input type="hidden" class="usp-hidden exclude" id="usp-max-images" name="usp-max-images" value="<?php echo $usp_options['max-images']; ?>">
166
+ </fieldset>
167
+ <?php } ?>
168
+ <?php } ?>
169
+
170
+ <fieldset id="coldform_verify" style="display:none;">
171
+ <label for="user-submitted-verify"><?php esc_html_e('Human verification: leave this field empty.', 'usp'); ?></label>
172
+ <input id="user-submitted-verify" name="user-submitted-verify" type="text" class="exclude" value="">
173
+ </fieldset>
174
+
175
+ <div id="usp-submit">
176
+ <?php if (!empty($usp_options['redirect-url'])) { ?>
177
+
178
+ <input type="hidden" class="usp-hidden exclude" name="redirect-override" value="<?php echo $usp_options['redirect-url']; ?>">
179
+ <?php } ?>
180
+ <?php if (!$usp_display_name) { ?>
181
+
182
+ <input type="hidden" class="usp-hidden exclude" name="user-submitted-name" value="<?php echo $usp_user_name; ?>">
183
+ <?php } ?>
184
+ <?php if (!$usp_display_url) { ?>
185
+
186
+ <input type="hidden" class="usp-hidden exclude" name="user-submitted-url" value="<?php echo $usp_user_url; ?>">
187
+ <?php } ?>
188
+ <?php if ($usp_options['usp_use_cat'] == true) { ?>
189
+
190
+ <input type="hidden" class="usp-hidden exclude" name="user-submitted-category" value="<?php echo $usp_options['usp_use_cat_id']; ?>">
191
+ <?php } ?>
192
+
193
+ <input type="submit" class="usp-submit exclude" id="user-submitted-post" name="user-submitted-post" value="<?php esc_attr_e('Submit Post', 'usp'); ?>">
194
+ <?php wp_nonce_field('usp-nonce', 'usp-nonce', false); ?>
195
+
196
+ </div>
197
+ <?php endif; ?>
198
+
199
+ </form>
200
+ </div>
201
+ <script>(function(){var e = document.getElementById('coldform_verify'); if(e) e.parentNode.removeChild(e);})();</script>
202
+
203
+ <?php endif; ?>