Version Description
- Polyfilled array_replace_recursive() function for PHP 5.2
- Updated references to old plugin site
- Resolved JavaScript error on edit snippet pages
- Made minor updates to French translation file
- Added statuses for snippet scopes on manage snippets table
Download this release
Release Info
Developer | bungeshea |
Plugin | Code Snippets |
Version | 2.2.2 |
Comparing to | |
See all releases |
Code changes from version 2.2.1 to 2.2.2
- code-snippets.php +6 -6
- includes/admin.php +2 -2
- includes/edit/admin-help.php +2 -2
- includes/edit/admin.php +0 -7
- includes/import/admin-help.php +1 -1
- includes/manage/admin-help.php +1 -1
- includes/manage/admin-messages.php +1 -1
- includes/manage/class-list-table.php +22 -3
- includes/settings/class-settings.php +3 -0
- includes/settings/settings-fields.php +11 -1
- includes/settings/settings.php +43 -3
- languages/code-snippets-de_DE.mo +0 -0
- languages/code-snippets-de_DE.po +10 -10
- languages/code-snippets-fr_FR.mo +0 -0
- languages/code-snippets-fr_FR.po +137 -109
- languages/code-snippets-it_IT.mo +0 -0
- languages/code-snippets-it_IT.po +7 -7
- languages/code-snippets-ja_JP.mo +0 -0
- languages/code-snippets-ja_JP.po +9 -9
- languages/code-snippets-ru_RU.mo +0 -0
- languages/code-snippets-ru_RU.po +8 -8
- languages/code-snippets-sk_SK.mo +0 -0
- languages/code-snippets-sk_SK.po +5 -5
- languages/code-snippets-sr_RS.mo +0 -0
- languages/code-snippets-sr_RS.po +7 -7
- languages/code-snippets-zh_CN.mo +0 -0
- languages/code-snippets-zh_CN.po +6 -6
- languages/code-snippets.po +3 -3
- languages/code-snippets.pot +71 -61
- readme.txt +11 -4
code-snippets.php
CHANGED
@@ -4,23 +4,23 @@
|
|
4 |
* Code Snippets - An easy, clean and simple way to add code snippets to your site.
|
5 |
*
|
6 |
* If you're interested in helping to develop Code Snippets, or perhaps
|
7 |
-
* contribute to the localization, please see
|
8 |
*
|
9 |
* @package Code_Snippets
|
10 |
-
* @version 2.2.
|
11 |
* @author Shea Bunge <http://bungeshea.com/>
|
12 |
* @copyright Copyright (c) 2012-2014, Shea Bunge
|
13 |
-
* @link http://code-snippets
|
14 |
* @license http://opensource.org/licenses/MIT
|
15 |
*/
|
16 |
|
17 |
/*
|
18 |
Plugin Name: Code Snippets
|
19 |
-
Plugin URI: http://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: http://bungeshea.com
|
23 |
-
Version: 2.2.
|
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.2.
|
46 |
|
47 |
/**
|
48 |
* The full path to the main file of this plugin
|
4 |
* Code Snippets - An easy, clean and simple way to add code snippets to your site.
|
5 |
*
|
6 |
* If you're interested in helping to develop Code Snippets, or perhaps
|
7 |
+
* contribute to the localization, please see https://github.com/sheabunge/code-snippets
|
8 |
*
|
9 |
* @package Code_Snippets
|
10 |
+
* @version 2.2.2
|
11 |
* @author Shea Bunge <http://bungeshea.com/>
|
12 |
* @copyright Copyright (c) 2012-2014, Shea Bunge
|
13 |
+
* @link http://bungeshea.com/plugins/code-snippets/
|
14 |
* @license http://opensource.org/licenses/MIT
|
15 |
*/
|
16 |
|
17 |
/*
|
18 |
Plugin Name: Code Snippets
|
19 |
+
Plugin URI: http://bungeshea.com/plugins/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: http://bungeshea.com
|
23 |
+
Version: 2.2.2
|
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.2.2' );
|
46 |
|
47 |
/**
|
48 |
* The full path to the main file of this plugin
|
includes/admin.php
CHANGED
@@ -188,7 +188,7 @@ function code_snippets_plugin_meta( $links, $file ) {
|
|
188 |
__( 'Support', 'code-snippets' )
|
189 |
),
|
190 |
sprintf( $format,
|
191 |
-
'http://
|
192 |
__( "Support this plugin's development", 'code-snippets' ),
|
193 |
__( 'Donate', 'code-snippets' )
|
194 |
),
|
@@ -225,7 +225,7 @@ function code_snippets_survey_message() {
|
|
225 |
|
226 |
<?php _e( "<strong>Have feedback on Code Snippets?</strong> Please take the time to answer a short survey on how you use this plugin and what you'd like to see changed or added in the future.", 'code-snippets' ); ?>
|
227 |
|
228 |
-
<a href="http://
|
229 |
<?php _e( 'Take the survey now', 'code-snippets' ); ?>
|
230 |
</a>
|
231 |
|
188 |
__( 'Support', 'code-snippets' )
|
189 |
),
|
190 |
sprintf( $format,
|
191 |
+
'http://bungeshea.com/donate/',
|
192 |
__( "Support this plugin's development", 'code-snippets' ),
|
193 |
__( 'Donate', 'code-snippets' )
|
194 |
),
|
225 |
|
226 |
<?php _e( "<strong>Have feedback on Code Snippets?</strong> Please take the time to answer a short survey on how you use this plugin and what you'd like to see changed or added in the future.", 'code-snippets' ); ?>
|
227 |
|
228 |
+
<a href="http://sheabunge.polldaddy.com/s/code-snippets-feedback" class="button secondary" target="_blank" style="margin: auto .5em;">
|
229 |
<?php _e( 'Take the survey now', 'code-snippets' ); ?>
|
230 |
</a>
|
231 |
|
includes/edit/admin-help.php
CHANGED
@@ -28,7 +28,7 @@ $screen->add_help_tab( array(
|
|
28 |
<li><a href="http://www.catswhocode.com/blog/snippets" title="Cats Who Code Snippet Library">Cats Who Code</a></li>
|
29 |
<li><a href="http://www.wpfunction.me">WP Function Me</a></li>
|
30 |
</ul>', 'code-snippets' ) .
|
31 |
-
__( 'More places to find snippets, as well as a selection of example snippets, can be found in the <a href="
|
32 |
) );
|
33 |
|
34 |
$screen->add_help_tab( array(
|
@@ -43,5 +43,5 @@ $screen->set_help_sidebar(
|
|
43 |
'<p><strong>' . __( 'For more information:', 'code-snippets' ) . '</strong></p>' .
|
44 |
'<p>' . __( '<a href="http://wordpress.org/plugins/code-snippets" target="_blank">WordPress Extend</a>', 'code-snippets' ) . '</p>' .
|
45 |
'<p>' . __( '<a href="http://wordpress.org/support/plugin/code-snippets" target="_blank">Support Forums</a>', 'code-snippets' ) . '</p>' .
|
46 |
-
'<p>' . __( '<a href="http://
|
47 |
);
|
28 |
<li><a href="http://www.catswhocode.com/blog/snippets" title="Cats Who Code Snippet Library">Cats Who Code</a></li>
|
29 |
<li><a href="http://www.wpfunction.me">WP Function Me</a></li>
|
30 |
</ul>', 'code-snippets' ) .
|
31 |
+
__( '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>'
|
32 |
) );
|
33 |
|
34 |
$screen->add_help_tab( array(
|
43 |
'<p><strong>' . __( 'For more information:', 'code-snippets' ) . '</strong></p>' .
|
44 |
'<p>' . __( '<a href="http://wordpress.org/plugins/code-snippets" target="_blank">WordPress Extend</a>', 'code-snippets' ) . '</p>' .
|
45 |
'<p>' . __( '<a href="http://wordpress.org/support/plugin/code-snippets" target="_blank">Support Forums</a>', 'code-snippets' ) . '</p>' .
|
46 |
+
'<p>' . __( '<a href="http://bungeshea.com/plugins/code-snippets/" target="_blank">Project Website</a>', 'code-snippets' ) . '</p>'
|
47 |
);
|
includes/edit/admin.php
CHANGED
@@ -140,12 +140,5 @@ $snippet = get_snippet( $edit_id );
|
|
140 |
echo code_snippets_get_editor_atts( $atts, true );
|
141 |
?>;
|
142 |
var editor = CodeMirror.fromTextArea(document.getElementById('snippet_code'), atts);
|
143 |
-
|
144 |
-
jQuery('.CodeMirror').resizable({
|
145 |
-
resize: function() {
|
146 |
-
editor.setSize( jQuery(this).width(), jQuery(this).height() );
|
147 |
-
}
|
148 |
-
});
|
149 |
-
|
150 |
})();
|
151 |
</script>
|
140 |
echo code_snippets_get_editor_atts( $atts, true );
|
141 |
?>;
|
142 |
var editor = CodeMirror.fromTextArea(document.getElementById('snippet_code'), atts);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
})();
|
144 |
</script>
|
includes/import/admin-help.php
CHANGED
@@ -37,5 +37,5 @@ $screen->set_help_sidebar(
|
|
37 |
'<p><strong>' . __( 'For more information:', 'code-snippets' ) . '</strong></p>' .
|
38 |
'<p>' . __( '<a href="http://wordpress.org/plugins/code-snippets" target="_blank">WordPress Extend</a>', 'code-snippets' ) . '</p>' .
|
39 |
'<p>' . __( '<a href="http://wordpress.org/support/plugin/code-snippets" target="_blank">Support Forums</a>', 'code-snippets' ) . '</p>' .
|
40 |
-
'<p>' . __( '<a href="http://
|
41 |
);
|
37 |
'<p><strong>' . __( 'For more information:', 'code-snippets' ) . '</strong></p>' .
|
38 |
'<p>' . __( '<a href="http://wordpress.org/plugins/code-snippets" target="_blank">WordPress Extend</a>', 'code-snippets' ) . '</p>' .
|
39 |
'<p>' . __( '<a href="http://wordpress.org/support/plugin/code-snippets" target="_blank">Support Forums</a>', 'code-snippets' ) . '</p>' .
|
40 |
+
'<p>' . __( '<a href="http://bungeshea.com/plugins/code-snippets/" target="_blank">Project Website</a>', 'code-snippets' ) . '</p>'
|
41 |
);
|
includes/manage/admin-help.php
CHANGED
@@ -37,5 +37,5 @@ $screen->set_help_sidebar(
|
|
37 |
'<p><strong>' . __( 'For more information:', 'code-snippets' ) . '</strong></p>' .
|
38 |
'<p>' . __( '<a href="http://wordpress.org/plugins/code-snippets" target="_blank">WordPress Extend</a></p>', 'code-snippets' ) . '</p>' .
|
39 |
'<p>' . __( '<a href="http://wordpress.org/support/plugin/code-snippets" target="_blank">Support Forums</a>', 'code-snippets' ) . '</p>' .
|
40 |
-
'<p>' . __( '<a href="http://
|
41 |
);
|
37 |
'<p><strong>' . __( 'For more information:', 'code-snippets' ) . '</strong></p>' .
|
38 |
'<p>' . __( '<a href="http://wordpress.org/plugins/code-snippets" target="_blank">WordPress Extend</a></p>', 'code-snippets' ) . '</p>' .
|
39 |
'<p>' . __( '<a href="http://wordpress.org/support/plugin/code-snippets" target="_blank">Support Forums</a>', 'code-snippets' ) . '</p>' .
|
40 |
+
'<p>' . __( '<a href="http://bungeshea.com/plugins/code-snippets/" target="_blank">Project Website</a>', 'code-snippets' ) . '</p>'
|
41 |
);
|
includes/manage/admin-messages.php
CHANGED
@@ -11,7 +11,7 @@ $_f = '<div id="message" class="%2$s fade"><p>%1$s</p></div>';
|
|
11 |
|
12 |
if ( defined( 'CODE_SNIPPETS_SAFE_MODE' ) && CODE_SNIPPETS_SAFE_MODE ) :
|
13 |
|
14 |
-
printf( $_f, __( '<strong>Warning:</strong> Safe mode is active and snippets will not execute! Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-config.php</code> to turn off safe mode. <a href="
|
15 |
|
16 |
endif;
|
17 |
|
11 |
|
12 |
if ( defined( 'CODE_SNIPPETS_SAFE_MODE' ) && CODE_SNIPPETS_SAFE_MODE ) :
|
13 |
|
14 |
+
printf( $_f, __( '<strong>Warning:</strong> Safe mode is active and snippets will not execute! Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-config.php</code> to turn off safe mode. <a href="https://github.com/sheabunge/code-snippets/wiki/Safe-Mode" target="_blank">Help</a>', 'code-snippets' ), 'error' );
|
15 |
|
16 |
endif;
|
17 |
|
includes/manage/class-list-table.php
CHANGED
@@ -36,7 +36,8 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
36 |
|
37 |
/* Determine the status */
|
38 |
$status = 'all';
|
39 |
-
|
|
|
40 |
$status = $_REQUEST['status'];
|
41 |
}
|
42 |
|
@@ -312,6 +313,12 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
312 |
case 'inactive':
|
313 |
$text = _n( 'Inactive <span class="count">(%s)</span>', 'Inactive <span class="count">(%s)</span>', $count, 'code-snippets' );
|
314 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
}
|
316 |
|
317 |
$status_links[ $type ] = sprintf( '<a href="%s"%s>%s</a>',
|
@@ -566,6 +573,8 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
566 |
'active' => array(),
|
567 |
'inactive' => array(),
|
568 |
'recently_activated' => array(),
|
|
|
|
|
569 |
);
|
570 |
|
571 |
/* Filter snippets by tag */
|
@@ -603,6 +612,7 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
603 |
update_option( 'recently_activated_snippets', $recently_activated );
|
604 |
}
|
605 |
|
|
|
606 |
foreach ( (array) $snippets['all'] as $snippet ) {
|
607 |
/* Filter into individual sections */
|
608 |
if ( $snippet->active ) {
|
@@ -614,6 +624,15 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
614 |
}
|
615 |
$snippets['inactive'][] = $snippet;
|
616 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
617 |
}
|
618 |
|
619 |
$totals = array();
|
@@ -632,9 +651,9 @@ class Code_Snippets_List_Table extends WP_List_Table {
|
|
632 |
* by getting the user's setting in the Screen Options
|
633 |
* panel.
|
634 |
*/
|
635 |
-
$sort_by
|
636 |
$screen_option = $screen->get_option( 'per_page', 'option' );
|
637 |
-
$per_page
|
638 |
|
639 |
if ( empty ( $per_page ) || $per_page < 1 ) {
|
640 |
$per_page = $screen->get_option( 'per_page', 'default' );
|
36 |
|
37 |
/* Determine the status */
|
38 |
$status = 'all';
|
39 |
+
$statuses = array( 'active', 'inactive', 'recently_activated', 'admin', 'frontend' );
|
40 |
+
if ( isset( $_REQUEST['status'] ) && in_array( $_REQUEST['status'], $statuses ) ) {
|
41 |
$status = $_REQUEST['status'];
|
42 |
}
|
43 |
|
313 |
case 'inactive':
|
314 |
$text = _n( 'Inactive <span class="count">(%s)</span>', 'Inactive <span class="count">(%s)</span>', $count, 'code-snippets' );
|
315 |
break;
|
316 |
+
case 'admin':
|
317 |
+
$text = _n( 'Admin <span class="count">(%s)</span>', 'Admin <span class="count">(%s)</span>', $count, 'code-snippets' );
|
318 |
+
break;
|
319 |
+
case 'frontend':
|
320 |
+
$text = _n( 'Front End <span class="count">(%s)</span>', 'Front End <span class="count">(%s)</span>', $count, 'code-snippets' );
|
321 |
+
break;
|
322 |
}
|
323 |
|
324 |
$status_links[ $type ] = sprintf( '<a href="%s"%s>%s</a>',
|
573 |
'active' => array(),
|
574 |
'inactive' => array(),
|
575 |
'recently_activated' => array(),
|
576 |
+
'admin' => array(),
|
577 |
+
'frontend' => array(),
|
578 |
);
|
579 |
|
580 |
/* Filter snippets by tag */
|
612 |
update_option( 'recently_activated_snippets', $recently_activated );
|
613 |
}
|
614 |
|
615 |
+
$scopes_enabled = code_snippets_get_setting( 'general', 'snippet_scope_enabled' );
|
616 |
foreach ( (array) $snippets['all'] as $snippet ) {
|
617 |
/* Filter into individual sections */
|
618 |
if ( $snippet->active ) {
|
624 |
}
|
625 |
$snippets['inactive'][] = $snippet;
|
626 |
}
|
627 |
+
|
628 |
+
if ( $scopes_enabled ) {
|
629 |
+
|
630 |
+
if ( '1' == $snippet->scope ) {
|
631 |
+
$snippets['admin'][] = $snippet;
|
632 |
+
} elseif ( '2' == $snippet->scope ) {
|
633 |
+
$snippets['frontend'][] = $snippet;
|
634 |
+
}
|
635 |
+
}
|
636 |
}
|
637 |
|
638 |
$totals = array();
|
651 |
* by getting the user's setting in the Screen Options
|
652 |
* panel.
|
653 |
*/
|
654 |
+
$sort_by = $screen->get_option( 'per_page', 'option' );
|
655 |
$screen_option = $screen->get_option( 'per_page', 'option' );
|
656 |
+
$per_page = get_user_meta( $user, $screen_option, true );
|
657 |
|
658 |
if ( empty ( $per_page ) || $per_page < 1 ) {
|
659 |
$per_page = $screen->get_option( 'per_page', 'default' );
|
includes/settings/class-settings.php
CHANGED
@@ -68,6 +68,7 @@ class Code_Snippets_Settings {
|
|
68 |
'type' => 'number',
|
69 |
'label' => 'rows',
|
70 |
'default' => 5,
|
|
|
71 |
),
|
72 |
|
73 |
array(
|
@@ -114,6 +115,7 @@ class Code_Snippets_Settings {
|
|
114 |
'desc' => __( 'The width of a tab character.', 'code-snippets' ),
|
115 |
'default' => 4,
|
116 |
'codemirror' => 'tabSize',
|
|
|
117 |
),
|
118 |
|
119 |
array(
|
@@ -123,6 +125,7 @@ class Code_Snippets_Settings {
|
|
123 |
'desc' => __( 'How many spaces a block should be indented.', 'code-snippets' ),
|
124 |
'default' => 2,
|
125 |
'codemirror' => 'indentUnit',
|
|
|
126 |
),
|
127 |
|
128 |
array(
|
68 |
'type' => 'number',
|
69 |
'label' => 'rows',
|
70 |
'default' => 5,
|
71 |
+
'min' => 0,
|
72 |
),
|
73 |
|
74 |
array(
|
115 |
'desc' => __( 'The width of a tab character.', 'code-snippets' ),
|
116 |
'default' => 4,
|
117 |
'codemirror' => 'tabSize',
|
118 |
+
'min' => 0,
|
119 |
),
|
120 |
|
121 |
array(
|
125 |
'desc' => __( 'How many spaces a block should be indented.', 'code-snippets' ),
|
126 |
'default' => 2,
|
127 |
'codemirror' => 'indentUnit',
|
128 |
+
'min' => 0,
|
129 |
),
|
130 |
|
131 |
array(
|
includes/settings/settings-fields.php
CHANGED
@@ -39,12 +39,22 @@ function code_snippets_checkbox_field( $atts ) {
|
|
39 |
function code_snippets_number_field( $atts ) {
|
40 |
|
41 |
printf(
|
42 |
-
'<input type="number" name="code_snippets_settings[%s][%s]" value="%s"
|
43 |
$atts['section'],
|
44 |
$atts['id'],
|
45 |
code_snippets_get_setting( $atts['section'], $atts['id'] )
|
46 |
);
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
if ( ! empty( $atts['label'] ) ) {
|
49 |
echo ' ' . $atts['label'];
|
50 |
}
|
39 |
function code_snippets_number_field( $atts ) {
|
40 |
|
41 |
printf(
|
42 |
+
'<input type="number" name="code_snippets_settings[%s][%s]" value="%s"',
|
43 |
$atts['section'],
|
44 |
$atts['id'],
|
45 |
code_snippets_get_setting( $atts['section'], $atts['id'] )
|
46 |
);
|
47 |
|
48 |
+
if ( isset( $atts['min'] ) ) {
|
49 |
+
printf( ' min="%d"', $atts['min'] );
|
50 |
+
}
|
51 |
+
|
52 |
+
if ( isset( $atts['max'] ) ) {
|
53 |
+
printf( ' max="%d"', $atts['max'] );
|
54 |
+
}
|
55 |
+
|
56 |
+
echo '>';
|
57 |
+
|
58 |
if ( ! empty( $atts['label'] ) ) {
|
59 |
echo ' ' . $atts['label'];
|
60 |
}
|
includes/settings/settings.php
CHANGED
@@ -32,6 +32,44 @@ function code_snippets_get_settings_fields() {
|
|
32 |
function code_snippets_get_settings() {
|
33 |
$default = Code_Snippets_Settings::get_defaults();
|
34 |
$saved = get_option( 'code_snippets_settings', array() );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
return array_replace_recursive( $default, $saved );
|
36 |
}
|
37 |
|
@@ -83,16 +121,18 @@ function code_snippets_register_settings() {
|
|
83 |
}
|
84 |
|
85 |
/* Register settings fields */
|
86 |
-
foreach (
|
87 |
-
|
88 |
foreach ( $fields as $field ) {
|
|
|
|
|
|
|
89 |
add_settings_field(
|
90 |
'code_snippets_' . $field['id'],
|
91 |
$field['name'],
|
92 |
"code_snippets_{$field['type']}_field",
|
93 |
'code-snippets',
|
94 |
'code-snippets-' . $section_id,
|
95 |
-
|
96 |
);
|
97 |
}
|
98 |
}
|
32 |
function code_snippets_get_settings() {
|
33 |
$default = Code_Snippets_Settings::get_defaults();
|
34 |
$saved = get_option( 'code_snippets_settings', array() );
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Polyfull array_replace_recursive() function for PHP 5.2
|
38 |
+
* @link http://php.net/manual/en/function.array-replace-recursive.php#92574
|
39 |
+
*/
|
40 |
+
if ( ! function_exists( 'array_replace_recursive' ) ) {
|
41 |
+
function array_replace_recursive( $array, $array1 ) {
|
42 |
+
function recurse( $array, $array1 ) {
|
43 |
+
foreach ( $array1 as $key => $value ) {
|
44 |
+
// create new key in $array, if it is empty or not an array
|
45 |
+
if ( ! isset( $array[ $key ] ) || ( isset( $array[ $key ] ) && ! is_array( $array[ $key ] ) ) ) {
|
46 |
+
$array[ $key ] = array();
|
47 |
+
}
|
48 |
+
// overwrite the value in the base array
|
49 |
+
if ( is_array( $value ) ) {
|
50 |
+
$value = recurse( $array[ $key ], $value );
|
51 |
+
}
|
52 |
+
$array[ $key ] = $value;
|
53 |
+
}
|
54 |
+
return $array;
|
55 |
+
}
|
56 |
+
|
57 |
+
// handle the arguments, merge one by one
|
58 |
+
$args = func_get_args();
|
59 |
+
$array = $args[0];
|
60 |
+
if ( ! is_array( $array ) ) {
|
61 |
+
return $array;
|
62 |
+
}
|
63 |
+
$count = count( $args );
|
64 |
+
for ( $i = 1; $i < $count; ++$i ) {
|
65 |
+
if ( is_array( $args[ $i ] ) ) {
|
66 |
+
$array = recurse( $array, $args[ $i ] );
|
67 |
+
}
|
68 |
+
}
|
69 |
+
return $array;
|
70 |
+
}
|
71 |
+
}
|
72 |
+
|
73 |
return array_replace_recursive( $default, $saved );
|
74 |
}
|
75 |
|
121 |
}
|
122 |
|
123 |
/* Register settings fields */
|
124 |
+
foreach ( Code_Snippets_Settings::get_fields() as $section_id => $fields ) {
|
|
|
125 |
foreach ( $fields as $field ) {
|
126 |
+
$atts = $field;
|
127 |
+
$atts['section'] = $section_id;
|
128 |
+
|
129 |
add_settings_field(
|
130 |
'code_snippets_' . $field['id'],
|
131 |
$field['name'],
|
132 |
"code_snippets_{$field['type']}_field",
|
133 |
'code-snippets',
|
134 |
'code-snippets-' . $section_id,
|
135 |
+
$atts
|
136 |
);
|
137 |
}
|
138 |
}
|
languages/code-snippets-de_DE.mo
CHANGED
Binary file
|
languages/code-snippets-de_DE.po
CHANGED
@@ -198,12 +198,12 @@ msgstr ""
|
|
198 |
#: includes/edit/admin-help.php:31
|
199 |
msgid ""
|
200 |
"More places to find snippets, as well as a selection of example snippets, can be "
|
201 |
-
"found in the <a href=\"
|
202 |
"\">plugin documentation</a>"
|
203 |
msgstr ""
|
204 |
"Weitere Orte, um Codeschnipsel zu finden und ebenso eine Sammlung von Beispiel-"
|
205 |
-
"Schnipseln finden Sie in der <a href=\"
|
206 |
-
"
|
207 |
|
208 |
# @ code-snippets
|
209 |
#: includes/edit/admin-help.php:36
|
@@ -264,10 +264,10 @@ msgstr ""
|
|
264 |
#: includes/edit/admin-help.php:46 includes/import/admin-help.php:40
|
265 |
#: includes/manage/admin-help.php:40
|
266 |
msgid ""
|
267 |
-
"<a href=\"http://code-snippets
|
268 |
"a>"
|
269 |
msgstr ""
|
270 |
-
"<a href=\"http://code-snippets
|
271 |
"a>"
|
272 |
|
273 |
#: includes/edit/admin-messages.php:14
|
@@ -591,13 +591,13 @@ msgstr ""
|
|
591 |
msgid ""
|
592 |
"<strong>Warning:</strong> Safe mode is active and snippets will not execute! Remove "
|
593 |
"the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-config.php</code> "
|
594 |
-
"to turn off safe mode. <a href=\"
|
595 |
"\" target=\"_blank\">Help</a>"
|
596 |
msgstr ""
|
597 |
"<strong>Warnung:</strong> Sicherheitsmodus aktiv! Codeschnipsel werden nicht "
|
598 |
"ausgeführt. Entferne den Parameter <code>CODE_SNIPPETS_SAFE_MODE</code> aus deiner "
|
599 |
-
"<code>wp-config.php</code> um den Sicherheitsmodus auszuschalten. <a href=\"
|
600 |
-
"code-snippets
|
601 |
"(engl.)</a>"
|
602 |
|
603 |
# @ code-snippets
|
@@ -890,8 +890,8 @@ msgstr "Einstellungen gespeichert."
|
|
890 |
#~ msgstr "(optional, aber empfohlen für bessere Organisation & Übersicht)"
|
891 |
|
892 |
# @ code-snippets
|
893 |
-
#~ msgid "http://code-snippets
|
894 |
-
#~ msgstr "http://
|
895 |
|
896 |
# @ code-snippets
|
897 |
#~ msgid "Import snippets from a <strong>Code Snippets</strong> export file"
|
198 |
#: includes/edit/admin-help.php:31
|
199 |
msgid ""
|
200 |
"More places to find snippets, as well as a selection of example snippets, can be "
|
201 |
+
"found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets"
|
202 |
"\">plugin documentation</a>"
|
203 |
msgstr ""
|
204 |
"Weitere Orte, um Codeschnipsel zu finden und ebenso eine Sammlung von Beispiel-"
|
205 |
+
"Schnipseln finden Sie in der <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
|
206 |
+
"Finding-snippets\">Dokumentation des Plugins</a>."
|
207 |
|
208 |
# @ code-snippets
|
209 |
#: includes/edit/admin-help.php:36
|
264 |
#: includes/edit/admin-help.php:46 includes/import/admin-help.php:40
|
265 |
#: includes/manage/admin-help.php:40
|
266 |
msgid ""
|
267 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project Website</"
|
268 |
"a>"
|
269 |
msgstr ""
|
270 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Projektwebseite</"
|
271 |
"a>"
|
272 |
|
273 |
#: includes/edit/admin-messages.php:14
|
591 |
msgid ""
|
592 |
"<strong>Warning:</strong> Safe mode is active and snippets will not execute! Remove "
|
593 |
"the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-config.php</code> "
|
594 |
+
"to turn off safe mode. <a href=\"https://github.com/sheabunge/code-snippets/wiki/Safe-Mode"
|
595 |
"\" target=\"_blank\">Help</a>"
|
596 |
msgstr ""
|
597 |
"<strong>Warnung:</strong> Sicherheitsmodus aktiv! Codeschnipsel werden nicht "
|
598 |
"ausgeführt. Entferne den Parameter <code>CODE_SNIPPETS_SAFE_MODE</code> aus deiner "
|
599 |
+
"<code>wp-config.php</code> um den Sicherheitsmodus auszuschalten. <a href=\"https://"
|
600 |
+
"github.com/sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank\">Hilfe hierzu "
|
601 |
"(engl.)</a>"
|
602 |
|
603 |
# @ code-snippets
|
890 |
#~ msgstr "(optional, aber empfohlen für bessere Organisation & Übersicht)"
|
891 |
|
892 |
# @ code-snippets
|
893 |
+
#~ msgid "http://bungeshea.com/plugins/code-snippets"
|
894 |
+
#~ msgstr "http://bungeshea.com/plugins/code-snippets/"
|
895 |
|
896 |
# @ code-snippets
|
897 |
#~ msgid "Import snippets from a <strong>Code Snippets</strong> export file"
|
languages/code-snippets-fr_FR.mo
CHANGED
Binary file
|
languages/code-snippets-fr_FR.po
CHANGED
@@ -3,8 +3,8 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Code Snippets\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2015-
|
7 |
-
"PO-Revision-Date: 2015-
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: oWEB <oweb@office-web.net>\n"
|
10 |
"Language: fr\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
-
"X-Generator: Poedit 1.7.
|
16 |
|
17 |
#: includes/admin.php:81 includes/manage/admin.php:21
|
18 |
#: includes/manage/manage.php:22 includes/manage/manage.php:23
|
@@ -20,92 +20,92 @@ msgstr ""
|
|
20 |
msgid "Snippets"
|
21 |
msgstr "Snippets"
|
22 |
|
23 |
-
#: includes/admin.php:
|
24 |
msgid "Manage your existing snippets"
|
25 |
msgstr "Gérer les snippets existants"
|
26 |
|
27 |
-
#: includes/admin.php:
|
28 |
msgid "Manage"
|
29 |
msgstr "Gérer"
|
30 |
|
31 |
-
#: includes/admin.php:
|
32 |
msgid "Visit the WordPress.org plugin page"
|
33 |
msgstr "Page du plugin sur WordPress.org"
|
34 |
|
35 |
-
#: includes/admin.php:
|
36 |
msgid "About"
|
37 |
msgstr "A propos"
|
38 |
|
39 |
-
#: includes/admin.php:
|
40 |
msgid "Visit the support forums"
|
41 |
msgstr "Forums de support"
|
42 |
|
43 |
-
#: includes/admin.php:
|
44 |
msgid "Support"
|
45 |
msgstr "Support"
|
46 |
|
47 |
-
#: includes/admin.php:
|
48 |
msgid "Support this plugin's development"
|
49 |
msgstr "Aider au développement du plugin"
|
50 |
|
51 |
-
#: includes/admin.php:
|
52 |
msgid "Donate"
|
53 |
msgstr "Faire un don"
|
54 |
|
55 |
-
#: includes/admin.php:
|
56 |
msgid ""
|
57 |
"<strong>Have feedback on Code Snippets?</strong> Please take the time to "
|
58 |
"answer a short survey on how you use this plugin and what you'd like to see "
|
59 |
"changed or added in the future."
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: includes/admin.php:
|
63 |
msgid "Take the survey now"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: includes/class-export.php:
|
67 |
msgid ""
|
68 |
"This is a code snippets export file generated by the Code Snippets WordPress "
|
69 |
"plugin."
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: includes/class-export.php:
|
73 |
msgid "http://wordpress.org/plugins/code-snippets"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: includes/class-export.php:
|
77 |
msgid "To import these snippets a WordPress site follow these steps:"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: includes/class-export.php:
|
81 |
msgid "1. Log in to that site as an administrator."
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: includes/class-export.php:
|
85 |
msgid ""
|
86 |
"2. Install the Code Snippets plugin using the directions provided at the "
|
87 |
"above link."
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: includes/class-export.php:
|
91 |
msgid "3. Go to 'Tools: Import' in the WordPress admin panel."
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: includes/class-export.php:
|
95 |
msgid "4. Click on the \"Code Snippets\" importer in the list"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: includes/class-export.php:
|
99 |
msgid "5. Upload this file using the form provided on that page."
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: includes/class-export.php:
|
103 |
msgid ""
|
104 |
"6. Code Snippets will then import all of the snippets and associated "
|
105 |
"information contained in this file into your site."
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: includes/class-export.php:
|
109 |
msgid ""
|
110 |
"7. You will then have to visit the 'Snippets: Manage' admin menu and "
|
111 |
"activate desired snippets."
|
@@ -161,11 +161,11 @@ msgstr ""
|
|
161 |
#: includes/edit/admin-help.php:31
|
162 |
msgid ""
|
163 |
"More places to find snippets, as well as a selection of example snippets, "
|
164 |
-
"can be found in the <a href=\"
|
165 |
-
"
|
166 |
msgstr ""
|
167 |
"Vous trouverez une collection de Snippets, ou des exemples sur la page de <a "
|
168 |
-
"href=\"
|
169 |
"\">documentation</a> du plugin. "
|
170 |
|
171 |
#: includes/edit/admin-help.php:36
|
@@ -218,11 +218,11 @@ msgstr ""
|
|
218 |
#: includes/edit/admin-help.php:46 includes/import/admin-help.php:40
|
219 |
#: includes/manage/admin-help.php:40
|
220 |
msgid ""
|
221 |
-
"<a href=\"http://code-snippets
|
222 |
-
"Website</a>"
|
223 |
msgstr ""
|
224 |
-
"<a href=\"http://code-snippets
|
225 |
-
"Projet</a>"
|
226 |
|
227 |
#: includes/edit/admin-messages.php:14
|
228 |
msgid "An error occurred when saving the snippet."
|
@@ -248,8 +248,8 @@ msgstr "Snippet <strong>mis à jour</strong>."
|
|
248 |
msgid "Snippet <strong>added</strong>."
|
249 |
msgstr "Snippet <strong>ajouté</strong>."
|
250 |
|
251 |
-
#: includes/edit/admin.php:26 includes/edit/edit.php:
|
252 |
-
#: includes/edit/edit.php:
|
253 |
msgid "Edit Snippet"
|
254 |
msgstr "Editer"
|
255 |
|
@@ -270,27 +270,27 @@ msgstr "Nom (titre court) "
|
|
270 |
msgid "Code"
|
271 |
msgstr "Code"
|
272 |
|
273 |
-
#: includes/edit/admin.php:
|
274 |
msgid "Save Changes and Activate"
|
275 |
-
msgstr ""
|
276 |
|
277 |
-
#: includes/edit/admin.php:
|
278 |
msgid "Save Changes and Deactivate"
|
279 |
-
msgstr ""
|
280 |
|
281 |
-
#: includes/edit/admin.php:
|
282 |
-
#: includes/manage/class-list-table.php:
|
283 |
msgid "Export"
|
284 |
msgstr "Exporter"
|
285 |
|
286 |
-
#: includes/edit/admin.php:
|
287 |
msgid ""
|
288 |
"You are about to permanently delete this snippet.\n"
|
289 |
"'Cancel' to stop, 'OK' to delete."
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: includes/edit/admin.php:
|
293 |
-
#: includes/manage/class-list-table.php:
|
294 |
msgid "Delete"
|
295 |
msgstr "Supprimer"
|
296 |
|
@@ -298,14 +298,30 @@ msgstr "Supprimer"
|
|
298 |
msgid "You are not authorized to access this page."
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: includes/edit/edit.php:
|
302 |
msgid "Description"
|
303 |
msgstr "Description"
|
304 |
|
305 |
-
#: includes/edit/edit.php:
|
306 |
-
msgid "
|
307 |
msgstr ""
|
308 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
309 |
#: includes/import/admin-help.php:18
|
310 |
msgid ""
|
311 |
"Snippets are similar to plugins - they both extend and expand the "
|
@@ -377,7 +393,7 @@ msgid ""
|
|
377 |
"Howdy! Upload your Code Snippets export file and we’ll import the "
|
378 |
"snippets to this site."
|
379 |
msgstr ""
|
380 |
-
"
|
381 |
"importerons les Snippets dans ce site."
|
382 |
|
383 |
#: includes/import/admin.php:24
|
@@ -415,7 +431,7 @@ msgstr "Code Snippets"
|
|
415 |
|
416 |
#: includes/import/import.php:35
|
417 |
msgid "Import snippets from a code snippets export file"
|
418 |
-
msgstr ""
|
419 |
|
420 |
#: includes/import/import.php:56
|
421 |
msgid "Import"
|
@@ -512,8 +528,8 @@ msgstr ""
|
|
512 |
msgid ""
|
513 |
"<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
|
514 |
"Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
|
515 |
-
"config.php</code> to turn off safe mode. <a href=\"
|
516 |
-
"
|
517 |
msgstr ""
|
518 |
|
519 |
#: includes/manage/admin-messages.php:20
|
@@ -544,35 +560,35 @@ msgstr "Snippets sélectionnés <strong>supprimés</strong>. "
|
|
544 |
msgid "Search Installed Snippets"
|
545 |
msgstr "Chercher dans les Snippets installés"
|
546 |
|
547 |
-
#: includes/manage/class-list-table.php:
|
548 |
msgid "Snippets per page"
|
549 |
msgstr "Snippets par page "
|
550 |
|
551 |
-
#: includes/manage/class-list-table.php:
|
552 |
-
#: includes/manage/class-list-table.php:
|
553 |
msgid "Network Deactivate"
|
554 |
msgstr "Désactiver réseau "
|
555 |
|
556 |
-
#: includes/manage/class-list-table.php:
|
557 |
-
#: includes/manage/class-list-table.php:
|
558 |
msgid "Deactivate"
|
559 |
msgstr "Désactiver "
|
560 |
|
561 |
-
#: includes/manage/class-list-table.php:
|
562 |
-
#: includes/manage/class-list-table.php:
|
563 |
msgid "Network Activate"
|
564 |
msgstr "Activer réseau "
|
565 |
|
566 |
-
#: includes/manage/class-list-table.php:
|
567 |
-
#: includes/manage/class-list-table.php:
|
568 |
msgid "Activate"
|
569 |
msgstr "Activer"
|
570 |
|
571 |
-
#: includes/manage/class-list-table.php:
|
572 |
msgid "Edit"
|
573 |
msgstr "Editer"
|
574 |
|
575 |
-
#: includes/manage/class-list-table.php:
|
576 |
msgid ""
|
577 |
"You are about to permanently delete the selected item.\n"
|
578 |
"\t\t\t\t'Cancel' to stop, 'OK' to delete."
|
@@ -580,170 +596,182 @@ msgstr ""
|
|
580 |
"Vous allez supprimer définitivement la sélection.\n"
|
581 |
"\t\t\t\t'Cancel' pour annuler, 'OK' confirmer et supprimer."
|
582 |
|
583 |
-
#: includes/manage/class-list-table.php:
|
584 |
#, php-format
|
585 |
msgid "Untitled #%d"
|
586 |
msgstr ""
|
587 |
|
588 |
-
#: includes/manage/class-list-table.php:
|
589 |
msgid "Name"
|
590 |
msgstr "Nom"
|
591 |
|
592 |
-
#: includes/manage/class-list-table.php:
|
593 |
msgid "ID"
|
594 |
msgstr "ID"
|
595 |
|
596 |
-
#: includes/manage/class-list-table.php:
|
597 |
msgid "Export to PHP"
|
598 |
msgstr "Export en PHP"
|
599 |
|
600 |
-
#: includes/manage/class-list-table.php:
|
601 |
#, fuzzy, php-format
|
602 |
msgid "All <span class=\"count\">(%s)</span>"
|
603 |
msgstr "Tout <span class=\"count\">(%s)</span>"
|
604 |
|
605 |
-
#: includes/manage/class-list-table.php:
|
606 |
#, fuzzy, php-format
|
607 |
msgid "Active <span class=\"count\">(%s)</span>"
|
608 |
msgstr "Activer <span class=\"count\">(%s)</span>"
|
609 |
|
610 |
-
#: includes/manage/class-list-table.php:
|
611 |
#, fuzzy, php-format
|
612 |
msgid "Recently Active <span class=\"count\">(%s)</span>"
|
613 |
msgstr "Récemment activé <span class=\"count\">(%s)</span>"
|
614 |
|
615 |
-
#: includes/manage/class-list-table.php:
|
616 |
#, fuzzy, php-format
|
617 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
618 |
msgstr "Inactif <span class=\"count\">(%s)</span>"
|
619 |
|
620 |
-
#: includes/manage/class-list-table.php:
|
621 |
msgid "Show all tags"
|
622 |
-
msgstr ""
|
623 |
|
624 |
-
#: includes/manage/class-list-table.php:
|
625 |
msgid "Filter"
|
626 |
msgstr "Filtre "
|
627 |
|
628 |
-
#: includes/manage/class-list-table.php:
|
629 |
msgid "Clear List"
|
630 |
msgstr "Vider la liste"
|
631 |
|
632 |
-
#: includes/manage/class-list-table.php:
|
633 |
#, php-format
|
634 |
msgid ""
|
635 |
"You do not appear to have any snippets available at this time. <a href=\"%s"
|
636 |
"\">Add New→</a>"
|
637 |
msgstr "Aucun Snippet pour l'instant. <a href=\"%s\">En ajouter un→</a>"
|
638 |
|
639 |
-
#: includes/manage/class-list-table.php:
|
640 |
msgid "Search results"
|
641 |
msgstr "Résultats de la recherche "
|
642 |
|
643 |
-
#: includes/manage/class-list-table.php:
|
644 |
#, php-format
|
645 |
msgid " for “%s”"
|
646 |
msgstr " pour “%s”"
|
647 |
|
648 |
-
#: includes/manage/class-list-table.php:
|
649 |
#, php-format
|
650 |
msgid " in tag “%s”"
|
651 |
-
msgstr ""
|
652 |
|
653 |
-
#: includes/manage/class-list-table.php:
|
654 |
msgid "Clear Filters"
|
655 |
msgstr "Annuler les filtres "
|
656 |
|
657 |
#: includes/settings/admin.php:20
|
658 |
msgid "Snippets Settings"
|
659 |
-
msgstr ""
|
660 |
|
661 |
-
#: includes/settings/admin.php:21 includes/settings/admin.php:
|
662 |
msgid "Settings"
|
663 |
-
msgstr ""
|
664 |
|
665 |
-
#: includes/settings/settings.php:
|
666 |
-
msgid "
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: includes/settings/settings.php:
|
670 |
-
msgid "
|
|
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: includes/settings/settings.php:
|
674 |
-
msgid "
|
675 |
msgstr ""
|
676 |
|
677 |
-
#: includes/settings/settings.php:
|
678 |
-
msgid ""
|
679 |
-
"Make the 'Save and Activate' button the default action when saving a snippet."
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: includes/settings/settings.php:
|
683 |
msgid "Theme"
|
684 |
-
msgstr ""
|
685 |
|
686 |
-
#: includes/settings/settings.php:
|
687 |
msgid "Indent With Tabs"
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: includes/settings/settings.php:
|
691 |
msgid "Use hard tabs (not spaces) for indentation."
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: includes/settings/settings.php:
|
695 |
msgid "Tab Size"
|
696 |
msgstr ""
|
697 |
|
698 |
-
#: includes/settings/settings.php:
|
699 |
msgid "The width of a tab character."
|
700 |
msgstr ""
|
701 |
|
702 |
-
#: includes/settings/settings.php:
|
703 |
msgid "Indent Unit"
|
704 |
msgstr ""
|
705 |
|
706 |
-
#: includes/settings/settings.php:
|
707 |
msgid "How many spaces a block should be indented."
|
708 |
msgstr ""
|
709 |
|
710 |
-
#: includes/settings/settings.php:
|
711 |
msgid "Wrap Lines"
|
712 |
msgstr ""
|
713 |
|
714 |
-
#: includes/settings/settings.php:
|
715 |
msgid "Whether the editor should scroll or wrap for long lines."
|
716 |
msgstr ""
|
717 |
|
718 |
-
#: includes/settings/settings.php:
|
719 |
msgid "Line Numbers"
|
720 |
msgstr ""
|
721 |
|
722 |
-
#: includes/settings/settings.php:
|
723 |
msgid "Show line numbers to the left of the editor."
|
724 |
msgstr ""
|
725 |
|
726 |
-
#: includes/settings/settings.php:
|
727 |
msgid "Auto Close Brackets"
|
728 |
msgstr ""
|
729 |
|
730 |
-
#: includes/settings/settings.php:
|
731 |
msgid "Auto-close brackets and quotes when typed."
|
732 |
msgstr ""
|
733 |
|
734 |
-
#: includes/settings/settings.php:
|
735 |
msgid "Highlight Selection Matches"
|
736 |
msgstr ""
|
737 |
|
738 |
-
#: includes/settings/settings.php:
|
739 |
msgid "Highlight all instances of a currently selected word."
|
740 |
msgstr ""
|
741 |
|
742 |
-
#: includes/settings/settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
743 |
msgid "Editor Preview"
|
744 |
msgstr ""
|
745 |
|
746 |
-
#: includes/settings/settings.php:
|
747 |
msgid "Settings saved."
|
748 |
msgstr ""
|
749 |
|
@@ -770,8 +798,8 @@ msgstr ""
|
|
770 |
#~ msgid "(Optional)"
|
771 |
#~ msgstr "(Option)"
|
772 |
|
773 |
-
#~ msgid "http://code-snippets
|
774 |
-
#~ msgstr "http://code-snippets
|
775 |
|
776 |
#~ msgid "Import snippets from a <strong>Code Snippets</strong> export file"
|
777 |
#~ msgstr ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Code Snippets\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2015-05-11 08:58+1000\n"
|
7 |
+
"PO-Revision-Date: 2015-05-11 10:08+1000\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: oWEB <oweb@office-web.net>\n"
|
10 |
"Language: fr\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
+
"X-Generator: Poedit 1.7.5\n"
|
16 |
|
17 |
#: includes/admin.php:81 includes/manage/admin.php:21
|
18 |
#: includes/manage/manage.php:22 includes/manage/manage.php:23
|
20 |
msgid "Snippets"
|
21 |
msgstr "Snippets"
|
22 |
|
23 |
+
#: includes/admin.php:152
|
24 |
msgid "Manage your existing snippets"
|
25 |
msgstr "Gérer les snippets existants"
|
26 |
|
27 |
+
#: includes/admin.php:153 includes/manage/manage.php:34
|
28 |
msgid "Manage"
|
29 |
msgstr "Gérer"
|
30 |
|
31 |
+
#: includes/admin.php:182
|
32 |
msgid "Visit the WordPress.org plugin page"
|
33 |
msgstr "Page du plugin sur WordPress.org"
|
34 |
|
35 |
+
#: includes/admin.php:183
|
36 |
msgid "About"
|
37 |
msgstr "A propos"
|
38 |
|
39 |
+
#: includes/admin.php:187
|
40 |
msgid "Visit the support forums"
|
41 |
msgstr "Forums de support"
|
42 |
|
43 |
+
#: includes/admin.php:188
|
44 |
msgid "Support"
|
45 |
msgstr "Support"
|
46 |
|
47 |
+
#: includes/admin.php:192
|
48 |
msgid "Support this plugin's development"
|
49 |
msgstr "Aider au développement du plugin"
|
50 |
|
51 |
+
#: includes/admin.php:193
|
52 |
msgid "Donate"
|
53 |
msgstr "Faire un don"
|
54 |
|
55 |
+
#: includes/admin.php:226
|
56 |
msgid ""
|
57 |
"<strong>Have feedback on Code Snippets?</strong> Please take the time to "
|
58 |
"answer a short survey on how you use this plugin and what you'd like to see "
|
59 |
"changed or added in the future."
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: includes/admin.php:229
|
63 |
msgid "Take the survey now"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: includes/class-export.php:102
|
67 |
msgid ""
|
68 |
"This is a code snippets export file generated by the Code Snippets WordPress "
|
69 |
"plugin."
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: includes/class-export.php:103
|
73 |
msgid "http://wordpress.org/plugins/code-snippets"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: includes/class-export.php:104
|
77 |
msgid "To import these snippets a WordPress site follow these steps:"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: includes/class-export.php:105
|
81 |
msgid "1. Log in to that site as an administrator."
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: includes/class-export.php:106
|
85 |
msgid ""
|
86 |
"2. Install the Code Snippets plugin using the directions provided at the "
|
87 |
"above link."
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: includes/class-export.php:107
|
91 |
msgid "3. Go to 'Tools: Import' in the WordPress admin panel."
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: includes/class-export.php:108
|
95 |
msgid "4. Click on the \"Code Snippets\" importer in the list"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: includes/class-export.php:109
|
99 |
msgid "5. Upload this file using the form provided on that page."
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: includes/class-export.php:110
|
103 |
msgid ""
|
104 |
"6. Code Snippets will then import all of the snippets and associated "
|
105 |
"information contained in this file into your site."
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: includes/class-export.php:111
|
109 |
msgid ""
|
110 |
"7. You will then have to visit the 'Snippets: Manage' admin menu and "
|
111 |
"activate desired snippets."
|
161 |
#: includes/edit/admin-help.php:31
|
162 |
msgid ""
|
163 |
"More places to find snippets, as well as a selection of example snippets, "
|
164 |
+
"can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
|
165 |
+
"wiki/Finding-snippets\">plugin documentation</a>"
|
166 |
msgstr ""
|
167 |
"Vous trouverez une collection de Snippets, ou des exemples sur la page de <a "
|
168 |
+
"href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets"
|
169 |
"\">documentation</a> du plugin. "
|
170 |
|
171 |
#: includes/edit/admin-help.php:36
|
218 |
#: includes/edit/admin-help.php:46 includes/import/admin-help.php:40
|
219 |
#: includes/manage/admin-help.php:40
|
220 |
msgid ""
|
221 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
|
222 |
+
"\">Project Website</a>"
|
223 |
msgstr ""
|
224 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
|
225 |
+
"\">Site du Projet</a>"
|
226 |
|
227 |
#: includes/edit/admin-messages.php:14
|
228 |
msgid "An error occurred when saving the snippet."
|
248 |
msgid "Snippet <strong>added</strong>."
|
249 |
msgstr "Snippet <strong>ajouté</strong>."
|
250 |
|
251 |
+
#: includes/edit/admin.php:26 includes/edit/edit.php:48
|
252 |
+
#: includes/edit/edit.php:49
|
253 |
msgid "Edit Snippet"
|
254 |
msgstr "Editer"
|
255 |
|
270 |
msgid "Code"
|
271 |
msgstr "Code"
|
272 |
|
273 |
+
#: includes/edit/admin.php:78 includes/edit/admin.php:92
|
274 |
msgid "Save Changes and Activate"
|
275 |
+
msgstr "Enregistrer et activer"
|
276 |
|
277 |
+
#: includes/edit/admin.php:98
|
278 |
msgid "Save Changes and Deactivate"
|
279 |
+
msgstr "Enregistrer et désactiver "
|
280 |
|
281 |
+
#: includes/edit/admin.php:108 includes/manage/class-list-table.php:140
|
282 |
+
#: includes/manage/class-list-table.php:265
|
283 |
msgid "Export"
|
284 |
msgstr "Exporter"
|
285 |
|
286 |
+
#: includes/edit/admin.php:115
|
287 |
msgid ""
|
288 |
"You are about to permanently delete this snippet.\n"
|
289 |
"'Cancel' to stop, 'OK' to delete."
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: includes/edit/admin.php:120 includes/manage/class-list-table.php:149
|
293 |
+
#: includes/manage/class-list-table.php:266
|
294 |
msgid "Delete"
|
295 |
msgstr "Supprimer"
|
296 |
|
298 |
msgid "You are not authorized to access this page."
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: includes/edit/edit.php:177 includes/manage/class-list-table.php:225
|
302 |
msgid "Description"
|
303 |
msgstr "Description"
|
304 |
|
305 |
+
#: includes/edit/edit.php:204
|
306 |
+
msgid "Run snippet everywhere"
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: includes/edit/edit.php:205
|
310 |
+
msgid "Only run in adminstration area"
|
311 |
+
msgstr ""
|
312 |
+
|
313 |
+
#: includes/edit/edit.php:206
|
314 |
+
msgid "Only run on site front-end"
|
315 |
+
msgstr ""
|
316 |
+
|
317 |
+
#: includes/edit/edit.php:210
|
318 |
+
msgid "Scope"
|
319 |
+
msgstr ""
|
320 |
+
|
321 |
+
#: includes/edit/edit.php:231 includes/manage/class-list-table.php:226
|
322 |
+
msgid "Tags"
|
323 |
+
msgstr "Étiquettes"
|
324 |
+
|
325 |
#: includes/import/admin-help.php:18
|
326 |
msgid ""
|
327 |
"Snippets are similar to plugins - they both extend and expand the "
|
393 |
"Howdy! Upload your Code Snippets export file and we’ll import the "
|
394 |
"snippets to this site."
|
395 |
msgstr ""
|
396 |
+
"Salutations ! Chargez votre fichier contenant les portions de code et nous "
|
397 |
"importerons les Snippets dans ce site."
|
398 |
|
399 |
#: includes/import/admin.php:24
|
431 |
|
432 |
#: includes/import/import.php:35
|
433 |
msgid "Import snippets from a code snippets export file"
|
434 |
+
msgstr "Importer les Snippets d'un fichier Code Snippets (.xml)"
|
435 |
|
436 |
#: includes/import/import.php:56
|
437 |
msgid "Import"
|
528 |
msgid ""
|
529 |
"<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
|
530 |
"Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
|
531 |
+
"config.php</code> to turn off safe mode. <a href=\"https://github.com/"
|
532 |
+
"sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank\">Help</a>"
|
533 |
msgstr ""
|
534 |
|
535 |
#: includes/manage/admin-messages.php:20
|
560 |
msgid "Search Installed Snippets"
|
561 |
msgstr "Chercher dans les Snippets installés"
|
562 |
|
563 |
+
#: includes/manage/class-list-table.php:52
|
564 |
msgid "Snippets per page"
|
565 |
msgstr "Snippets par page "
|
566 |
|
567 |
+
#: includes/manage/class-list-table.php:115
|
568 |
+
#: includes/manage/class-list-table.php:264
|
569 |
msgid "Network Deactivate"
|
570 |
msgstr "Désactiver réseau "
|
571 |
|
572 |
+
#: includes/manage/class-list-table.php:115
|
573 |
+
#: includes/manage/class-list-table.php:264
|
574 |
msgid "Deactivate"
|
575 |
msgstr "Désactiver "
|
576 |
|
577 |
+
#: includes/manage/class-list-table.php:124
|
578 |
+
#: includes/manage/class-list-table.php:263
|
579 |
msgid "Network Activate"
|
580 |
msgstr "Activer réseau "
|
581 |
|
582 |
+
#: includes/manage/class-list-table.php:124
|
583 |
+
#: includes/manage/class-list-table.php:263
|
584 |
msgid "Activate"
|
585 |
msgstr "Activer"
|
586 |
|
587 |
+
#: includes/manage/class-list-table.php:134
|
588 |
msgid "Edit"
|
589 |
msgstr "Editer"
|
590 |
|
591 |
+
#: includes/manage/class-list-table.php:156
|
592 |
msgid ""
|
593 |
"You are about to permanently delete the selected item.\n"
|
594 |
"\t\t\t\t'Cancel' to stop, 'OK' to delete."
|
596 |
"Vous allez supprimer définitivement la sélection.\n"
|
597 |
"\t\t\t\t'Cancel' pour annuler, 'OK' confirmer et supprimer."
|
598 |
|
599 |
+
#: includes/manage/class-list-table.php:164
|
600 |
#, php-format
|
601 |
msgid "Untitled #%d"
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: includes/manage/class-list-table.php:223
|
605 |
msgid "Name"
|
606 |
msgstr "Nom"
|
607 |
|
608 |
+
#: includes/manage/class-list-table.php:224
|
609 |
msgid "ID"
|
610 |
msgstr "ID"
|
611 |
|
612 |
+
#: includes/manage/class-list-table.php:267
|
613 |
msgid "Export to PHP"
|
614 |
msgstr "Export en PHP"
|
615 |
|
616 |
+
#: includes/manage/class-list-table.php:304
|
617 |
#, fuzzy, php-format
|
618 |
msgid "All <span class=\"count\">(%s)</span>"
|
619 |
msgstr "Tout <span class=\"count\">(%s)</span>"
|
620 |
|
621 |
+
#: includes/manage/class-list-table.php:307
|
622 |
#, fuzzy, php-format
|
623 |
msgid "Active <span class=\"count\">(%s)</span>"
|
624 |
msgstr "Activer <span class=\"count\">(%s)</span>"
|
625 |
|
626 |
+
#: includes/manage/class-list-table.php:310
|
627 |
#, fuzzy, php-format
|
628 |
msgid "Recently Active <span class=\"count\">(%s)</span>"
|
629 |
msgstr "Récemment activé <span class=\"count\">(%s)</span>"
|
630 |
|
631 |
+
#: includes/manage/class-list-table.php:313
|
632 |
#, fuzzy, php-format
|
633 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
634 |
msgstr "Inactif <span class=\"count\">(%s)</span>"
|
635 |
|
636 |
+
#: includes/manage/class-list-table.php:373
|
637 |
msgid "Show all tags"
|
638 |
+
msgstr "Montre tout les étiquettes"
|
639 |
|
640 |
+
#: includes/manage/class-list-table.php:387
|
641 |
msgid "Filter"
|
642 |
msgstr "Filtre "
|
643 |
|
644 |
+
#: includes/manage/class-list-table.php:395
|
645 |
msgid "Clear List"
|
646 |
msgstr "Vider la liste"
|
647 |
|
648 |
+
#: includes/manage/class-list-table.php:544
|
649 |
#, php-format
|
650 |
msgid ""
|
651 |
"You do not appear to have any snippets available at this time. <a href=\"%s"
|
652 |
"\">Add New→</a>"
|
653 |
msgstr "Aucun Snippet pour l'instant. <a href=\"%s\">En ajouter un→</a>"
|
654 |
|
655 |
+
#: includes/manage/class-list-table.php:765
|
656 |
msgid "Search results"
|
657 |
msgstr "Résultats de la recherche "
|
658 |
|
659 |
+
#: includes/manage/class-list-table.php:768
|
660 |
#, php-format
|
661 |
msgid " for “%s”"
|
662 |
msgstr " pour “%s”"
|
663 |
|
664 |
+
#: includes/manage/class-list-table.php:772
|
665 |
#, php-format
|
666 |
msgid " in tag “%s”"
|
667 |
+
msgstr " dans l'étiquette “%s”"
|
668 |
|
669 |
+
#: includes/manage/class-list-table.php:778
|
670 |
msgid "Clear Filters"
|
671 |
msgstr "Annuler les filtres "
|
672 |
|
673 |
#: includes/settings/admin.php:20
|
674 |
msgid "Snippets Settings"
|
675 |
+
msgstr "Réglages Snippets"
|
676 |
|
677 |
+
#: includes/settings/admin.php:21 includes/settings/admin.php:39
|
678 |
msgid "Settings"
|
679 |
+
msgstr "Réglages"
|
680 |
|
681 |
+
#: includes/settings/class-settings.php:47
|
682 |
+
msgid "Activate by Default"
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: includes/settings/class-settings.php:49
|
686 |
+
msgid ""
|
687 |
+
"Make the 'Save and Activate' button the default action when saving a snippet."
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: includes/settings/class-settings.php:55
|
691 |
+
msgid "Enable Scope Selector"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: includes/settings/class-settings.php:57
|
695 |
+
msgid "Enable the scope selector when editing a snippet"
|
|
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: includes/settings/class-settings.php:95
|
699 |
msgid "Theme"
|
700 |
+
msgstr "Thème"
|
701 |
|
702 |
+
#: includes/settings/class-settings.php:103
|
703 |
msgid "Indent With Tabs"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: includes/settings/class-settings.php:105
|
707 |
msgid "Use hard tabs (not spaces) for indentation."
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: includes/settings/class-settings.php:112
|
711 |
msgid "Tab Size"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: includes/settings/class-settings.php:114
|
715 |
msgid "The width of a tab character."
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: includes/settings/class-settings.php:121
|
719 |
msgid "Indent Unit"
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: includes/settings/class-settings.php:123
|
723 |
msgid "How many spaces a block should be indented."
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: includes/settings/class-settings.php:130
|
727 |
msgid "Wrap Lines"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: includes/settings/class-settings.php:132
|
731 |
msgid "Whether the editor should scroll or wrap for long lines."
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: includes/settings/class-settings.php:139
|
735 |
msgid "Line Numbers"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: includes/settings/class-settings.php:141
|
739 |
msgid "Show line numbers to the left of the editor."
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: includes/settings/class-settings.php:148
|
743 |
msgid "Auto Close Brackets"
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: includes/settings/class-settings.php:150
|
747 |
msgid "Auto-close brackets and quotes when typed."
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: includes/settings/class-settings.php:157
|
751 |
msgid "Highlight Selection Matches"
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: includes/settings/class-settings.php:158
|
755 |
msgid "Highlight all instances of a currently selected word."
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: includes/settings/settings.php:93
|
759 |
+
msgid "General"
|
760 |
+
msgstr "Général"
|
761 |
+
|
762 |
+
#: includes/settings/settings.php:94
|
763 |
+
msgid "Description Editor"
|
764 |
+
msgstr ""
|
765 |
+
|
766 |
+
#: includes/settings/settings.php:95
|
767 |
+
msgid "Code Editor"
|
768 |
+
msgstr ""
|
769 |
+
|
770 |
+
#: includes/settings/settings.php:141
|
771 |
msgid "Editor Preview"
|
772 |
msgstr ""
|
773 |
|
774 |
+
#: includes/settings/settings.php:187
|
775 |
msgid "Settings saved."
|
776 |
msgstr ""
|
777 |
|
798 |
#~ msgid "(Optional)"
|
799 |
#~ msgstr "(Option)"
|
800 |
|
801 |
+
#~ msgid "http://bungeshea.com/plugins/code-snippets"
|
802 |
+
#~ msgstr "http://bungeshea.com/plugins/code-snippets"
|
803 |
|
804 |
#~ msgid "Import snippets from a <strong>Code Snippets</strong> export file"
|
805 |
#~ msgstr ""
|
languages/code-snippets-it_IT.mo
CHANGED
Binary file
|
languages/code-snippets-it_IT.po
CHANGED
@@ -410,8 +410,8 @@ msgstr ""
|
|
410 |
"snippet difettoso sia attivato nel sito. "
|
411 |
|
412 |
#: code-snippets.php:0
|
413 |
-
msgid "http://code-snippets
|
414 |
-
msgstr "http://code-snippets
|
415 |
|
416 |
#: code-snippets.php:263
|
417 |
msgid "Import snippets from a <strong>Code Snippets</strong> export file"
|
@@ -425,9 +425,9 @@ 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://code-snippets
|
429 |
msgstr ""
|
430 |
-
"<a href=\"http://code-snippets
|
431 |
"Website</a>"
|
432 |
|
433 |
#: includes/help/manage.php:15
|
@@ -441,11 +441,11 @@ msgstr ""
|
|
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=\"
|
445 |
msgstr ""
|
446 |
"Un po' di posti dove cercare snippets, una selezione e alcuni esempi li pui "
|
447 |
-
"trovare nella <a href=\"
|
448 |
-
"snippets
|
449 |
|
450 |
#: code-snippets.php:0
|
451 |
msgid "1.7"
|
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"
|
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
|
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"
|
languages/code-snippets-ja_JP.mo
CHANGED
Binary file
|
languages/code-snippets-ja_JP.po
CHANGED
@@ -461,8 +461,8 @@ msgstr ""
|
|
461 |
"上で有効になる可能性を最小限に抑えるのに役立ちます。"
|
462 |
|
463 |
#: code-snippets.php:0
|
464 |
-
msgid "http://code-snippets
|
465 |
-
msgstr "http://code-snippets
|
466 |
|
467 |
#: code-snippets.php:263
|
468 |
msgid "Import snippets from a <strong>Code Snippets</strong> export file"
|
@@ -479,10 +479,10 @@ msgstr[1] "スニペットを <strong>%d</strong> 件インポートしました
|
|
479 |
#: includes/help/import.php:29 includes/help/manage.php:30
|
480 |
#: includes/help/single.php:34
|
481 |
msgid ""
|
482 |
-
"<a href=\"http://code-snippets
|
483 |
"Website</a>"
|
484 |
msgstr ""
|
485 |
-
"<a href=\"http://code-snippets
|
486 |
"トサイト</a>"
|
487 |
|
488 |
#: includes/help/manage.php:15
|
@@ -504,11 +504,11 @@ msgstr ""
|
|
504 |
#: includes/help/single.php:20
|
505 |
msgid ""
|
506 |
"More places to find snippets, as well as a selection of example snippets, "
|
507 |
-
"can be found in the <a href=\"
|
508 |
-
"
|
509 |
msgstr ""
|
510 |
-
"スニペットの例は、<a href=\"
|
511 |
-
"snippets
|
512 |
|
513 |
#: code-snippets.php:0
|
514 |
msgid "1.7"
|
@@ -537,7 +537,7 @@ msgid ""
|
|
537 |
"You are about to permanently delete the selected item.\n"
|
538 |
"\t\t\t\t'Cancel' to stop, 'OK' to delete."
|
539 |
msgstr ""
|
540 |
-
"
|
541 |
"\t\t\t\t 削除するには、'OK'を、中止するには 'Cancel'をクリックして下さい。"
|
542 |
|
543 |
#: includes/class-list-table.php:270
|
461 |
"上で有効になる可能性を最小限に抑えるのに役立ちます。"
|
462 |
|
463 |
#: code-snippets.php:0
|
464 |
+
msgid "http://bungeshea.com/plugins/code-snippets"
|
465 |
+
msgstr "http://bungeshea.com/plugins/code-snippets"
|
466 |
|
467 |
#: code-snippets.php:263
|
468 |
msgid "Import snippets from a <strong>Code Snippets</strong> export file"
|
479 |
#: includes/help/import.php:29 includes/help/manage.php:30
|
480 |
#: includes/help/single.php:34
|
481 |
msgid ""
|
482 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
|
483 |
"Website</a>"
|
484 |
msgstr ""
|
485 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">プロジェク"
|
486 |
"トサイト</a>"
|
487 |
|
488 |
#: includes/help/manage.php:15
|
504 |
#: includes/help/single.php:20
|
505 |
msgid ""
|
506 |
"More places to find snippets, as well as a selection of example snippets, "
|
507 |
+
"can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
|
508 |
+
"Finding-snippets\">plugin documentation</a>"
|
509 |
msgstr ""
|
510 |
+
"スニペットの例は、<a href=\"https://github.com/sheabunge/code-snippets/wiki/"
|
511 |
+
"Finding-snippets\">プラグインドキュメント</a> に記載されています。"
|
512 |
|
513 |
#: code-snippets.php:0
|
514 |
msgid "1.7"
|
537 |
"You are about to permanently delete the selected item.\n"
|
538 |
"\t\t\t\t'Cancel' to stop, 'OK' to delete."
|
539 |
msgstr ""
|
540 |
+
"あなたは永久に���択した項目を削除しようとしています。\n"
|
541 |
"\t\t\t\t 削除するには、'OK'を、中止するには 'Cancel'をクリックして下さい。"
|
542 |
|
543 |
#: includes/class-list-table.php:270
|
languages/code-snippets-ru_RU.mo
CHANGED
Binary file
|
languages/code-snippets-ru_RU.po
CHANGED
@@ -94,10 +94,10 @@ msgstr ""
|
|
94 |
|
95 |
#: admin/help/import.php:40 admin/help/manage.php:41 admin/help/single.php:46
|
96 |
msgid ""
|
97 |
-
"<a href=\"http://code-snippets
|
98 |
"Website</a>"
|
99 |
msgstr ""
|
100 |
-
"<a href=\"http://code-snippets
|
101 |
"плагина</a>"
|
102 |
|
103 |
#: admin/help/manage.php:18
|
@@ -223,11 +223,11 @@ msgstr ""
|
|
223 |
#: admin/help/single.php:31
|
224 |
msgid ""
|
225 |
"More places to find snippets, as well as a selection of example snippets, "
|
226 |
-
"can be found in the <a href=\"
|
227 |
-
"
|
228 |
msgstr ""
|
229 |
-
"Другие ссылки вы можете найти на <a href=\"
|
230 |
-
"
|
231 |
|
232 |
#: admin/help/single.php:36
|
233 |
msgid "Adding Snippets"
|
@@ -280,7 +280,7 @@ msgstr ""
|
|
280 |
"<strong>Внимание:</strong> активирован режим Safe mode и поэтому сниппеты не "
|
281 |
"будут выполняться! Удалите константу <code>CODE_SNIPPETS_SAFE_MODE</code> из "
|
282 |
"файла <code>wp-config.php</code>, чтобы выключить режим Safe mode. <a href="
|
283 |
-
"\"
|
284 |
"\">Помощь</a>"
|
285 |
|
286 |
#: admin/messages/manage.php:20
|
@@ -470,7 +470,7 @@ msgstr "Посетить форумы поддержки"
|
|
470 |
|
471 |
#: includes/class-admin.php:728
|
472 |
msgid "Support"
|
473 |
-
msgstr "
|
474 |
|
475 |
#: includes/class-admin.php:732
|
476 |
msgid "Support this plugin's development"
|
94 |
|
95 |
#: admin/help/import.php:40 admin/help/manage.php:41 admin/help/single.php:46
|
96 |
msgid ""
|
97 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
|
98 |
"Website</a>"
|
99 |
msgstr ""
|
100 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Сайт "
|
101 |
"плагина</a>"
|
102 |
|
103 |
#: admin/help/manage.php:18
|
223 |
#: admin/help/single.php:31
|
224 |
msgid ""
|
225 |
"More places to find snippets, as well as a selection of example snippets, "
|
226 |
+
"can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
|
227 |
+
"Finding-snippets\">plugin documentation</a>"
|
228 |
msgstr ""
|
229 |
+
"Другие ссылки вы можете найти на <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
|
230 |
+
"Finding-snippets\">странице плагина</a>"
|
231 |
|
232 |
#: admin/help/single.php:36
|
233 |
msgid "Adding Snippets"
|
280 |
"<strong>Внимание:</strong> активирован режим Safe mode и поэтому сниппеты не "
|
281 |
"будут выполняться! Удалите константу <code>CODE_SNIPPETS_SAFE_MODE</code> из "
|
282 |
"файла <code>wp-config.php</code>, чтобы выключить режим Safe mode. <a href="
|
283 |
+
"\"https://github.com/sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank"
|
284 |
"\">Помощь</a>"
|
285 |
|
286 |
#: admin/messages/manage.php:20
|
470 |
|
471 |
#: includes/class-admin.php:728
|
472 |
msgid "Support"
|
473 |
+
msgstr "Под��ержка"
|
474 |
|
475 |
#: includes/class-admin.php:732
|
476 |
msgid "Support this plugin's development"
|
languages/code-snippets-sk_SK.mo
CHANGED
Binary file
|
languages/code-snippets-sk_SK.po
CHANGED
@@ -97,10 +97,10 @@ msgstr ""
|
|
97 |
#: ../admin/help/import.php:40 ../admin/help/manage.php:41
|
98 |
#: ../admin/help/single.php:46
|
99 |
msgid ""
|
100 |
-
"<a href=\"http://code-snippets
|
101 |
"Website</a>"
|
102 |
msgstr ""
|
103 |
-
"<a href=\"http://code-snippets
|
104 |
"stránka projektu</a>"
|
105 |
|
106 |
#: ../admin/help/manage.php:18
|
@@ -226,11 +226,11 @@ msgstr ""
|
|
226 |
#: ../admin/help/single.php:31
|
227 |
msgid ""
|
228 |
"More places to find snippets, as well as a selection of example snippets, "
|
229 |
-
"can be found in the <a href=\"
|
230 |
-
"
|
231 |
msgstr ""
|
232 |
"Viac miest, kde nájdete snippety a niekoľko ukážok snippetov nájdete v <a "
|
233 |
-
"href=\"
|
234 |
"\">dokumentácii modulu</a>"
|
235 |
|
236 |
#: ../admin/help/single.php:36
|
97 |
#: ../admin/help/import.php:40 ../admin/help/manage.php:41
|
98 |
#: ../admin/help/single.php:46
|
99 |
msgid ""
|
100 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
|
101 |
"Website</a>"
|
102 |
msgstr ""
|
103 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Webová "
|
104 |
"stránka projektu</a>"
|
105 |
|
106 |
#: ../admin/help/manage.php:18
|
226 |
#: ../admin/help/single.php:31
|
227 |
msgid ""
|
228 |
"More places to find snippets, as well as a selection of example snippets, "
|
229 |
+
"can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
|
230 |
+
"Finding-snippets\">plugin documentation</a>"
|
231 |
msgstr ""
|
232 |
"Viac miest, kde nájdete snippety a niekoľko ukážok snippetov nájdete v <a "
|
233 |
+
"href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets"
|
234 |
"\">dokumentácii modulu</a>"
|
235 |
|
236 |
#: ../admin/help/single.php:36
|
languages/code-snippets-sr_RS.mo
CHANGED
Binary file
|
languages/code-snippets-sr_RS.po
CHANGED
@@ -465,8 +465,8 @@ msgstr ""
|
|
465 |
"sajtu aktivira isečak sa greškom. "
|
466 |
|
467 |
#: code-snippets.php:0
|
468 |
-
msgid "http://code-snippets
|
469 |
-
msgstr "http://code-snippets
|
470 |
|
471 |
#: code-snippets.php:263
|
472 |
msgid "Import snippets from a <strong>Code Snippets</strong> export file"
|
@@ -481,10 +481,10 @@ msgstr[1] ""
|
|
481 |
#: includes/help/import.php:29 includes/help/manage.php:30
|
482 |
#: includes/help/single.php:34
|
483 |
msgid ""
|
484 |
-
"<a href=\"http://code-snippets
|
485 |
"Website</a>"
|
486 |
msgstr ""
|
487 |
-
"<a href=\"http://code-snippets
|
488 |
"Website</a>"
|
489 |
|
490 |
#: includes/help/manage.php:15
|
@@ -506,11 +506,11 @@ msgstr ""
|
|
506 |
#: includes/help/single.php:20
|
507 |
msgid ""
|
508 |
"More places to find snippets, as well as a selection of example snippets, "
|
509 |
-
"can be found in the <a href=\"
|
510 |
-
"
|
511 |
msgstr ""
|
512 |
"Više mesta za pronalaženje isečaka, kao i odabrane primere isečaka, možete "
|
513 |
-
"naći na: <a href=\"
|
514 |
"\">plugin documentation</a>"
|
515 |
|
516 |
#: code-snippets.php:0
|
465 |
"sajtu aktivira isečak sa greškom. "
|
466 |
|
467 |
#: code-snippets.php:0
|
468 |
+
msgid "http://bungeshea.com/plugins/code-snippets"
|
469 |
+
msgstr "http://bungeshea.com/plugins/code-snippets"
|
470 |
|
471 |
#: code-snippets.php:263
|
472 |
msgid "Import snippets from a <strong>Code Snippets</strong> export file"
|
481 |
#: includes/help/import.php:29 includes/help/manage.php:30
|
482 |
#: includes/help/single.php:34
|
483 |
msgid ""
|
484 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
|
485 |
"Website</a>"
|
486 |
msgstr ""
|
487 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
|
488 |
"Website</a>"
|
489 |
|
490 |
#: includes/help/manage.php:15
|
506 |
#: includes/help/single.php:20
|
507 |
msgid ""
|
508 |
"More places to find snippets, as well as a selection of example snippets, "
|
509 |
+
"can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
|
510 |
+
"Finding-snippets\">plugin documentation</a>"
|
511 |
msgstr ""
|
512 |
"Više mesta za pronalaženje isečaka, kao i odabrane primere isečaka, možete "
|
513 |
+
"naći na: <a href=\"https://github.com/sheabunge/code-snippets/wiki/Finding-snippets"
|
514 |
"\">plugin documentation</a>"
|
515 |
|
516 |
#: code-snippets.php:0
|
languages/code-snippets-zh_CN.mo
CHANGED
Binary file
|
languages/code-snippets-zh_CN.po
CHANGED
@@ -423,8 +423,8 @@ msgid ""
|
|
423 |
msgstr ""
|
424 |
|
425 |
#: code-snippets.php:0
|
426 |
-
msgid "http://code-snippets
|
427 |
-
msgstr "http://code-snippets
|
428 |
|
429 |
#: code-snippets.php:263
|
430 |
msgid "Import snippets from a <strong>Code Snippets</strong> export file"
|
@@ -439,10 +439,10 @@ msgstr[1] "已上传 <strong>%d</strong> 个片段。"
|
|
439 |
#: includes/help/import.php:29 includes/help/manage.php:30
|
440 |
#: includes/help/single.php:34
|
441 |
msgid ""
|
442 |
-
"<a href=\"http://code-snippets
|
443 |
"Website</a>"
|
444 |
msgstr ""
|
445 |
-
"<a href=\"http://code-snippets
|
446 |
"a>"
|
447 |
|
448 |
#: includes/help/manage.php:15
|
@@ -458,8 +458,8 @@ msgstr ""
|
|
458 |
#: includes/help/single.php:20
|
459 |
msgid ""
|
460 |
"More places to find snippets, as well as a selection of example snippets, "
|
461 |
-
"can be found in the <a href=\"
|
462 |
-
"
|
463 |
msgstr ""
|
464 |
|
465 |
#: code-snippets.php:0
|
423 |
msgstr ""
|
424 |
|
425 |
#: code-snippets.php:0
|
426 |
+
msgid "http://bungeshea.com/plugins/code-snippets"
|
427 |
+
msgstr "http://bungeshea.com/plugins/code-snippets"
|
428 |
|
429 |
#: code-snippets.php:263
|
430 |
msgid "Import snippets from a <strong>Code Snippets</strong> export file"
|
439 |
#: includes/help/import.php:29 includes/help/manage.php:30
|
440 |
#: includes/help/single.php:34
|
441 |
msgid ""
|
442 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project "
|
443 |
"Website</a>"
|
444 |
msgstr ""
|
445 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">项目站点</"
|
446 |
"a>"
|
447 |
|
448 |
#: includes/help/manage.php:15
|
458 |
#: includes/help/single.php:20
|
459 |
msgid ""
|
460 |
"More places to find snippets, as well as a selection of example snippets, "
|
461 |
+
"can be found in the <a href=\"https://github.com/sheabunge/code-snippets/wiki/"
|
462 |
+
"Finding-snippets\">plugin documentation</a>"
|
463 |
msgstr ""
|
464 |
|
465 |
#: code-snippets.php:0
|
languages/code-snippets.po
CHANGED
@@ -342,7 +342,7 @@ msgid "Please be sure to check that your snippet is valid PHP code and will not
|
|
342 |
msgstr ""
|
343 |
|
344 |
#: code-snippets.php:0
|
345 |
-
msgid "http://code-snippets
|
346 |
msgstr ""
|
347 |
|
348 |
#: code-snippets.php:263
|
@@ -357,7 +357,7 @@ msgstr[1] ""
|
|
357 |
|
358 |
#: includes/help/import.php:29 includes/help/manage.php:30
|
359 |
#: includes/help/single.php:34
|
360 |
-
msgid "<a href=\"http://code-snippets
|
361 |
msgstr ""
|
362 |
|
363 |
#: includes/help/manage.php:15
|
@@ -365,7 +365,7 @@ msgid "If something goes wrong with a snippet and you can't use WordPress, you c
|
|
365 |
msgstr ""
|
366 |
|
367 |
#: includes/help/single.php:20
|
368 |
-
msgid "More places to find snippets, as well as a selection of example snippets, can be found in the <a href=\"
|
369 |
msgstr ""
|
370 |
|
371 |
#: code-snippets.php:0
|
342 |
msgstr ""
|
343 |
|
344 |
#: code-snippets.php:0
|
345 |
+
msgid "http://bungeshea.com/plugins/code-snippets"
|
346 |
msgstr ""
|
347 |
|
348 |
#: code-snippets.php:263
|
357 |
|
358 |
#: includes/help/import.php:29 includes/help/manage.php:30
|
359 |
#: includes/help/single.php:34
|
360 |
+
msgid "<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank\">Project Website</a>"
|
361 |
msgstr ""
|
362 |
|
363 |
#: includes/help/manage.php:15
|
365 |
msgstr ""
|
366 |
|
367 |
#: includes/help/single.php:20
|
368 |
+
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>"
|
369 |
msgstr ""
|
370 |
|
371 |
#: code-snippets.php:0
|
languages/code-snippets.pot
CHANGED
@@ -6,9 +6,9 @@
|
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
-
"Project-Id-Version: code-snippets 2.
|
10 |
"Report-Msgid-Bugs-To: \n"
|
11 |
-
"POT-Creation-Date: 2015-05-
|
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"
|
@@ -149,8 +149,8 @@ msgstr ""
|
|
149 |
#: includes/edit/admin-help.php:31
|
150 |
msgid ""
|
151 |
"More places to find snippets, as well as a selection of example snippets, "
|
152 |
-
"can be found in the <a href=\"
|
153 |
-
"
|
154 |
msgstr ""
|
155 |
|
156 |
#: includes/edit/admin-help.php:36
|
@@ -193,8 +193,8 @@ msgstr ""
|
|
193 |
#: includes/edit/admin-help.php:46 includes/import/admin-help.php:40
|
194 |
#: includes/manage/admin-help.php:40
|
195 |
msgid ""
|
196 |
-
"<a href=\"http://code-snippets
|
197 |
-
"Website</a>"
|
198 |
msgstr ""
|
199 |
|
200 |
#: includes/edit/admin-messages.php:14
|
@@ -251,8 +251,8 @@ msgstr ""
|
|
251 |
msgid "Save Changes and Deactivate"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: includes/edit/admin.php:108 includes/manage/class-list-table.php:
|
255 |
-
#: includes/manage/class-list-table.php:
|
256 |
msgid "Export"
|
257 |
msgstr ""
|
258 |
|
@@ -262,8 +262,8 @@ msgid ""
|
|
262 |
"'Cancel' to stop, 'OK' to delete."
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: includes/edit/admin.php:120 includes/manage/class-list-table.php:
|
266 |
-
#: includes/manage/class-list-table.php:
|
267 |
msgid "Delete"
|
268 |
msgstr ""
|
269 |
|
@@ -271,7 +271,7 @@ msgstr ""
|
|
271 |
msgid "You are not authorized to access this page."
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: includes/edit/edit.php:177 includes/manage/class-list-table.php:
|
275 |
msgid "Description"
|
276 |
msgstr ""
|
277 |
|
@@ -291,7 +291,7 @@ msgstr ""
|
|
291 |
msgid "Scope"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: includes/edit/edit.php:231 includes/manage/class-list-table.php:
|
295 |
msgid "Tags"
|
296 |
msgstr ""
|
297 |
|
@@ -457,8 +457,8 @@ msgstr ""
|
|
457 |
msgid ""
|
458 |
"<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
|
459 |
"Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
|
460 |
-
"config.php</code> to turn off safe mode. <a href=\"
|
461 |
-
"
|
462 |
msgstr ""
|
463 |
|
464 |
#: includes/manage/admin-messages.php:20
|
@@ -489,111 +489,121 @@ msgstr ""
|
|
489 |
msgid "Search Installed Snippets"
|
490 |
msgstr ""
|
491 |
|
492 |
-
#: includes/manage/class-list-table.php:
|
493 |
msgid "Snippets per page"
|
494 |
msgstr ""
|
495 |
|
496 |
-
#: includes/manage/class-list-table.php:
|
497 |
-
#: includes/manage/class-list-table.php:
|
498 |
msgid "Network Deactivate"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: includes/manage/class-list-table.php:
|
502 |
-
#: includes/manage/class-list-table.php:
|
503 |
msgid "Deactivate"
|
504 |
msgstr ""
|
505 |
|
506 |
-
#: includes/manage/class-list-table.php:
|
507 |
-
#: includes/manage/class-list-table.php:
|
508 |
msgid "Network Activate"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: includes/manage/class-list-table.php:
|
512 |
-
#: includes/manage/class-list-table.php:
|
513 |
msgid "Activate"
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: includes/manage/class-list-table.php:
|
517 |
msgid "Edit"
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: includes/manage/class-list-table.php:
|
521 |
msgid ""
|
522 |
"You are about to permanently delete the selected item.\n"
|
523 |
"\t\t\t\t'Cancel' to stop, 'OK' to delete."
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: includes/manage/class-list-table.php:
|
527 |
#, php-format
|
528 |
msgid "Untitled #%d"
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: includes/manage/class-list-table.php:
|
532 |
msgid "Name"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: includes/manage/class-list-table.php:
|
536 |
msgid "ID"
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: includes/manage/class-list-table.php:
|
540 |
msgid "Export to PHP"
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: includes/manage/class-list-table.php:
|
544 |
#, php-format
|
545 |
msgid "All <span class=\"count\">(%s)</span>"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: includes/manage/class-list-table.php:
|
549 |
#, php-format
|
550 |
msgid "Active <span class=\"count\">(%s)</span>"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: includes/manage/class-list-table.php:
|
554 |
#, php-format
|
555 |
msgid "Recently Active <span class=\"count\">(%s)</span>"
|
556 |
msgstr ""
|
557 |
|
558 |
-
#: includes/manage/class-list-table.php:
|
559 |
#, php-format
|
560 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
561 |
msgstr ""
|
562 |
|
563 |
-
#: includes/manage/class-list-table.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
564 |
msgid "Show all tags"
|
565 |
msgstr ""
|
566 |
|
567 |
-
#: includes/manage/class-list-table.php:
|
568 |
msgid "Filter"
|
569 |
msgstr ""
|
570 |
|
571 |
-
#: includes/manage/class-list-table.php:
|
572 |
msgid "Clear List"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: includes/manage/class-list-table.php:
|
576 |
#, php-format
|
577 |
msgid ""
|
578 |
"You do not appear to have any snippets available at this time. <a href=\"%s"
|
579 |
"\">Add New→</a>"
|
580 |
msgstr ""
|
581 |
|
582 |
-
#: includes/manage/class-list-table.php:
|
583 |
msgid "Search results"
|
584 |
msgstr ""
|
585 |
|
586 |
-
#: includes/manage/class-list-table.php:
|
587 |
#, php-format
|
588 |
msgid " for “%s”"
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: includes/manage/class-list-table.php:
|
592 |
#, php-format
|
593 |
msgid " in tag “%s”"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: includes/manage/class-list-table.php:
|
597 |
msgid "Clear Filters"
|
598 |
msgstr ""
|
599 |
|
@@ -622,82 +632,82 @@ msgstr ""
|
|
622 |
msgid "Enable the scope selector when editing a snippet"
|
623 |
msgstr ""
|
624 |
|
625 |
-
#: includes/settings/class-settings.php:
|
626 |
msgid "Theme"
|
627 |
msgstr ""
|
628 |
|
629 |
-
#: includes/settings/class-settings.php:
|
630 |
msgid "Indent With Tabs"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: includes/settings/class-settings.php:
|
634 |
msgid "Use hard tabs (not spaces) for indentation."
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: includes/settings/class-settings.php:
|
638 |
msgid "Tab Size"
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: includes/settings/class-settings.php:
|
642 |
msgid "The width of a tab character."
|
643 |
msgstr ""
|
644 |
|
645 |
-
#: includes/settings/class-settings.php:
|
646 |
msgid "Indent Unit"
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: includes/settings/class-settings.php:
|
650 |
msgid "How many spaces a block should be indented."
|
651 |
msgstr ""
|
652 |
|
653 |
-
#: includes/settings/class-settings.php:
|
654 |
msgid "Wrap Lines"
|
655 |
msgstr ""
|
656 |
|
657 |
-
#: includes/settings/class-settings.php:
|
658 |
msgid "Whether the editor should scroll or wrap for long lines."
|
659 |
msgstr ""
|
660 |
|
661 |
-
#: includes/settings/class-settings.php:
|
662 |
msgid "Line Numbers"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: includes/settings/class-settings.php:
|
666 |
msgid "Show line numbers to the left of the editor."
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: includes/settings/class-settings.php:
|
670 |
msgid "Auto Close Brackets"
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: includes/settings/class-settings.php:
|
674 |
msgid "Auto-close brackets and quotes when typed."
|
675 |
msgstr ""
|
676 |
|
677 |
-
#: includes/settings/class-settings.php:
|
678 |
msgid "Highlight Selection Matches"
|
679 |
msgstr ""
|
680 |
|
681 |
-
#: includes/settings/class-settings.php:
|
682 |
msgid "Highlight all instances of a currently selected word."
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: includes/settings/settings.php:
|
686 |
msgid "General"
|
687 |
msgstr ""
|
688 |
|
689 |
-
#: includes/settings/settings.php:
|
690 |
msgid "Description Editor"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: includes/settings/settings.php:
|
694 |
msgid "Code Editor"
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: includes/settings/settings.php:
|
698 |
msgid "Editor Preview"
|
699 |
msgstr ""
|
700 |
|
701 |
-
#: includes/settings/settings.php:
|
702 |
msgid "Settings saved."
|
703 |
msgstr ""
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
+
"Project-Id-Version: code-snippets 2.2.2\n"
|
10 |
"Report-Msgid-Bugs-To: \n"
|
11 |
+
"POT-Creation-Date: 2015-05-11 21:14+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"
|
149 |
#: includes/edit/admin-help.php:31
|
150 |
msgid ""
|
151 |
"More places to find snippets, as well as a selection of example snippets, "
|
152 |
+
"can be found in the <a href=\"https://github.com/sheabunge/code-snippets/"
|
153 |
+
"wiki/Finding-snippets\">plugin documentation</a>"
|
154 |
msgstr ""
|
155 |
|
156 |
#: includes/edit/admin-help.php:36
|
193 |
#: includes/edit/admin-help.php:46 includes/import/admin-help.php:40
|
194 |
#: includes/manage/admin-help.php:40
|
195 |
msgid ""
|
196 |
+
"<a href=\"http://bungeshea.com/plugins/code-snippets/\" target=\"_blank"
|
197 |
+
"\">Project Website</a>"
|
198 |
msgstr ""
|
199 |
|
200 |
#: includes/edit/admin-messages.php:14
|
251 |
msgid "Save Changes and Deactivate"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: includes/edit/admin.php:108 includes/manage/class-list-table.php:141
|
255 |
+
#: includes/manage/class-list-table.php:266
|
256 |
msgid "Export"
|
257 |
msgstr ""
|
258 |
|
262 |
"'Cancel' to stop, 'OK' to delete."
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: includes/edit/admin.php:120 includes/manage/class-list-table.php:150
|
266 |
+
#: includes/manage/class-list-table.php:267
|
267 |
msgid "Delete"
|
268 |
msgstr ""
|
269 |
|
271 |
msgid "You are not authorized to access this page."
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: includes/edit/edit.php:177 includes/manage/class-list-table.php:226
|
275 |
msgid "Description"
|
276 |
msgstr ""
|
277 |
|
291 |
msgid "Scope"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: includes/edit/edit.php:231 includes/manage/class-list-table.php:227
|
295 |
msgid "Tags"
|
296 |
msgstr ""
|
297 |
|
457 |
msgid ""
|
458 |
"<strong>Warning:</strong> Safe mode is active and snippets will not execute! "
|
459 |
"Remove the <code>CODE_SNIPPETS_SAFE_MODE</code> constant from <code>wp-"
|
460 |
+
"config.php</code> to turn off safe mode. <a href=\"https://github.com/"
|
461 |
+
"sheabunge/code-snippets/wiki/Safe-Mode\" target=\"_blank\">Help</a>"
|
462 |
msgstr ""
|
463 |
|
464 |
#: includes/manage/admin-messages.php:20
|
489 |
msgid "Search Installed Snippets"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: includes/manage/class-list-table.php:53
|
493 |
msgid "Snippets per page"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: includes/manage/class-list-table.php:116
|
497 |
+
#: includes/manage/class-list-table.php:265
|
498 |
msgid "Network Deactivate"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: includes/manage/class-list-table.php:116
|
502 |
+
#: includes/manage/class-list-table.php:265
|
503 |
msgid "Deactivate"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: includes/manage/class-list-table.php:125
|
507 |
+
#: includes/manage/class-list-table.php:264
|
508 |
msgid "Network Activate"
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: includes/manage/class-list-table.php:125
|
512 |
+
#: includes/manage/class-list-table.php:264
|
513 |
msgid "Activate"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: includes/manage/class-list-table.php:135
|
517 |
msgid "Edit"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: includes/manage/class-list-table.php:157
|
521 |
msgid ""
|
522 |
"You are about to permanently delete the selected item.\n"
|
523 |
"\t\t\t\t'Cancel' to stop, 'OK' to delete."
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: includes/manage/class-list-table.php:165
|
527 |
#, php-format
|
528 |
msgid "Untitled #%d"
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: includes/manage/class-list-table.php:224
|
532 |
msgid "Name"
|
533 |
msgstr ""
|
534 |
|
535 |
+
#: includes/manage/class-list-table.php:225
|
536 |
msgid "ID"
|
537 |
msgstr ""
|
538 |
|
539 |
+
#: includes/manage/class-list-table.php:268
|
540 |
msgid "Export to PHP"
|
541 |
msgstr ""
|
542 |
|
543 |
+
#: includes/manage/class-list-table.php:305
|
544 |
#, php-format
|
545 |
msgid "All <span class=\"count\">(%s)</span>"
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: includes/manage/class-list-table.php:308
|
549 |
#, php-format
|
550 |
msgid "Active <span class=\"count\">(%s)</span>"
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: includes/manage/class-list-table.php:311
|
554 |
#, php-format
|
555 |
msgid "Recently Active <span class=\"count\">(%s)</span>"
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: includes/manage/class-list-table.php:314
|
559 |
#, php-format
|
560 |
msgid "Inactive <span class=\"count\">(%s)</span>"
|
561 |
msgstr ""
|
562 |
|
563 |
+
#: includes/manage/class-list-table.php:317
|
564 |
+
#, php-format
|
565 |
+
msgid "Admin <span class=\"count\">(%s)</span>"
|
566 |
+
msgstr ""
|
567 |
+
|
568 |
+
#: includes/manage/class-list-table.php:320
|
569 |
+
#, php-format
|
570 |
+
msgid "Front End <span class=\"count\">(%s)</span>"
|
571 |
+
msgstr ""
|
572 |
+
|
573 |
+
#: includes/manage/class-list-table.php:380
|
574 |
msgid "Show all tags"
|
575 |
msgstr ""
|
576 |
|
577 |
+
#: includes/manage/class-list-table.php:394
|
578 |
msgid "Filter"
|
579 |
msgstr ""
|
580 |
|
581 |
+
#: includes/manage/class-list-table.php:402
|
582 |
msgid "Clear List"
|
583 |
msgstr ""
|
584 |
|
585 |
+
#: includes/manage/class-list-table.php:551
|
586 |
#, php-format
|
587 |
msgid ""
|
588 |
"You do not appear to have any snippets available at this time. <a href=\"%s"
|
589 |
"\">Add New→</a>"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: includes/manage/class-list-table.php:784
|
593 |
msgid "Search results"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: includes/manage/class-list-table.php:787
|
597 |
#, php-format
|
598 |
msgid " for “%s”"
|
599 |
msgstr ""
|
600 |
|
601 |
+
#: includes/manage/class-list-table.php:791
|
602 |
#, php-format
|
603 |
msgid " in tag “%s”"
|
604 |
msgstr ""
|
605 |
|
606 |
+
#: includes/manage/class-list-table.php:797
|
607 |
msgid "Clear Filters"
|
608 |
msgstr ""
|
609 |
|
632 |
msgid "Enable the scope selector when editing a snippet"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: includes/settings/class-settings.php:96
|
636 |
msgid "Theme"
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: includes/settings/class-settings.php:104
|
640 |
msgid "Indent With Tabs"
|
641 |
msgstr ""
|
642 |
|
643 |
+
#: includes/settings/class-settings.php:106
|
644 |
msgid "Use hard tabs (not spaces) for indentation."
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: includes/settings/class-settings.php:113
|
648 |
msgid "Tab Size"
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: includes/settings/class-settings.php:115
|
652 |
msgid "The width of a tab character."
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: includes/settings/class-settings.php:123
|
656 |
msgid "Indent Unit"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: includes/settings/class-settings.php:125
|
660 |
msgid "How many spaces a block should be indented."
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: includes/settings/class-settings.php:133
|
664 |
msgid "Wrap Lines"
|
665 |
msgstr ""
|
666 |
|
667 |
+
#: includes/settings/class-settings.php:135
|
668 |
msgid "Whether the editor should scroll or wrap for long lines."
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: includes/settings/class-settings.php:142
|
672 |
msgid "Line Numbers"
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: includes/settings/class-settings.php:144
|
676 |
msgid "Show line numbers to the left of the editor."
|
677 |
msgstr ""
|
678 |
|
679 |
+
#: includes/settings/class-settings.php:151
|
680 |
msgid "Auto Close Brackets"
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: includes/settings/class-settings.php:153
|
684 |
msgid "Auto-close brackets and quotes when typed."
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: includes/settings/class-settings.php:160
|
688 |
msgid "Highlight Selection Matches"
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: includes/settings/class-settings.php:161
|
692 |
msgid "Highlight all instances of a currently selected word."
|
693 |
msgstr ""
|
694 |
|
695 |
+
#: includes/settings/settings.php:93
|
696 |
msgid "General"
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: includes/settings/settings.php:94
|
700 |
msgid "Description Editor"
|
701 |
msgstr ""
|
702 |
|
703 |
+
#: includes/settings/settings.php:95
|
704 |
msgid "Code Editor"
|
705 |
msgstr ""
|
706 |
|
707 |
+
#: includes/settings/settings.php:143
|
708 |
msgid "Editor Preview"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: includes/settings/settings.php:189
|
712 |
msgid "Settings saved."
|
713 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bungeshea.com/donate/
|
|
4 |
Tags: code-snippets, snippets, code, php, network, multisite
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.2.2
|
7 |
-
Stable tag: 2.2.
|
8 |
License: MIT
|
9 |
License URI: license.txt
|
10 |
|
@@ -116,6 +116,13 @@ That's fantastic! Fork the [repository on GitHub](http://github.com/sheabunge/co
|
|
116 |
|
117 |
== Changelog ==
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
= 2.2.1 =
|
120 |
* Fixed the default values of new setting not being applied
|
121 |
* Fixed missing background of tags input
|
@@ -325,6 +332,9 @@ __Fixed__
|
|
325 |
|
326 |
== Upgrade Notice ==
|
327 |
|
|
|
|
|
|
|
328 |
= 2.2.1 =
|
329 |
New snippet scope feature; fixed bug with translations not loading; minified all css and js
|
330 |
|
@@ -370,9 +380,6 @@ Improvements on the 'Manage Snippets' page and localization
|
|
370 |
= 1.4 =
|
371 |
Better code highlighting and improved multisite support
|
372 |
|
373 |
-
= 1.3.2 =
|
374 |
-
Code Snippets has a new website: http://code-snippets.bungeshea.com/
|
375 |
-
|
376 |
= 1.3 =
|
377 |
Added import/export feature
|
378 |
|
4 |
Tags: code-snippets, snippets, code, php, network, multisite
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.2.2
|
7 |
+
Stable tag: 2.2.2
|
8 |
License: MIT
|
9 |
License URI: license.txt
|
10 |
|
116 |
|
117 |
== Changelog ==
|
118 |
|
119 |
+
= 2.2.2 =
|
120 |
+
* Polyfilled array_replace_recursive() function for PHP 5.2
|
121 |
+
* Updated references to old plugin site
|
122 |
+
* Resolved JavaScript error on edit snippet pages
|
123 |
+
* Made minor updates to French translation file
|
124 |
+
* Added statuses for snippet scopes on manage snippets table
|
125 |
+
|
126 |
= 2.2.1 =
|
127 |
* Fixed the default values of new setting not being applied
|
128 |
* Fixed missing background of tags input
|
332 |
|
333 |
== Upgrade Notice ==
|
334 |
|
335 |
+
= 2.2.2 =
|
336 |
+
Fix error with PHP 5.2 added statuses for scopes to manage snippets table
|
337 |
+
|
338 |
= 2.2.1 =
|
339 |
New snippet scope feature; fixed bug with translations not loading; minified all css and js
|
340 |
|
380 |
= 1.4 =
|
381 |
Better code highlighting and improved multisite support
|
382 |
|
|
|
|
|
|
|
383 |
= 1.3 =
|
384 |
Added import/export feature
|
385 |
|