Code Snippets - Version 2.8.5

Version Description

Prevents snippets from displaying twice in snippets table on multisite

Download this release

Release Info

Developer bungeshea
Plugin Icon Code Snippets
Version 2.8.5
Comparing to
See all releases

Code changes from version 2.8.4 to 2.8.5

code-snippets.php CHANGED
@@ -10,7 +10,7 @@
10
  * @author Shea Bunge <shea@bungeshea.com>
11
  * @copyright 2012-2017 Shea Bunge
12
  * @license MIT http://opensource.org/licenses/MIT
13
- * @version 2.8.4
14
  * @link https://github.com/sheabunge/code-snippets
15
  */
16
 
@@ -20,7 +20,7 @@ Plugin URI: https://github.com/sheabunge/code-snippets
20
  Description: An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!
21
  Author: Shea Bunge
22
  Author URI: https://bungeshea.com
23
- Version: 2.8.4
24
  License: MIT
25
  License URI: license.txt
26
  Text Domain: code-snippets
@@ -42,7 +42,7 @@ if ( ! defined( 'ABSPATH' ) ) {
42
  * @since 2.0
43
  * @var string A PHP-standardized version number string
44
  */
45
- define( 'CODE_SNIPPETS_VERSION', '2.8.4' );
46
 
47
  /**
48
  * The full path to the main file of this plugin
10
  * @author Shea Bunge <shea@bungeshea.com>
11
  * @copyright 2012-2017 Shea Bunge
12
  * @license MIT http://opensource.org/licenses/MIT
13
+ * @version 2.8.5
14
  * @link https://github.com/sheabunge/code-snippets
15
  */
16
 
20
  Description: An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!
21
  Author: Shea Bunge
22
  Author URI: https://bungeshea.com
23
+ Version: 2.8.5
24
  License: MIT
25
  License URI: license.txt
26
  Text Domain: code-snippets
42
  * @since 2.0
43
  * @var string A PHP-standardized version number string
44
  */
45
+ define( 'CODE_SNIPPETS_VERSION', '2.8.5' );
46
 
47
  /**
48
  * The full path to the main file of this plugin
css/min/_ordering.css ADDED
@@ -0,0 +1 @@
 
1
+ .wp-list-table .ui-sortable tr{cursor:move}.wp-list-table .spo-updating tr,.wp-list-table .ui-sortable tr.inline-editor{cursor:default}.wp-list-table .ui-sortable-placeholder{outline:1px dashed #bbb;background:#f1f1f1;visibility:visible!important}.wp-list-table .ui-sortable-helper{background-color:#fff;outline:1px solid #e1e1e1}.spo-updating-row .check-column{background:url(../../../../../wp-admin/images/spinner.gif) 10px 9px no-repeat}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spo-updating-row .check-column{background-image:url(../../../../../wp-admin/images/spinner-2x.gif);background-size:20px 20px}}.spo-updating-row .check-column input{visibility:hidden}
languages/code-snippets-id_ID.mo ADDED
Binary file
languages/code-snippets-id_ID.old.mo ADDED
Binary file
languages/code-snippets-id_ID.po ADDED
@@ -0,0 +1,1264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Code Snippets v2.8.0\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-05-05 23:25+1000\n"
6
+ "PO-Revision-Date: 2017-05-05 23:25+1000\n"
7
+ "Last-Translator: Jordan Silaen <jordan.silaen@chameleonjohn.com>\n"
8
+ "Language-Team: ChameleonJohn.com <jordan.silaen@chameleonjohn.com>\n"
9
+ "Language: id_ID\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Generator: Poedit 2.0.1\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
18
+ "X-Poedit-Basepath: ..\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+
22
+ #: php/admin-menus/class-admin-menu.php:103
23
+ msgid "You are not authorized to access this page."
24
+ msgstr "Kamu tidak diperbolehkan mengakses halaman ini."
25
+
26
+ # @ code-snippets
27
+ #: php/admin-menus/class-edit-menu.php:13
28
+ #: php/admin-menus/class-edit-menu.php:14 php/views/edit.php:25
29
+ msgid "Edit Snippet"
30
+ msgstr "mengedit cuplikan"
31
+
32
+ # @ code-snippets
33
+ #: php/admin-menus/class-edit-menu.php:39
34
+ msgctxt "menu label"
35
+ msgid "Add New"
36
+ msgstr "Tambah baru"
37
+
38
+ # @ code-snippets
39
+ #: php/admin-menus/class-edit-menu.php:40 php/views/edit.php:31
40
+ msgid "Add New Snippet"
41
+ msgstr "Add New Cuplikan"
42
+
43
+ #: php/admin-menus/class-edit-menu.php:156
44
+ msgid "Don't Panic"
45
+ msgstr "Jangan Panik"
46
+
47
+ #: php/admin-menus/class-edit-menu.php:157
48
+ #, php-format
49
+ msgid ""
50
+ "The code snippet you are trying to save produced a fatal error on line %d:"
51
+ msgstr ""
52
+ "Potongan kode Anda mencoba untuk menyimpan menghasilkan kesalahan fatal pada "
53
+ "baris %d :"
54
+
55
+ #: php/admin-menus/class-edit-menu.php:159
56
+ msgid ""
57
+ "The previous version of the snippet is unchanged, and the rest of this site "
58
+ "should be functioning normally as before."
59
+ msgstr ""
60
+ "Versi sebelumnya dari potongan tidak berubah, dan sisanya dari situs ini "
61
+ "harus berfungsi normal seperti sebelumnya."
62
+
63
+ #: php/admin-menus/class-edit-menu.php:160
64
+ msgid ""
65
+ "Please use the back button in your browser to return to the previous page "
66
+ "and try to fix the code error."
67
+ msgstr ""
68
+ "Gunakan tombol kembali browser Anda untuk kembali ke halaman sebelumnya dan "
69
+ "mencoba untuk memperbaiki kesalahan kode."
70
+
71
+ #: php/admin-menus/class-edit-menu.php:161
72
+ msgid ""
73
+ "If you prefer, you can close this page and discard the changes you just "
74
+ "made. No changes will be made to this site."
75
+ msgstr ""
76
+ "Jika Anda suka, Anda dapat menutup halaman ini dan membuang perubahan yang "
77
+ "baru saja dibuat. Tidak ada perubahan akan dilakukan untuk situs ini."
78
+
79
+ # @ code-snippets
80
+ #: php/admin-menus/class-edit-menu.php:281 php/class-list-table.php:341
81
+ msgid "Description"
82
+ msgstr "Deskripsi"
83
+
84
+ #: php/admin-menus/class-edit-menu.php:312 php/class-list-table.php:342
85
+ msgid "Tags"
86
+ msgstr "Tags"
87
+
88
+ #: php/admin-menus/class-edit-menu.php:316
89
+ msgid "Enter a list of tags; separated by commas"
90
+ msgstr "Masukkan daftar tag; dipisahkan dengan koma"
91
+
92
+ #: php/admin-menus/class-edit-menu.php:336
93
+ msgid "Run snippet everywhere"
94
+ msgstr "Jalankan potongan di mana-mana"
95
+
96
+ #: php/admin-menus/class-edit-menu.php:337
97
+ msgid "Only run in administration area"
98
+ msgstr "Hanya berjalan di daerah administrasi"
99
+
100
+ #: php/admin-menus/class-edit-menu.php:338
101
+ msgid "Only run on site front-end"
102
+ msgstr "Hanya berjalan di situs front-end"
103
+
104
+ #: php/admin-menus/class-edit-menu.php:342
105
+ msgid "Scope"
106
+ msgstr "Cakupan"
107
+
108
+ #: php/admin-menus/class-edit-menu.php:362
109
+ msgid "Sharing"
110
+ msgstr "berbagi"
111
+
112
+ #: php/admin-menus/class-edit-menu.php:366
113
+ msgid "Allow this snippet to be activated on individual sites on the network"
114
+ msgstr ""
115
+ "Izinkan potongan ini harus diaktifkan pada situs individu pada jaringan"
116
+
117
+ #: php/admin-menus/class-edit-menu.php:426
118
+ #, php-format
119
+ msgid "The snippet has been deactivated due to an error on line %d:"
120
+ msgstr "Potongan telah dinonaktifkan karena kesalahan pada baris %d :"
121
+
122
+ #: php/admin-menus/class-edit-menu.php:431
123
+ msgid "The snippet has been deactivated due to an error in the code."
124
+ msgstr "potongan telah dinonaktifkan karena kesalahan dalam kode."
125
+
126
+ #: php/admin-menus/class-edit-menu.php:438
127
+ msgid "An error occurred when saving the snippet."
128
+ msgstr "Terjadi kesalahan saat menyimpan potongan."
129
+
130
+ # @ code-snippets
131
+ #: php/admin-menus/class-edit-menu.php:443
132
+ msgid "Snippet <strong>added</strong>."
133
+ msgstr "Cuplikan <strong>menambahkan</strong>."
134
+
135
+ # @ code-snippets
136
+ #: php/admin-menus/class-edit-menu.php:444
137
+ msgid "Snippet <strong>updated</strong>."
138
+ msgstr "Cuplikan <strong>update</strong>."
139
+
140
+ # @ code-snippets
141
+ #: php/admin-menus/class-edit-menu.php:445
142
+ msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
143
+ msgstr "Cuplikan <strong>menambahkan</strong> dan <strong>diaktifkan</strong>."
144
+
145
+ # @ code-snippets
146
+ #: php/admin-menus/class-edit-menu.php:446
147
+ msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
148
+ msgstr "Cuplikan <strong>update</strong> dan <strong>diaktifkan</strong>."
149
+
150
+ #: php/admin-menus/class-edit-menu.php:447
151
+ msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
152
+ msgstr "Cuplikan <strong>update</strong> dan <strong>dinonaktifkan</strong>."
153
+
154
+ #: php/admin-menus/class-import-menu.php:15
155
+ msgctxt "menu label"
156
+ msgid "Import"
157
+ msgstr "Impor"
158
+
159
+ # @ code-snippets
160
+ #: php/admin-menus/class-import-menu.php:16 php/views/import.php:17
161
+ msgid "Import Snippets"
162
+ msgstr "impor Cuplikan"
163
+
164
+ # @ code-snippets
165
+ #: php/admin-menus/class-import-menu.php:84
166
+ msgid "Code Snippets"
167
+ msgstr "code Snippets"
168
+
169
+ #: php/admin-menus/class-import-menu.php:85
170
+ msgid "Import snippets from a code snippets export file"
171
+ msgstr "Impor cuplikan dari kode cuplikan file ekspor"
172
+
173
+ #: php/admin-menus/class-import-menu.php:99
174
+ #, php-format
175
+ msgid ""
176
+ "Successfully imported <strong>%d</strong> snippet. <a href=\"%s\">Have fun!</"
177
+ "a>"
178
+ msgid_plural ""
179
+ "Successfully imported <strong>%d</strong> snippets. <a href=\"%s\">Have fun!"
180
+ "</a>"
181
+ msgstr[0] ""
182
+ "Berhasil diimpor <strong>%d</strong> potongan. <a href=\"%s\">Have fun!</a>"
183
+ msgstr[1] ""
184
+ "Berhasil diimpor <strong>%d</strong> potongan. <a href=\"%s\">Have fun!</a>"
185
+
186
+ #: php/admin-menus/class-import-menu.php:112
187
+ msgid "An error occurred when processing the import file."
188
+ msgstr "Terjadi kesalahan saat memproses file impor."
189
+
190
+ #: php/admin-menus/class-manage-menu.php:22
191
+ msgctxt "menu label"
192
+ msgid "All Snippets"
193
+ msgstr "semua Cuplikan"
194
+
195
+ # @ code-snippets
196
+ #: php/admin-menus/class-manage-menu.php:23
197
+ #: php/admin-menus/class-manage-menu.php:45 php/class-admin.php:61
198
+ #: php/class-admin.php:144 php/views/manage.php:19
199
+ msgid "Snippets"
200
+ msgstr "cuplikan"
201
+
202
+ #: php/admin-menus/class-manage-menu.php:46
203
+ msgctxt "top-level menu label"
204
+ msgid "Snippets"
205
+ msgstr "cuplikan"
206
+
207
+ #: php/admin-menus/class-manage-menu.php:81
208
+ msgid ""
209
+ "<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
210
+ "Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
211
+ "config.php</code> to turn off safe mode. <a href=\"https://github.com/"
212
+ "sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank\">Help</a>"
213
+ msgstr ""
214
+ "<strong>Peringatan:</strong> Safe mode aktif dan potongan tidak akan "
215
+ "mengeksekusi! Hapus <code>CODE_SNIPPETS_SAFE_MODE</code> konstan dari "
216
+ "<code>wp-config.php</code> untuk mematikan mode aman. <a href=\"https://"
217
+ "github.com/sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank\"> "
218
+ "Bantuan</a>"
219
+
220
+ # @ code-snippets
221
+ #: php/admin-menus/class-manage-menu.php:87
222
+ msgid "Snippet <strong>activated</strong>."
223
+ msgstr "Cuplikan <strong>diaktifkan</strong>."
224
+
225
+ # @ code-snippets
226
+ #: php/admin-menus/class-manage-menu.php:88
227
+ msgid "Selected snippets <strong>activated</strong>."
228
+ msgstr "potongan yang dipilih <strong>diaktifkan</strong>."
229
+
230
+ # @ code-snippets
231
+ #: php/admin-menus/class-manage-menu.php:89
232
+ msgid "Snippet <strong>deactivated</strong>."
233
+ msgstr "Cuplikan <strong>dinonaktifkan</strong>."
234
+
235
+ # @ code-snippets
236
+ #: php/admin-menus/class-manage-menu.php:90
237
+ msgid "Selected snippets <strong>deactivated</strong>."
238
+ msgstr "potongan yang dipilih <strong>dinonaktifkan</strong>."
239
+
240
+ # @ code-snippets
241
+ #: php/admin-menus/class-manage-menu.php:91
242
+ msgid "Snippet <strong>deleted</strong>."
243
+ msgstr "Cuplikan <strong>dihapus</strong>."
244
+
245
+ # @ code-snippets
246
+ #: php/admin-menus/class-manage-menu.php:92
247
+ msgid "Selected snippets <strong>deleted</strong>."
248
+ msgstr "potongan yang dipilih <strong>dihapus</strong>."
249
+
250
+ #: php/admin-menus/class-settings-menu.php:16
251
+ msgctxt "menu label"
252
+ msgid "Settings"
253
+ msgstr "pengaturan"
254
+
255
+ #: php/admin-menus/class-settings-menu.php:17
256
+ msgid "Snippets Settings"
257
+ msgstr "Pengaturan cuplikan"
258
+
259
+ #: php/admin-menus/class-settings-menu.php:39 php/views/edit.php:135
260
+ msgid "Settings"
261
+ msgstr "pengaturan"
262
+
263
+ # @ code-snippets
264
+ #: php/class-admin.php:143
265
+ msgid "Manage your existing snippets"
266
+ msgstr "Mengelola potongan yang ada"
267
+
268
+ # @ code-snippets
269
+ #: php/class-admin.php:174
270
+ msgid "Visit the WordPress.org plugin page"
271
+ msgstr "Kunjungi laman plugin WordPress.org"
272
+
273
+ # @ code-snippets
274
+ #: php/class-admin.php:175
275
+ msgid "About"
276
+ msgstr "Tentang"
277
+
278
+ # @ code-snippets
279
+ #: php/class-admin.php:179
280
+ msgid "Visit the support forums"
281
+ msgstr "Kunjungi forum dukungan"
282
+
283
+ # @ code-snippets
284
+ #: php/class-admin.php:180
285
+ msgid "Support"
286
+ msgstr "Mendukung"
287
+
288
+ # @ code-snippets
289
+ #: php/class-admin.php:184
290
+ msgid "Support this plugin's development"
291
+ msgstr "Mendukung pembangunan plugin ini"
292
+
293
+ # @ code-snippets
294
+ #: php/class-admin.php:185
295
+ msgid "Donate"
296
+ msgstr "Menyumbangkan"
297
+
298
+ #: php/class-admin.php:216
299
+ msgid ""
300
+ "<strong>Have feedback on Code Snippets?</strong> Please take the time to "
301
+ "answer a short survey on how you use this plugin and what you'd like to see "
302
+ "changed or added in the future."
303
+ msgstr ""
304
+ "<strong>Punya umpan balik pada Code Snippets?</strong> Harap meluangkan "
305
+ "waktu untuk menjawab survei singkat tentang bagaimana Anda menggunakan "
306
+ "plugin ini dan apa yang Anda ingin lihat berubah atau ditambahkan di masa "
307
+ "depan."
308
+
309
+ #: php/class-admin.php:220
310
+ msgid "Take the survey now"
311
+ msgstr "Ambil survei sekarang"
312
+
313
+ #: php/class-admin.php:223
314
+ msgid "Dismiss"
315
+ msgstr "Memberhentikan"
316
+
317
+ # @ code-snippets
318
+ #: php/class-contextual-help.php:40
319
+ msgid "For more information:"
320
+ msgstr "Untuk informasi lebih lanjut:"
321
+
322
+ #: php/class-contextual-help.php:41
323
+ msgid "About Plugin"
324
+ msgstr "Tentang Plugin"
325
+
326
+ #: php/class-contextual-help.php:42
327
+ msgid "FAQ"
328
+ msgstr "FAQ"
329
+
330
+ #: php/class-contextual-help.php:43
331
+ msgid "Support Forums"
332
+ msgstr "Forum Dukungan"
333
+
334
+ #: php/class-contextual-help.php:44
335
+ msgid "Plugin Website"
336
+ msgstr "Plugin Situs Web"
337
+
338
+ # @ code-snippets
339
+ #: php/class-contextual-help.php:55 php/class-contextual-help.php:81
340
+ #: php/class-contextual-help.php:122
341
+ msgid "Overview"
342
+ msgstr "Ikhtisar"
343
+
344
+ # @ code-snippets
345
+ #: php/class-contextual-help.php:56
346
+ msgid ""
347
+ "Snippets are similar to plugins - they both extend and expand the "
348
+ "functionality of WordPress. Snippets are more light-weight, just a few lines "
349
+ "of code, and do not put as much load on your server. Here you can manage "
350
+ "your existing snippets and perform tasks on them such as activating, "
351
+ "deactivating, deleting and exporting."
352
+ msgstr ""
353
+ "Cuplikan mirip dengan plugin - mereka berdua memperluas dan memperluas "
354
+ "fungsi WordPress. Cuplikan lebih ringan, hanya beberapa baris kode, dan "
355
+ "tidak menempatkan sebanyak beban pada server Anda. Di sini Anda dapat "
356
+ "mengelola potongan yang ada dan melakukan tugas-tugas mereka seperti "
357
+ "mengaktifkan, menonaktifkan, menghapus dan mengekspor."
358
+
359
+ # @ code-snippets
360
+ #: php/class-contextual-help.php:61
361
+ msgid "Safe Mode"
362
+ msgstr "Mode aman"
363
+
364
+ # @ code-snippets
365
+ #: php/class-contextual-help.php:62
366
+ msgid ""
367
+ "Be sure to check your snippets for errors before you activate them, as a "
368
+ "faulty snippet could bring your whole blog down. If your site starts doing "
369
+ "strange things, deactivate all your snippets and activate them one at a time."
370
+ msgstr ""
371
+ "Pastikan untuk memeriksa potongan Anda untuk kesalahan sebelum Anda "
372
+ "mengaktifkan mereka, sebagai potongan rusak bisa membawa seluruh blog Anda "
373
+ "ke bawah. Jika situs Anda mulai melakukan hal-hal aneh, menonaktifkan semua "
374
+ "potongan Anda dan mengaktifkan mereka satu per satu."
375
+
376
+ # @ code-snippets
377
+ #: php/class-contextual-help.php:63
378
+ msgid ""
379
+ "If something goes wrong with a snippet and you can't use WordPress, you can "
380
+ "cause all snippets to stop executing by adding "
381
+ "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-"
382
+ "config.php</code> file. After you have deactivated the offending snippet, "
383
+ "you can turn off safe mode by removing this line or replacing <strong>true</"
384
+ "strong> with <strong>false</strong>."
385
+ msgstr ""
386
+ "Jika ada yang salah dengan potongan dan Anda tidak dapat menggunakan "
387
+ "WordPress, Anda dapat menyebabkan semua potongan untuk menghentikan "
388
+ "mengeksekusi dengan menambahkan <code>define ( 'CODE_SNIPPETS_SAFE_MODE', "
389
+ "true);</code> untuk <code>wp-config Anda. php</code> berkas. Setelah Anda "
390
+ "telah dinonaktifkan potongan menyinggung, Anda dapat menonaktifkan mode aman "
391
+ "dengan menghapus baris ini atau mengganti <strong>true</strong> dengan "
392
+ "<strong>palsu</strong>."
393
+
394
+ # @ code-snippets
395
+ #: php/class-contextual-help.php:68
396
+ msgid "Uninstall"
397
+ msgstr "Uninstall"
398
+
399
+ # @ code-snippets
400
+ #: php/class-contextual-help.php:69
401
+ #, php-format
402
+ msgid ""
403
+ "When you delete Code Snippets through the Plugins menu in WordPress it will "
404
+ "clear up the <code>%1$s</code> table and a few other bits of data stored in "
405
+ "the database. If you want to keep this data (ie: you are only temporally "
406
+ "uninstalling Code Snippets) then remove the <code>%2$s</code> folder using "
407
+ "FTP."
408
+ msgstr ""
409
+ "Ketika Anda menghapus Code Snippets melalui menu Plugins di WordPress itu "
410
+ "akan menjernihkan <code>%1$s</code> meja dan beberapa potongan lain data "
411
+ "yang disimpan dalam database. Jika Anda ingin menyimpan data ini (yaitu: "
412
+ "Anda hanya temporal menguninstall Code Snippets) kemudian hapus <code>%2$s</"
413
+ "code> folder menggunakan FTP."
414
+
415
+ # @ code-snippets
416
+ #: php/class-contextual-help.php:70
417
+ msgid ""
418
+ "Even if you're sure that you don't want to use Code Snippets ever again on "
419
+ "this WordPress installation, you may want to use the export feature to back "
420
+ "up your snippets."
421
+ msgstr ""
422
+ "Bahkan jika Anda yakin bahwa Anda tidak ingin menggunakan Code Snippets lagi "
423
+ "pada instalasi WordPress ini, Anda mungkin ingin menggunakan fitur ekspor "
424
+ "untuk mendukung potongan Anda."
425
+
426
+ # @ code-snippets
427
+ #: php/class-contextual-help.php:82
428
+ msgid ""
429
+ "Snippets are similar to plugins - they both extend and expand the "
430
+ "functionality of WordPress. Snippets are more light-weight, just a few lines "
431
+ "of code, and do not put as much load on your server. Here you can add a new "
432
+ "snippet, or edit an existing one."
433
+ msgstr ""
434
+ "Cuplikan mirip dengan plugin - mereka berdua memperluas dan memperluas "
435
+ "fungsi WordPress. Cuplikan lebih ringan, hanya beberapa baris kode, dan "
436
+ "tidak menempatkan sebanyak beban pada server Anda. Di sini Anda dapat "
437
+ "menambahkan potongan baru, atau mengedit yang sudah ada."
438
+
439
+ # @ code-snippets
440
+ #: php/class-contextual-help.php:87
441
+ #, fuzzy
442
+ #| msgid "Snippets"
443
+ msgid "WP-Snippets"
444
+ msgstr "cuplikan"
445
+
446
+ # @ code-snippets
447
+ #: php/class-contextual-help.php:87
448
+ #, fuzzy
449
+ #| msgid "http://bungeshea.com"
450
+ msgid "http://wp-snippets.com"
451
+ msgstr "http://bungeshea.com/"
452
+
453
+ # @ code-snippets
454
+ #: php/class-contextual-help.php:88
455
+ #, fuzzy
456
+ #| msgid "Snippets"
457
+ msgid "WP Snipp"
458
+ msgstr "cuplikan"
459
+
460
+ # @ code-snippets
461
+ #: php/class-contextual-help.php:88
462
+ #, fuzzy
463
+ #| msgid "http://bungeshea.com"
464
+ msgid "http://wpsnipp.com"
465
+ msgstr "http://bungeshea.com/"
466
+
467
+ #: php/class-contextual-help.php:89
468
+ msgid "Cats Who Code"
469
+ msgstr ""
470
+
471
+ # @ code-snippets
472
+ #: php/class-contextual-help.php:89
473
+ #, fuzzy
474
+ #| msgid "http://bungeshea.com/plugins/code-snippets"
475
+ msgid "http://www.catswhocode.com/blog/snippets"
476
+ msgstr "http://bungeshea.com/plugins/code-snippets/"
477
+
478
+ #: php/class-contextual-help.php:90
479
+ msgid "WP Function Me"
480
+ msgstr ""
481
+
482
+ #: php/class-contextual-help.php:90
483
+ msgid "http://www.wpfunction.me"
484
+ msgstr ""
485
+
486
+ # @ code-snippets
487
+ #: php/class-contextual-help.php:100
488
+ msgid "Finding Snippets"
489
+ msgstr "temuan Cuplikan"
490
+
491
+ #: php/class-contextual-help.php:101
492
+ msgid ""
493
+ "Here are some links to websites which host a large number of snippets that "
494
+ "you can add to your site:"
495
+ msgstr ""
496
+
497
+ # @ code-snippets
498
+ #: php/class-contextual-help.php:103
499
+ msgid ""
500
+ "More places to find snippets, as well as a selection of example snippets, "
501
+ "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
502
+ "wiki/Finding-snippets\">plugin documentation</a>"
503
+ msgstr ""
504
+ "Lebih banyak tempat untuk menemukan potongan, serta pilihan contoh potongan, "
505
+ "dapat ditemukan di <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
506
+ "Finding-snippets\"> dokumentasi plugin</a>"
507
+
508
+ # @ code-snippets
509
+ #: php/class-contextual-help.php:108
510
+ msgid "Adding Snippets"
511
+ msgstr "menambahkan Cuplikan"
512
+
513
+ # @ code-snippets
514
+ #: php/class-contextual-help.php:109
515
+ msgid ""
516
+ "You need to fill out the name and code fields for your snippet to be added. "
517
+ "While the description field will add more information about how your snippet "
518
+ "works, what is does and where you found it, it is completely optional."
519
+ msgstr ""
520
+ "Anda perlu mengisi nama dan kode kolom untuk potongan Anda akan ditambahkan. "
521
+ "Sedangkan field deskripsi akan menambahkan informasi lebih lanjut tentang "
522
+ "bagaimana potongan Anda bekerja, apa yang dilakukannya dan di mana Anda "
523
+ "menemukannya, itu benar-benar opsional."
524
+
525
+ # @ code-snippets
526
+ #: php/class-contextual-help.php:110
527
+ msgid ""
528
+ "Please be sure to check that your snippet is valid PHP code and will not "
529
+ "produce errors before adding it through this page. While doing so will not "
530
+ "become active straight away, it will help to minimise the chance of a faulty "
531
+ "snippet becoming active on your site."
532
+ msgstr ""
533
+ "Pastikan untuk memeriksa bahwa potongan Anda adalah kode PHP yang valid dan "
534
+ "tidak akan menghasilkan kesalahan sebelum menambahkannya melalui halaman "
535
+ "ini. Meskipun demikian tidak akan menjadi aktif langsung, ini akan membantu "
536
+ "untuk meminimalkan kemungkinan potongan rusak menjadi aktif di situs Anda."
537
+
538
+ # @ code-snippets
539
+ #: php/class-contextual-help.php:123
540
+ msgid ""
541
+ "Snippets are similar to plugins - they both extend and expand the "
542
+ "functionality of WordPress. Snippets are more light-weight, just a few lines "
543
+ "of code, and do not put as much load on your server. Here you can load "
544
+ "snippets from a Code Snippets (.xml) import file into the database with your "
545
+ "existing snippets."
546
+ msgstr ""
547
+ "Cuplikan mirip dengan plugin - mereka berdua memperluas dan memperluas "
548
+ "fungsi WordPress. Cuplikan lebih ringan, hanya beberapa baris kode, dan "
549
+ "tidak menempatkan sebanyak beban pada server Anda. Di sini Anda dapat memuat "
550
+ "potongan dari file impor Code Snippets (xml) ke dalam database dengan "
551
+ "potongan yang ada."
552
+
553
+ # @ code-snippets
554
+ #: php/class-contextual-help.php:128
555
+ msgid "Importing"
556
+ msgstr "Pengimporan"
557
+
558
+ # @ code-snippets
559
+ #: php/class-contextual-help.php:129
560
+ msgid ""
561
+ "You can load your snippets from a code snippets (.xml) export file using "
562
+ "this page."
563
+ msgstr ""
564
+ "Anda dapat memuat potongan Anda dari file ekspor potongan kode (xml) "
565
+ "menggunakan halaman ini."
566
+
567
+ #: php/class-contextual-help.php:130
568
+ #, php-format
569
+ msgid ""
570
+ "Snippets will be added to the database along with your existing snippets. "
571
+ "Regardless of whether the snippets were active on the previous site, "
572
+ "imported snippets are always inactive until activated using the <a href=\"%s"
573
+ "\">All Snippets</a> page.</p>"
574
+ msgstr ""
575
+ "Cuplikan akan ditambahkan ke database bersama dengan potongan yang ada. "
576
+ "Terlepas dari apakah potongan aktif di situs sebelumnya, potongan impor "
577
+ "selalu aktif sampai diaktifkan menggunakan <a href=\"%s\">halaman Semua "
578
+ "Cuplikan</a>.</p>"
579
+
580
+ # @ code-snippets
581
+ #: php/class-contextual-help.php:135
582
+ msgid "Exporting"
583
+ msgstr "mengekspor"
584
+
585
+ # @ code-snippets
586
+ #: php/class-contextual-help.php:136
587
+ #, php-format
588
+ msgid ""
589
+ "You can save your snippets to a Code Snippets (.xml) export file using the "
590
+ "<a href=\"%s\">Manage Snippets</a> page."
591
+ msgstr ""
592
+ "Anda dapat menyimpan potongan Anda ke Cuplikan Kode (xml) file ekspor "
593
+ "menggunakan <a href=\"%s\">Mengelola halaman Cuplikan</a>."
594
+
595
+ #: php/class-export.php:87
596
+ msgid ""
597
+ "This is a code snippets export file generated by the Code Snippets WordPress "
598
+ "plugin."
599
+ msgstr ""
600
+ "Ini adalah kode cuplikan file ekspor yang dihasilkan oleh plugin Code "
601
+ "Snippets WordPress."
602
+
603
+ #: php/class-export.php:89
604
+ msgid "To import these snippets a WordPress site follow these steps:"
605
+ msgstr "Untuk mengimpor potongan ini situs WordPress ikuti langkah berikut:"
606
+
607
+ #: php/class-export.php:90
608
+ msgid "1. Log in to that site as an administrator."
609
+ msgstr "1. Masuk ke situs yang sebagai administrator."
610
+
611
+ #: php/class-export.php:91
612
+ msgid ""
613
+ "2. Install the Code Snippets plugin using the directions provided at the "
614
+ "above link."
615
+ msgstr ""
616
+ "2. Instal plugin Code Snippets menggunakan petunjuk yang disediakan di link "
617
+ "di atas."
618
+
619
+ #: php/class-export.php:92
620
+ msgid "3. Go to 'Tools: Import' in the WordPress admin panel."
621
+ msgstr "3. Pergi ke 'Tools: Impor' di panel admin WordPress."
622
+
623
+ #: php/class-export.php:93
624
+ msgid "4. Click on the \"Code Snippets\" importer in the list"
625
+ msgstr "4. Klik pada \"Code Snippets \" importir dalam daftar"
626
+
627
+ #: php/class-export.php:94
628
+ msgid "5. Upload this file using the form provided on that page."
629
+ msgstr ""
630
+ "5. Upload file ini menggunakan formulir yang disediakan pada halaman "
631
+ "tersebut."
632
+
633
+ #: php/class-export.php:95
634
+ msgid ""
635
+ "6. Code Snippets will then import all of the snippets and associated "
636
+ "information contained in this file into your site."
637
+ msgstr ""
638
+ "6. Code Snippets kemudian akan mengimpor semua potongan dan informasi "
639
+ "terkait yang terdapat dalam file ini ke situs Anda."
640
+
641
+ #: php/class-export.php:96
642
+ msgid ""
643
+ "7. You will then have to visit the 'Snippets: All Snippets' admin menu and "
644
+ "activate desired snippets."
645
+ msgstr ""
646
+ "7. Anda kemudian akan harus mengunjungi 'Cuplikan: Semua Cuplikan' menu "
647
+ "admin dan mengaktifkan potongan yang diinginkan."
648
+
649
+ # @ code-snippets
650
+ #: php/class-list-table.php:58
651
+ msgid "Snippets per page"
652
+ msgstr "Cuplikan per halaman"
653
+
654
+ # @ code-snippets
655
+ #: php/class-list-table.php:119 php/class-list-table.php:387
656
+ msgid "Network Deactivate"
657
+ msgstr "jaringan Nonaktifkan"
658
+
659
+ # @ code-snippets
660
+ #: php/class-list-table.php:119 php/class-list-table.php:191
661
+ #: php/class-list-table.php:387
662
+ msgid "Deactivate"
663
+ msgstr "Menonaktifkan"
664
+
665
+ # @ code-snippets
666
+ #: php/class-list-table.php:128 php/class-list-table.php:386
667
+ msgid "Network Activate"
668
+ msgstr "jaringan Aktifkan"
669
+
670
+ # @ code-snippets
671
+ #: php/class-list-table.php:128 php/class-list-table.php:191
672
+ #: php/class-list-table.php:386
673
+ msgid "Activate"
674
+ msgstr "Mengaktifkan"
675
+
676
+ # @ code-snippets
677
+ #: php/class-list-table.php:138 php/class-list-table.php:207
678
+ msgid "Edit"
679
+ msgstr "mengedit"
680
+
681
+ # @ code-snippets
682
+ #: php/class-list-table.php:144 php/class-list-table.php:213
683
+ #: php/class-list-table.php:388 php/views/edit.php:111
684
+ msgid "Export"
685
+ msgstr "Ekspor"
686
+
687
+ # @ code-snippets
688
+ #: php/class-list-table.php:153 php/class-list-table.php:225
689
+ #: php/class-list-table.php:389 php/views/edit.php:124
690
+ msgid "Delete"
691
+ msgstr "Menghapus"
692
+
693
+ #: php/class-list-table.php:160 php/class-list-table.php:235
694
+ msgid "You are about to permanently delete the selected item."
695
+ msgstr "Anda akan menghapus item yang dipilih secara permanen."
696
+
697
+ #: php/class-list-table.php:161 php/class-list-table.php:236
698
+ #: php/views/edit.php:119
699
+ msgid "'Cancel' to stop, 'OK' to delete."
700
+ msgstr "'Batal' untuk menghentikan, 'OK' untuk menghapus."
701
+
702
+ # @ code-snippets
703
+ #: php/class-list-table.php:168
704
+ #, fuzzy
705
+ #| msgid "Network Activate"
706
+ msgid "Network Active"
707
+ msgstr "jaringan Aktifkan"
708
+
709
+ #: php/class-list-table.php:170
710
+ msgid "Network Only"
711
+ msgstr ""
712
+
713
+ #: php/class-list-table.php:255
714
+ #, php-format
715
+ msgid "Untitled #%d"
716
+ msgstr "Untitled # %d"
717
+
718
+ #: php/class-list-table.php:278
719
+ msgid "Shared on Network"
720
+ msgstr "Dibagikan di Jaringan"
721
+
722
+ # @ code-snippets
723
+ #: php/class-list-table.php:339 php/views/edit.php:48
724
+ msgid "Name"
725
+ msgstr "Nama"
726
+
727
+ # @ code-snippets
728
+ #: php/class-list-table.php:340
729
+ msgid "ID"
730
+ msgstr "ID"
731
+
732
+ # @ code-snippets
733
+ #: php/class-list-table.php:390
734
+ msgid "Export to PHP"
735
+ msgstr "Ekspor ke PHP"
736
+
737
+ # @ code-snippets
738
+ #: php/class-list-table.php:428
739
+ #, php-format
740
+ msgid "All <span class=\"count\">(%s)</span>"
741
+ msgid_plural "All <span class=\"count\">(%s)</span>"
742
+ msgstr[0] "Semua <span class=\"menghitung\">(%s)</span>"
743
+ msgstr[1] "Semua <span class=\"menghitung\">(%s)</span>"
744
+
745
+ # @ code-snippets
746
+ #: php/class-list-table.php:429
747
+ #, php-format
748
+ msgid "Active <span class=\"count\">(%s)</span>"
749
+ msgid_plural "Active <span class=\"count\">(%s)</span>"
750
+ msgstr[0] "Aktif <span class=\"menghitung\">(%s)</span>"
751
+ msgstr[1] "Aktif <span class=\"menghitung\">(%s)</span>"
752
+
753
+ # @ code-snippets
754
+ #: php/class-list-table.php:430
755
+ #, php-format
756
+ msgid "Inactive <span class=\"count\">(%s)</span>"
757
+ msgid_plural "Inactive <span class=\"count\">(%s)</span>"
758
+ msgstr[0] "Tidak aktif <span class=\"menghitung\">(%s)</span>"
759
+ msgstr[1] "Tidak aktif <span class=\"menghitung\">(%s)</span>"
760
+
761
+ # @ code-snippets
762
+ #: php/class-list-table.php:431
763
+ #, php-format
764
+ msgid "Recently Active <span class=\"count\">(%s)</span>"
765
+ msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
766
+ msgstr[0] "Baru-baru ini aktif <span class=\"menghitung\">(%s)</span>"
767
+ msgstr[1] "Baru-baru ini aktif <span class=\"menghitung\">(%s)</span>"
768
+
769
+ #: php/class-list-table.php:494
770
+ msgid "Show all tags"
771
+ msgstr "Tampilkan semua tag"
772
+
773
+ # @ code-snippets
774
+ #: php/class-list-table.php:508
775
+ msgid "Filter"
776
+ msgstr "Menyaring"
777
+
778
+ # @ code-snippets
779
+ #: php/class-list-table.php:516
780
+ msgid "Clear List"
781
+ msgstr "Batal Daftar"
782
+
783
+ #: php/class-list-table.php:702
784
+ msgid "Whoops, it looks like no snippets could be found."
785
+ msgstr ""
786
+
787
+ #: php/class-list-table.php:706
788
+ msgid "Perhaps you would like to add a new one?"
789
+ msgstr ""
790
+
791
+ # @ code-snippets
792
+ #: php/class-list-table.php:985
793
+ msgid "Search results"
794
+ msgstr "Hasil Pencarian"
795
+
796
+ # @ code-snippets
797
+ #: php/class-list-table.php:988
798
+ #, php-format
799
+ msgid " for &#8220;%s&#8221;"
800
+ msgstr "untuk & # 8220; %s & # 8221;"
801
+
802
+ #: php/class-list-table.php:992
803
+ #, php-format
804
+ msgid " in tag &#8220;%s&#8221;"
805
+ msgstr "di tag & # 8220; %s & # 8221;"
806
+
807
+ # @ code-snippets
808
+ #: php/class-list-table.php:1000
809
+ msgid "Clear Filters"
810
+ msgstr "jelas Filter"
811
+
812
+ #: php/settings/settings-fields.php:42
813
+ msgid "Activate by Default"
814
+ msgstr "Aktifkan oleh default"
815
+
816
+ #: php/settings/settings-fields.php:44
817
+ msgid ""
818
+ "Make the 'Save and Activate' button the default action when saving a snippet."
819
+ msgstr ""
820
+ "Membuat 'Simpan dan Aktifkan' tombol tindakan default saat menyimpan "
821
+ "potongan."
822
+
823
+ #: php/settings/settings-fields.php:49
824
+ msgid "Enable Scope Selector"
825
+ msgstr "Aktifkan Lingkup Pemilih"
826
+
827
+ #: php/settings/settings-fields.php:51
828
+ msgid "Enable the scope selector when editing a snippet"
829
+ msgstr "Aktifkan pemilih lingkup saat mengedit potongan"
830
+
831
+ #: php/settings/settings-fields.php:56
832
+ msgid "Enable Snippet Tags"
833
+ msgstr "Aktifkan Cuplikan Tags"
834
+
835
+ #: php/settings/settings-fields.php:58
836
+ msgid "Show snippet tags on admin pages"
837
+ msgstr "tag acara snippet pada halaman admin"
838
+
839
+ #: php/settings/settings-fields.php:63
840
+ msgid "Enable Snippet Descriptions"
841
+ msgstr "Aktifkan Cuplikan Deskripsi"
842
+
843
+ #: php/settings/settings-fields.php:65
844
+ msgid "Show snippet descriptions on admin pages"
845
+ msgstr "deskripsi acara snippet pada halaman admin"
846
+
847
+ #: php/settings/settings-fields.php:69
848
+ msgid "Disable shortcode syntax highlighter"
849
+ msgstr "Nonaktifkan shortcode sintaks stabilo"
850
+
851
+ #: php/settings/settings-fields.php:71
852
+ msgid ""
853
+ "Disable the syntax highlighting for the [code_snippet] shortcode on the "
854
+ "front-end"
855
+ msgstr "Menonaktifkan sintaks untuk [CODE_SNIPPET] shortcode di front-end"
856
+
857
+ #: php/settings/settings-fields.php:80
858
+ msgid "Row Height"
859
+ msgstr "Tinggi baris"
860
+
861
+ #: php/settings/settings-fields.php:82
862
+ msgid "rows"
863
+ msgstr "baris"
864
+
865
+ #: php/settings/settings-fields.php:88
866
+ msgid "Use Full Editor"
867
+ msgstr "Gunakan Full Editor"
868
+
869
+ #: php/settings/settings-fields.php:90
870
+ msgid "Enable all features of the visual editor"
871
+ msgstr "Memungkinkan semua fitur dari editor visual"
872
+
873
+ #: php/settings/settings-fields.php:95
874
+ msgid "Media Buttons"
875
+ msgstr "Tombol Media"
876
+
877
+ #: php/settings/settings-fields.php:97
878
+ msgid "Enable the add media buttons"
879
+ msgstr "Aktifkan tombol media yang add"
880
+
881
+ #: php/settings/settings-fields.php:106
882
+ msgid "Theme"
883
+ msgstr "Tema"
884
+
885
+ #: php/settings/settings-fields.php:113
886
+ msgid "Indent With Tabs"
887
+ msgstr "Indent Dengan Tab"
888
+
889
+ #: php/settings/settings-fields.php:115
890
+ msgid "Use hard tabs (not spaces) for indentation."
891
+ msgstr "Menggunakan tab keras (tidak spasi) untuk lekukan."
892
+
893
+ #: php/settings/settings-fields.php:121
894
+ msgid "Tab Size"
895
+ msgstr "Ukuran tab"
896
+
897
+ #: php/settings/settings-fields.php:123
898
+ msgid "The width of a tab character."
899
+ msgstr "Lebar karakter tab."
900
+
901
+ #: php/settings/settings-fields.php:130
902
+ msgid "Indent Unit"
903
+ msgstr "Satuan indent"
904
+
905
+ #: php/settings/settings-fields.php:132
906
+ msgid "How many spaces a block should be indented."
907
+ msgstr "Berapa banyak ruang blok harus menjorok."
908
+
909
+ #: php/settings/settings-fields.php:139
910
+ msgid "Wrap Lines"
911
+ msgstr "wrap Garis"
912
+
913
+ #: php/settings/settings-fields.php:141
914
+ msgid "Whether the editor should scroll or wrap for long lines."
915
+ msgstr "Apakah editor harus gulir atau bungkus untuk jalur panjang."
916
+
917
+ #: php/settings/settings-fields.php:147
918
+ msgid "Line Numbers"
919
+ msgstr "Nomor baris"
920
+
921
+ #: php/settings/settings-fields.php:149
922
+ msgid "Show line numbers to the left of the editor."
923
+ msgstr "Tampilkan nomor baris di sebelah kiri editor."
924
+
925
+ #: php/settings/settings-fields.php:155
926
+ msgid "Auto Close Brackets"
927
+ msgstr "Auto Tutup Kurung"
928
+
929
+ #: php/settings/settings-fields.php:157
930
+ msgid "Auto-close brackets and quotes when typed."
931
+ msgstr "Otomatis-tutup kurung dan kutipan ketika mengetik."
932
+
933
+ #: php/settings/settings-fields.php:163
934
+ msgid "Highlight Selection Matches"
935
+ msgstr "Sorot Seleksi Cocok"
936
+
937
+ #: php/settings/settings-fields.php:164
938
+ msgid "Highlight all instances of a currently selected word."
939
+ msgstr "Sorot semua contoh kata yang dipilih saat ini."
940
+
941
+ #: php/settings/settings.php:68
942
+ msgid "General"
943
+ msgstr "Umum"
944
+
945
+ #: php/settings/settings.php:69
946
+ msgid "Description Editor"
947
+ msgstr "Deskripsi Editor"
948
+
949
+ #: php/settings/settings.php:70
950
+ msgid "Code Editor"
951
+ msgstr "kode Editor"
952
+
953
+ #: php/settings/settings.php:119
954
+ msgid "Editor Preview"
955
+ msgstr "Editor Preview"
956
+
957
+ #: php/settings/settings.php:176
958
+ msgid "Settings saved."
959
+ msgstr "Pengaturan disimpan."
960
+
961
+ # @ code-snippets
962
+ #: php/views/edit.php:28 php/views/manage.php:22
963
+ msgctxt "snippet"
964
+ msgid "Add New"
965
+ msgstr "Tambah baru"
966
+
967
+ #: php/views/edit.php:49
968
+ msgid "Enter title here"
969
+ msgstr "Masukkan judul di sini"
970
+
971
+ # @ code-snippets
972
+ #: php/views/edit.php:54
973
+ msgid "Code"
974
+ msgstr "Kode"
975
+
976
+ #: php/views/edit.php:81 php/views/edit.php:95
977
+ msgid "Save Changes and Activate"
978
+ msgstr "Simpan Perubahan dan Aktifkan"
979
+
980
+ #: php/views/edit.php:101
981
+ msgid "Save Changes and Deactivate"
982
+ msgstr "Simpan Perubahan dan Nonaktifkan"
983
+
984
+ #: php/views/edit.php:118
985
+ msgid "You are about to permanently delete this snippet."
986
+ msgstr "Anda akan menghapus potongan ini secara permanen."
987
+
988
+ # @ code-snippets
989
+ #: php/views/import.php:21
990
+ msgid ""
991
+ "Howdy! Upload your Code Snippets export file and we&#8217;ll import the "
992
+ "snippets to this site."
993
+ msgstr ""
994
+ "Howdy! Upload Anda file ekspor Code Snippets dan kami & # 8217; akan "
995
+ "mengimpor potongan ke situs ini."
996
+
997
+ #: php/views/import.php:23
998
+ #, php-format
999
+ msgid ""
1000
+ "You will need to go to the <a href=\"%s\">All Snippets</a> page to activate "
1001
+ "the imported snippets."
1002
+ msgstr ""
1003
+ "Anda akan perlu untuk pergi ke <a href=\"%s\">halaman Semua Cuplikan</a> "
1004
+ "untuk mengaktifkan potongan diimpor."
1005
+
1006
+ # @ code-snippets
1007
+ #: php/views/import.php:25
1008
+ msgid ""
1009
+ "Choose a Code Snippets (.xml) file to upload, then click Upload file and "
1010
+ "import."
1011
+ msgstr ""
1012
+ "Pilih Code Snippets (xml) file yang untuk meng-upload, lalu klik File Upload "
1013
+ "dan impor."
1014
+
1015
+ # @ code-snippets
1016
+ #: php/views/import.php:32
1017
+ msgid "Choose a file from your computer:"
1018
+ msgstr "Pilih file dari komputer Anda:"
1019
+
1020
+ # @ code-snippets
1021
+ #: php/views/import.php:33
1022
+ msgid "(Maximum size: 8MB)"
1023
+ msgstr "(Ukuran maksimum: 8MB)"
1024
+
1025
+ # @ code-snippets
1026
+ #: php/views/import.php:39
1027
+ msgid "Upload file and import"
1028
+ msgstr "Upload file dan impor"
1029
+
1030
+ # @ code-snippets
1031
+ #: php/views/manage.php:34
1032
+ msgid "Search Installed Snippets"
1033
+ msgstr "Cari Dipasang Cuplikan"
1034
+
1035
+ # @ code-snippets
1036
+ #~ msgid ""
1037
+ #~ "You do not appear to have any snippets available at this time. <a href="
1038
+ #~ "\"%s\">Add New&rarr;</a>"
1039
+ #~ msgstr ""
1040
+ #~ "Anda tidak muncul untuk memiliki potongan yang tersedia saat ini. <a href="
1041
+ #~ "\"%s\">Add New & rarr;</a>"
1042
+
1043
+ # @ code-snippets
1044
+ #~ msgid "Import"
1045
+ #~ msgstr "Importieren"
1046
+
1047
+ # @ code-snippets
1048
+ #~ msgid "Manage"
1049
+ #~ msgstr "Verwalten"
1050
+
1051
+ # @ code-snippets
1052
+ #~ msgid ""
1053
+ #~ "Snippets will be added to the database along with your existing snippets. "
1054
+ #~ "Regardless of whether the snippets were active on the previous site, "
1055
+ #~ "imported snippets are always inactive until activated using the <a href="
1056
+ #~ "\"%s\">Manage Snippets</a> page.</p>"
1057
+ #~ msgstr ""
1058
+ #~ "Codeschnipsel werden der Datenbank hinzugefügt, zusammen mit Ihren "
1059
+ #~ "bereits bestehenden Codeschnipseln. Unabhängig davon, ob diese "
1060
+ #~ "Codeschnipsel auf der vorherigen Installation aktiv waren, sind "
1061
+ #~ "importierte Codeschnipsel standardmäßig immer deaktiviert, solange Sie "
1062
+ #~ "von Ihnen auf der <a href=\"%s\">Codeschnispel verwalten-Seite</a> "
1063
+ #~ "aktiviert werden.</p>"
1064
+
1065
+ #~ msgid ""
1066
+ #~ "7. You will then have to visit the 'Snippets: Manage' admin menu and "
1067
+ #~ "activate desired snippets."
1068
+ #~ msgstr ""
1069
+ #~ "7. Nach dem Import besuche die Seite 'Codeschnipsel: Verwalten' im "
1070
+ #~ "Administrationsmenü und aktiviere die gewünschten Codeschnipsel."
1071
+
1072
+ #~ msgid ""
1073
+ #~ "You are about to permanently delete the selected item.\n"
1074
+ #~ "\t\t\t\t\t'Cancel' to stop, 'OK' to delete."
1075
+ #~ msgstr ""
1076
+ #~ "Sie sind dabei die ausgewählten Einträge zu löschen.\n"
1077
+ #~ "\t\t\t\t\t'Abbrechen zum Stoppen, 'OK' zum Löschen."
1078
+
1079
+ # @ code-snippets
1080
+ #~ msgid "Name (short title)"
1081
+ #~ msgstr "Name (Kurztitel)"
1082
+
1083
+ #~ msgid ""
1084
+ #~ "You are about to permanently delete this snippet.\n"
1085
+ #~ "'Cancel' to stop, 'OK' to delete."
1086
+ #~ msgstr ""
1087
+ #~ "Du bist dabei diesen Codeschnipsel endgültig zu löschen.\n"
1088
+ #~ "'Abbrechen' um zu stoppen, 'OK' um zu löschen."
1089
+
1090
+ # @ code-snippets
1091
+ #~ msgid ""
1092
+ #~ "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to "
1093
+ #~ "activate the imported snippets."
1094
+ #~ msgstr ""
1095
+ #~ "Danach müssen Sie zur <a href=\"%s\">Codeschnispel verwalten-Seite</a> "
1096
+ #~ "gehen und die importierten Codeschnipsel entsprechend aktivieren."
1097
+
1098
+ #~ msgid "Plugin Website</a>"
1099
+ #~ msgstr "Plugin-Webseite</a>"
1100
+
1101
+ #~ msgid ""
1102
+ #~ "Here are some links to websites which host a large number of snippets "
1103
+ #~ "that you can add to your site.\n"
1104
+ #~ "\t\t\t<ul>\n"
1105
+ #~ "\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
1106
+ #~ "\">WP-Snippets</a></li>\n"
1107
+ #~ "\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
1108
+ #~ "a></li>\n"
1109
+ #~ "\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
1110
+ #~ "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
1111
+ #~ "\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
1112
+ #~ "\t\t\t</ul>"
1113
+ #~ msgstr ""
1114
+ #~ "Hier sind ein Links zu Webseiten, welche eine Menge an Codeschnipsel "
1115
+ #~ "bereitstellen und auf ihrer Webseite verwendet werden können.\n"
1116
+ #~ "\t\t\t<ul>\n"
1117
+ #~ "\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
1118
+ #~ "\">WP-Snippets</a></li>\n"
1119
+ #~ "\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
1120
+ #~ "a></li>\n"
1121
+ #~ "\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
1122
+ #~ "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
1123
+ #~ "\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
1124
+ #~ "\t\t\t</ul>"
1125
+
1126
+ #~ msgid "http://wordpress.org/plugins/code-snippets"
1127
+ #~ msgstr "http://wordpress.org/plugins/code-snippets"
1128
+
1129
+ # @ code-snippets
1130
+ #~ msgid ""
1131
+ #~ "Here are some links to websites which host a large number of snippets "
1132
+ #~ "that you can add to your site.\n"
1133
+ #~ "\t\t<ul>\n"
1134
+ #~ "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
1135
+ #~ "\">WP-Snippets</a></li>\n"
1136
+ #~ "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
1137
+ #~ "li>\n"
1138
+ #~ "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
1139
+ #~ "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
1140
+ #~ "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
1141
+ #~ "\t\t</ul>"
1142
+ #~ msgstr ""
1143
+ #~ "Hier sind einige Links zu Webseiten, welche eine große Anzahl von "
1144
+ #~ "WordPress-Codeschnipseln anbieten, die Sie vielleicht für Ihre Webseite "
1145
+ #~ "verwenden könnten. Bitte seien Sie äußerst vorsichtig mit fremden "
1146
+ #~ "Codeschnipseln, überprüfen Sie immer den Anbieter/ Herausgeber. Setzen "
1147
+ #~ "Sie nur vertrauenswürdige Quellen ein!\n"
1148
+ #~ "\\\t\\\t<ul>\n"
1149
+ #~ "\\\t\\\t\\\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress "
1150
+ #~ "Snippets\">WP-Snippets</a></li>\n"
1151
+ #~ "\\\t\\\t\\\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP "
1152
+ #~ "Snipp</a></li>\n"
1153
+ #~ "\\\t\\\t\\\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" "
1154
+ #~ "title=\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
1155
+ #~ "\\\t\\\t\\\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></"
1156
+ #~ "li>\n"
1157
+ #~ "\\\t\\\t</ul>"
1158
+
1159
+ # @ code-snippets
1160
+ #~ msgid ""
1161
+ #~ "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
1162
+ #~ "\">WordPress Extend</a>"
1163
+ #~ msgstr ""
1164
+ #~ "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
1165
+ #~ "\">Plugin-Seite bei WordPress.org</a>"
1166
+
1167
+ # @ code-snippets
1168
+ #~ msgid ""
1169
+ #~ "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target="
1170
+ #~ "\"_blank\">Support Forums</a>"
1171
+ #~ msgstr ""
1172
+ #~ "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target="
1173
+ #~ "\"_blank\">Offizielles Support-Forum (Engl.)</a>"
1174
+
1175
+ # @ code-snippets
1176
+ #~ msgid ""
1177
+ #~ "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
1178
+ #~ "\">Project Website</a>"
1179
+ #~ msgstr ""
1180
+ #~ "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
1181
+ #~ "\">Projektwebseite</a>"
1182
+
1183
+ #~ msgid "Only run in adminstration area"
1184
+ #~ msgstr "Nur im Admin-Bereich ausführen"
1185
+
1186
+ #~ msgid "You are not access this page."
1187
+ #~ msgstr "Du kannst diese Seite nicht betreten."
1188
+
1189
+ # @ code-snippets
1190
+ #~ msgid ""
1191
+ #~ "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
1192
+ #~ "\">WordPress Extend</a></p>"
1193
+ #~ msgstr ""
1194
+ #~ "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
1195
+ #~ "\">Plugin-Seite auf WordPress.org</a></p>"
1196
+
1197
+ # @ code-snippets
1198
+ #~ msgid ""
1199
+ #~ "You are about to permanently delete the selected item.\n"
1200
+ #~ "\t\t\t\t'Cancel' to stop, 'OK' to delete."
1201
+ #~ msgstr ""
1202
+ #~ "Sie sind dabei das ausgewählte Element dauerhaft zu löschen.\n"
1203
+ #~ "\t\t\t\t'Abbrechen', um das zu stoppen, 'OK', um wirklich zu löschen."
1204
+
1205
+ #~ msgid "Admin <span class=\"count\">(%s)</span>"
1206
+ #~ msgid_plural "Admin <span class=\"count\">(%s)</span>"
1207
+ #~ msgstr[0] "Admin <span class=\"count\">(%s)</span>"
1208
+ #~ msgstr[1] "Admin <span class=\"count\">(%s)</span>"
1209
+
1210
+ #~ msgid "Front End <span class=\"count\">(%s)</span>"
1211
+ #~ msgid_plural "Front End <span class=\"count\">(%s)</span>"
1212
+ #~ msgstr[0] "Öffentliche Seite <span class=\"count\">(%s)</span>"
1213
+ #~ msgstr[1] "Öffentliche Seiten <span class=\"count\">(%s)</span>"
1214
+
1215
+ #~ msgid "Editor"
1216
+ #~ msgstr "Editor"
1217
+
1218
+ # @ code-snippets
1219
+ #~ msgid ""
1220
+ #~ "An easy, clean and simple way to add code snippets to your site. No need "
1221
+ #~ "to edit to your theme's functions.php file again!"
1222
+ #~ msgstr ""
1223
+ #~ "Auf einfache, saubere und elegante Weise Codeschnipsel für Ihre Webseite "
1224
+ #~ "hinzufügen. Änderungen an der 'functions.php' des Themes sind nicht mehr "
1225
+ #~ "notwendig!"
1226
+
1227
+ # @ code-snippets
1228
+ #~ msgid "Shea Bunge"
1229
+ #~ msgstr "Shea Bunge"
1230
+
1231
+ # @ code-snippets
1232
+ #~ msgid "Please provide a name for the snippet and its code."
1233
+ #~ msgstr ""
1234
+ #~ "Bitte geben Sie einen Namen für den Codeschnipsel und dessen Code an."
1235
+
1236
+ # @ code-snippets
1237
+ #~ msgid "(Optional)"
1238
+ #~ msgstr "(optional, aber empfohlen für bessere Organisation &amp; Übersicht)"
1239
+
1240
+ # @ code-snippets
1241
+ #~ msgid "Import snippets from a <strong>Code Snippets</strong> export file"
1242
+ #~ msgstr ""
1243
+ #~ "Codeschnipsel aus einer <strong>Code Snippets</strong>-Exportdatei "
1244
+ #~ "importieren"
1245
+
1246
+ # @ code-snippets
1247
+ #~ msgid "Imported <strong>%d</strong> snippet."
1248
+ #~ msgid_plural "Imported <strong>%d</strong> snippets."
1249
+ #~ msgstr[0] " <strong>%d</strong> Codeschnipsel importiert."
1250
+ #~ msgstr[1] " <strong>%d</strong> Codeschnipsel importiert."
1251
+
1252
+ # @ code-snippets
1253
+ #~ msgid "1.7"
1254
+ #~ msgstr "1.7"
1255
+
1256
+ # @ code-snippets
1257
+ #~ msgid "Sorry, you're not allowed to edit snippets"
1258
+ #~ msgstr ""
1259
+ #~ "Entschuldigung, aber Sie haben keine Berechtigung zum Bearbeiten von "
1260
+ #~ "Codeschnipseln."
1261
+
1262
+ # @ code-snippets
1263
+ #~ msgid "Save Changes &amp; Activate"
1264
+ #~ msgstr "Änderungen speichern &amp; Aktivieren"
languages/code-snippets-it_IT.mo CHANGED
Binary file
languages/code-snippets-it_IT.po CHANGED
@@ -3,7 +3,9 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Code Snippets\n"
6
- "PO-Revision-Date: 2016-11-06 09:26+0200\n"
 
 
7
  "Last-Translator: Marco <troniclabs.crew@gmail.com>\n"
8
  "Language-Team: Tronic Labs\n"
9
  "Language: it\n"
@@ -11,492 +13,1047 @@ msgstr ""
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14
- "X-Generator: Virtaal 0.7.1\n"
15
 
16
- #: code-snippets.php:0 code-snippets.php:262
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  msgid "Code Snippets"
18
  msgstr "Code Snippets"
19
 
20
- #: code-snippets.php:0
21
- msgid "An easy, clean and simple way to add code snippets to your site. No need to edit to your theme's functions.php file again!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  msgstr ""
23
- "Un facile, semplice e pulito modo di aggiungere Snippet, frammenti di codice "
24
- "al tuo sito. Senza editare il tuo tema e il tuo file functions.php."
25
 
26
- #: code-snippets.php:0
27
- msgid "Shea Bunge"
28
- msgstr "Shea Bunge"
 
 
 
29
 
30
- #: code-snippets.php:0
31
- msgid "http://bungeshea.com"
32
- msgstr "http://bungeshea.com"
 
 
33
 
34
- #: code-snippets.php:577 code-snippets.php:578 code-snippets.php:588
35
- #: includes/admin/manage.php:36
 
 
36
  msgid "Snippets"
37
  msgstr "Snippets"
38
 
39
- #: code-snippets.php:612 code-snippets.php:1145 includes/admin/single.php:45
40
- msgid "Add New Snippet"
41
- msgstr "Aggiungi nuovo Snippet"
 
 
 
 
42
 
43
- #: code-snippets.php:613
44
- msgid "Add New"
45
- msgstr "Aggiungi Nuovo"
46
 
47
- #: code-snippets.php:641 includes/admin/import.php:34
48
- msgid "Import Snippets"
49
- msgstr "Importa Snippet"
50
 
51
- #: code-snippets.php:642
52
- msgid "Import"
53
- msgstr "Importa"
54
 
55
- #: code-snippets.php:601 code-snippets.php:1146 includes/admin/single.php:37
56
- msgid "Edit Snippet"
57
- msgstr "Edita Snippet"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
- #: code-snippets.php:1465
60
  msgid "Manage your existing snippets"
61
  msgstr "Gestisci i tuoi snippets esistenti"
62
 
63
- #: code-snippets.php:589 code-snippets.php:1466
64
- msgid "Manage"
65
- msgstr "Gestisci"
66
-
67
- #: code-snippets.php:1486
68
  msgid "Visit the WordPress.org plugin page"
69
  msgstr "Visita la pagina del plugin su WordPress.org"
70
 
71
- #: code-snippets.php:1487
72
  msgid "About"
73
  msgstr "Info"
74
 
75
- #: code-snippets.php:1491
76
  msgid "Visit the support forums"
77
  msgstr "Visita il forum di supporto"
78
 
79
- #: code-snippets.php:1492
80
  msgid "Support"
81
  msgstr "Supporto"
82
 
83
- #: code-snippets.php:1496
84
  msgid "Support this plugin's development"
85
  msgstr "Supporta lo sviluppo di questo plugin"
86
 
87
- #: code-snippets.php:1497
88
  msgid "Donate"
89
  msgstr "Donazione"
90
 
91
- #: includes/admin/import.php:38
92
- msgid "Howdy! Upload your Code Snippets export file and we&#8217;ll import the snippets to this site."
 
 
 
93
  msgstr ""
94
- "Wella! Carica i tuoi Snippets di codice dal file esportato e li importeremo "
95
- "nel tuo sito. "
96
 
97
- #: includes/admin/import.php:40
98
- msgid "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to activate the imported snippets."
99
  msgstr ""
100
- "Dovrai andare nella pagina <a href=\"%s\">Gestisci Snippets</a> per attivare "
101
- "gli snippets importati."
102
 
103
- #: includes/admin/import.php:42
104
- msgid "Choose a Code Snippets (.xml) file to upload, then click Upload file and import."
105
  msgstr ""
106
- "Scegli un file di Codice Snippets (.xml) da caricare, quindi clicca su "
107
- "Carica file e Importa."
108
 
109
- #: includes/admin/import.php:46
110
- msgid "Choose a file from your computer:"
111
- msgstr "Scegli un file dal computer:"
112
 
113
- #: includes/admin/import.php:46
114
- msgid "(Maximum size: 8MB)"
115
- msgstr "(Grandezza massima: 8MB)"
116
 
117
- #: includes/admin/import.php:55
118
- msgid "Upload file and import"
119
- msgstr "Carica un file e importa"
120
 
121
- #: includes/admin/manage.php:21
122
- msgid "Snippet <strong>activated</strong>."
123
- msgstr "Snippet <strong>attivato</strong>."
 
 
124
 
125
- #: includes/admin/manage.php:23
126
- msgid "Selected snippets <strong>activated</strong>."
127
- msgstr "Snippet selezionato <strong>attivato</strong>."
128
 
129
- #: includes/admin/manage.php:25
130
- msgid "Snippet <strong>deactivated</strong>."
131
- msgstr "Snippet <strong>disattivato</strong>."
 
132
 
133
- #: includes/admin/manage.php:27
134
- msgid "Selected snippets <strong>deactivated</strong>."
135
- msgstr "Snippet selezionato <strong>disattivato</strong>."
 
 
 
 
 
 
 
 
 
136
 
137
- #: includes/admin/manage.php:29
138
- msgid "Snippet <strong>deleted</strong>."
139
- msgstr "Snippet <strong>cancellato</strong>."
140
 
141
- #: includes/admin/manage.php:31
142
- msgid "Selected snippets <strong>deleted</strong>."
143
- msgstr "Snippet selezionato <strong>cancellato</strong>."
 
 
 
 
 
 
 
144
 
145
- #: includes/admin/manage.php:38 includes/admin/single.php:42
146
- msgctxt "snippet"
147
- msgid "Add New"
148
- msgstr "Aggiungi Nuovo"
 
 
 
 
 
 
 
 
 
 
 
149
 
150
- #: includes/admin/manage.php:47
151
- msgid "Search Installed Snippets"
152
- msgstr "Cerca Snippets Installati"
153
 
154
- #: includes/admin/single.php:22
155
- msgid "Please provide a name for the snippet and its code."
156
- msgstr "Per favore dai un nome allo snippet e al suo codice."
 
 
 
 
 
 
 
 
 
 
 
157
 
158
- #: includes/admin/single.php:28
159
- msgid "Snippet <strong>updated</strong>."
160
- msgstr "Snippet <strong>aggiornato</strong>."
 
 
 
 
 
 
161
 
162
- #: includes/admin/single.php:30
163
- msgid "Snippet <strong>added</strong>."
164
- msgstr "Snippet <strong>aggiunto</strong>."
 
 
 
 
 
 
 
 
165
 
166
- #: includes/admin/single.php:55 includes/admin/single.php:56
167
- msgid "Name (short title)"
168
- msgstr "Nome (titolo corto)"
 
 
169
 
170
- #: includes/admin/single.php:61
171
- msgid "Code"
172
- msgstr "Codice"
 
 
173
 
174
- #: code-snippets.php:1433 includes/class-list-table.php:189
175
- msgid "Description"
176
- msgstr "Descizione"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
 
178
- #: code-snippets.php:1434
179
- msgid "(Optional)"
180
- msgstr "(Opzionale)"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
 
182
- #: includes/class-list-table.php:36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
  msgid "Snippets per page"
184
  msgstr "Snippets per pagina"
185
 
186
- #: code-snippets.php:1118 includes/class-list-table.php:127
187
- #: includes/class-list-table.php:213
188
  msgid "Network Deactivate"
189
  msgstr "Network Disattiva"
190
 
191
- #: code-snippets.php:1118 includes/class-list-table.php:127
192
- #: includes/class-list-table.php:213
193
  msgid "Deactivate"
194
  msgstr "Disattiva"
195
 
196
- #: code-snippets.php:1127 includes/class-list-table.php:137
197
- #: includes/class-list-table.php:212
198
  msgid "Network Activate"
199
  msgstr "Network Attiva"
200
 
201
- #: code-snippets.php:1127 includes/class-list-table.php:137
202
- #: includes/class-list-table.php:212
203
  msgid "Activate"
204
  msgstr "Attiva"
205
 
206
- #: includes/class-list-table.php:187
207
- msgid "Name"
208
- msgstr "Nome"
209
-
210
- #: includes/class-list-table.php:188
211
- msgid "ID"
212
- msgstr "ID"
213
 
214
- #: includes/class-list-table.php:147 includes/class-list-table.php:214
 
215
  msgid "Export"
216
  msgstr "Esporta"
217
 
218
- #: includes/class-list-table.php:155 includes/class-list-table.php:215
 
219
  msgid "Delete"
220
  msgstr "Cancella"
221
 
222
- #: includes/class-list-table.php:216
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  msgid "Export to PHP"
224
  msgstr "Esporta in PHP"
225
 
226
- #: includes/class-list-table.php:236
 
227
  msgid "All <span class=\"count\">(%s)</span>"
228
  msgid_plural "All <span class=\"count\">(%s)</span>"
229
  msgstr[0] "Tutto <span class=\"count\">(%s)</span>"
230
  msgstr[1] "Tutti <span class=\"count\">(%s)</span>"
231
 
232
- #: includes/class-list-table.php:239
 
233
  msgid "Active <span class=\"count\">(%s)</span>"
234
  msgid_plural "Active <span class=\"count\">(%s)</span>"
235
  msgstr[0] "Attivo <span class=\"count\">(%s)</span>"
236
  msgstr[1] "Attivi <span class=\"count\">(%s)</span>"
237
 
238
- #: includes/class-list-table.php:242
 
 
 
 
 
 
 
 
239
  msgid "Recently Active <span class=\"count\">(%s)</span>"
240
  msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
241
  msgstr[0] "Recentemente Attivo <span class=\"count\">(%s)</span>"
242
  msgstr[1] "Recentemente Attivi <span class=\"count\">(%s)</span>"
243
 
244
- #: includes/class-list-table.php:245
245
- msgid "Inactive <span class=\"count\">(%s)</span>"
246
- msgid_plural "Inactive <span class=\"count\">(%s)</span>"
247
- msgstr[0] "Inattivo <span class=\"count\">(%s)</span>"
248
- msgstr[1] "Inattivi <span class=\"count\">(%s)</span>"
249
 
250
- #: includes/class-list-table.php:279
 
 
 
 
251
  msgid "Clear List"
252
  msgstr "Cancella Lista"
253
 
254
- #: includes/class-list-table.php:374
255
- msgid "You do not appear to have any snippets available at this time. <a href=\"%s\">Add New&rarr;</a>"
256
  msgstr ""
257
- "Sembra che tu non abbia nessuno snippets disponibile fino ad ora. <a href=\"%"
258
- "s\">Aggiungi Nuovo&rarr;</a>"
259
 
260
- #: includes/help/import.php:5 includes/help/manage.php:5
261
- #: includes/help/single.php:5
262
- msgid "Overview"
263
- msgstr "Panoramica"
 
 
 
264
 
265
- #: includes/help/import.php:7
266
- msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can load snippets from a Code Snippets (.xml) import file into the database with your existing snippets."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
267
  msgstr ""
268
- "Gli Snippets sono simili ai Plugin - tutti e due espandono le funzionalità "
269
- "di WordPress. Gli Snippets sono più leggeri, giusto poche righe di codice, e "
270
- "non appesantiscono il server. Qui tu puoi caricare snippet da un file di "
271
- "codice Snippets (.xml) ed importarli nel database aggiungendoli a gli altri "
272
- "esistenti."
273
 
274
- #: includes/help/import.php:12
275
- msgid "Importing"
276
- msgstr "Importando"
 
277
 
278
- #: includes/help/import.php:15
279
- msgid "Snippets will be added to the database along with your existing snippets. Regardless of whether the snippets were active on the previous site, imported snippets are always inactive until activated using the <a href=\"%s\">Manage Snippets</a> page.</p>"
280
  msgstr ""
281
- "Gli Snippets saranno aggiunti al database insieme ai quelli esistenti. "
282
- "Indipendentemente dal fatto che gli snippets erano attivi sul sito "
283
- "precedente, gli snippets importati sono sempre inattivi finché non vengono "
284
- "attivati utilizzando la <a href=\"%s\">Gestisci Snippets</a> pagina.</p>"
285
 
286
- #: includes/help/import.php:20
287
- msgid "Exporting"
288
- msgstr "Esportando"
 
 
 
 
 
 
289
 
290
- #: includes/help/import.php:22
291
- msgid "You can save your snippets to a Code Snippets (.xml) export file using the <a href=\"%s\">Manage Snippets</a> page."
292
  msgstr ""
293
- "Tu puoi salvare i tuoi snippets in un file di codice Snippets (.xml) usando "
294
- "la <a href=\"%s\">Gestisci Snippets</a> pagina."
295
 
296
- #: includes/help/import.php:26 includes/help/manage.php:27
297
- #: includes/help/single.php:31
298
- msgid "For more information:"
299
- msgstr "Per maggiori informazioni:"
300
 
301
- #: includes/help/import.php:27 includes/help/single.php:32
302
- msgid "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank\">WordPress Extend</a>"
303
  msgstr ""
304
- "<a href=\"http://wordpress.org/plugins/code-snippets\" "
305
- "target=\"_blank\">WordPress Extend</a>"
306
 
307
- #: includes/help/import.php:28 includes/help/manage.php:29
308
- #: includes/help/single.php:33
309
- msgid "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target=\"_blank\">Support Forums</a>"
310
  msgstr ""
311
- "<a href=\"http://wordpress.org/support/plugin/code-snippets\" "
312
- "target=\"_blank\">Support Forums</a>"
313
 
314
- #: includes/help/manage.php:7
315
- msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can manage your existing snippets and perform tasks on them such as activating, deactivating, deleting and exporting."
 
 
316
  msgstr ""
317
- "Gli Snippets sono simili ai Plugin - tutti e due espandono le funzionalità "
318
- "di WordPress. Gli Snippets sono più leggeri, giusto poche righe di codice, e "
319
- "non appesantiscono il server. Qui tu puoi gestire i tuoi snippets, "
320
- "attivarli, disattivarli, cancellarli ed esportarli."
321
 
322
- #: includes/help/manage.php:12
323
- msgid "Safe Mode"
324
- msgstr "Modalità Sicura"
325
 
326
- #: includes/help/manage.php:14
327
- msgid "Be sure to check your snippets for errors before you activate them, as a faulty snippet could bring your whole blog down. If your site starts doing strange things, deactivate all your snippets and activate them one at a time."
328
  msgstr ""
329
- "Assicuratevi di controllare i vostri snippets da errori prima di attivarli, "
330
- "uno snippet difettoso potrebbe bloccare tutto il tuo blog. Se il tuo sito "
331
- "inizia a fare cose strane, disattivare tutti gli snippets e attivarli uno "
332
- "alla volta."
333
 
334
- #: includes/help/manage.php:20
335
- msgid "Uninstall"
336
- msgstr "Disinstalla"
337
 
338
- #: includes/help/manage.php:22
339
- msgid "When you delete Code Snippets through the Plugins menu in WordPress it will clear up the <code>%1$s</code> table and a few other bits of data stored in the database. If you want to keep this data (ie: you are only temporally uninstalling Code Snippets) then remove the <code>%2$s</code> folder using FTP."
340
  msgstr ""
341
- "Quando tu disinstalli il Code Snippets dal Plugins menu in WordPress, esso "
342
- "cancellerà la <code>%1$s</code> tavola e pochi altri bit di dati "
343
- "memorizzati nel tuo database. Se tu vuoi mantenere questi dati (es. tu stai "
344
- "solo temporaneamente disinstallando il Code Snippets) allora rimuovi la "
345
- "<code>%2$s</code> cartella usando lo FTP."
346
 
347
- #: includes/help/manage.php:23
348
- msgid "Even if you're sure that you don't want to use Code Snippets ever again on this WordPress installation, you may want to use the export feature to back up your snippets."
349
  msgstr ""
350
- "Anche se sei sicuro che non vuoi più utilizzare Code Snippets in WordPress, "
351
- "è possibile utilizzare la funzione di esportazione per il backup degli "
352
- "snippets."
353
 
354
- #: includes/help/manage.php:28
355
- msgid "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank\">WordPress Extend</a></p>"
356
  msgstr ""
357
- "<a href=\"http://wordpress.org/plugins/code-snippets\" "
358
- "target=\"_blank\">WordPress Extend</a></p>"
359
 
360
- #: includes/help/single.php:7
361
- msgid "Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can add a new snippet, or edit an existing one."
362
  msgstr ""
363
- "Gli Snippets sono simili ai Plugin - tutti e due espandono le funzionalità "
364
- "di WordPress. Gli Snippets sono più leggeri, giusto poche righe di codice, e "
365
- "non appesantiscono il server. Qui tu puoi aggiungere un nuovo snippet o "
366
- "modificarne uno esistente."
367
 
368
- #: includes/help/single.php:11
369
- msgid "Finding Snippets"
370
- msgstr "Cercando Snippets"
371
 
372
- #: includes/help/single.php:13
373
- msgid ""
374
- "Here are some links to websites which host a large number of snippets that you can add to your site.\n"
375
- "\t\t<ul>\n"
376
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-Snippets</a></li>\n"
377
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></li>\n"
378
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
379
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
380
- "\t\t</ul>"
381
- msgstr ""
382
- "Qui ci sono alcuni link a siti web che ospitano un largo numero di snippets "
383
- "che puoi aggiungere al tuo sito.\n"
384
- "\t\t<ul>\n"
385
- "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets\">WP-"
386
- "Snippets</a></li>\n"
387
- "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></li>\n"
388
- "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title=\"Cats Who "
389
- "Code Snippet Library\">Cats Who Code</a></li>\n"
390
- "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>"
391
-
392
- #: includes/help/single.php:24
393
- msgid "Adding Snippets"
394
- msgstr "Aggiungendo Snippets"
395
 
396
- #: includes/help/single.php:26
397
- msgid "You need to fill out the name and code fields for your snippet to be added. While the description field will add more information about how your snippet works, what is does and where you found it, it is completely optional."
398
  msgstr ""
399
- "Devi riempire il campo del nome e il codice per aggiungere lo snippet. "
400
- "Mentre il campo della descrizione aggiungerà più informazioni riguardo a "
401
- "come lavora il tuo snippet, cosa fa e dove lo ritroviamo, ed è completamente "
402
- "opzionale. "
403
 
404
- #: includes/help/single.php:27
405
- msgid "Please be sure to check that your snippet is valid PHP code and will not produce errors before adding it through this page. While doing so will not become active straight away, it will help to minimise the chance of a faulty snippet becoming active on your site."
406
  msgstr ""
407
- "Per favore accertati che lo snippet abbia un codice PHP valido e non produca "
408
- "errori aggiungendolo a questa pagina. Facendo così, e non attivandolo "
409
- "immediatamente, ci assicureremo di minimizzare le probabilità che uno "
410
- "snippet difettoso sia attivato nel sito. "
411
 
412
- #: code-snippets.php:0
413
- msgid "http://bungeshea.com/plugins/code-snippets"
414
- msgstr "http://bungeshea.com/plugins/code-snippets"
415
 
416
- #: code-snippets.php:263
417
- msgid "Import snippets from a <strong>Code Snippets</strong> export file"
418
- msgstr "Importa snippets da un file <strong>Code Snippets</strong> esportato"
419
 
420
- #: includes/admin/import.php:20
421
- msgid "Imported <strong>%d</strong> snippet."
422
- msgid_plural "Imported <strong>%d</strong> snippets."
423
- msgstr[0] "Importato <strong>%d</strong> snippet."
424
- msgstr[1] "Importati <strong>%d</strong> snippets."
425
 
426
- #: includes/help/import.php:29 includes/help/manage.php:30
427
- #: includes/help/single.php:34
428
- msgid "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project Website</a>"
429
  msgstr ""
430
- "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
431
- "Website</a>"
432
 
433
- #: includes/help/manage.php:15
434
- msgid "If something goes wrong with a snippet and you can't use WordPress, you can cause all snippets to stop executing by adding <code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-config.php</code> file. After you have deactivated the offending snippet, you can turn off safe mode by removing this line or replacing <strong>true</strong> with <strong>false</strong>."
435
  msgstr ""
436
- "Se qualcosa va storto con uno snippet e non puoi più usare WordPress, puoi "
437
- "bloccare la esecuzione di tutti gli snippets aggiungendo "
438
- "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> al tuo file <code>wp-"
439
- "config.php</code>. Dopo aver disattivato lo snippet difettoso, puoi uscire "
440
- "dalla modalità sicura rimuovendo la linea oppure cambiando "
441
- "<strong>true</strong> con <strong>false</strong>."
442
 
443
- #: includes/help/single.php:20
444
- msgid "More places to find snippets, as well as a selection of example snippets, can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets\">plugin documentation</a>"
445
  msgstr ""
446
- "Un po' di posti dove cercare snippets, una selezione e alcuni esempi li pui "
447
- "trovare nella <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
448
- "Finding0-snippets\">documentazione del plugin</a>"
449
 
450
- #: code-snippets.php:0
451
- msgid "1.7"
452
- msgstr "1.7"
453
 
454
- #: code-snippets.php:602 includes/class-list-table.php:142
455
- msgid "Edit"
456
- msgstr "Modifica"
457
 
458
- #: code-snippets.php:1227
459
- msgid "Sorry, you're not allowed to edit snippets"
460
- msgstr "Scusa, tu non sei abilitato a modificare questo snippets"
461
 
462
- #: includes/admin/single.php:24
463
- msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
464
- msgstr "Snippet <strong>aggiornato</strong> e <strong>attivato</strong>."
465
 
466
- #: includes/admin/single.php:26
467
- msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
468
- msgstr "Snippet <strong>aggiunto</strong> e <strong>attivato</strong>."
469
 
470
- #: includes/class-list-table.php:163
471
- msgid ""
472
- "You are about to permanently delete the selected item.\n"
473
- "\t\t\t\t'Cancel' to stop, 'OK' to delete."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
474
  msgstr ""
475
  "Tu stai per cancellare in modo permanente questo elemento.\n"
476
  "\t\t\t\t'Cancella' per fermarti, 'OK' per cancellare."
477
 
478
- #: includes/class-list-table.php:270
479
- msgid "Filter"
480
- msgstr "Filtro"
 
 
 
 
481
 
482
- #: includes/class-list-table.php:541
483
- msgid "Search results"
484
- msgstr "Risultati ricerca"
 
 
 
 
 
 
 
 
485
 
486
- #: includes/class-list-table.php:544
487
- msgid " for &#8220;%s&#8221;"
488
- msgstr " per &#8220;%s&#8221;"
 
 
 
 
489
 
490
- #: includes/class-list-table.php:550
491
- msgid "Clear Filters"
492
- msgstr "Cancella Filtri"
493
 
494
- #: includes/help/import.php:14
495
- msgid "You can load your snippets from a code snippets (.xml) export file using this page."
496
- msgstr ""
497
- "Tu non puoi caricare i tuoi snippets da un file di codice snippets (.xml) "
498
- "usando questa pagina."
499
 
500
- #: includes/admin/single.php:74
501
- msgid "Save Changes &amp; Activate"
502
- msgstr "Salva Cambiamenti e Attivare"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Code Snippets\n"
6
+ "Report-Msgid-Bugs-To: \n"
7
+ "POT-Creation-Date: 2017-05-05 23:16+1000\n"
8
+ "PO-Revision-Date: 2017-05-05 23:16+1000\n"
9
  "Last-Translator: Marco <troniclabs.crew@gmail.com>\n"
10
  "Language-Team: Tronic Labs\n"
11
  "Language: it\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Generator: Poedit 2.0.1\n"
17
 
18
+ #: php/admin-menus/class-admin-menu.php:103
19
+ msgid "You are not authorized to access this page."
20
+ msgstr ""
21
+
22
+ #: php/admin-menus/class-edit-menu.php:13
23
+ #: php/admin-menus/class-edit-menu.php:14 php/views/edit.php:25
24
+ msgid "Edit Snippet"
25
+ msgstr "Edita Snippet"
26
+
27
+ #: php/admin-menus/class-edit-menu.php:39
28
+ #, fuzzy
29
+ #| msgid "Add New"
30
+ msgctxt "menu label"
31
+ msgid "Add New"
32
+ msgstr "Aggiungi Nuovo"
33
+
34
+ #: php/admin-menus/class-edit-menu.php:40 php/views/edit.php:31
35
+ msgid "Add New Snippet"
36
+ msgstr "Aggiungi nuovo Snippet"
37
+
38
+ #: php/admin-menus/class-edit-menu.php:156
39
+ msgid "Don't Panic"
40
+ msgstr ""
41
+
42
+ #: php/admin-menus/class-edit-menu.php:157
43
+ #, php-format
44
+ msgid ""
45
+ "The code snippet you are trying to save produced a fatal error on line %d:"
46
+ msgstr ""
47
+
48
+ #: php/admin-menus/class-edit-menu.php:159
49
+ msgid ""
50
+ "The previous version of the snippet is unchanged, and the rest of this site "
51
+ "should be functioning normally as before."
52
+ msgstr ""
53
+
54
+ #: php/admin-menus/class-edit-menu.php:160
55
+ msgid ""
56
+ "Please use the back button in your browser to return to the previous page "
57
+ "and try to fix the code error."
58
+ msgstr ""
59
+
60
+ #: php/admin-menus/class-edit-menu.php:161
61
+ msgid ""
62
+ "If you prefer, you can close this page and discard the changes you just "
63
+ "made. No changes will be made to this site."
64
+ msgstr ""
65
+
66
+ #: php/admin-menus/class-edit-menu.php:281 php/class-list-table.php:341
67
+ msgid "Description"
68
+ msgstr "Descizione"
69
+
70
+ #: php/admin-menus/class-edit-menu.php:312 php/class-list-table.php:342
71
+ msgid "Tags"
72
+ msgstr ""
73
+
74
+ #: php/admin-menus/class-edit-menu.php:316
75
+ msgid "Enter a list of tags; separated by commas"
76
+ msgstr ""
77
+
78
+ #: php/admin-menus/class-edit-menu.php:336
79
+ msgid "Run snippet everywhere"
80
+ msgstr ""
81
+
82
+ #: php/admin-menus/class-edit-menu.php:337
83
+ msgid "Only run in administration area"
84
+ msgstr ""
85
+
86
+ #: php/admin-menus/class-edit-menu.php:338
87
+ msgid "Only run on site front-end"
88
+ msgstr ""
89
+
90
+ #: php/admin-menus/class-edit-menu.php:342
91
+ msgid "Scope"
92
+ msgstr ""
93
+
94
+ #: php/admin-menus/class-edit-menu.php:362
95
+ msgid "Sharing"
96
+ msgstr ""
97
+
98
+ #: php/admin-menus/class-edit-menu.php:366
99
+ msgid "Allow this snippet to be activated on individual sites on the network"
100
+ msgstr ""
101
+
102
+ #: php/admin-menus/class-edit-menu.php:426
103
+ #, php-format
104
+ msgid "The snippet has been deactivated due to an error on line %d:"
105
+ msgstr ""
106
+
107
+ #: php/admin-menus/class-edit-menu.php:431
108
+ msgid "The snippet has been deactivated due to an error in the code."
109
+ msgstr ""
110
+
111
+ #: php/admin-menus/class-edit-menu.php:438
112
+ msgid "An error occurred when saving the snippet."
113
+ msgstr ""
114
+
115
+ #: php/admin-menus/class-edit-menu.php:443
116
+ msgid "Snippet <strong>added</strong>."
117
+ msgstr "Snippet <strong>aggiunto</strong>."
118
+
119
+ #: php/admin-menus/class-edit-menu.php:444
120
+ msgid "Snippet <strong>updated</strong>."
121
+ msgstr "Snippet <strong>aggiornato</strong>."
122
+
123
+ #: php/admin-menus/class-edit-menu.php:445
124
+ msgid "Snippet <strong>added</strong> and <strong>activated</strong>."
125
+ msgstr "Snippet <strong>aggiunto</strong> e <strong>attivato</strong>."
126
+
127
+ #: php/admin-menus/class-edit-menu.php:446
128
+ msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
129
+ msgstr "Snippet <strong>aggiornato</strong> e <strong>attivato</strong>."
130
+
131
+ #: php/admin-menus/class-edit-menu.php:447
132
+ #, fuzzy
133
+ #| msgid "Snippet <strong>updated</strong> and <strong>activated</strong>."
134
+ msgid "Snippet <strong>updated</strong> and <strong>deactivated</strong>."
135
+ msgstr "Snippet <strong>aggiornato</strong> e <strong>attivato</strong>."
136
+
137
+ #: php/admin-menus/class-import-menu.php:15
138
+ #, fuzzy
139
+ #| msgid "Import"
140
+ msgctxt "menu label"
141
+ msgid "Import"
142
+ msgstr "Importa"
143
+
144
+ #: php/admin-menus/class-import-menu.php:16 php/views/import.php:17
145
+ msgid "Import Snippets"
146
+ msgstr "Importa Snippet"
147
+
148
+ #: php/admin-menus/class-import-menu.php:84
149
  msgid "Code Snippets"
150
  msgstr "Code Snippets"
151
 
152
+ #: php/admin-menus/class-import-menu.php:85
153
+ #, fuzzy
154
+ #| msgid "Import snippets from a <strong>Code Snippets</strong> export file"
155
+ msgid "Import snippets from a code snippets export file"
156
+ msgstr "Importa snippets da un file <strong>Code Snippets</strong> esportato"
157
+
158
+ #: php/admin-menus/class-import-menu.php:99
159
+ #, fuzzy, php-format
160
+ #| msgid "Imported <strong>%d</strong> snippet."
161
+ #| msgid_plural "Imported <strong>%d</strong> snippets."
162
+ msgid ""
163
+ "Successfully imported <strong>%d</strong> snippet. <a href=\"%s\">Have fun!</"
164
+ "a>"
165
+ msgid_plural ""
166
+ "Successfully imported <strong>%d</strong> snippets. <a href=\"%s\">Have fun!"
167
+ "</a>"
168
+ msgstr[0] "Importato <strong>%d</strong> snippet."
169
+ msgstr[1] "Importati <strong>%d</strong> snippets."
170
+
171
+ #: php/admin-menus/class-import-menu.php:112
172
+ msgid "An error occurred when processing the import file."
173
  msgstr ""
 
 
174
 
175
+ #: php/admin-menus/class-manage-menu.php:22
176
+ #, fuzzy
177
+ #| msgid "Snippets"
178
+ msgctxt "menu label"
179
+ msgid "All Snippets"
180
+ msgstr "Snippets"
181
 
182
+ #: php/admin-menus/class-manage-menu.php:23
183
+ #: php/admin-menus/class-manage-menu.php:45 php/class-admin.php:61
184
+ #: php/class-admin.php:144 php/views/manage.php:19
185
+ msgid "Snippets"
186
+ msgstr "Importa Snippet"
187
 
188
+ #: php/admin-menus/class-manage-menu.php:46
189
+ #, fuzzy
190
+ #| msgid "Snippets"
191
+ msgctxt "top-level menu label"
192
  msgid "Snippets"
193
  msgstr "Snippets"
194
 
195
+ #: php/admin-menus/class-manage-menu.php:81
196
+ msgid ""
197
+ "<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
198
+ "Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
199
+ "config.php</code> to turn off safe mode. <a href=\"https://github.com/"
200
+ "sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank\">Help</a>"
201
+ msgstr ""
202
 
203
+ #: php/admin-menus/class-manage-menu.php:87
204
+ msgid "Snippet <strong>activated</strong>."
205
+ msgstr "Snippet <strong>attivato</strong>."
206
 
207
+ #: php/admin-menus/class-manage-menu.php:88
208
+ msgid "Selected snippets <strong>activated</strong>."
209
+ msgstr "Snippet selezionato <strong>attivato</strong>."
210
 
211
+ #: php/admin-menus/class-manage-menu.php:89
212
+ msgid "Snippet <strong>deactivated</strong>."
213
+ msgstr "Snippet <strong>disattivato</strong>."
214
 
215
+ #: php/admin-menus/class-manage-menu.php:90
216
+ msgid "Selected snippets <strong>deactivated</strong>."
217
+ msgstr "Snippet selezionato <strong>disattivato</strong>."
218
+
219
+ #: php/admin-menus/class-manage-menu.php:91
220
+ msgid "Snippet <strong>deleted</strong>."
221
+ msgstr "Snippet <strong>cancellato</strong>."
222
+
223
+ #: php/admin-menus/class-manage-menu.php:92
224
+ msgid "Selected snippets <strong>deleted</strong>."
225
+ msgstr "Snippet selezionato <strong>cancellato</strong>."
226
+
227
+ #: php/admin-menus/class-settings-menu.php:16
228
+ msgctxt "menu label"
229
+ msgid "Settings"
230
+ msgstr ""
231
+
232
+ #: php/admin-menus/class-settings-menu.php:17
233
+ #, fuzzy
234
+ #| msgid "Snippets per page"
235
+ msgid "Snippets Settings"
236
+ msgstr "Snippets per pagina"
237
+
238
+ #: php/admin-menus/class-settings-menu.php:39 php/views/edit.php:135
239
+ msgid "Settings"
240
+ msgstr ""
241
 
242
+ #: php/class-admin.php:143
243
  msgid "Manage your existing snippets"
244
  msgstr "Gestisci i tuoi snippets esistenti"
245
 
246
+ #: php/class-admin.php:174
 
 
 
 
247
  msgid "Visit the WordPress.org plugin page"
248
  msgstr "Visita la pagina del plugin su WordPress.org"
249
 
250
+ #: php/class-admin.php:175
251
  msgid "About"
252
  msgstr "Info"
253
 
254
+ #: php/class-admin.php:179
255
  msgid "Visit the support forums"
256
  msgstr "Visita il forum di supporto"
257
 
258
+ #: php/class-admin.php:180
259
  msgid "Support"
260
  msgstr "Supporto"
261
 
262
+ #: php/class-admin.php:184
263
  msgid "Support this plugin's development"
264
  msgstr "Supporta lo sviluppo di questo plugin"
265
 
266
+ #: php/class-admin.php:185
267
  msgid "Donate"
268
  msgstr "Donazione"
269
 
270
+ #: php/class-admin.php:216
271
+ msgid ""
272
+ "<strong>Have feedback on Code Snippets?</strong> Please take the time to "
273
+ "answer a short survey on how you use this plugin and what you'd like to see "
274
+ "changed or added in the future."
275
  msgstr ""
 
 
276
 
277
+ #: php/class-admin.php:220
278
+ msgid "Take the survey now"
279
  msgstr ""
 
 
280
 
281
+ #: php/class-admin.php:223
282
+ msgid "Dismiss"
283
  msgstr ""
 
 
284
 
285
+ #: php/class-contextual-help.php:40
286
+ msgid "For more information:"
287
+ msgstr "Per maggiori informazioni:"
288
 
289
+ #: php/class-contextual-help.php:41
290
+ msgid "About Plugin"
291
+ msgstr ""
292
 
293
+ #: php/class-contextual-help.php:42
294
+ msgid "FAQ"
295
+ msgstr ""
296
 
297
+ #: php/class-contextual-help.php:43
298
+ #, fuzzy
299
+ #| msgid "Support"
300
+ msgid "Support Forums"
301
+ msgstr "Supporto"
302
 
303
+ #: php/class-contextual-help.php:44
304
+ msgid "Plugin Website"
305
+ msgstr ""
306
 
307
+ #: php/class-contextual-help.php:55 php/class-contextual-help.php:81
308
+ #: php/class-contextual-help.php:122
309
+ msgid "Overview"
310
+ msgstr "Panoramica"
311
 
312
+ #: php/class-contextual-help.php:56
313
+ msgid ""
314
+ "Snippets are similar to plugins - they both extend and expand the "
315
+ "functionality of WordPress. Snippets are more light-weight, just a few lines "
316
+ "of code, and do not put as much load on your server. Here you can manage "
317
+ "your existing snippets and perform tasks on them such as activating, "
318
+ "deactivating, deleting and exporting."
319
+ msgstr ""
320
+ "Gli Snippets sono simili ai Plugin - tutti e due espandono le funzionalità "
321
+ "di WordPress. Gli Snippets sono più leggeri, giusto poche righe di codice, e "
322
+ "non appesantiscono il server. Qui tu puoi gestire i tuoi snippets, "
323
+ "attivarli, disattivarli, cancellarli ed esportarli."
324
 
325
+ #: php/class-contextual-help.php:61
326
+ msgid "Safe Mode"
327
+ msgstr "Modalità Sicura"
328
 
329
+ #: php/class-contextual-help.php:62
330
+ msgid ""
331
+ "Be sure to check your snippets for errors before you activate them, as a "
332
+ "faulty snippet could bring your whole blog down. If your site starts doing "
333
+ "strange things, deactivate all your snippets and activate them one at a time."
334
+ msgstr ""
335
+ "Assicuratevi di controllare i vostri snippets da errori prima di attivarli, "
336
+ "uno snippet difettoso potrebbe bloccare tutto il tuo blog. Se il tuo sito "
337
+ "inizia a fare cose strane, disattivare tutti gli snippets e attivarli uno "
338
+ "alla volta."
339
 
340
+ #: php/class-contextual-help.php:63
341
+ msgid ""
342
+ "If something goes wrong with a snippet and you can't use WordPress, you can "
343
+ "cause all snippets to stop executing by adding "
344
+ "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> to your <code>wp-"
345
+ "config.php</code> file. After you have deactivated the offending snippet, "
346
+ "you can turn off safe mode by removing this line or replacing <strong>true</"
347
+ "strong> with <strong>false</strong>."
348
+ msgstr ""
349
+ "Se qualcosa va storto con uno snippet e non puoi più usare WordPress, puoi "
350
+ "bloccare la esecuzione di tutti gli snippets aggiungendo "
351
+ "<code>define('CODE_SNIPPETS_SAFE_MODE', true);</code> al tuo file <code>wp-"
352
+ "config.php</code>. Dopo aver disattivato lo snippet difettoso, puoi uscire "
353
+ "dalla modalità sicura rimuovendo la linea oppure cambiando <strong>true</"
354
+ "strong> con <strong>false</strong>."
355
 
356
+ #: php/class-contextual-help.php:68
357
+ msgid "Uninstall"
358
+ msgstr "Disinstalla"
359
 
360
+ #: php/class-contextual-help.php:69
361
+ #, php-format
362
+ msgid ""
363
+ "When you delete Code Snippets through the Plugins menu in WordPress it will "
364
+ "clear up the <code>%1$s</code> table and a few other bits of data stored in "
365
+ "the database. If you want to keep this data (ie: you are only temporally "
366
+ "uninstalling Code Snippets) then remove the <code>%2$s</code> folder using "
367
+ "FTP."
368
+ msgstr ""
369
+ "Quando tu disinstalli il Code Snippets dal Plugins menu in WordPress, esso "
370
+ "cancellerà la <code>%1$s</code> tavola e pochi altri bit di dati "
371
+ "memorizzati nel tuo database. Se tu vuoi mantenere questi dati (es. tu stai "
372
+ "solo temporaneamente disinstallando il Code Snippets) allora rimuovi la "
373
+ "<code>%2$s</code> cartella usando lo FTP."
374
 
375
+ #: php/class-contextual-help.php:70
376
+ msgid ""
377
+ "Even if you're sure that you don't want to use Code Snippets ever again on "
378
+ "this WordPress installation, you may want to use the export feature to back "
379
+ "up your snippets."
380
+ msgstr ""
381
+ "Anche se sei sicuro che non vuoi più utilizzare Code Snippets in WordPress, "
382
+ "è possibile utilizzare la funzione di esportazione per il backup degli "
383
+ "snippets."
384
 
385
+ #: php/class-contextual-help.php:82
386
+ msgid ""
387
+ "Snippets are similar to plugins - they both extend and expand the "
388
+ "functionality of WordPress. Snippets are more light-weight, just a few lines "
389
+ "of code, and do not put as much load on your server. Here you can add a new "
390
+ "snippet, or edit an existing one."
391
+ msgstr ""
392
+ "Gli Snippets sono simili ai Plugin - tutti e due espandono le funzionalità "
393
+ "di WordPress. Gli Snippets sono più leggeri, giusto poche righe di codice, e "
394
+ "non appesantiscono il server. Qui tu puoi aggiungere un nuovo snippet o "
395
+ "modificarne uno esistente."
396
 
397
+ #: php/class-contextual-help.php:87
398
+ #, fuzzy
399
+ #| msgid "Snippets"
400
+ msgid "WP-Snippets"
401
+ msgstr "Snippets"
402
 
403
+ #: php/class-contextual-help.php:87
404
+ #, fuzzy
405
+ #| msgid "http://bungeshea.com"
406
+ msgid "http://wp-snippets.com"
407
+ msgstr "http://bungeshea.com"
408
 
409
+ #: php/class-contextual-help.php:88
410
+ #, fuzzy
411
+ #| msgid "Snippets"
412
+ msgid "WP Snipp"
413
+ msgstr "Snippets"
414
+
415
+ #: php/class-contextual-help.php:88
416
+ #, fuzzy
417
+ #| msgid "http://bungeshea.com"
418
+ msgid "http://wpsnipp.com"
419
+ msgstr "http://bungeshea.com"
420
+
421
+ #: php/class-contextual-help.php:89
422
+ msgid "Cats Who Code"
423
+ msgstr "Cats Siapa Kode "
424
+
425
+ #: php/class-contextual-help.php:89
426
+ #, fuzzy
427
+ #| msgid "http://bungeshea.com/plugins/code-snippets"
428
+ msgid "http://www.catswhocode.com/blog/snippets"
429
+ msgstr "http://bungeshea.com/plugins/code-snippets"
430
+
431
+ #: php/class-contextual-help.php:90
432
+ msgid "WP Function Me"
433
+ msgstr "WP Fungsi Me"
434
+
435
+ #: php/class-contextual-help.php:90
436
+ msgid "http://www.wpfunction.me"
437
+ msgstr "http://www.wpfunction.me"
438
+
439
+ #: php/class-contextual-help.php:100
440
+ msgid "Finding Snippets"
441
+ msgstr "Cercando Snippets"
442
+
443
+ #: php/class-contextual-help.php:101
444
+ msgid ""
445
+ "Here are some links to websites which host a large number of snippets that "
446
+ "you can add to your site:"
447
+ msgstr ""
448
+ "Berikut adalah beberapa link ke situs-situs yang tuan rumah sejumlah besar "
449
+ "potongan yang dapat Anda tambahkan ke situs Anda:"
450
+
451
+ #: php/class-contextual-help.php:103
452
+ msgid ""
453
+ "More places to find snippets, as well as a selection of example snippets, "
454
+ "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
455
+ "wiki/Finding-snippets\">plugin documentation</a>"
456
+ msgstr ""
457
+ "Un po' di posti dove cercare snippets, una selezione e alcuni esempi li pui "
458
+ "trovare nella <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
459
+ "Finding0-snippets\">documentazione del plugin</a>"
460
+
461
+ #: php/class-contextual-help.php:108
462
+ msgid "Adding Snippets"
463
+ msgstr "Aggiungendo Snippets"
464
+
465
+ #: php/class-contextual-help.php:109
466
+ msgid ""
467
+ "You need to fill out the name and code fields for your snippet to be added. "
468
+ "While the description field will add more information about how your snippet "
469
+ "works, what is does and where you found it, it is completely optional."
470
+ msgstr ""
471
+ "Devi riempire il campo del nome e il codice per aggiungere lo snippet. "
472
+ "Mentre il campo della descrizione aggiungerà più informazioni riguardo a "
473
+ "come lavora il tuo snippet, cosa fa e dove lo ritroviamo, ed è completamente "
474
+ "opzionale."
475
+
476
+ #: php/class-contextual-help.php:110
477
+ msgid ""
478
+ "Please be sure to check that your snippet is valid PHP code and will not "
479
+ "produce errors before adding it through this page. While doing so will not "
480
+ "become active straight away, it will help to minimise the chance of a faulty "
481
+ "snippet becoming active on your site."
482
+ msgstr ""
483
+ "Per favore accertati che lo snippet abbia un codice PHP valido e non produca "
484
+ "errori aggiungendolo a questa pagina. Facendo così, e non attivandolo "
485
+ "immediatamente, ci assicureremo di minimizzare le probabilità che uno "
486
+ "snippet difettoso sia attivato nel sito."
487
+
488
+ #: php/class-contextual-help.php:123
489
+ msgid ""
490
+ "Snippets are similar to plugins - they both extend and expand the "
491
+ "functionality of WordPress. Snippets are more light-weight, just a few lines "
492
+ "of code, and do not put as much load on your server. Here you can load "
493
+ "snippets from a Code Snippets (.xml) import file into the database with your "
494
+ "existing snippets."
495
+ msgstr ""
496
+ "Gli Snippets sono simili ai Plugin - tutti e due espandono le funzionalità "
497
+ "di WordPress. Gli Snippets sono più leggeri, giusto poche righe di codice, e "
498
+ "non appesantiscono il server. Qui tu puoi caricare snippet da un file di "
499
+ "codice Snippets (.xml) ed importarli nel database aggiungendoli a gli altri "
500
+ "esistenti."
501
 
502
+ #: php/class-contextual-help.php:128
503
+ msgid "Importing"
504
+ msgstr "Importando"
505
+
506
+ #: php/class-contextual-help.php:129
507
+ msgid ""
508
+ "You can load your snippets from a code snippets (.xml) export file using "
509
+ "this page."
510
+ msgstr ""
511
+ "Tu non puoi caricare i tuoi snippets da un file di codice snippets (.xml) "
512
+ "usando questa pagina."
513
+
514
+ #: php/class-contextual-help.php:130
515
+ #, fuzzy, php-format
516
+ #| msgid ""
517
+ #| "Snippets will be added to the database along with your existing snippets. "
518
+ #| "Regardless of whether the snippets were active on the previous site, "
519
+ #| "imported snippets are always inactive until activated using the <a href="
520
+ #| "\"%s\">Manage Snippets</a> page.</p>"
521
+ msgid ""
522
+ "Snippets will be added to the database along with your existing snippets. "
523
+ "Regardless of whether the snippets were active on the previous site, "
524
+ "imported snippets are always inactive until activated using the <a href=\"%s"
525
+ "\">All Snippets</a> page.</p>"
526
+ msgstr ""
527
+ "Gli Snippets saranno aggiunti al database insieme ai quelli esistenti. "
528
+ "Indipendentemente dal fatto che gli snippets erano attivi sul sito "
529
+ "precedente, gli snippets importati sono sempre inattivi finché non vengono "
530
+ "attivati utilizzando la <a href=\"%s\">Gestisci Snippets</a> pagina.</p>"
531
 
532
+ #: php/class-contextual-help.php:135
533
+ msgid "Exporting"
534
+ msgstr "Esportando"
535
+
536
+ #: php/class-contextual-help.php:136
537
+ #, php-format
538
+ msgid ""
539
+ "You can save your snippets to a Code Snippets (.xml) export file using the "
540
+ "<a href=\"%s\">Manage Snippets</a> page."
541
+ msgstr ""
542
+ "Tu puoi salvare i tuoi snippets in un file di codice Snippets (.xml) usando "
543
+ "la <a href=\"%s\">Gestisci Snippets</a> pagina."
544
+
545
+ #: php/class-export.php:87
546
+ msgid ""
547
+ "This is a code snippets export file generated by the Code Snippets WordPress "
548
+ "plugin."
549
+ msgstr ""
550
+
551
+ #: php/class-export.php:89
552
+ msgid "To import these snippets a WordPress site follow these steps:"
553
+ msgstr ""
554
+
555
+ #: php/class-export.php:90
556
+ msgid "1. Log in to that site as an administrator."
557
+ msgstr ""
558
+
559
+ #: php/class-export.php:91
560
+ msgid ""
561
+ "2. Install the Code Snippets plugin using the directions provided at the "
562
+ "above link."
563
+ msgstr ""
564
+
565
+ #: php/class-export.php:92
566
+ msgid "3. Go to 'Tools: Import' in the WordPress admin panel."
567
+ msgstr ""
568
+
569
+ #: php/class-export.php:93
570
+ msgid "4. Click on the \"Code Snippets\" importer in the list"
571
+ msgstr ""
572
+
573
+ #: php/class-export.php:94
574
+ msgid "5. Upload this file using the form provided on that page."
575
+ msgstr ""
576
+
577
+ #: php/class-export.php:95
578
+ msgid ""
579
+ "6. Code Snippets will then import all of the snippets and associated "
580
+ "information contained in this file into your site."
581
+ msgstr ""
582
+
583
+ #: php/class-export.php:96
584
+ #, fuzzy
585
+ #| msgid ""
586
+ #| "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to "
587
+ #| "activate the imported snippets."
588
+ msgid ""
589
+ "7. You will then have to visit the 'Snippets: All Snippets' admin menu and "
590
+ "activate desired snippets."
591
+ msgstr ""
592
+ "Dovrai andare nella pagina <a href=\"%s\">Gestisci Snippets</a> per attivare "
593
+ "gli snippets importati."
594
+
595
+ #: php/class-list-table.php:58
596
  msgid "Snippets per page"
597
  msgstr "Snippets per pagina"
598
 
599
+ #: php/class-list-table.php:119 php/class-list-table.php:387
 
600
  msgid "Network Deactivate"
601
  msgstr "Network Disattiva"
602
 
603
+ #: php/class-list-table.php:119 php/class-list-table.php:191
604
+ #: php/class-list-table.php:387
605
  msgid "Deactivate"
606
  msgstr "Disattiva"
607
 
608
+ #: php/class-list-table.php:128 php/class-list-table.php:386
 
609
  msgid "Network Activate"
610
  msgstr "Network Attiva"
611
 
612
+ #: php/class-list-table.php:128 php/class-list-table.php:191
613
+ #: php/class-list-table.php:386
614
  msgid "Activate"
615
  msgstr "Attiva"
616
 
617
+ #: php/class-list-table.php:138 php/class-list-table.php:207
618
+ msgid "Edit"
619
+ msgstr "Modifica"
 
 
 
 
620
 
621
+ #: php/class-list-table.php:144 php/class-list-table.php:213
622
+ #: php/class-list-table.php:388 php/views/edit.php:111
623
  msgid "Export"
624
  msgstr "Esporta"
625
 
626
+ #: php/class-list-table.php:153 php/class-list-table.php:225
627
+ #: php/class-list-table.php:389 php/views/edit.php:124
628
  msgid "Delete"
629
  msgstr "Cancella"
630
 
631
+ #: php/class-list-table.php:160 php/class-list-table.php:235
632
+ #, fuzzy
633
+ #| msgid ""
634
+ #| "You are about to permanently delete the selected item.\n"
635
+ #| "\t\t\t\t'Cancel' to stop, 'OK' to delete."
636
+ msgid "You are about to permanently delete the selected item."
637
+ msgstr ""
638
+ "Tu stai per cancellare in modo permanente questo elemento.\n"
639
+ "\t\t\t\t'Cancella' per fermarti, 'OK' per cancellare."
640
+
641
+ #: php/class-list-table.php:161 php/class-list-table.php:236
642
+ #: php/views/edit.php:119
643
+ msgid "'Cancel' to stop, 'OK' to delete."
644
+ msgstr ""
645
+
646
+ #: php/class-list-table.php:168
647
+ #, fuzzy
648
+ #| msgid "Network Activate"
649
+ msgid "Network Active"
650
+ msgstr "Network Attiva"
651
+
652
+ #: php/class-list-table.php:170
653
+ msgid "Network Only"
654
+ msgstr ""
655
+
656
+ #: php/class-list-table.php:255
657
+ #, php-format
658
+ msgid "Untitled #%d"
659
+ msgstr ""
660
+
661
+ #: php/class-list-table.php:278
662
+ msgid "Shared on Network"
663
+ msgstr ""
664
+
665
+ #: php/class-list-table.php:339 php/views/edit.php:48
666
+ msgid "Name"
667
+ msgstr "Nome"
668
+
669
+ #: php/class-list-table.php:340
670
+ msgid "ID"
671
+ msgstr "ID"
672
+
673
+ #: php/class-list-table.php:390
674
  msgid "Export to PHP"
675
  msgstr "Esporta in PHP"
676
 
677
+ #: php/class-list-table.php:428
678
+ #, php-format
679
  msgid "All <span class=\"count\">(%s)</span>"
680
  msgid_plural "All <span class=\"count\">(%s)</span>"
681
  msgstr[0] "Tutto <span class=\"count\">(%s)</span>"
682
  msgstr[1] "Tutti <span class=\"count\">(%s)</span>"
683
 
684
+ #: php/class-list-table.php:429
685
+ #, php-format
686
  msgid "Active <span class=\"count\">(%s)</span>"
687
  msgid_plural "Active <span class=\"count\">(%s)</span>"
688
  msgstr[0] "Attivo <span class=\"count\">(%s)</span>"
689
  msgstr[1] "Attivi <span class=\"count\">(%s)</span>"
690
 
691
+ #: php/class-list-table.php:430
692
+ #, php-format
693
+ msgid "Inactive <span class=\"count\">(%s)</span>"
694
+ msgid_plural "Inactive <span class=\"count\">(%s)</span>"
695
+ msgstr[0] "Inattivo <span class=\"count\">(%s)</span>"
696
+ msgstr[1] "Inattivi <span class=\"count\">(%s)</span>"
697
+
698
+ #: php/class-list-table.php:431
699
+ #, php-format
700
  msgid "Recently Active <span class=\"count\">(%s)</span>"
701
  msgid_plural "Recently Active <span class=\"count\">(%s)</span>"
702
  msgstr[0] "Recentemente Attivo <span class=\"count\">(%s)</span>"
703
  msgstr[1] "Recentemente Attivi <span class=\"count\">(%s)</span>"
704
 
705
+ #: php/class-list-table.php:494
706
+ msgid "Show all tags"
707
+ msgstr ""
 
 
708
 
709
+ #: php/class-list-table.php:508
710
+ msgid "Filter"
711
+ msgstr "Filtro"
712
+
713
+ #: php/class-list-table.php:516
714
  msgid "Clear List"
715
  msgstr "Cancella Lista"
716
 
717
+ #: php/class-list-table.php:702
718
+ msgid "Whoops, it looks like no snippets could be found."
719
  msgstr ""
 
 
720
 
721
+ #: php/class-list-table.php:706
722
+ msgid "Perhaps you would like to add a new one?"
723
+ msgstr ""
724
+
725
+ #: php/class-list-table.php:985
726
+ msgid "Search results"
727
+ msgstr "Risultati ricerca"
728
 
729
+ #: php/class-list-table.php:988
730
+ #, php-format
731
+ msgid " for &#8220;%s&#8221;"
732
+ msgstr " per &#8220;%s&#8221;"
733
+
734
+ #: php/class-list-table.php:992
735
+ #, fuzzy, php-format
736
+ #| msgid " for &#8220;%s&#8221;"
737
+ msgid " in tag &#8220;%s&#8221;"
738
+ msgstr " per &#8220;%s&#8221;"
739
+
740
+ #: php/class-list-table.php:1000
741
+ msgid "Clear Filters"
742
+ msgstr "Cancella Filtri"
743
+
744
+ #: php/settings/settings-fields.php:42
745
+ msgid "Activate by Default"
746
  msgstr ""
 
 
 
 
 
747
 
748
+ #: php/settings/settings-fields.php:44
749
+ msgid ""
750
+ "Make the 'Save and Activate' button the default action when saving a snippet."
751
+ msgstr ""
752
 
753
+ #: php/settings/settings-fields.php:49
754
+ msgid "Enable Scope Selector"
755
  msgstr ""
 
 
 
 
756
 
757
+ #: php/settings/settings-fields.php:51
758
+ msgid "Enable the scope selector when editing a snippet"
759
+ msgstr ""
760
+
761
+ #: php/settings/settings-fields.php:56
762
+ #, fuzzy
763
+ #| msgid "Code Snippets"
764
+ msgid "Enable Snippet Tags"
765
+ msgstr "Code Snippets"
766
 
767
+ #: php/settings/settings-fields.php:58
768
+ msgid "Show snippet tags on admin pages"
769
  msgstr ""
 
 
770
 
771
+ #: php/settings/settings-fields.php:63
772
+ msgid "Enable Snippet Descriptions"
773
+ msgstr ""
 
774
 
775
+ #: php/settings/settings-fields.php:65
776
+ msgid "Show snippet descriptions on admin pages"
777
  msgstr ""
 
 
778
 
779
+ #: php/settings/settings-fields.php:69
780
+ msgid "Disable shortcode syntax highlighter"
 
781
  msgstr ""
 
 
782
 
783
+ #: php/settings/settings-fields.php:71
784
+ msgid ""
785
+ "Disable the syntax highlighting for the [code_snippet] shortcode on the "
786
+ "front-end"
787
  msgstr ""
 
 
 
 
788
 
789
+ #: php/settings/settings-fields.php:80
790
+ msgid "Row Height"
791
+ msgstr ""
792
 
793
+ #: php/settings/settings-fields.php:82
794
+ msgid "rows"
795
  msgstr ""
 
 
 
 
796
 
797
+ #: php/settings/settings-fields.php:88
798
+ msgid "Use Full Editor"
799
+ msgstr ""
800
 
801
+ #: php/settings/settings-fields.php:90
802
+ msgid "Enable all features of the visual editor"
803
  msgstr ""
 
 
 
 
 
804
 
805
+ #: php/settings/settings-fields.php:95
806
+ msgid "Media Buttons"
807
  msgstr ""
 
 
 
808
 
809
+ #: php/settings/settings-fields.php:97
810
+ msgid "Enable the add media buttons"
811
  msgstr ""
 
 
812
 
813
+ #: php/settings/settings-fields.php:106
814
+ msgid "Theme"
815
  msgstr ""
 
 
 
 
816
 
817
+ #: php/settings/settings-fields.php:113
818
+ msgid "Indent With Tabs"
819
+ msgstr ""
820
 
821
+ #: php/settings/settings-fields.php:115
822
+ msgid "Use hard tabs (not spaces) for indentation."
823
+ msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
824
 
825
+ #: php/settings/settings-fields.php:121
826
+ msgid "Tab Size"
827
  msgstr ""
 
 
 
 
828
 
829
+ #: php/settings/settings-fields.php:123
830
+ msgid "The width of a tab character."
831
  msgstr ""
 
 
 
 
832
 
833
+ #: php/settings/settings-fields.php:130
834
+ msgid "Indent Unit"
835
+ msgstr ""
836
 
837
+ #: php/settings/settings-fields.php:132
838
+ msgid "How many spaces a block should be indented."
839
+ msgstr ""
840
 
841
+ #: php/settings/settings-fields.php:139
842
+ msgid "Wrap Lines"
843
+ msgstr ""
 
 
844
 
845
+ #: php/settings/settings-fields.php:141
846
+ msgid "Whether the editor should scroll or wrap for long lines."
 
847
  msgstr ""
 
 
848
 
849
+ #: php/settings/settings-fields.php:147
850
+ msgid "Line Numbers"
851
  msgstr ""
 
 
 
 
 
 
852
 
853
+ #: php/settings/settings-fields.php:149
854
+ msgid "Show line numbers to the left of the editor."
855
  msgstr ""
 
 
 
856
 
857
+ #: php/settings/settings-fields.php:155
858
+ msgid "Auto Close Brackets"
859
+ msgstr ""
860
 
861
+ #: php/settings/settings-fields.php:157
862
+ msgid "Auto-close brackets and quotes when typed."
863
+ msgstr ""
864
 
865
+ #: php/settings/settings-fields.php:163
866
+ msgid "Highlight Selection Matches"
867
+ msgstr ""
868
 
869
+ #: php/settings/settings-fields.php:164
870
+ msgid "Highlight all instances of a currently selected word."
871
+ msgstr ""
872
 
873
+ #: php/settings/settings.php:68
874
+ msgid "General"
875
+ msgstr ""
876
 
877
+ #: php/settings/settings.php:69
878
+ #, fuzzy
879
+ #| msgid "Description"
880
+ msgid "Description Editor"
881
+ msgstr "Descizione"
882
+
883
+ #: php/settings/settings.php:70
884
+ msgid "Code Editor"
885
+ msgstr ""
886
+
887
+ #: php/settings/settings.php:119
888
+ msgid "Editor Preview"
889
+ msgstr ""
890
+
891
+ #: php/settings/settings.php:176
892
+ msgid "Settings saved."
893
+ msgstr ""
894
+
895
+ #: php/views/edit.php:28 php/views/manage.php:22
896
+ msgctxt "snippet"
897
+ msgid "Add New"
898
+ msgstr "Aggiungi Nuovo"
899
+
900
+ #: php/views/edit.php:49
901
+ msgid "Enter title here"
902
+ msgstr ""
903
+
904
+ #: php/views/edit.php:54
905
+ msgid "Code"
906
+ msgstr "Codice"
907
+
908
+ #: php/views/edit.php:81 php/views/edit.php:95
909
+ #, fuzzy
910
+ #| msgid "Save Changes &amp; Activate"
911
+ msgid "Save Changes and Activate"
912
+ msgstr "Salva Cambiamenti e Attivare"
913
+
914
+ #: php/views/edit.php:101
915
+ #, fuzzy
916
+ #| msgid "Save Changes &amp; Activate"
917
+ msgid "Save Changes and Deactivate"
918
+ msgstr "Salva Cambiamenti e Attivare"
919
+
920
+ #: php/views/edit.php:118
921
+ #, fuzzy
922
+ #| msgid ""
923
+ #| "You are about to permanently delete the selected item.\n"
924
+ #| "\t\t\t\t'Cancel' to stop, 'OK' to delete."
925
+ msgid "You are about to permanently delete this snippet."
926
  msgstr ""
927
  "Tu stai per cancellare in modo permanente questo elemento.\n"
928
  "\t\t\t\t'Cancella' per fermarti, 'OK' per cancellare."
929
 
930
+ #: php/views/import.php:21
931
+ msgid ""
932
+ "Howdy! Upload your Code Snippets export file and we&#8217;ll import the "
933
+ "snippets to this site."
934
+ msgstr ""
935
+ "Wella! Carica i tuoi Snippets di codice dal file esportato e li importeremo "
936
+ "nel tuo sito."
937
 
938
+ #: php/views/import.php:23
939
+ #, fuzzy, php-format
940
+ #| msgid ""
941
+ #| "You will need to go to the <a href=\"%s\">Manage Snippets</a> page to "
942
+ #| "activate the imported snippets."
943
+ msgid ""
944
+ "You will need to go to the <a href=\"%s\">All Snippets</a> page to activate "
945
+ "the imported snippets."
946
+ msgstr ""
947
+ "Dovrai andare nella pagina <a href=\"%s\">Gestisci Snippets</a> per attivare "
948
+ "gli snippets importati."
949
 
950
+ #: php/views/import.php:25
951
+ msgid ""
952
+ "Choose a Code Snippets (.xml) file to upload, then click Upload file and "
953
+ "import."
954
+ msgstr ""
955
+ "Scegli un file di Codice Snippets (.xml) da caricare, quindi clicca su "
956
+ "Carica file e Importa."
957
 
958
+ #: php/views/import.php:32
959
+ msgid "Choose a file from your computer:"
960
+ msgstr "Scegli un file dal computer:"
961
 
962
+ #: php/views/import.php:33
963
+ msgid "(Maximum size: 8MB)"
964
+ msgstr "(Grandezza massima: 8MB)"
 
 
965
 
966
+ #: php/views/import.php:39
967
+ msgid "Upload file and import"
968
+ msgstr "Carica un file e importa"
969
+
970
+ #: php/views/manage.php:34
971
+ msgid "Search Installed Snippets"
972
+ msgstr "Cerca Snippets Installati"
973
+
974
+ #~ msgid ""
975
+ #~ "An easy, clean and simple way to add code snippets to your site. No need "
976
+ #~ "to edit to your theme's functions.php file again!"
977
+ #~ msgstr ""
978
+ #~ "Un facile, semplice e pulito modo di aggiungere Snippet, frammenti di "
979
+ #~ "codice al tuo sito. Senza editare il tuo tema e il tuo file functions.php."
980
+
981
+ #~ msgid "Shea Bunge"
982
+ #~ msgstr "Shea Bunge"
983
+
984
+ #~ msgid "Manage"
985
+ #~ msgstr "Gestisci"
986
+
987
+ #~ msgid "Please provide a name for the snippet and its code."
988
+ #~ msgstr "Per favore dai un nome allo snippet e al suo codice."
989
+
990
+ #~ msgid "Name (short title)"
991
+ #~ msgstr "Nome (titolo corto)"
992
+
993
+ #~ msgid "(Optional)"
994
+ #~ msgstr "(Opzionale)"
995
+
996
+ #~ msgid ""
997
+ #~ "You do not appear to have any snippets available at this time. <a href="
998
+ #~ "\"%s\">Add New&rarr;</a>"
999
+ #~ msgstr ""
1000
+ #~ "Sembra che tu non abbia nessuno snippets disponibile fino ad ora. <a href="
1001
+ #~ "\"%s\">Aggiungi Nuovo&rarr;</a>"
1002
+
1003
+ #~ msgid ""
1004
+ #~ "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
1005
+ #~ "\">WordPress Extend</a>"
1006
+ #~ msgstr ""
1007
+ #~ "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
1008
+ #~ "\">WordPress Extend</a>"
1009
+
1010
+ #~ msgid ""
1011
+ #~ "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target="
1012
+ #~ "\"_blank\">Support Forums</a>"
1013
+ #~ msgstr ""
1014
+ #~ "<a href=\"http://wordpress.org/support/plugin/code-snippets\" target="
1015
+ #~ "\"_blank\">Support Forums</a>"
1016
+
1017
+ #~ msgid ""
1018
+ #~ "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
1019
+ #~ "\">WordPress Extend</a></p>"
1020
+ #~ msgstr ""
1021
+ #~ "<a href=\"http://wordpress.org/plugins/code-snippets\" target=\"_blank"
1022
+ #~ "\">WordPress Extend</a></p>"
1023
+
1024
+ #~ msgid ""
1025
+ #~ "Here are some links to websites which host a large number of snippets "
1026
+ #~ "that you can add to your site.\n"
1027
+ #~ "\t\t<ul>\n"
1028
+ #~ "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
1029
+ #~ "\">WP-Snippets</a></li>\n"
1030
+ #~ "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
1031
+ #~ "li>\n"
1032
+ #~ "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
1033
+ #~ "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
1034
+ #~ "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
1035
+ #~ "\t\t</ul>"
1036
+ #~ msgstr ""
1037
+ #~ "Qui ci sono alcuni link a siti web che ospitano un largo numero di "
1038
+ #~ "snippets che puoi aggiungere al tuo sito.\n"
1039
+ #~ "\t\t<ul>\n"
1040
+ #~ "\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
1041
+ #~ "\">WP-Snippets</a></li>\n"
1042
+ #~ "\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</a></"
1043
+ #~ "li>\n"
1044
+ #~ "\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
1045
+ #~ "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
1046
+ #~ "\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>"
1047
+
1048
+ #~ msgid ""
1049
+ #~ "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
1050
+ #~ "\">Project Website</a>"
1051
+ #~ msgstr ""
1052
+ #~ "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
1053
+ #~ "\">Project Website</a>"
1054
+
1055
+ #~ msgid "1.7"
1056
+ #~ msgstr "1.7"
1057
+
1058
+ #~ msgid "Sorry, you're not allowed to edit snippets"
1059
+ #~ msgstr "Scusa, tu non sei abilitato a modificare questo snippets"
languages/code-snippets.pot CHANGED
@@ -6,9 +6,9 @@
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: code-snippets 2.8.4\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2017-04-29 23:31+1000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -290,7 +290,7 @@ msgid "Plugin Website"
290
  msgstr ""
291
 
292
  #: php/class-contextual-help.php:55 php/class-contextual-help.php:81
293
- #: php/class-contextual-help.php:114
294
  msgid "Overview"
295
  msgstr ""
296
 
@@ -353,44 +353,67 @@ msgid ""
353
  "snippet, or edit an existing one."
354
  msgstr ""
355
 
 
 
 
 
 
 
 
 
356
  #: php/class-contextual-help.php:87
357
- msgid "Finding Snippets"
 
 
 
 
 
 
 
 
358
  msgstr ""
359
 
360
  #: php/class-contextual-help.php:88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
361
  msgid ""
362
  "Here are some links to websites which host a large number of snippets that "
363
- "you can add to your site.\n"
364
- "\t\t\t\t<ul>\n"
365
- "\t\t\t\t\t<li><a href=\"http://wp-snippets.com\" title=\"WordPress Snippets"
366
- "\">WP-Snippets</a></li>\n"
367
- "\t\t\t\t\t<li><a href=\"http://wpsnipp.com\" title=\"WP Snipp\">WP Snipp</"
368
- "a></li>\n"
369
- "\t\t\t\t\t<li><a href=\"http://www.catswhocode.com/blog/snippets\" title="
370
- "\"Cats Who Code Snippet Library\">Cats Who Code</a></li>\n"
371
- "\t\t\t\t\t<li><a href=\"http://www.wpfunction.me\">WP Function Me</a></li>\n"
372
- "\t\t\t\t</ul>"
373
- msgstr ""
374
-
375
- #: php/class-contextual-help.php:95
376
  msgid ""
377
  "More places to find snippets, as well as a selection of example snippets, "
378
  "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
379
  "wiki/Finding-snippets\">plugin documentation</a>"
380
  msgstr ""
381
 
382
- #: php/class-contextual-help.php:100
383
  msgid "Adding Snippets"
384
  msgstr ""
385
 
386
- #: php/class-contextual-help.php:101
387
  msgid ""
388
  "You need to fill out the name and code fields for your snippet to be added. "
389
  "While the description field will add more information about how your snippet "
390
  "works, what is does and where you found it, it is completely optional."
391
  msgstr ""
392
 
393
- #: php/class-contextual-help.php:102
394
  msgid ""
395
  "Please be sure to check that your snippet is valid PHP code and will not "
396
  "produce errors before adding it through this page. While doing so will not "
@@ -398,7 +421,7 @@ msgid ""
398
  "snippet becoming active on your site."
399
  msgstr ""
400
 
401
- #: php/class-contextual-help.php:115
402
  msgid ""
403
  "Snippets are similar to plugins - they both extend and expand the "
404
  "functionality of WordPress. Snippets are more light-weight, just a few lines "
@@ -407,17 +430,17 @@ msgid ""
407
  "existing snippets."
408
  msgstr ""
409
 
410
- #: php/class-contextual-help.php:120
411
  msgid "Importing"
412
  msgstr ""
413
 
414
- #: php/class-contextual-help.php:121
415
  msgid ""
416
  "You can load your snippets from a code snippets (.xml) export file using "
417
  "this page."
418
  msgstr ""
419
 
420
- #: php/class-contextual-help.php:122
421
  #, php-format
422
  msgid ""
423
  "Snippets will be added to the database along with your existing snippets. "
@@ -426,11 +449,11 @@ msgid ""
426
  "\">All Snippets</a> page.</p>"
427
  msgstr ""
428
 
429
- #: php/class-contextual-help.php:127
430
  msgid "Exporting"
431
  msgstr ""
432
 
433
- #: php/class-contextual-help.php:128
434
  #, php-format
435
  msgid ""
436
  "You can save your snippets to a Code Snippets (.xml) export file using the "
@@ -603,21 +626,21 @@ msgstr ""
603
  msgid "Perhaps you would like to add a new one?"
604
  msgstr ""
605
 
606
- #: php/class-list-table.php:985
607
  msgid "Search results"
608
  msgstr ""
609
 
610
- #: php/class-list-table.php:988
611
  #, php-format
612
  msgid " for &#8220;%s&#8221;"
613
  msgstr ""
614
 
615
- #: php/class-list-table.php:992
616
  #, php-format
617
  msgid " in tag &#8220;%s&#8221;"
618
  msgstr ""
619
 
620
- #: php/class-list-table.php:1000
621
  msgid "Clear Filters"
622
  msgstr ""
623
 
@@ -654,97 +677,105 @@ msgstr ""
654
  msgid "Show snippet descriptions on admin pages"
655
  msgstr ""
656
 
657
- #: php/settings/settings-fields.php:69
 
 
 
 
 
 
 
 
658
  msgid "Disable shortcode syntax highlighter"
659
  msgstr ""
660
 
661
- #: php/settings/settings-fields.php:71
662
  msgid ""
663
  "Disable the syntax highlighting for the [code_snippet] shortcode on the "
664
  "front-end"
665
  msgstr ""
666
 
667
- #: php/settings/settings-fields.php:80
668
  msgid "Row Height"
669
  msgstr ""
670
 
671
- #: php/settings/settings-fields.php:82
672
  msgid "rows"
673
  msgstr ""
674
 
675
- #: php/settings/settings-fields.php:88
676
  msgid "Use Full Editor"
677
  msgstr ""
678
 
679
- #: php/settings/settings-fields.php:90
680
  msgid "Enable all features of the visual editor"
681
  msgstr ""
682
 
683
- #: php/settings/settings-fields.php:95
684
  msgid "Media Buttons"
685
  msgstr ""
686
 
687
- #: php/settings/settings-fields.php:97
688
  msgid "Enable the add media buttons"
689
  msgstr ""
690
 
691
- #: php/settings/settings-fields.php:106
692
  msgid "Theme"
693
  msgstr ""
694
 
695
- #: php/settings/settings-fields.php:113
696
  msgid "Indent With Tabs"
697
  msgstr ""
698
 
699
- #: php/settings/settings-fields.php:115
700
  msgid "Use hard tabs (not spaces) for indentation."
701
  msgstr ""
702
 
703
- #: php/settings/settings-fields.php:121
704
  msgid "Tab Size"
705
  msgstr ""
706
 
707
- #: php/settings/settings-fields.php:123
708
  msgid "The width of a tab character."
709
  msgstr ""
710
 
711
- #: php/settings/settings-fields.php:130
712
  msgid "Indent Unit"
713
  msgstr ""
714
 
715
- #: php/settings/settings-fields.php:132
716
  msgid "How many spaces a block should be indented."
717
  msgstr ""
718
 
719
- #: php/settings/settings-fields.php:139
720
  msgid "Wrap Lines"
721
  msgstr ""
722
 
723
- #: php/settings/settings-fields.php:141
724
  msgid "Whether the editor should scroll or wrap for long lines."
725
  msgstr ""
726
 
727
- #: php/settings/settings-fields.php:147
728
  msgid "Line Numbers"
729
  msgstr ""
730
 
731
- #: php/settings/settings-fields.php:149
732
  msgid "Show line numbers to the left of the editor."
733
  msgstr ""
734
 
735
- #: php/settings/settings-fields.php:155
736
  msgid "Auto Close Brackets"
737
  msgstr ""
738
 
739
- #: php/settings/settings-fields.php:157
740
  msgid "Auto-close brackets and quotes when typed."
741
  msgstr ""
742
 
743
- #: php/settings/settings-fields.php:163
744
  msgid "Highlight Selection Matches"
745
  msgstr ""
746
 
747
- #: php/settings/settings-fields.php:164
748
  msgid "Highlight all instances of a currently selected word."
749
  msgstr ""
750
 
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
+ "Project-Id-Version: code-snippets 2.8.5\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2017-05-13 16:11+1000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
290
  msgstr ""
291
 
292
  #: php/class-contextual-help.php:55 php/class-contextual-help.php:81
293
+ #: php/class-contextual-help.php:121
294
  msgid "Overview"
295
  msgstr ""
296
 
353
  "snippet, or edit an existing one."
354
  msgstr ""
355
 
356
+ #: php/class-contextual-help.php:86
357
+ msgid "WP-Snippets"
358
+ msgstr ""
359
+
360
+ #: php/class-contextual-help.php:86
361
+ msgid "http://wp-snippets.com"
362
+ msgstr ""
363
+
364
  #: php/class-contextual-help.php:87
365
+ msgid "WP Snipp"
366
+ msgstr ""
367
+
368
+ #: php/class-contextual-help.php:87
369
+ msgid "http://wpsnipp.com"
370
+ msgstr ""
371
+
372
+ #: php/class-contextual-help.php:88
373
+ msgid "Cats Who Code"
374
  msgstr ""
375
 
376
  #: php/class-contextual-help.php:88
377
+ msgid "http://www.catswhocode.com/blog/snippets"
378
+ msgstr ""
379
+
380
+ #: php/class-contextual-help.php:89
381
+ msgid "WP Function Me"
382
+ msgstr ""
383
+
384
+ #: php/class-contextual-help.php:89
385
+ msgid "http://www.wpfunction.me"
386
+ msgstr ""
387
+
388
+ #: php/class-contextual-help.php:99
389
+ msgid "Finding Snippets"
390
+ msgstr ""
391
+
392
+ #: php/class-contextual-help.php:100
393
  msgid ""
394
  "Here are some links to websites which host a large number of snippets that "
395
+ "you can add to your site:"
396
+ msgstr ""
397
+
398
+ #: php/class-contextual-help.php:102
 
 
 
 
 
 
 
 
 
399
  msgid ""
400
  "More places to find snippets, as well as a selection of example snippets, "
401
  "can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
402
  "wiki/Finding-snippets\">plugin documentation</a>"
403
  msgstr ""
404
 
405
+ #: php/class-contextual-help.php:107
406
  msgid "Adding Snippets"
407
  msgstr ""
408
 
409
+ #: php/class-contextual-help.php:108
410
  msgid ""
411
  "You need to fill out the name and code fields for your snippet to be added. "
412
  "While the description field will add more information about how your snippet "
413
  "works, what is does and where you found it, it is completely optional."
414
  msgstr ""
415
 
416
+ #: php/class-contextual-help.php:109
417
  msgid ""
418
  "Please be sure to check that your snippet is valid PHP code and will not "
419
  "produce errors before adding it through this page. While doing so will not "
421
  "snippet becoming active on your site."
422
  msgstr ""
423
 
424
+ #: php/class-contextual-help.php:122
425
  msgid ""
426
  "Snippets are similar to plugins - they both extend and expand the "
427
  "functionality of WordPress. Snippets are more light-weight, just a few lines "
430
  "existing snippets."
431
  msgstr ""
432
 
433
+ #: php/class-contextual-help.php:127
434
  msgid "Importing"
435
  msgstr ""
436
 
437
+ #: php/class-contextual-help.php:128
438
  msgid ""
439
  "You can load your snippets from a code snippets (.xml) export file using "
440
  "this page."
441
  msgstr ""
442
 
443
+ #: php/class-contextual-help.php:129
444
  #, php-format
445
  msgid ""
446
  "Snippets will be added to the database along with your existing snippets. "
449
  "\">All Snippets</a> page.</p>"
450
  msgstr ""
451
 
452
+ #: php/class-contextual-help.php:134
453
  msgid "Exporting"
454
  msgstr ""
455
 
456
+ #: php/class-contextual-help.php:135
457
  #, php-format
458
  msgid ""
459
  "You can save your snippets to a Code Snippets (.xml) export file using the "
626
  msgid "Perhaps you would like to add a new one?"
627
  msgstr ""
628
 
629
+ #: php/class-list-table.php:1000
630
  msgid "Search results"
631
  msgstr ""
632
 
633
+ #: php/class-list-table.php:1003
634
  #, php-format
635
  msgid " for &#8220;%s&#8221;"
636
  msgstr ""
637
 
638
+ #: php/class-list-table.php:1007
639
  #, php-format
640
  msgid " in tag &#8220;%s&#8221;"
641
  msgstr ""
642
 
643
+ #: php/class-list-table.php:1015
644
  msgid "Clear Filters"
645
  msgstr ""
646
 
677
  msgid "Show snippet descriptions on admin pages"
678
  msgstr ""
679
 
680
+ #: php/settings/settings-fields.php:70
681
+ msgid "Show Network Snippets"
682
+ msgstr ""
683
+
684
+ #: php/settings/settings-fields.php:72
685
+ msgid "Show network-wide snippets in the snippets table on subsites"
686
+ msgstr ""
687
+
688
+ #: php/settings/settings-fields.php:77
689
  msgid "Disable shortcode syntax highlighter"
690
  msgstr ""
691
 
692
+ #: php/settings/settings-fields.php:79
693
  msgid ""
694
  "Disable the syntax highlighting for the [code_snippet] shortcode on the "
695
  "front-end"
696
  msgstr ""
697
 
698
+ #: php/settings/settings-fields.php:92
699
  msgid "Row Height"
700
  msgstr ""
701
 
702
+ #: php/settings/settings-fields.php:94
703
  msgid "rows"
704
  msgstr ""
705
 
706
+ #: php/settings/settings-fields.php:100
707
  msgid "Use Full Editor"
708
  msgstr ""
709
 
710
+ #: php/settings/settings-fields.php:102
711
  msgid "Enable all features of the visual editor"
712
  msgstr ""
713
 
714
+ #: php/settings/settings-fields.php:107
715
  msgid "Media Buttons"
716
  msgstr ""
717
 
718
+ #: php/settings/settings-fields.php:109
719
  msgid "Enable the add media buttons"
720
  msgstr ""
721
 
722
+ #: php/settings/settings-fields.php:118
723
  msgid "Theme"
724
  msgstr ""
725
 
726
+ #: php/settings/settings-fields.php:125
727
  msgid "Indent With Tabs"
728
  msgstr ""
729
 
730
+ #: php/settings/settings-fields.php:127
731
  msgid "Use hard tabs (not spaces) for indentation."
732
  msgstr ""
733
 
734
+ #: php/settings/settings-fields.php:133
735
  msgid "Tab Size"
736
  msgstr ""
737
 
738
+ #: php/settings/settings-fields.php:135
739
  msgid "The width of a tab character."
740
  msgstr ""
741
 
742
+ #: php/settings/settings-fields.php:142
743
  msgid "Indent Unit"
744
  msgstr ""
745
 
746
+ #: php/settings/settings-fields.php:144
747
  msgid "How many spaces a block should be indented."
748
  msgstr ""
749
 
750
+ #: php/settings/settings-fields.php:151
751
  msgid "Wrap Lines"
752
  msgstr ""
753
 
754
+ #: php/settings/settings-fields.php:153
755
  msgid "Whether the editor should scroll or wrap for long lines."
756
  msgstr ""
757
 
758
+ #: php/settings/settings-fields.php:159
759
  msgid "Line Numbers"
760
  msgstr ""
761
 
762
+ #: php/settings/settings-fields.php:161
763
  msgid "Show line numbers to the left of the editor."
764
  msgstr ""
765
 
766
+ #: php/settings/settings-fields.php:167
767
  msgid "Auto Close Brackets"
768
  msgstr ""
769
 
770
+ #: php/settings/settings-fields.php:169
771
  msgid "Auto-close brackets and quotes when typed."
772
  msgstr ""
773
 
774
+ #: php/settings/settings-fields.php:175
775
  msgid "Highlight Selection Matches"
776
  msgstr ""
777
 
778
+ #: php/settings/settings-fields.php:176
779
  msgid "Highlight all instances of a currently selected word."
780
  msgstr ""
781
 
php/class-contextual-help.php CHANGED
@@ -82,17 +82,24 @@ class Code_Snippets_Contextual_Help {
82
  'content' => '<p>' . __( 'Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can add a new snippet, or edit an existing one.', 'code-snippets' ) . '</p>',
83
  ) );
84
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  $this->screen->add_help_tab( array(
86
  'id' => 'finding',
87
  'title' => __( 'Finding Snippets', 'code-snippets' ),
88
- 'content' => '<p>' . __( 'Here are some links to websites which host a large number of snippets that you can add to your site.
89
- <ul>
90
- <li><a href="http://wp-snippets.com" title="WordPress Snippets">WP-Snippets</a></li>
91
- <li><a href="http://wpsnipp.com" title="WP Snipp">WP Snipp</a></li>
92
- <li><a href="http://www.catswhocode.com/blog/snippets" title="Cats Who Code Snippet Library">Cats Who Code</a></li>
93
- <li><a href="http://www.wpfunction.me">WP Function Me</a></li>
94
- </ul>', 'code-snippets' ) .
95
- __( 'More places to find snippets, as well as a selection of example snippets, can be found in the <a href="https://github.com/sheabunge/code-snippets/wiki/Finding-snippets">plugin documentation</a>', 'code-snippets' ) . '</p>',
96
  ) );
97
 
98
  $this->screen->add_help_tab( array(
82
  'content' => '<p>' . __( 'Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can add a new snippet, or edit an existing one.', 'code-snippets' ) . '</p>',
83
  ) );
84
 
85
+ $snippet_host_links = array(
86
+ __( 'WP-Snippets', 'code-snippets' ) => __( 'http://wp-snippets.com', 'code-snippets' ),
87
+ __( 'WP Snipp', 'code-snippets' ) => __( 'http://wpsnipp.com', 'code-snippets' ),
88
+ __( 'Cats Who Code', 'code-snippets' ) => __( 'http://www.catswhocode.com/blog/snippets', 'code-snippets' ),
89
+ __( 'WP Function Me', 'code-snippets' ) => __( 'http://www.wpfunction.me', 'code-snippets' ),
90
+ );
91
+
92
+ $snippet_host_list = '';
93
+ foreach ( $snippet_host_links as $link => $title ) {
94
+ $snippet_host_list .= sprintf( '<li><a href="%s"></a></li>\n', esc_url( $link ), esc_html( $title ) );
95
+ }
96
+
97
  $this->screen->add_help_tab( array(
98
  'id' => 'finding',
99
  'title' => __( 'Finding Snippets', 'code-snippets' ),
100
+ 'content' => '<p>' . __( 'Here are some links to websites which host a large number of snippets that you can add to your site:', 'code-snippets' ) .
101
+ '<ul>' . $snippet_host_list . '</ul>' .
102
+ __( 'More places to find snippets, as well as a selection of example snippets, can be found in the <a href="https://github.com/sheabunge/code-snippets/wiki/Finding-snippets">plugin documentation</a>', 'code-snippets' ) . '</p>',
 
 
 
 
 
103
  ) );
104
 
105
  $this->screen->add_help_tab( array(
php/class-list-table.php CHANGED
@@ -266,12 +266,12 @@ class Code_Snippets_List_Table extends WP_List_Table {
266
  $out = sprintf(
267
  '<a href="%s"><strong>%s</strong></a>',
268
  code_snippets()->get_snippet_edit_url( $snippet->id, $snippet->network ? 'network' : 'admin' ),
269
- $title
270
  );
271
  }
272
 
273
  if ( $snippet->shared_network && ! current_user_can( apply_filters( 'code_snippets_network_cap', 'manage_network_snippets' ) ) ) {
274
- $out = sprintf( '<a><strong>%s</strong></a>', $title );
275
  }
276
 
277
  if ( $snippet->shared_network ) {
@@ -742,11 +742,11 @@ class Code_Snippets_List_Table extends WP_List_Table {
742
  $shared_snippets = $wpdb->get_results( $wpdb->prepare( $sql, $ids ), ARRAY_A );
743
 
744
  foreach ( $shared_snippets as $index => $snippet ) {
745
- $snippet = new Snippet( $snippet );
746
- $snippet->network = true;
747
  $snippet->shared_network = true;
748
- $snippet->tags = array_merge( $snippet->tags, array( 'shared on network' ) );
749
- $snippet->active = in_array( $snippet->id, $active_shared_snippets );
750
 
751
  $shared_snippets[ $index ] = $snippet;
752
  }
@@ -774,9 +774,11 @@ class Code_Snippets_List_Table extends WP_List_Table {
774
  $snippets = array_fill_keys( $this->statuses, array() );
775
 
776
  /* Fetch all snippets */
777
- if ( is_multisite() && ! $this->is_network ) {
778
- $local_snippets = get_snippets( array(), false );
779
  $network_snippets = get_snippets( array(), true );
 
 
 
780
  $snippets['all'] = array_merge( $local_snippets, $network_snippets );
781
  } else {
782
  $snippets['all'] = get_snippets( array() );
@@ -896,6 +898,19 @@ class Code_Snippets_List_Table extends WP_List_Table {
896
  ) );
897
  }
898
 
 
 
 
 
 
 
 
 
 
 
 
 
 
899
  /**
900
  * Callback for usort() used to sort snippets
901
  *
266
  $out = sprintf(
267
  '<a href="%s"><strong>%s</strong></a>',
268
  code_snippets()->get_snippet_edit_url( $snippet->id, $snippet->network ? 'network' : 'admin' ),
269
+ $out
270
  );
271
  }
272
 
273
  if ( $snippet->shared_network && ! current_user_can( apply_filters( 'code_snippets_network_cap', 'manage_network_snippets' ) ) ) {
274
+ $out = sprintf( '<a><strong>%s</strong></a>', esc_html( $title ) );
275
  }
276
 
277
  if ( $snippet->shared_network ) {
742
  $shared_snippets = $wpdb->get_results( $wpdb->prepare( $sql, $ids ), ARRAY_A );
743
 
744
  foreach ( $shared_snippets as $index => $snippet ) {
745
+ $snippet = new Snippet( $snippet );
746
+ $snippet->network = true;
747
  $snippet->shared_network = true;
748
+ $snippet->tags = array_merge( $snippet->tags, array( 'shared on network' ) );
749
+ $snippet->active = in_array( $snippet->id, $active_shared_snippets );
750
 
751
  $shared_snippets[ $index ] = $snippet;
752
  }
774
  $snippets = array_fill_keys( $this->statuses, array() );
775
 
776
  /* Fetch all snippets */
777
+ if ( is_multisite() && ! $this->is_network && code_snippets_get_setting( 'general', 'show_network_snippets' ) ) {
 
778
  $network_snippets = get_snippets( array(), true );
779
+ $network_snippets = array_filter( $network_snippets, array( $this, 'exclude_shared_network_snippets' ) );
780
+
781
+ $local_snippets = get_snippets( array(), false );
782
  $snippets['all'] = array_merge( $local_snippets, $network_snippets );
783
  } else {
784
  $snippets['all'] = get_snippets( array() );
898
  ) );
899
  }
900
 
901
+ /**
902
+ * Callback for array_filter() to exclude shared network snippets from the
903
+ *
904
+ * @ignore
905
+ *
906
+ * @param Snippet $snippet The current snippet item being filtered
907
+ *
908
+ * @return bool false if the snippet is a shared network snippet
909
+ */
910
+ private function exclude_shared_network_snippets( $snippet ) {
911
+ return ! $snippet->shared_network;
912
+ }
913
+
914
  /**
915
  * Callback for usort() used to sort snippets
916
  *
php/class-snippet.php CHANGED
@@ -39,7 +39,9 @@ class Snippet {
39
  );
40
 
41
  /**
42
- * Set all of the snippet fields from an array or object
 
 
43
  * @param array|object $fields List of fields
44
  */
45
  public function set_fields( $fields ) {
@@ -56,7 +58,7 @@ class Snippet {
56
 
57
  /* Loop through the passed fields and set them */
58
  foreach ( $fields as $field => $value ) {
59
- $this->__set( $field, $value );
60
  }
61
  }
62
 
@@ -103,7 +105,10 @@ class Snippet {
103
  }
104
 
105
  /**
106
- * Set a field's value
 
 
 
107
  * @param string $field The field name
108
  * @param mixed $value The field value
109
  */
@@ -114,13 +119,54 @@ class Snippet {
114
  $field = 'desc';
115
  }
116
 
 
 
 
 
117
  /* Check if the field value should be filtered */
118
  if ( method_exists( $this, 'prepare_' . $field ) ) {
119
  $value = call_user_func( array( $this, 'prepare_' . $field ), $value );
120
  }
121
 
122
  $this->fields[ $field ] = $value;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
 
 
 
124
  }
125
 
126
  /**
39
  );
40
 
41
  /**
42
+ * Set all of the snippet fields from an array or object.
43
+ * Invalid fields will be ignored
44
+ *
45
  * @param array|object $fields List of fields
46
  */
47
  public function set_fields( $fields ) {
58
 
59
  /* Loop through the passed fields and set them */
60
  foreach ( $fields as $field => $value ) {
61
+ $this->set_field( $field, $value );
62
  }
63
  }
64
 
105
  }
106
 
107
  /**
108
+ * Set the value of a field
109
+ *
110
+ * @throws ErrorException When an invalid $field is undefined for the class
111
+ *
112
  * @param string $field The field name
113
  * @param mixed $value The field value
114
  */
119
  $field = 'desc';
120
  }
121
 
122
+ if ( ! $this->is_allowed_field( $field ) ) {
123
+ throw new ErrorException( 'Trying to set invalid property on Snippets class: ' . $field, 0, E_WARNING );
124
+ }
125
+
126
  /* Check if the field value should be filtered */
127
  if ( method_exists( $this, 'prepare_' . $field ) ) {
128
  $value = call_user_func( array( $this, 'prepare_' . $field ), $value );
129
  }
130
 
131
  $this->fields[ $field ] = $value;
132
+ }
133
+
134
+ /**
135
+ * Retrieve the list of fields allowed to be written to
136
+ *
137
+ * @return array
138
+ */
139
+ public function get_allowed_fields() {
140
+ return array_keys( $this->fields );
141
+ }
142
+
143
+ /**
144
+ * Determine whether a field is allowed to be written to
145
+ *
146
+ * @param string $field The field name
147
+ *
148
+ * @return bool true if the is allowed, false if invalid
149
+ */
150
+ public function is_allowed_field( $field ) {
151
+ return array_key_exists( $field, $this->fields );
152
+ }
153
+
154
+ /**
155
+ * Safely set the value for a field.
156
+ * If the field name is invalid, false will be returned instead of an error thrown
157
+ *
158
+ * @param string $field The field name
159
+ * @param mixed $value The field value
160
+ *
161
+ * @return bool true if the field was set successfully, false if the field name is invalid
162
+ */
163
+ public function set_field( $field, $value ) {
164
+ if ( ! $this->is_allowed_field( $field ) ) {
165
+ return false;
166
+ }
167
 
168
+ $this->__set( $field, $value );
169
+ return true;
170
  }
171
 
172
  /**
php/settings/settings-fields.php CHANGED
@@ -65,6 +65,14 @@ function code_snippets_get_settings_fields() {
65
  'label' => __( 'Show snippet descriptions on admin pages', 'code-snippets' ),
66
  'default' => true,
67
  ),
 
 
 
 
 
 
 
 
68
  'disable_prism' => array(
69
  'name' => __( 'Disable shortcode syntax highlighter', 'code-snippets' ),
70
  'type' => 'checkbox',
@@ -73,6 +81,10 @@ function code_snippets_get_settings_fields() {
73
  ),
74
  );
75
 
 
 
 
 
76
  /* Description Editor settings section */
77
  $fields['description_editor'] = array(
78
 
65
  'label' => __( 'Show snippet descriptions on admin pages', 'code-snippets' ),
66
  'default' => true,
67
  ),
68
+
69
+ 'show_network_snippets' => array(
70
+ 'name' => __( 'Show Network Snippets', 'code-snippets' ),
71
+ 'type' => 'checkbox',
72
+ 'label' => __( 'Show network-wide snippets in the snippets table on subsites', 'code-snippets' ),
73
+ 'default' => true,
74
+ ),
75
+
76
  'disable_prism' => array(
77
  'name' => __( 'Disable shortcode syntax highlighter', 'code-snippets' ),
78
  'type' => 'checkbox',
81
  ),
82
  );
83
 
84
+ if ( ! is_multisite() ) {
85
+ unset( $fields['general']['show_network_snippets'] );
86
+ }
87
+
88
  /* Description Editor settings section */
89
  $fields['description_editor'] = array(
90
 
php/snippet-ops.php CHANGED
@@ -269,18 +269,50 @@ function save_snippet( Snippet $snippet ) {
269
  $wpdb->insert( $table, $data, '%s' );
270
  $snippet->id = $wpdb->insert_id;
271
 
272
- do_action( 'code_snippets/create_snippet', $snippet, $table );
273
  } else {
274
 
275
  /* Otherwise update the snippet data */
276
  $wpdb->update( $table, $data, array( 'id' => $snippet->id ), null, array( '%d' ) );
277
 
278
- do_action( 'code_snippets/update_snippet', $snippet, $table );
279
  }
280
 
281
  return $snippet->id;
282
  }
283
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
284
  /**
285
  * Imports snippets from an XML file
286
  *
269
  $wpdb->insert( $table, $data, '%s' );
270
  $snippet->id = $wpdb->insert_id;
271
 
272
+ do_action( 'code_snippets/create_snippet', $snippet->id, $table );
273
  } else {
274
 
275
  /* Otherwise update the snippet data */
276
  $wpdb->update( $table, $data, array( 'id' => $snippet->id ), null, array( '%d' ) );
277
 
278
+ do_action( 'code_snippets/update_snippet', $snippet->id, $table );
279
  }
280
 
281
  return $snippet->id;
282
  }
283
 
284
+ /**
285
+ * Update a snippet entry given a list of fields
286
+ *
287
+ * @param int $snippet_id The ID of the snippet to update
288
+ * @param array $fields An array of fields mapped to their values
289
+ * @param bool $network Whether the snippet is network-wide or site-wide
290
+ */
291
+ function update_snippet_fields( $snippet_id, $fields, $network = null ) {
292
+ /** @var wpdb $wpdb */
293
+ global $wpdb;
294
+
295
+ $table = code_snippets()->db->get_table_name( $network );
296
+
297
+ /* Build a new snippet object for the validation */
298
+ $snippet = new Snippet();
299
+ $snippet->id = $snippet_id;
300
+
301
+ /* Validate fields through the snippet class and copy them into a clean array */
302
+ $clean_fields = array();
303
+
304
+ foreach ( $fields as $field => $value ) {
305
+
306
+ if ( $snippet->set_field( $field, $value ) ) {
307
+ $clean_fields[ $field ] = $snippet->$field;
308
+ }
309
+ }
310
+
311
+ /* Update the snippet in the database */
312
+ $wpdb->update( $table, $clean_fields, array( 'id' => $snippet->id ), null, array( '%d' ) );
313
+ do_action( 'code_snippets/update_snippet', $snippet->id, $table );
314
+ }
315
+
316
  /**
317
  * Imports snippets from an XML file
318
  *
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://bungeshea.com/donate/
4
  Tags: code-snippets, snippets, code, php, network, multisite
5
  Requires at least: 3.6
6
  Tested up to: 4.7.4
7
- Stable tag: 2.8.4
8
  License: MIT
9
  License URI: license.txt
10
 
@@ -26,6 +26,7 @@ If you have any feedback, issues, or suggestions for improvements please leave a
26
 
27
  Code Snippets can be used in these different languages thanks to the following translators:
28
 
 
29
  * German - [Mario Siegmann](http://web-alltag.de/), [Joerg Knoerchen](http://www.sensorgrafie.de/), and [David Decker](http://deckerweb.de)
30
  * Dutch - [Sander Spies](https://github.com/sander1)
31
  * Slovak - [Ján Fajčák](http://wp.sk)
@@ -108,6 +109,13 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co
108
 
109
  == Changelog ==
110
 
 
 
 
 
 
 
 
111
  = 2.8.4 (29 April 2017) =
112
  * Fixed all snippets being treated as network snippets on non-multisite sites
113
 
@@ -444,6 +452,9 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co
444
 
445
  == Upgrade Notice ==
446
 
 
 
 
447
  = 2.8.4 =
448
  Fixes error with previous version on non-multisite
449
 
4
  Tags: code-snippets, snippets, code, php, network, multisite
5
  Requires at least: 3.6
6
  Tested up to: 4.7.4
7
+ Stable tag: 2.8.5
8
  License: MIT
9
  License URI: license.txt
10
 
26
 
27
  Code Snippets can be used in these different languages thanks to the following translators:
28
 
29
+ * Indonesian - [Jordan Silaen from ChameleonJohn.com](https://www.chameleonjohn.com/)
30
  * German - [Mario Siegmann](http://web-alltag.de/), [Joerg Knoerchen](http://www.sensorgrafie.de/), and [David Decker](http://deckerweb.de)
31
  * Dutch - [Sander Spies](https://github.com/sander1)
32
  * Slovak - [Ján Fajčák](http://wp.sk)
109
 
110
  == Changelog ==
111
 
112
+ = 2.8.5 (13 May 2017) =
113
+ * Ensured HTML in snippet titles is escaped in snippets table
114
+ * Added Indonesian translation by Jordan Silaen from ChameleonJohn.com
115
+ * Disallowed undefined fields to be set on the Snippets class
116
+ * Prevented shared network snippets from being included twice in snippets table on multisite
117
+ * Added setting to hide network snippets on subsites
118
+
119
  = 2.8.4 (29 April 2017) =
120
  * Fixed all snippets being treated as network snippets on non-multisite sites
121
 
452
 
453
  == Upgrade Notice ==
454
 
455
+ = 2.8.5 =
456
+ Prevents snippets from displaying twice in snippets table on multisite
457
+
458
  = 2.8.4 =
459
  Fixes error with previous version on non-multisite
460