Version Description
- Feature: Change dropdown to checkboxes for multiple class selection
- Feature: Option to use both predefined and text input classes
- Feature: Migrate classes when predefined classes are available
- Improvement: Do not show previously defined classes that are removed in the settings page when a widget is not updated yet
- Fix: Only show stored classes if the field-type in the setting page is correct
- Fix: When predefined is selected, show previous text input classes if they are defined
- Fix: Ids index notice
- i18n: Added Dutch translation by Jory Hogeveen at Keraweb
- i18n: Added Russian translation by
- i18n: Added Swedish translation by Olle Gustafsson
Download this release
Release Info
Developer | elusivelight |
Plugin | Widget CSS Classes |
Version | 1.3.0 |
Comparing to | |
See all releases |
Code changes from version 1.2.5 to 1.3.0
- css/widget-css-classes.css +3 -4
- includes/widget-css-classes-library.class.php +24 -10
- includes/widget-css-classes-loader.class.php +2 -2
- includes/widget-css-classes-settings.class.php +36 -32
- includes/widget-css-classes.class.php +100 -38
- languages/widget-css-classes-es_ES.mo +0 -0
- languages/widget-css-classes-es_ES.po +47 -37
- languages/widget-css-classes-nl_NL.mo +0 -0
- languages/widget-css-classes-nl_NL.po +166 -0
- languages/widget-css-classes-pl_PL.mo +0 -0
- languages/widget-css-classes-pl_PL.po +48 -38
- languages/widget-css-classes-ru_RU.mo +0 -0
- languages/widget-css-classes-ru_RU.po +167 -0
- languages/widget-css-classes-sk_SK.mo +0 -0
- languages/widget-css-classes-sk_SK.po +48 -29
- languages/widget-css-classes-sr_RS.mo +0 -0
- languages/widget-css-classes-sr_RS.po +48 -29
- languages/widget-css-classes-sv_SE.mo +0 -0
- languages/widget-css-classes-sv_SE.po +166 -0
- languages/widget-css-classes.mo +0 -0
- languages/widget-css-classes.pot +30 -30
- readme.txt +49 -9
- screenshot-1.jpg +0 -0
- screenshot-2.jpg +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
- widget-css-classes.php +6 -5
css/widget-css-classes.css
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
-
.wcssc_copy
|
2 |
vertical-align: middle;
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
}
|
6 |
-
|
7 |
-
|
8 |
-
margin-left: -12px;
|
9 |
}
|
1 |
+
.wcssc_copy span, .wcssc_remove span {
|
2 |
vertical-align: middle;
|
3 |
margin: 0;
|
4 |
padding: 0;
|
5 |
}
|
6 |
+
.wcssc_copy, .wcssc_remove {
|
7 |
+
text-decoration: none;
|
|
|
8 |
}
|
includes/widget-css-classes-library.class.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Method library
|
6 |
* @author C.M. Kendrick <cindy@cleverness.org>
|
7 |
* @package widget-css-classes
|
8 |
-
* @version 1.0
|
9 |
*/
|
10 |
|
11 |
/**
|
@@ -42,8 +42,8 @@ class WCSSC_Lib {
|
|
42 |
*/
|
43 |
public static function admin_footer() {
|
44 |
$plugin_data = get_plugin_data( WCSSC_FILE );
|
45 |
-
echo $plugin_data['Title'].' | '.esc_attr__( 'Version', 'widget-css-classes' ).' '
|
46 |
-
' | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=cindy@cleverness.org">'.esc_attr__( 'Donate', 'widget-css-classes' ).'</a>
|
47 |
<br />';
|
48 |
}
|
49 |
|
@@ -81,12 +81,12 @@ class WCSSC_Lib {
|
|
81 |
if ( $version == 0 ) {
|
82 |
// add default options
|
83 |
$options = array(
|
84 |
-
'show_id'
|
85 |
-
'type'
|
86 |
-
'
|
87 |
-
'show_number'
|
88 |
-
'show_location'
|
89 |
-
'show_evenodd'
|
90 |
);
|
91 |
|
92 |
add_option( 'WCSSC_options', $options );
|
@@ -101,7 +101,21 @@ class WCSSC_Lib {
|
|
101 |
$general_options['show_evenodd'] = 1;
|
102 |
update_option( 'WCSSC_options', $general_options );
|
103 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
}
|
105 |
}
|
106 |
|
107 |
-
}
|
5 |
* Method library
|
6 |
* @author C.M. Kendrick <cindy@cleverness.org>
|
7 |
* @package widget-css-classes
|
8 |
+
* @version 1.3.0
|
9 |
*/
|
10 |
|
11 |
/**
|
42 |
*/
|
43 |
public static function admin_footer() {
|
44 |
$plugin_data = get_plugin_data( WCSSC_FILE );
|
45 |
+
echo $plugin_data['Title'].' | '.esc_attr__( 'Version', 'widget-css-classes' ).' '.esc_html( $plugin_data['Version'] ).' | '.$plugin_data['Author'].
|
46 |
+
' | <a href="http://codebrainmedia.com">CodeBrain Media</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=cindy@cleverness.org">'.esc_attr__( 'Donate', 'widget-css-classes' ).'</a>
|
47 |
<br />';
|
48 |
}
|
49 |
|
81 |
if ( $version == 0 ) {
|
82 |
// add default options
|
83 |
$options = array(
|
84 |
+
'show_id' => 0,
|
85 |
+
'type' => 1,
|
86 |
+
'defined_classes' => '',
|
87 |
+
'show_number' => 1,
|
88 |
+
'show_location' => 1,
|
89 |
+
'show_evenodd' => 1,
|
90 |
);
|
91 |
|
92 |
add_option( 'WCSSC_options', $options );
|
101 |
$general_options['show_evenodd'] = 1;
|
102 |
update_option( 'WCSSC_options', $general_options );
|
103 |
}
|
104 |
+
if ( $version < 1.3 ) {
|
105 |
+
$general_options = get_option( 'WCSSC_options' );
|
106 |
+
// Hide option is now 0 instead of 3
|
107 |
+
if ( isset( $general_options['type'] ) && $general_options['type'] == 3 ) {
|
108 |
+
$general_options['type'] = 0;
|
109 |
+
}
|
110 |
+
// dropdown settings are renamed to defined_classes
|
111 |
+
if ( ! isset( $general_options['dropdown'] ) ) {
|
112 |
+
$general_options['dropdown'] = '';
|
113 |
+
}
|
114 |
+
$general_options['defined_classes'] = $general_options['dropdown'];
|
115 |
+
unset( $general_options['dropdown'] );
|
116 |
+
update_option( 'WCSSC_options', $general_options );
|
117 |
+
}
|
118 |
}
|
119 |
}
|
120 |
|
121 |
+
}
|
includes/widget-css-classes-loader.class.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Loader
|
6 |
* @author C.M. Kendrick <cindy@cleverness.org>
|
7 |
* @package widget-css-classes
|
8 |
-
* @version 1.0
|
9 |
*/
|
10 |
|
11 |
/**
|
@@ -62,7 +62,7 @@ class WCSSC_Loader {
|
|
62 |
* @since 1.0
|
63 |
*/
|
64 |
private static function call_wp_hooks() {
|
65 |
-
add_action( '
|
66 |
add_action( 'in_widget_form', array( 'WCSSC', 'extend_widget_form' ), 10, 3 );
|
67 |
add_filter( 'widget_update_callback', array( 'WCSSC', 'update_widget' ), 10, 2 );
|
68 |
add_filter( 'plugin_action_links', array( 'WCSSC_Lib', 'add_settings_link' ), 10, 2 );
|
5 |
* Loader
|
6 |
* @author C.M. Kendrick <cindy@cleverness.org>
|
7 |
* @package widget-css-classes
|
8 |
+
* @version 1.3.0
|
9 |
*/
|
10 |
|
11 |
/**
|
62 |
* @since 1.0
|
63 |
*/
|
64 |
private static function call_wp_hooks() {
|
65 |
+
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_scripts_styles' ) );
|
66 |
add_action( 'in_widget_form', array( 'WCSSC', 'extend_widget_form' ), 10, 3 );
|
67 |
add_filter( 'widget_update_callback', array( 'WCSSC', 'update_widget' ), 10, 2 );
|
68 |
add_filter( 'plugin_action_links', array( 'WCSSC_Lib', 'add_settings_link' ), 10, 2 );
|
includes/widget-css-classes-settings.class.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Settings
|
6 |
* @author C.M. Kendrick <cindy@cleverness.org>
|
7 |
* @package widget-css-classes
|
8 |
-
* @version 1.
|
9 |
*/
|
10 |
|
11 |
/**
|
@@ -45,68 +45,69 @@ class WCSSC_Settings {
|
|
45 |
add_settings_field( 'show_evenodd', esc_attr__( 'Add Even/Odd Classes', 'widget-css-classes' ), array( $this, 'show_evenodd_option' ), $this->general_key, 'section_general' );
|
46 |
add_settings_field( 'show_id', esc_attr__( 'Show Additional Field for ID', 'widget-css-classes' ), array( $this, 'show_id_option' ), $this->general_key, 'section_general' );
|
47 |
add_settings_field( 'type', esc_attr__( 'Class Field Type', 'widget-css-classes' ), array( $this, 'type_option' ), $this->general_key, 'section_general' );
|
48 |
-
add_settings_field( '
|
49 |
do_action( 'widget_css_classes_settings' );
|
50 |
}
|
51 |
|
52 |
function show_number_option() { ?>
|
53 |
-
<input type="radio" name="<?php echo $this->general_key.'[show_number]'; ?>" value="1" <?php checked( $this->general_settings['show_number'], 1 ); ?> /> <?php esc_attr_e( 'Yes', 'widget-css-classes' ); ?>
|
54 |
-
<input type="radio" name="<?php echo $this->general_key.'[show_number]'; ?>" value="0" <?php checked( $this->general_settings['show_number'], 0 ); ?> /> <?php esc_attr_e( 'No', 'widget-css-classes' ); ?>
|
55 |
<?php
|
56 |
}
|
57 |
|
58 |
function show_location_option() {
|
59 |
?>
|
60 |
-
<input type="radio" name="<?php echo $this->general_key.'[show_location]'; ?>" value="1" <?php checked( $this->general_settings['show_location'], 1 ); ?> /> <?php esc_attr_e( 'Yes', 'widget-css-classes' ); ?>
|
61 |
-
<input type="radio" name="<?php echo $this->general_key.'[show_location]'; ?>" value="0" <?php checked( $this->general_settings['show_location'], 0 ); ?> /> <?php esc_attr_e( 'No', 'widget-css-classes' ); ?>
|
62 |
<?php
|
63 |
}
|
64 |
|
65 |
function show_evenodd_option() {
|
66 |
?>
|
67 |
-
<input type="radio" name="<?php echo $this->general_key.'[show_evenodd]'; ?>" value="1" <?php checked( $this->general_settings['show_evenodd'], 1 ); ?> /> <?php esc_attr_e( 'Yes', 'widget-css-classes' ); ?>
|
68 |
-
<input type="radio" name="<?php echo $this->general_key.'[show_evenodd]'; ?>" value="0" <?php checked( $this->general_settings['show_evenodd'], 0 ); ?> /> <?php esc_attr_e( 'No', 'widget-css-classes' ); ?>
|
69 |
<?php
|
70 |
}
|
71 |
|
72 |
function show_id_option() {
|
73 |
?>
|
74 |
-
<input type="radio" name="<?php echo $this->general_key.'[show_id]'; ?>" value="1" <?php checked( $this->general_settings['show_id'], 1 ); ?> /> <?php esc_attr_e( 'Yes', 'widget-css-classes' ); ?>
|
75 |
-
<input type="radio" name="<?php echo $this->general_key.'[show_id]'; ?>" value="0" <?php checked( $this->general_settings['show_id'], 0 ); ?> /> <?php esc_attr_e( 'No', 'widget-css-classes' ); ?>
|
76 |
<?php
|
77 |
}
|
78 |
|
79 |
function type_option() {
|
80 |
?>
|
81 |
-
<input type="radio" name="<?php echo $this->general_key.'[type]'; ?>" value="1" <?php checked( $this->general_settings['type'], 1 ); ?> /> <?php esc_attr_e( 'Text', 'widget-css-classes' ); ?>
|
82 |
-
<input type="radio" name="<?php echo $this->general_key.'[type]'; ?>" value="2" <?php checked( $this->general_settings['type'], 2 ); ?> /> <?php esc_attr_e( '
|
83 |
-
|
|
|
84 |
<?php
|
85 |
}
|
86 |
|
87 |
-
function
|
88 |
-
$presets = explode( ';', $this->general_settings['
|
89 |
if ( count( $presets ) > 1 ) {
|
90 |
foreach ( $presets as $key => $preset ) {
|
91 |
if ( $preset != '' ) {
|
92 |
?>
|
93 |
-
<p><input type="text" name="<?php echo $this->general_key.'[
|
94 |
-
|
95 |
<?php
|
96 |
}
|
97 |
}
|
98 |
?>
|
99 |
-
<p class="
|
100 |
-
<input type="text" name="<?php echo $this->general_key.'[
|
101 |
-
<a href="#" class="wcssc_copy" rel=".
|
102 |
-
<a class="wcssc_remove" href="#"><
|
103 |
</p>
|
104 |
<?php
|
105 |
} else {
|
106 |
?>
|
107 |
-
<p class="
|
108 |
-
<a href="#" class="wcssc_copy" rel=".
|
109 |
-
<a class="wcssc_remove" href="#"><
|
110 |
<?php
|
111 |
}
|
112 |
}
|
@@ -132,7 +133,7 @@ class WCSSC_Settings {
|
|
132 |
}
|
133 |
|
134 |
if ( isset( $wcssc_message ) && $wcssc_message != '' ) {
|
135 |
-
echo '<div class="updated"><p>'
|
136 |
}
|
137 |
|
138 |
// export settings
|
@@ -157,6 +158,10 @@ class WCSSC_Settings {
|
|
157 |
foreach ( $import as $import_option ) {
|
158 |
list( $key, $value ) = explode( "\t", $import_option );
|
159 |
$options[$key] = json_decode( sanitize_text_field( $value ) );
|
|
|
|
|
|
|
|
|
160 |
}
|
161 |
update_option( 'WCSSC_options', $options );
|
162 |
$wcssc_message = 1;
|
@@ -167,7 +172,7 @@ class WCSSC_Settings {
|
|
167 |
$wcssc_message = 3;
|
168 |
}
|
169 |
|
170 |
-
wp_redirect( admin_url( '/options-general.php?page=widget-css-classes-settings&tab=importexport&wcssc_message='
|
171 |
exit;
|
172 |
}
|
173 |
}
|
@@ -178,7 +183,7 @@ class WCSSC_Settings {
|
|
178 |
foreach ( $input as $key => $value ) {
|
179 |
|
180 |
if ( isset( $input[$key] ) ) {
|
181 |
-
if ( $key == '
|
182 |
if ( is_array( $value ) ) {
|
183 |
$output[$key] = implode( ';', $input[$key] );
|
184 |
} else {
|
@@ -229,13 +234,12 @@ class WCSSC_Settings {
|
|
229 |
function plugin_options_tabs() {
|
230 |
$current_tab = isset( $_GET['tab'] ) ? $_GET['tab'] : $this->general_key;
|
231 |
|
232 |
-
|
233 |
-
echo '<h2 class="nav-tab-wrapper">';
|
234 |
foreach ( $this->plugin_tabs as $tab_key => $tab_caption ) {
|
235 |
$active = $current_tab == $tab_key ? 'nav-tab-active' : '';
|
236 |
-
echo '<a class="nav-tab '
|
237 |
}
|
238 |
-
echo '</
|
239 |
}
|
240 |
|
241 |
function importexport_fields() {
|
@@ -252,4 +256,4 @@ class WCSSC_Settings {
|
|
252 |
|
253 |
<?php
|
254 |
}
|
255 |
-
}
|
5 |
* Settings
|
6 |
* @author C.M. Kendrick <cindy@cleverness.org>
|
7 |
* @package widget-css-classes
|
8 |
+
* @version 1.3.0
|
9 |
*/
|
10 |
|
11 |
/**
|
45 |
add_settings_field( 'show_evenodd', esc_attr__( 'Add Even/Odd Classes', 'widget-css-classes' ), array( $this, 'show_evenodd_option' ), $this->general_key, 'section_general' );
|
46 |
add_settings_field( 'show_id', esc_attr__( 'Show Additional Field for ID', 'widget-css-classes' ), array( $this, 'show_id_option' ), $this->general_key, 'section_general' );
|
47 |
add_settings_field( 'type', esc_attr__( 'Class Field Type', 'widget-css-classes' ), array( $this, 'type_option' ), $this->general_key, 'section_general' );
|
48 |
+
add_settings_field( 'defined_classes', esc_attr__( 'Predefined Classes', 'widget-css-classes' ), array( $this, 'defined_classes_option' ), $this->general_key, 'section_general' );
|
49 |
do_action( 'widget_css_classes_settings' );
|
50 |
}
|
51 |
|
52 |
function show_number_option() { ?>
|
53 |
+
<input type="radio" name="<?php echo esc_attr( $this->general_key ).'[show_number]'; ?>" value="1" <?php checked( $this->general_settings['show_number'], 1 ); ?> /> <?php esc_attr_e( 'Yes', 'widget-css-classes' ); ?>
|
54 |
+
<input type="radio" name="<?php echo esc_attr( $this->general_key ).'[show_number]'; ?>" value="0" <?php checked( $this->general_settings['show_number'], 0 ); ?> /> <?php esc_attr_e( 'No', 'widget-css-classes' ); ?>
|
55 |
<?php
|
56 |
}
|
57 |
|
58 |
function show_location_option() {
|
59 |
?>
|
60 |
+
<input type="radio" name="<?php echo esc_attr( $this->general_key ).'[show_location]'; ?>" value="1" <?php checked( $this->general_settings['show_location'], 1 ); ?> /> <?php esc_attr_e( 'Yes', 'widget-css-classes' ); ?>
|
61 |
+
<input type="radio" name="<?php echo esc_attr( $this->general_key ).'[show_location]'; ?>" value="0" <?php checked( $this->general_settings['show_location'], 0 ); ?> /> <?php esc_attr_e( 'No', 'widget-css-classes' ); ?>
|
62 |
<?php
|
63 |
}
|
64 |
|
65 |
function show_evenodd_option() {
|
66 |
?>
|
67 |
+
<input type="radio" name="<?php echo esc_attr( $this->general_key ).'[show_evenodd]'; ?>" value="1" <?php checked( $this->general_settings['show_evenodd'], 1 ); ?> /> <?php esc_attr_e( 'Yes', 'widget-css-classes' ); ?>
|
68 |
+
<input type="radio" name="<?php echo esc_attr( $this->general_key ).'[show_evenodd]'; ?>" value="0" <?php checked( $this->general_settings['show_evenodd'], 0 ); ?> /> <?php esc_attr_e( 'No', 'widget-css-classes' ); ?>
|
69 |
<?php
|
70 |
}
|
71 |
|
72 |
function show_id_option() {
|
73 |
?>
|
74 |
+
<input type="radio" name="<?php echo esc_attr( $this->general_key ).'[show_id]'; ?>" value="1" <?php checked( $this->general_settings['show_id'], 1 ); ?> /> <?php esc_attr_e( 'Yes', 'widget-css-classes' ); ?>
|
75 |
+
<input type="radio" name="<?php echo esc_attr( $this->general_key ).'[show_id]'; ?>" value="0" <?php checked( $this->general_settings['show_id'], 0 ); ?> /> <?php esc_attr_e( 'No', 'widget-css-classes' ); ?>
|
76 |
<?php
|
77 |
}
|
78 |
|
79 |
function type_option() {
|
80 |
?>
|
81 |
+
<input type="radio" name="<?php echo esc_attr( $this->general_key ).'[type]'; ?>" value="1" <?php checked( $this->general_settings['type'], 1 ); ?> /> <?php esc_attr_e( 'Text', 'widget-css-classes' ); ?>
|
82 |
+
<input type="radio" name="<?php echo esc_attr( $this->general_key ).'[type]'; ?>" value="2" <?php checked( $this->general_settings['type'], 2 ); ?> /> <?php esc_attr_e( 'Predefined', 'widget-css-classes' ); ?>
|
83 |
+
<input type="radio" name="<?php echo esc_attr( $this->general_key ).'[type]'; ?>" value="3" <?php checked( $this->general_settings['type'], 3 ); ?> /> <?php esc_attr_e( 'Both', 'widget-css-classes' ); ?>
|
84 |
+
<input type="radio" name="<?php echo esc_attr( $this->general_key ).'[type]'; ?>" value="0" <?php checked( $this->general_settings['type'], 0 ); ?> /> <?php esc_attr_e( 'Hide', 'widget-css-classes' ); ?>
|
85 |
<?php
|
86 |
}
|
87 |
|
88 |
+
function defined_classes_option() {
|
89 |
+
$presets = explode( ';', $this->general_settings['defined_classes'] );
|
90 |
if ( count( $presets ) > 1 ) {
|
91 |
foreach ( $presets as $key => $preset ) {
|
92 |
if ( $preset != '' ) {
|
93 |
?>
|
94 |
+
<p><input type="text" name="<?php echo esc_attr( $this->general_key ).'[defined_classes]['.esc_attr( $key ).']'; ?>" value="<?php echo esc_attr( $preset ); ?>" />
|
95 |
+
<a class="wcssc_remove" href="#"><span class="dashicons dashicons-dismiss"></span></a></p>
|
96 |
<?php
|
97 |
}
|
98 |
}
|
99 |
?>
|
100 |
+
<p class="wcssc_defined_classes">
|
101 |
+
<input type="text" name="<?php echo esc_attr( $this->general_key ).'[defined_classes][]'; ?>" value="" />
|
102 |
+
<a href="#" class="wcssc_copy" rel=".wcssc_defined_classes"><span class="dashicons dashicons-plus-alt"></span></a>
|
103 |
+
<a class="wcssc_remove" href="#"><span class="dashicons dashicons-dismiss"></span></a>
|
104 |
</p>
|
105 |
<?php
|
106 |
} else {
|
107 |
?>
|
108 |
+
<p class="wcssc_defined_classes"><input type="text" name="<?php echo esc_attr( $this->general_key ).'[defined_classes][]'; ?>" value="<?php echo esc_attr( $this->general_settings['defined_classes'] ); ?>" />
|
109 |
+
<a href="#" class="wcssc_copy" rel=".wcssc_defined_classes"><span class="dashicons dashicons-plus-alt"></span></a>
|
110 |
+
<a class="wcssc_remove" href="#"><span class="dashicons dashicons-dismiss"></span></a></p>
|
111 |
<?php
|
112 |
}
|
113 |
}
|
133 |
}
|
134 |
|
135 |
if ( isset( $wcssc_message ) && $wcssc_message != '' ) {
|
136 |
+
echo '<div class="updated"><p>'.esc_html( $wcssc_message ).'</p></div>';
|
137 |
}
|
138 |
|
139 |
// export settings
|
158 |
foreach ( $import as $import_option ) {
|
159 |
list( $key, $value ) = explode( "\t", $import_option );
|
160 |
$options[$key] = json_decode( sanitize_text_field( $value ) );
|
161 |
+
if ( $options['dropdown'] ) { // Update for 1.3.0
|
162 |
+
$options['defined_classes'] = $options['dropdown'];
|
163 |
+
unset( $options['dropdown'] );
|
164 |
+
}
|
165 |
}
|
166 |
update_option( 'WCSSC_options', $options );
|
167 |
$wcssc_message = 1;
|
172 |
$wcssc_message = 3;
|
173 |
}
|
174 |
|
175 |
+
wp_redirect( admin_url( '/options-general.php?page=widget-css-classes-settings&tab=importexport&wcssc_message='.esc_attr( $wcssc_message ) ) );
|
176 |
exit;
|
177 |
}
|
178 |
}
|
183 |
foreach ( $input as $key => $value ) {
|
184 |
|
185 |
if ( isset( $input[$key] ) ) {
|
186 |
+
if ( $key == 'defined_classes' ) {
|
187 |
if ( is_array( $value ) ) {
|
188 |
$output[$key] = implode( ';', $input[$key] );
|
189 |
} else {
|
234 |
function plugin_options_tabs() {
|
235 |
$current_tab = isset( $_GET['tab'] ) ? $_GET['tab'] : $this->general_key;
|
236 |
|
237 |
+
echo '<h1 class="nav-tab-wrapper">';
|
|
|
238 |
foreach ( $this->plugin_tabs as $tab_key => $tab_caption ) {
|
239 |
$active = $current_tab == $tab_key ? 'nav-tab-active' : '';
|
240 |
+
echo '<a class="nav-tab '.esc_attr( $active ).'" href="?page='.esc_attr( $this->plugin_key ).'&tab='.esc_attr( $tab_key ).'">'.esc_html( $tab_caption ).'</a>';
|
241 |
}
|
242 |
+
echo '</h1>';
|
243 |
}
|
244 |
|
245 |
function importexport_fields() {
|
256 |
|
257 |
<?php
|
258 |
}
|
259 |
+
}
|
includes/widget-css-classes.class.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Loader
|
6 |
* @author C.M. Kendrick <cindy@cleverness.org>
|
7 |
* @package widget-css-classes
|
8 |
-
* @version 1.
|
9 |
*/
|
10 |
|
11 |
/**
|
@@ -25,37 +25,66 @@ class WCSSC {
|
|
25 |
*/
|
26 |
public static function extend_widget_form( $widget, $return, $instance ) {
|
27 |
if ( !isset( $instance['classes'] ) ) $instance['classes'] = null;
|
|
|
28 |
|
29 |
-
$fields =
|
30 |
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
$fields .= "\t<label for='widget-{$widget->id_base}-{$widget->number}-ids'>".apply_filters( 'widget_css_classes_id', esc_html__( 'CSS ID', 'widget-css-classes' ) ).":</label>
|
35 |
-
<input type='text' name='widget-{$widget->id_base}[{$widget->number}][ids]' id='widget-{$widget->id_base}-{$widget->number}-ids' value='{$instance['ids']}'/><br />\n";
|
36 |
-
}
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
}
|
55 |
-
$fields .= "</select>\n";
|
56 |
-
}
|
57 |
|
58 |
-
|
|
|
59 |
|
60 |
do_action( 'widget_css_classes_form', $fields, $instance );
|
61 |
|
@@ -73,7 +102,23 @@ class WCSSC {
|
|
73 |
*/
|
74 |
public static function update_widget( $instance, $new_instance ) {
|
75 |
$instance['classes'] = $new_instance['classes'];
|
76 |
-
$instance['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
do_action( 'widget_css_classes_update', $instance, $new_instance );
|
78 |
return $instance;
|
79 |
}
|
@@ -97,7 +142,7 @@ class WCSSC {
|
|
97 |
$widget_css_classes = ( get_option( 'WCSSC_options' ) ? get_option( 'WCSSC_options' ) : array() );
|
98 |
$widget_opt = null;
|
99 |
|
100 |
-
//
|
101 |
if ( in_array( 'widget-logic/widget_logic.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
|
102 |
$widget_logic_options = get_option( 'widget_logic' );
|
103 |
if ( isset( $widget_logic_options['widget_logic-options-filter'] ) && 'checked' == $widget_logic_options['widget_logic-options-filter'] ) {
|
@@ -106,7 +151,7 @@ class WCSSC {
|
|
106 |
$widget_opt = get_option( $widget_obj['callback'][0]->option_name );
|
107 |
}
|
108 |
|
109 |
-
//
|
110 |
} elseif ( in_array( 'widget-context/widget-context.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
|
111 |
$callback = isset($widget_obj['callback_original_wc']) ? $widget_obj['callback_original_wc'] : null;
|
112 |
$callback = !$callback && isset($widget_obj['callback']) ? $widget_obj['callback'] : null;
|
@@ -115,32 +160,49 @@ class WCSSC {
|
|
115 |
$widget_opt = get_option( $callback[0]->option_name );
|
116 |
}
|
117 |
}
|
118 |
-
|
119 |
// Default callback
|
120 |
else {
|
121 |
// Check if WP Page Widget is in use
|
122 |
-
$
|
123 |
-
|
124 |
-
|
|
|
125 |
}
|
126 |
-
|
|
|
|
|
127 |
$widget_opt = get_option( $widget_obj['callback'][0]->option_name );
|
128 |
}
|
129 |
}
|
130 |
|
131 |
-
|
132 |
-
|
133 |
-
|
|
|
|
|
|
|
134 |
$params[0]['before_widget'] = preg_replace( '/class="/', "class=\"{$widget_opt[$widget_num]['classes']} ", $params[0]['before_widget'], 1 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
}
|
136 |
|
137 |
-
//
|
138 |
if ( $widget_css_classes['show_id'] == 1 ) {
|
139 |
if ( isset( $widget_opt[$widget_num]['ids'] ) && !empty( $widget_opt[$widget_num]['ids'] ) )
|
140 |
$params[0]['before_widget'] = preg_replace( '/id="[^"]*/', "id=\"{$widget_opt[$widget_num]['ids']}", $params[0]['before_widget'], 1 );
|
141 |
}
|
142 |
|
143 |
-
//
|
144 |
if ( $widget_css_classes['show_number'] == 1 || $widget_css_classes['show_location'] == 1 || $widget_css_classes['show_evenodd'] == 1 ) {
|
145 |
if ( !$widget_number ) {
|
146 |
$widget_number = array();
|
5 |
* Loader
|
6 |
* @author C.M. Kendrick <cindy@cleverness.org>
|
7 |
* @package widget-css-classes
|
8 |
+
* @version 1.3.0
|
9 |
*/
|
10 |
|
11 |
/**
|
25 |
*/
|
26 |
public static function extend_widget_form( $widget, $return, $instance ) {
|
27 |
if ( !isset( $instance['classes'] ) ) $instance['classes'] = null;
|
28 |
+
if ( !isset( $instance['classes-defined'] ) ) $instance['classes-defined'] = array();
|
29 |
|
30 |
+
$fields = '';
|
31 |
|
32 |
+
if ( WCSSC_Loader::$settings['show_id'] == 1 || WCSSC_Loader::$settings['type'] > 0 ) {
|
33 |
+
//$fields .= "<div class='wcssc' style='border: 1px solid #ddd; padding: 5px; background: #fafafa; margin: 1em 0; line-height: 1.5;'>\n";
|
34 |
+
//$fields .= "<div class='wcssc'>\n";
|
|
|
|
|
|
|
35 |
|
36 |
+
// show id field
|
37 |
+
if ( WCSSC_Loader::$settings['show_id'] == 1 ) {
|
38 |
+
if ( !isset( $instance['ids'] ) ) $instance['ids'] = null;
|
39 |
+
$fields .= "\t<p><label for='widget-{$widget->id_base}-{$widget->number}-ids'>".apply_filters( 'widget_css_classes_id', esc_html__( 'CSS ID', 'widget-css-classes' ) ).":</label>
|
40 |
+
<input type='text' name='widget-{$widget->id_base}[{$widget->number}][ids]' id='widget-{$widget->id_base}-{$widget->number}-ids' value='{$instance['ids']}' class='widefat' /></p>\n";
|
41 |
+
}
|
42 |
|
43 |
+
// show text field only
|
44 |
+
if ( WCSSC_Loader::$settings['type'] == 1 ) {
|
45 |
+
$fields .= "\t<p><label for='widget-{$widget->id_base}-{$widget->number}-classes'>".apply_filters( 'widget_css_classes_class', esc_html__( 'CSS Classes', 'widget-css-classes' ) ).":</label>
|
46 |
+
<input type='text' name='widget-{$widget->id_base}[{$widget->number}][classes]' id='widget-{$widget->id_base}-{$widget->number}-classes' value='{$instance['classes']}' class='widefat' /></p>\n";
|
47 |
+
}
|
48 |
+
|
49 |
+
// show predefined
|
50 |
+
if ( WCSSC_Loader::$settings['type'] == 2 || WCSSC_Loader::$settings['type'] == 3 ) {
|
51 |
+
|
52 |
+
// Merge input classes with predefined classes
|
53 |
+
$predefined_classes = explode( ';', WCSSC_Loader::$settings['defined_classes'] );
|
54 |
+
if ( isset( $instance['classes'] ) ) {
|
55 |
+
$text_classes = explode( ' ', $instance['classes'] );
|
56 |
+
foreach ( $text_classes as $key => $value ) {
|
57 |
+
if ( in_array( $value, $predefined_classes ) ) {
|
58 |
+
if ( ! in_array( $value, $instance['classes-defined'] ) ) {
|
59 |
+
$instance['classes-defined'][] = $value;
|
60 |
+
}
|
61 |
+
unset( $text_classes[ $key ] );
|
62 |
+
}
|
63 |
+
}
|
64 |
+
$instance['classes'] = implode( ' ', $text_classes );
|
65 |
}
|
66 |
+
|
67 |
+
$fields .= "\t<p><label for='widget-{$widget->id_base}-{$widget->number}-classes'>".apply_filters( 'widget_css_classes_class', esc_html__( 'CSS Classes', 'widget-css-classes' ) ).":</label>\n";
|
68 |
+
if ( WCSSC_Loader::$settings['type'] == 3 ) {
|
69 |
+
// show text field
|
70 |
+
$fields .= "\t<input type='text' name='widget-{$widget->id_base}[{$widget->number}][classes]' id='widget-{$widget->id_base}-{$widget->number}-classes' value='{$instance['classes']}' class='widefat' style='margin-bottom: .5em;' />\n";
|
71 |
+
}
|
72 |
+
$fields .= "\t<ul id='widget-{$widget->id_base}-{$widget->number}-classes-defined' style='padding: 5px; max-height: 70px; overflow: hidden; overflow-y: auto; margin: -10px 0 0 0; border: 1px solid #ddd; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset; color: #32373c;'>\n";
|
73 |
+
foreach ( $predefined_classes as $preset ) {
|
74 |
+
if ( $preset != '' ) {
|
75 |
+
$preset_checked = '';
|
76 |
+
if ( in_array( $preset, $instance['classes-defined'] ) ) {
|
77 |
+
$preset_checked = 'checked="checked"';
|
78 |
+
}
|
79 |
+
$id = 'widget-'.$widget->id_base.'-'.$widget->number.'-classes-defined-'.$preset;
|
80 |
+
$fields .= "\t<li><input id='{$id}' name='widget-{$widget->id_base}[{$widget->number}][classes-defined][]' type='checkbox' value='".$preset."' ".$preset_checked."> <label for='{$id}'>".$preset."</label></li>\n";
|
81 |
+
}
|
82 |
+
}
|
83 |
+
$fields .= "\t</ul></p>\n";
|
84 |
}
|
|
|
|
|
85 |
|
86 |
+
//$fields .= "</div>\n";
|
87 |
+
}
|
88 |
|
89 |
do_action( 'widget_css_classes_form', $fields, $instance );
|
90 |
|
102 |
*/
|
103 |
public static function update_widget( $instance, $new_instance ) {
|
104 |
$instance['classes'] = $new_instance['classes'];
|
105 |
+
$instance['classes-defined'] = $new_instance['classes-defined'];
|
106 |
+
if (WCSSC_Loader::$settings['show_id'] == 1) {
|
107 |
+
$instance['ids'] = $new_instance['ids'];
|
108 |
+
}
|
109 |
+
if ( is_array( $instance['classes-defined'] ) ) {
|
110 |
+
// Merge predefined classes with input classes
|
111 |
+
$text_classes = explode( ' ', $instance['classes'] );
|
112 |
+
foreach ( $instance['classes-defined'] as $key => $value ) {
|
113 |
+
if ( ! in_array( $value, $text_classes ) ) {
|
114 |
+
$text_classes[] = $value;
|
115 |
+
}
|
116 |
+
}
|
117 |
+
$instance['classes'] = implode( ' ', $text_classes );
|
118 |
+
}
|
119 |
+
// Do not store predefined array in widget, no need
|
120 |
+
unset( $instance['classes-defined'] );
|
121 |
+
|
122 |
do_action( 'widget_css_classes_update', $instance, $new_instance );
|
123 |
return $instance;
|
124 |
}
|
142 |
$widget_css_classes = ( get_option( 'WCSSC_options' ) ? get_option( 'WCSSC_options' ) : array() );
|
143 |
$widget_opt = null;
|
144 |
|
145 |
+
// If Widget Logic plugin is enabled, use it's callback
|
146 |
if ( in_array( 'widget-logic/widget_logic.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
|
147 |
$widget_logic_options = get_option( 'widget_logic' );
|
148 |
if ( isset( $widget_logic_options['widget_logic-options-filter'] ) && 'checked' == $widget_logic_options['widget_logic-options-filter'] ) {
|
151 |
$widget_opt = get_option( $widget_obj['callback'][0]->option_name );
|
152 |
}
|
153 |
|
154 |
+
// If Widget Context plugin is enabled, use it's callback
|
155 |
} elseif ( in_array( 'widget-context/widget-context.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
|
156 |
$callback = isset($widget_obj['callback_original_wc']) ? $widget_obj['callback_original_wc'] : null;
|
157 |
$callback = !$callback && isset($widget_obj['callback']) ? $widget_obj['callback'] : null;
|
160 |
$widget_opt = get_option( $callback[0]->option_name );
|
161 |
}
|
162 |
}
|
163 |
+
|
164 |
// Default callback
|
165 |
else {
|
166 |
// Check if WP Page Widget is in use
|
167 |
+
global $post;
|
168 |
+
$id = ( isset( $post->ID ) ? get_the_ID() : NULL );
|
169 |
+
if ( isset( $id ) && get_post_meta( $id, '_customize_sidebars' ) ) {
|
170 |
+
$custom_sidebarcheck = get_post_meta( $id, '_customize_sidebars' );
|
171 |
}
|
172 |
+
if ( isset( $custom_sidebarcheck[0] ) && ( $custom_sidebarcheck[0] == 'yes' ) ) {
|
173 |
+
$widget_opt = get_option( 'widget_'.$id.'_'.substr($widget_obj['callback'][0]->option_name, 7) );
|
174 |
+
} elseif ( isset( $widget_obj['callback'][0]->option_name ) ) {
|
175 |
$widget_opt = get_option( $widget_obj['callback'][0]->option_name );
|
176 |
}
|
177 |
}
|
178 |
|
179 |
+
|
180 |
+
// Add classes
|
181 |
+
if ( isset( $widget_opt[$widget_num]['classes'] ) && !empty( $widget_opt[$widget_num]['classes'] ) ) {
|
182 |
+
|
183 |
+
if ( $widget_css_classes['type'] == 1 || $widget_css_classes['type'] == 3 ) {
|
184 |
+
// Add all classes
|
185 |
$params[0]['before_widget'] = preg_replace( '/class="/', "class=\"{$widget_opt[$widget_num]['classes']} ", $params[0]['before_widget'], 1 );
|
186 |
+
} else if ( $widget_css_classes['type'] == 2 ) {
|
187 |
+
// Only add predefined classes
|
188 |
+
$predefined_classes = explode( ';', $widget_css_classes['defined_classes'] );
|
189 |
+
$classes = explode( ' ', $widget_opt[$widget_num]['classes'] );
|
190 |
+
foreach ( $classes as $key => $value ) {
|
191 |
+
if ( in_array( $value, $predefined_classes ) ) {
|
192 |
+
$value = esc_attr( $value );
|
193 |
+
$params[0]['before_widget'] = preg_replace( '/class="/', "class=\"{$value} ", $params[0]['before_widget'], 1 );
|
194 |
+
}
|
195 |
+
}
|
196 |
+
}
|
197 |
}
|
198 |
|
199 |
+
// Add id
|
200 |
if ( $widget_css_classes['show_id'] == 1 ) {
|
201 |
if ( isset( $widget_opt[$widget_num]['ids'] ) && !empty( $widget_opt[$widget_num]['ids'] ) )
|
202 |
$params[0]['before_widget'] = preg_replace( '/id="[^"]*/', "id=\"{$widget_opt[$widget_num]['ids']}", $params[0]['before_widget'], 1 );
|
203 |
}
|
204 |
|
205 |
+
// Add first, last, even, and odd classes
|
206 |
if ( $widget_css_classes['show_number'] == 1 || $widget_css_classes['show_location'] == 1 || $widget_css_classes['show_evenodd'] == 1 ) {
|
207 |
if ( !$widget_number ) {
|
208 |
$widget_number = array();
|
languages/widget-css-classes-es_ES.mo
CHANGED
Binary file
|
languages/widget-css-classes-es_ES.po
CHANGED
@@ -2,27 +2,19 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: jelena kovacevic <jecajeca260@gmail.com>\n"
|
8 |
"Language-Team: <cindy@cleverness.org>\n"
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
|
13 |
"X-Poedit-Basepath: ./\n"
|
14 |
-
"X-Generator: Poedit 1.
|
15 |
"X-Poedit-SearchPath-0: ..\n"
|
16 |
|
17 |
-
#: ../widget-css-classes.php:54
|
18 |
-
#: ../includes/widget-css-classes-loader.class.php:40
|
19 |
-
msgid ""
|
20 |
-
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
21 |
-
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
22 |
-
msgstr ""
|
23 |
-
"Widget CSS Classes requiere WordPress 3.3 o posterior. <a href=\"http://"
|
24 |
-
"codex.wordpress.org/Upgrading_WordPress\">Por favor actualice.</a>"
|
25 |
-
|
26 |
#: ../includes/widget-css-classes-library.class.php:31
|
27 |
msgid "Settings"
|
28 |
msgstr "Configuración"
|
@@ -35,6 +27,15 @@ msgstr "Versión"
|
|
35 |
msgid "Donate"
|
36 |
msgstr "Donar"
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
#: ../includes/widget-css-classes-settings.class.php:39
|
39 |
#: ../includes/widget-css-classes-settings.class.php:42
|
40 |
msgid "Widget CSS Classes Settings"
|
@@ -61,8 +62,8 @@ msgid "Class Field Type"
|
|
61 |
msgstr "Tipo de Campo de la Clase"
|
62 |
|
63 |
#: ../includes/widget-css-classes-settings.class.php:48
|
64 |
-
msgid "
|
65 |
-
msgstr "
|
66 |
|
67 |
#: ../includes/widget-css-classes-settings.class.php:53
|
68 |
#: ../includes/widget-css-classes-settings.class.php:60
|
@@ -83,74 +84,83 @@ msgid "Text"
|
|
83 |
msgstr "Texto"
|
84 |
|
85 |
#: ../includes/widget-css-classes-settings.class.php:82
|
86 |
-
msgid "
|
87 |
-
msgstr "
|
88 |
|
89 |
#: ../includes/widget-css-classes-settings.class.php:83
|
|
|
|
|
|
|
|
|
90 |
msgid "Hide"
|
91 |
msgstr "Ocultar"
|
92 |
|
93 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
94 |
msgid "Import/Export"
|
95 |
msgstr "Importar/Exportar"
|
96 |
|
97 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
98 |
msgid "Settings Imported"
|
99 |
msgstr "Configuración Importada"
|
100 |
|
101 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
102 |
msgid "Invalid Settings File"
|
103 |
msgstr "Archivo de Configuración Inválido"
|
104 |
|
105 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
106 |
msgid "No Settings File Selected"
|
107 |
msgstr "No se seleccionó ningún Archivo de Configuración"
|
108 |
|
109 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
110 |
msgid "Widget CSS Classes"
|
111 |
msgstr "Clases CSS de Widget"
|
112 |
|
113 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
114 |
msgid "Import/Export Settings"
|
115 |
msgstr "Configuración de Importar/Exportar"
|
116 |
|
117 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
118 |
msgid "Export Settings"
|
119 |
msgstr "Configuración de Exportar"
|
120 |
|
121 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
122 |
msgid "Import Settings"
|
123 |
msgstr "Configuración de Importar"
|
124 |
|
125 |
-
#: ../includes/widget-css-classes.class.php:
|
126 |
msgid "CSS ID"
|
127 |
msgstr "ID del CSS"
|
128 |
|
129 |
-
#: ../includes/widget-css-classes.class.php:
|
130 |
-
#: ../includes/widget-css-classes.class.php:
|
131 |
-
msgid "CSS
|
132 |
msgstr "Clase del CSS"
|
133 |
|
134 |
-
#: ../includes/widget-css-classes.class.php:
|
135 |
-
msgid "Select"
|
136 |
-
msgstr "Seleccionar"
|
137 |
-
|
138 |
-
#: ../includes/widget-css-classes.class.php:147
|
139 |
msgid "widget-"
|
140 |
msgstr "widget-"
|
141 |
|
142 |
-
#: ../includes/widget-css-classes.class.php:
|
143 |
msgid "widget-first"
|
144 |
msgstr "widget-primero"
|
145 |
|
146 |
-
#: ../includes/widget-css-classes.class.php:
|
147 |
msgid "widget-last"
|
148 |
msgstr "widget-último"
|
149 |
|
150 |
-
#: ../includes/widget-css-classes.class.php:
|
151 |
msgid "widget-even"
|
152 |
msgstr "widget-par"
|
153 |
|
154 |
-
#: ../includes/widget-css-classes.class.php:
|
155 |
msgid "widget-odd"
|
156 |
msgstr "widget-impar"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2016-01-13 14:44+0100\n"
|
6 |
+
"PO-Revision-Date: 2016-01-13 14:45+0100\n"
|
7 |
"Last-Translator: jelena kovacevic <jecajeca260@gmail.com>\n"
|
8 |
"Language-Team: <cindy@cleverness.org>\n"
|
9 |
+
"Language: es_ES\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
|
14 |
"X-Poedit-Basepath: ./\n"
|
15 |
+
"X-Generator: Poedit 1.6.10\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
#: ../includes/widget-css-classes-library.class.php:31
|
19 |
msgid "Settings"
|
20 |
msgstr "Configuración"
|
27 |
msgid "Donate"
|
28 |
msgstr "Donar"
|
29 |
|
30 |
+
#: ../includes/widget-css-classes-loader.class.php:40
|
31 |
+
#: ../widget-css-classes.php:55
|
32 |
+
msgid ""
|
33 |
+
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
34 |
+
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
35 |
+
msgstr ""
|
36 |
+
"Widget CSS Classes requiere WordPress 3.3 o posterior. <a href=\"http://"
|
37 |
+
"codex.wordpress.org/Upgrading_WordPress\">Por favor actualice.</a>"
|
38 |
+
|
39 |
#: ../includes/widget-css-classes-settings.class.php:39
|
40 |
#: ../includes/widget-css-classes-settings.class.php:42
|
41 |
msgid "Widget CSS Classes Settings"
|
62 |
msgstr "Tipo de Campo de la Clase"
|
63 |
|
64 |
#: ../includes/widget-css-classes-settings.class.php:48
|
65 |
+
msgid "Predefined Classes"
|
66 |
+
msgstr "Las clases predefinidas"
|
67 |
|
68 |
#: ../includes/widget-css-classes-settings.class.php:53
|
69 |
#: ../includes/widget-css-classes-settings.class.php:60
|
84 |
msgstr "Texto"
|
85 |
|
86 |
#: ../includes/widget-css-classes-settings.class.php:82
|
87 |
+
msgid "Predefined"
|
88 |
+
msgstr "Predefinidas"
|
89 |
|
90 |
#: ../includes/widget-css-classes-settings.class.php:83
|
91 |
+
msgid "Both"
|
92 |
+
msgstr "Ambas"
|
93 |
+
|
94 |
+
#: ../includes/widget-css-classes-settings.class.php:84
|
95 |
msgid "Hide"
|
96 |
msgstr "Ocultar"
|
97 |
|
98 |
+
#: ../includes/widget-css-classes-settings.class.php:116
|
99 |
msgid "Import/Export"
|
100 |
msgstr "Importar/Exportar"
|
101 |
|
102 |
+
#: ../includes/widget-css-classes-settings.class.php:121
|
103 |
msgid "Settings Imported"
|
104 |
msgstr "Configuración Importada"
|
105 |
|
106 |
+
#: ../includes/widget-css-classes-settings.class.php:124
|
107 |
msgid "Invalid Settings File"
|
108 |
msgstr "Archivo de Configuración Inválido"
|
109 |
|
110 |
+
#: ../includes/widget-css-classes-settings.class.php:127
|
111 |
msgid "No Settings File Selected"
|
112 |
msgstr "No se seleccionó ningún Archivo de Configuración"
|
113 |
|
114 |
+
#: ../includes/widget-css-classes-settings.class.php:202
|
115 |
msgid "Widget CSS Classes"
|
116 |
msgstr "Clases CSS de Widget"
|
117 |
|
118 |
+
#: ../includes/widget-css-classes-settings.class.php:247
|
119 |
msgid "Import/Export Settings"
|
120 |
msgstr "Configuración de Importar/Exportar"
|
121 |
|
122 |
+
#: ../includes/widget-css-classes-settings.class.php:249
|
123 |
msgid "Export Settings"
|
124 |
msgstr "Configuración de Exportar"
|
125 |
|
126 |
+
#: ../includes/widget-css-classes-settings.class.php:253
|
127 |
msgid "Import Settings"
|
128 |
msgstr "Configuración de Importar"
|
129 |
|
130 |
+
#: ../includes/widget-css-classes.class.php:38
|
131 |
msgid "CSS ID"
|
132 |
msgstr "ID del CSS"
|
133 |
|
134 |
+
#: ../includes/widget-css-classes.class.php:44
|
135 |
+
#: ../includes/widget-css-classes.class.php:66
|
136 |
+
msgid "CSS Classes"
|
137 |
msgstr "Clase del CSS"
|
138 |
|
139 |
+
#: ../includes/widget-css-classes.class.php:223
|
|
|
|
|
|
|
|
|
140 |
msgid "widget-"
|
141 |
msgstr "widget-"
|
142 |
|
143 |
+
#: ../includes/widget-css-classes.class.php:227
|
144 |
msgid "widget-first"
|
145 |
msgstr "widget-primero"
|
146 |
|
147 |
+
#: ../includes/widget-css-classes.class.php:228
|
148 |
msgid "widget-last"
|
149 |
msgstr "widget-último"
|
150 |
|
151 |
+
#: ../includes/widget-css-classes.class.php:238
|
152 |
msgid "widget-even"
|
153 |
msgstr "widget-par"
|
154 |
|
155 |
+
#: ../includes/widget-css-classes.class.php:239
|
156 |
msgid "widget-odd"
|
157 |
msgstr "widget-impar"
|
158 |
+
|
159 |
+
#~ msgid "Define Classes for Dropdown"
|
160 |
+
#~ msgstr "Definir Clases para Menú Desplegable"
|
161 |
+
|
162 |
+
#~ msgid "Dropdown"
|
163 |
+
#~ msgstr "Menú Desplegable"
|
164 |
+
|
165 |
+
#~ msgid "Select"
|
166 |
+
#~ msgstr "Seleccionar"
|
languages/widget-css-classes-nl_NL.mo
ADDED
Binary file
|
languages/widget-css-classes-nl_NL.po
ADDED
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-12-22 23:40+0100\n"
|
6 |
+
"PO-Revision-Date: 2015-12-22 23:44+0100\n"
|
7 |
+
"Last-Translator: C.M. Kendrick <cindy@cleverness.org>\n"
|
8 |
+
"Language-Team: <cindy@cleverness.org>\n"
|
9 |
+
"Language: nl_NL\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
|
14 |
+
"X-Poedit-Basepath: ./\n"
|
15 |
+
"X-Generator: Poedit 1.6.10\n"
|
16 |
+
"X-Poedit-SearchPath-0: ..\n"
|
17 |
+
|
18 |
+
#: ../includes/widget-css-classes-library.class.php:31
|
19 |
+
msgid "Settings"
|
20 |
+
msgstr "Instellingen"
|
21 |
+
|
22 |
+
#: ../includes/widget-css-classes-library.class.php:45
|
23 |
+
msgid "Version"
|
24 |
+
msgstr "Versie"
|
25 |
+
|
26 |
+
#: ../includes/widget-css-classes-library.class.php:46
|
27 |
+
msgid "Donate"
|
28 |
+
msgstr "Doneren"
|
29 |
+
|
30 |
+
#: ../includes/widget-css-classes-loader.class.php:40
|
31 |
+
#: ../widget-css-classes.php:55
|
32 |
+
msgid ""
|
33 |
+
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
34 |
+
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
35 |
+
msgstr ""
|
36 |
+
"Voor Widget CSS Classes is WordPress versie 3.3 of hoger vereist. <a href="
|
37 |
+
"\"http://codex.wordpress.org/Upgrading_WordPress\">Updaten a.u.b..</a>"
|
38 |
+
|
39 |
+
#: ../includes/widget-css-classes-settings.class.php:39
|
40 |
+
#: ../includes/widget-css-classes-settings.class.php:42
|
41 |
+
msgid "Widget CSS Classes Settings"
|
42 |
+
msgstr "Widget CSS Classes Instellingen"
|
43 |
+
|
44 |
+
#: ../includes/widget-css-classes-settings.class.php:43
|
45 |
+
msgid "Add Widget Number Classes"
|
46 |
+
msgstr "Voeg numerieke Classes toe"
|
47 |
+
|
48 |
+
#: ../includes/widget-css-classes-settings.class.php:44
|
49 |
+
msgid "Add First/Last Classes"
|
50 |
+
msgstr "Voeg First/Last Classes toe"
|
51 |
+
|
52 |
+
#: ../includes/widget-css-classes-settings.class.php:45
|
53 |
+
msgid "Add Even/Odd Classes"
|
54 |
+
msgstr "Voeg Even/Odd Classes toe"
|
55 |
+
|
56 |
+
#: ../includes/widget-css-classes-settings.class.php:46
|
57 |
+
msgid "Show Additional Field for ID"
|
58 |
+
msgstr "Toon extra veld voor ID"
|
59 |
+
|
60 |
+
#: ../includes/widget-css-classes-settings.class.php:47
|
61 |
+
msgid "Class Field Type"
|
62 |
+
msgstr "Soort Class veld"
|
63 |
+
|
64 |
+
#: ../includes/widget-css-classes-settings.class.php:48
|
65 |
+
msgid "Predefined Classes"
|
66 |
+
msgstr "Vooraf bepaalde Classes"
|
67 |
+
|
68 |
+
#: ../includes/widget-css-classes-settings.class.php:53
|
69 |
+
#: ../includes/widget-css-classes-settings.class.php:60
|
70 |
+
#: ../includes/widget-css-classes-settings.class.php:67
|
71 |
+
#: ../includes/widget-css-classes-settings.class.php:74
|
72 |
+
msgid "Yes"
|
73 |
+
msgstr "Ja"
|
74 |
+
|
75 |
+
#: ../includes/widget-css-classes-settings.class.php:54
|
76 |
+
#: ../includes/widget-css-classes-settings.class.php:61
|
77 |
+
#: ../includes/widget-css-classes-settings.class.php:68
|
78 |
+
#: ../includes/widget-css-classes-settings.class.php:75
|
79 |
+
msgid "No"
|
80 |
+
msgstr "Nee"
|
81 |
+
|
82 |
+
#: ../includes/widget-css-classes-settings.class.php:81
|
83 |
+
msgid "Text"
|
84 |
+
msgstr "Tekst"
|
85 |
+
|
86 |
+
#: ../includes/widget-css-classes-settings.class.php:82
|
87 |
+
msgid "Predefined"
|
88 |
+
msgstr "Vooraf bepaald"
|
89 |
+
|
90 |
+
#: ../includes/widget-css-classes-settings.class.php:83
|
91 |
+
msgid "Both"
|
92 |
+
msgstr "Beide"
|
93 |
+
|
94 |
+
#: ../includes/widget-css-classes-settings.class.php:84
|
95 |
+
msgid "Hide"
|
96 |
+
msgstr "Verbergen"
|
97 |
+
|
98 |
+
#: ../includes/widget-css-classes-settings.class.php:116
|
99 |
+
msgid "Import/Export"
|
100 |
+
msgstr "Importeren/Exporteren"
|
101 |
+
|
102 |
+
#: ../includes/widget-css-classes-settings.class.php:121
|
103 |
+
msgid "Settings Imported"
|
104 |
+
msgstr "Instellingen geïmporteerd"
|
105 |
+
|
106 |
+
#: ../includes/widget-css-classes-settings.class.php:124
|
107 |
+
msgid "Invalid Settings File"
|
108 |
+
msgstr "Ongeldig instellingen bestand"
|
109 |
+
|
110 |
+
#: ../includes/widget-css-classes-settings.class.php:127
|
111 |
+
msgid "No Settings File Selected"
|
112 |
+
msgstr "Geen instellingen bestand geselecteerd"
|
113 |
+
|
114 |
+
#: ../includes/widget-css-classes-settings.class.php:198
|
115 |
+
msgid "Widget CSS Classes"
|
116 |
+
msgstr "Widget CSS Classes"
|
117 |
+
|
118 |
+
#: ../includes/widget-css-classes-settings.class.php:243
|
119 |
+
msgid "Import/Export Settings"
|
120 |
+
msgstr "Instellingen importeren/exporteren"
|
121 |
+
|
122 |
+
#: ../includes/widget-css-classes-settings.class.php:245
|
123 |
+
msgid "Export Settings"
|
124 |
+
msgstr "Instellingen exporteren"
|
125 |
+
|
126 |
+
#: ../includes/widget-css-classes-settings.class.php:249
|
127 |
+
msgid "Import Settings"
|
128 |
+
msgstr "Instellingen importeren"
|
129 |
+
|
130 |
+
#: ../includes/widget-css-classes.class.php:38
|
131 |
+
msgid "CSS ID"
|
132 |
+
msgstr "CSS ID"
|
133 |
+
|
134 |
+
#: ../includes/widget-css-classes.class.php:44
|
135 |
+
#: ../includes/widget-css-classes.class.php:51
|
136 |
+
msgid "CSS Classes"
|
137 |
+
msgstr "CSS Classes"
|
138 |
+
|
139 |
+
#: ../includes/widget-css-classes.class.php:191
|
140 |
+
msgid "widget-"
|
141 |
+
msgstr "widget-"
|
142 |
+
|
143 |
+
#: ../includes/widget-css-classes.class.php:195
|
144 |
+
msgid "widget-first"
|
145 |
+
msgstr "widget-first"
|
146 |
+
|
147 |
+
#: ../includes/widget-css-classes.class.php:196
|
148 |
+
msgid "widget-last"
|
149 |
+
msgstr "widget-last"
|
150 |
+
|
151 |
+
#: ../includes/widget-css-classes.class.php:206
|
152 |
+
msgid "widget-even"
|
153 |
+
msgstr "widget-even"
|
154 |
+
|
155 |
+
#: ../includes/widget-css-classes.class.php:207
|
156 |
+
msgid "widget-odd"
|
157 |
+
msgstr "widget-odd"
|
158 |
+
|
159 |
+
#~ msgid "Define Classes for Dropdown"
|
160 |
+
#~ msgstr "Classes definiëren voor dropdown"
|
161 |
+
|
162 |
+
#~ msgid "Dropdown"
|
163 |
+
#~ msgstr "Dropdown"
|
164 |
+
|
165 |
+
#~ msgid "Select"
|
166 |
+
#~ msgstr "Selecteren"
|
languages/widget-css-classes-pl_PL.mo
CHANGED
Binary file
|
languages/widget-css-classes-pl_PL.po
CHANGED
@@ -2,29 +2,21 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Tomasz Wesołowski <tomek@ittw.pl>\n"
|
8 |
"Language-Team: ITTW <tomek@ittw.pl>\n"
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e;"
|
13 |
"esc_html__\n"
|
14 |
"X-Poedit-Basepath: ./\n"
|
15 |
-
"X-Generator: Poedit 1.
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
|
19 |
-
#: ../widget-css-classes.php:54
|
20 |
-
#: ../includes/widget-css-classes-loader.class.php:40
|
21 |
-
msgid ""
|
22 |
-
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
23 |
-
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
24 |
-
msgstr ""
|
25 |
-
"Widget CSS Classes wymaga WordPress-a w wersji 3.3 lub nowszego. <a href="
|
26 |
-
"\"http://codex.wordpress.org/Upgrading_WordPress\">Zaktualizuj.</a>"
|
27 |
-
|
28 |
#: ../includes/widget-css-classes-library.class.php:31
|
29 |
msgid "Settings"
|
30 |
msgstr "Ustawienia"
|
@@ -37,10 +29,19 @@ msgstr "Wersja"
|
|
37 |
msgid "Donate"
|
38 |
msgstr "Wesprzyj"
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
#: ../includes/widget-css-classes-settings.class.php:39
|
41 |
#: ../includes/widget-css-classes-settings.class.php:42
|
42 |
msgid "Widget CSS Classes Settings"
|
43 |
-
msgstr "Ustawienia"
|
44 |
|
45 |
#: ../includes/widget-css-classes-settings.class.php:43
|
46 |
msgid "Add Widget Number Classes"
|
@@ -63,8 +64,8 @@ msgid "Class Field Type"
|
|
63 |
msgstr "Typ wybory klasy"
|
64 |
|
65 |
#: ../includes/widget-css-classes-settings.class.php:48
|
66 |
-
msgid "
|
67 |
-
msgstr "
|
68 |
|
69 |
#: ../includes/widget-css-classes-settings.class.php:53
|
70 |
#: ../includes/widget-css-classes-settings.class.php:60
|
@@ -85,74 +86,83 @@ msgid "Text"
|
|
85 |
msgstr "Tekst"
|
86 |
|
87 |
#: ../includes/widget-css-classes-settings.class.php:82
|
88 |
-
msgid "
|
89 |
-
msgstr "
|
90 |
|
91 |
#: ../includes/widget-css-classes-settings.class.php:83
|
|
|
|
|
|
|
|
|
92 |
msgid "Hide"
|
93 |
msgstr "Ukryj"
|
94 |
|
95 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
96 |
msgid "Import/Export"
|
97 |
msgstr "Import/Export"
|
98 |
|
99 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
100 |
msgid "Settings Imported"
|
101 |
msgstr "Ustawienia zostały zaimportowane"
|
102 |
|
103 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
104 |
msgid "Invalid Settings File"
|
105 |
msgstr "Błędny plik ustawień"
|
106 |
|
107 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
108 |
msgid "No Settings File Selected"
|
109 |
msgstr "Nie wybrano pliku z ustawieniami"
|
110 |
|
111 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
112 |
msgid "Widget CSS Classes"
|
113 |
msgstr "Widget CSS Classes"
|
114 |
|
115 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
116 |
msgid "Import/Export Settings"
|
117 |
msgstr "Import/Export Ustawienia"
|
118 |
|
119 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
120 |
msgid "Export Settings"
|
121 |
msgstr "Ustawienia eksportu"
|
122 |
|
123 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
124 |
msgid "Import Settings"
|
125 |
msgstr "Ustawienia importu"
|
126 |
|
127 |
-
#: ../includes/widget-css-classes.class.php:
|
128 |
msgid "CSS ID"
|
129 |
msgstr "CSS ID"
|
130 |
|
131 |
-
#: ../includes/widget-css-classes.class.php:
|
132 |
-
#: ../includes/widget-css-classes.class.php:
|
133 |
-
msgid "CSS
|
134 |
msgstr "CSS Klasa"
|
135 |
|
136 |
-
#: ../includes/widget-css-classes.class.php:
|
137 |
-
msgid "Select"
|
138 |
-
msgstr "Wybierz"
|
139 |
-
|
140 |
-
#: ../includes/widget-css-classes.class.php:154
|
141 |
msgid "widget-"
|
142 |
msgstr "widget-"
|
143 |
|
144 |
-
#: ../includes/widget-css-classes.class.php:
|
145 |
msgid "widget-first"
|
146 |
msgstr "widget-first"
|
147 |
|
148 |
-
#: ../includes/widget-css-classes.class.php:
|
149 |
msgid "widget-last"
|
150 |
msgstr "widget-last"
|
151 |
|
152 |
-
#: ../includes/widget-css-classes.class.php:
|
153 |
msgid "widget-even"
|
154 |
msgstr "widget-even"
|
155 |
|
156 |
-
#: ../includes/widget-css-classes.class.php:
|
157 |
msgid "widget-odd"
|
158 |
msgstr "widget-odd"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2016-01-13 14:36+0100\n"
|
6 |
+
"PO-Revision-Date: 2016-01-13 14:41+0100\n"
|
7 |
"Last-Translator: Tomasz Wesołowski <tomek@ittw.pl>\n"
|
8 |
"Language-Team: ITTW <tomek@ittw.pl>\n"
|
9 |
+
"Language: pl_PL\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e;"
|
14 |
"esc_html__\n"
|
15 |
"X-Poedit-Basepath: ./\n"
|
16 |
+
"X-Generator: Poedit 1.6.10\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
"X-Poedit-SearchPath-0: ..\n"
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
#: ../includes/widget-css-classes-library.class.php:31
|
21 |
msgid "Settings"
|
22 |
msgstr "Ustawienia"
|
29 |
msgid "Donate"
|
30 |
msgstr "Wesprzyj"
|
31 |
|
32 |
+
#: ../includes/widget-css-classes-loader.class.php:40
|
33 |
+
#: ../widget-css-classes.php:55
|
34 |
+
msgid ""
|
35 |
+
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
36 |
+
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
37 |
+
msgstr ""
|
38 |
+
"Widget CSS Classes wymaga WordPress-a w wersji 3.3 lub nowszego. <a href="
|
39 |
+
"\"http://codex.wordpress.org/Upgrading_WordPress\">Zaktualizuj.</a>"
|
40 |
+
|
41 |
#: ../includes/widget-css-classes-settings.class.php:39
|
42 |
#: ../includes/widget-css-classes-settings.class.php:42
|
43 |
msgid "Widget CSS Classes Settings"
|
44 |
+
msgstr "Widget CSS Classes Ustawienia"
|
45 |
|
46 |
#: ../includes/widget-css-classes-settings.class.php:43
|
47 |
msgid "Add Widget Number Classes"
|
64 |
msgstr "Typ wybory klasy"
|
65 |
|
66 |
#: ../includes/widget-css-classes-settings.class.php:48
|
67 |
+
msgid "Predefined Classes"
|
68 |
+
msgstr "Klasy predefiniowane"
|
69 |
|
70 |
#: ../includes/widget-css-classes-settings.class.php:53
|
71 |
#: ../includes/widget-css-classes-settings.class.php:60
|
86 |
msgstr "Tekst"
|
87 |
|
88 |
#: ../includes/widget-css-classes-settings.class.php:82
|
89 |
+
msgid "Predefined"
|
90 |
+
msgstr "Predefiniowane"
|
91 |
|
92 |
#: ../includes/widget-css-classes-settings.class.php:83
|
93 |
+
msgid "Both"
|
94 |
+
msgstr "Obie"
|
95 |
+
|
96 |
+
#: ../includes/widget-css-classes-settings.class.php:84
|
97 |
msgid "Hide"
|
98 |
msgstr "Ukryj"
|
99 |
|
100 |
+
#: ../includes/widget-css-classes-settings.class.php:116
|
101 |
msgid "Import/Export"
|
102 |
msgstr "Import/Export"
|
103 |
|
104 |
+
#: ../includes/widget-css-classes-settings.class.php:121
|
105 |
msgid "Settings Imported"
|
106 |
msgstr "Ustawienia zostały zaimportowane"
|
107 |
|
108 |
+
#: ../includes/widget-css-classes-settings.class.php:124
|
109 |
msgid "Invalid Settings File"
|
110 |
msgstr "Błędny plik ustawień"
|
111 |
|
112 |
+
#: ../includes/widget-css-classes-settings.class.php:127
|
113 |
msgid "No Settings File Selected"
|
114 |
msgstr "Nie wybrano pliku z ustawieniami"
|
115 |
|
116 |
+
#: ../includes/widget-css-classes-settings.class.php:202
|
117 |
msgid "Widget CSS Classes"
|
118 |
msgstr "Widget CSS Classes"
|
119 |
|
120 |
+
#: ../includes/widget-css-classes-settings.class.php:247
|
121 |
msgid "Import/Export Settings"
|
122 |
msgstr "Import/Export Ustawienia"
|
123 |
|
124 |
+
#: ../includes/widget-css-classes-settings.class.php:249
|
125 |
msgid "Export Settings"
|
126 |
msgstr "Ustawienia eksportu"
|
127 |
|
128 |
+
#: ../includes/widget-css-classes-settings.class.php:253
|
129 |
msgid "Import Settings"
|
130 |
msgstr "Ustawienia importu"
|
131 |
|
132 |
+
#: ../includes/widget-css-classes.class.php:38
|
133 |
msgid "CSS ID"
|
134 |
msgstr "CSS ID"
|
135 |
|
136 |
+
#: ../includes/widget-css-classes.class.php:44
|
137 |
+
#: ../includes/widget-css-classes.class.php:66
|
138 |
+
msgid "CSS Classes"
|
139 |
msgstr "CSS Klasa"
|
140 |
|
141 |
+
#: ../includes/widget-css-classes.class.php:223
|
|
|
|
|
|
|
|
|
142 |
msgid "widget-"
|
143 |
msgstr "widget-"
|
144 |
|
145 |
+
#: ../includes/widget-css-classes.class.php:227
|
146 |
msgid "widget-first"
|
147 |
msgstr "widget-first"
|
148 |
|
149 |
+
#: ../includes/widget-css-classes.class.php:228
|
150 |
msgid "widget-last"
|
151 |
msgstr "widget-last"
|
152 |
|
153 |
+
#: ../includes/widget-css-classes.class.php:238
|
154 |
msgid "widget-even"
|
155 |
msgstr "widget-even"
|
156 |
|
157 |
+
#: ../includes/widget-css-classes.class.php:239
|
158 |
msgid "widget-odd"
|
159 |
msgstr "widget-odd"
|
160 |
+
|
161 |
+
#~ msgid "Define Classes for Dropdown"
|
162 |
+
#~ msgstr "Zdefiniuj klasy dla Listy"
|
163 |
+
|
164 |
+
#~ msgid "Dropdown"
|
165 |
+
#~ msgstr "Lista"
|
166 |
+
|
167 |
+
#~ msgid "Select"
|
168 |
+
#~ msgstr "Wybierz"
|
languages/widget-css-classes-ru_RU.mo
ADDED
Binary file
|
languages/widget-css-classes-ru_RU.po
ADDED
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2016-01-13 15:15+0100\n"
|
6 |
+
"PO-Revision-Date: 2016-01-13 15:16+0100\n"
|
7 |
+
"Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
|
8 |
+
"Language-Team: <cindy@cleverness.org>\n"
|
9 |
+
"Language: ru_RU\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
|
14 |
+
"X-Poedit-Basepath: ./\n"
|
15 |
+
"X-Generator: Poedit 1.6.10\n"
|
16 |
+
"X-Poedit-SearchPath-0: ..\n"
|
17 |
+
|
18 |
+
#: ../includes/widget-css-classes-library.class.php:31
|
19 |
+
msgid "Settings"
|
20 |
+
msgstr "Настройки"
|
21 |
+
|
22 |
+
#: ../includes/widget-css-classes-library.class.php:45
|
23 |
+
msgid "Version"
|
24 |
+
msgstr "Версия"
|
25 |
+
|
26 |
+
#: ../includes/widget-css-classes-library.class.php:46
|
27 |
+
msgid "Donate"
|
28 |
+
msgstr "Пожертвовать"
|
29 |
+
|
30 |
+
#: ../includes/widget-css-classes-loader.class.php:40
|
31 |
+
#: ../widget-css-classes.php:55
|
32 |
+
msgid ""
|
33 |
+
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
34 |
+
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
35 |
+
msgstr ""
|
36 |
+
"Для «CSS классы для виджетов» требуется WordPress 3.3 или новее. <a href="
|
37 |
+
"\"http://codex.wordpress.org/Upgrading_WordPress\">Пожалуйста, обновите.</a>"
|
38 |
+
|
39 |
+
#: ../includes/widget-css-classes-settings.class.php:39
|
40 |
+
#: ../includes/widget-css-classes-settings.class.php:42
|
41 |
+
msgid "Widget CSS Classes Settings"
|
42 |
+
msgstr "Настройки плагина «CSS классы для виджетов»"
|
43 |
+
|
44 |
+
#: ../includes/widget-css-classes-settings.class.php:43
|
45 |
+
msgid "Add Widget Number Classes"
|
46 |
+
msgstr "Добавить нумерованные классы"
|
47 |
+
|
48 |
+
#: ../includes/widget-css-classes-settings.class.php:44
|
49 |
+
msgid "Add First/Last Classes"
|
50 |
+
msgstr "Добавить First/Last классы"
|
51 |
+
|
52 |
+
#: ../includes/widget-css-classes-settings.class.php:45
|
53 |
+
msgid "Add Even/Odd Classes"
|
54 |
+
msgstr "Добавить Even/Odd классы"
|
55 |
+
|
56 |
+
#: ../includes/widget-css-classes-settings.class.php:46
|
57 |
+
msgid "Show Additional Field for ID"
|
58 |
+
msgstr "Показать дополнительное поле для ID"
|
59 |
+
|
60 |
+
#: ../includes/widget-css-classes-settings.class.php:47
|
61 |
+
msgid "Class Field Type"
|
62 |
+
msgstr "Тип поля для класса"
|
63 |
+
|
64 |
+
#: ../includes/widget-css-classes-settings.class.php:48
|
65 |
+
msgid "Predefined Classes"
|
66 |
+
msgstr "Предопределенный классов"
|
67 |
+
|
68 |
+
#: ../includes/widget-css-classes-settings.class.php:53
|
69 |
+
#: ../includes/widget-css-classes-settings.class.php:60
|
70 |
+
#: ../includes/widget-css-classes-settings.class.php:67
|
71 |
+
#: ../includes/widget-css-classes-settings.class.php:74
|
72 |
+
msgid "Yes"
|
73 |
+
msgstr "Да"
|
74 |
+
|
75 |
+
#: ../includes/widget-css-classes-settings.class.php:54
|
76 |
+
#: ../includes/widget-css-classes-settings.class.php:61
|
77 |
+
#: ../includes/widget-css-classes-settings.class.php:68
|
78 |
+
#: ../includes/widget-css-classes-settings.class.php:75
|
79 |
+
msgid "No"
|
80 |
+
msgstr "Нет"
|
81 |
+
|
82 |
+
#: ../includes/widget-css-classes-settings.class.php:81
|
83 |
+
msgid "Text"
|
84 |
+
msgstr "Текст"
|
85 |
+
|
86 |
+
#: ../includes/widget-css-classes-settings.class.php:82
|
87 |
+
msgid "Predefined"
|
88 |
+
msgstr "Предопределенный"
|
89 |
+
|
90 |
+
#: ../includes/widget-css-classes-settings.class.php:83
|
91 |
+
msgid "Both"
|
92 |
+
msgstr "Обе"
|
93 |
+
|
94 |
+
#: ../includes/widget-css-classes-settings.class.php:84
|
95 |
+
msgid "Hide"
|
96 |
+
msgstr "Скрыть"
|
97 |
+
|
98 |
+
#: ../includes/widget-css-classes-settings.class.php:116
|
99 |
+
msgid "Import/Export"
|
100 |
+
msgstr "Импорт/Экспорт"
|
101 |
+
|
102 |
+
#: ../includes/widget-css-classes-settings.class.php:121
|
103 |
+
msgid "Settings Imported"
|
104 |
+
msgstr "Настройки импорта"
|
105 |
+
|
106 |
+
#: ../includes/widget-css-classes-settings.class.php:124
|
107 |
+
msgid "Invalid Settings File"
|
108 |
+
msgstr "Недопустимый файл настроек"
|
109 |
+
|
110 |
+
#: ../includes/widget-css-classes-settings.class.php:127
|
111 |
+
msgid "No Settings File Selected"
|
112 |
+
msgstr "Не выбран файл настроек"
|
113 |
+
|
114 |
+
#: ../includes/widget-css-classes-settings.class.php:202
|
115 |
+
msgid "Widget CSS Classes"
|
116 |
+
msgstr "CSS классы для виджетов"
|
117 |
+
|
118 |
+
#: ../includes/widget-css-classes-settings.class.php:247
|
119 |
+
msgid "Import/Export Settings"
|
120 |
+
msgstr "Импорт/Экспорт настроек"
|
121 |
+
|
122 |
+
#: ../includes/widget-css-classes-settings.class.php:249
|
123 |
+
msgid "Export Settings"
|
124 |
+
msgstr "Экспорт настроек"
|
125 |
+
|
126 |
+
#: ../includes/widget-css-classes-settings.class.php:253
|
127 |
+
msgid "Import Settings"
|
128 |
+
msgstr "Импорт настроек"
|
129 |
+
|
130 |
+
#: ../includes/widget-css-classes.class.php:38
|
131 |
+
msgid "CSS ID"
|
132 |
+
msgstr "CSS идентификатор"
|
133 |
+
|
134 |
+
#: ../includes/widget-css-classes.class.php:44
|
135 |
+
#: ../includes/widget-css-classes.class.php:66
|
136 |
+
#, fuzzy
|
137 |
+
msgid "CSS Classes"
|
138 |
+
msgstr "CSS класс"
|
139 |
+
|
140 |
+
#: ../includes/widget-css-classes.class.php:223
|
141 |
+
msgid "widget-"
|
142 |
+
msgstr "widget-"
|
143 |
+
|
144 |
+
#: ../includes/widget-css-classes.class.php:227
|
145 |
+
msgid "widget-first"
|
146 |
+
msgstr "widget-first"
|
147 |
+
|
148 |
+
#: ../includes/widget-css-classes.class.php:228
|
149 |
+
msgid "widget-last"
|
150 |
+
msgstr "widget-last"
|
151 |
+
|
152 |
+
#: ../includes/widget-css-classes.class.php:238
|
153 |
+
msgid "widget-even"
|
154 |
+
msgstr "widget-even"
|
155 |
+
|
156 |
+
#: ../includes/widget-css-classes.class.php:239
|
157 |
+
msgid "widget-odd"
|
158 |
+
msgstr "widget-odd"
|
159 |
+
|
160 |
+
#~ msgid "Define Classes for Dropdown"
|
161 |
+
#~ msgstr "Определить классы для выпадающего списка"
|
162 |
+
|
163 |
+
#~ msgid "Dropdown"
|
164 |
+
#~ msgstr "Выпадающий список"
|
165 |
+
|
166 |
+
#~ msgid "Select"
|
167 |
+
#~ msgstr "Выбрать"
|
languages/widget-css-classes-sk_SK.mo
CHANGED
Binary file
|
languages/widget-css-classes-sk_SK.po
CHANGED
@@ -2,16 +2,17 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: <cindy@cleverness.org>\n"
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
|
13 |
"X-Poedit-Basepath: ./\n"
|
14 |
-
"X-Generator: Poedit 1.
|
15 |
"X-Poedit-SearchPath-0: ..\n"
|
16 |
|
17 |
#: ../includes/widget-css-classes-library.class.php:31
|
@@ -26,10 +27,19 @@ msgstr "Verzia"
|
|
26 |
msgid "Donate"
|
27 |
msgstr "Darovať"
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
#: ../includes/widget-css-classes-settings.class.php:39
|
30 |
#: ../includes/widget-css-classes-settings.class.php:42
|
31 |
msgid "Widget CSS Classes Settings"
|
32 |
-
msgstr "Widget CSS
|
33 |
|
34 |
#: ../includes/widget-css-classes-settings.class.php:43
|
35 |
msgid "Add Widget Number Classes"
|
@@ -52,8 +62,8 @@ msgid "Class Field Type"
|
|
52 |
msgstr "Typ poľa trieda"
|
53 |
|
54 |
#: ../includes/widget-css-classes-settings.class.php:48
|
55 |
-
msgid "
|
56 |
-
msgstr "
|
57 |
|
58 |
#: ../includes/widget-css-classes-settings.class.php:53
|
59 |
#: ../includes/widget-css-classes-settings.class.php:60
|
@@ -74,74 +84,83 @@ msgid "Text"
|
|
74 |
msgstr "Text"
|
75 |
|
76 |
#: ../includes/widget-css-classes-settings.class.php:82
|
77 |
-
msgid "
|
78 |
-
msgstr "
|
79 |
|
80 |
#: ../includes/widget-css-classes-settings.class.php:83
|
|
|
|
|
|
|
|
|
81 |
msgid "Hide"
|
82 |
msgstr "Skryť"
|
83 |
|
84 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
85 |
msgid "Import/Export"
|
86 |
msgstr "Import a Export"
|
87 |
|
88 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
89 |
msgid "Settings Imported"
|
90 |
msgstr "Nastavenia dovážané"
|
91 |
|
92 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
93 |
msgid "Invalid Settings File"
|
94 |
msgstr "Neplatný súbor nastavení"
|
95 |
|
96 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
97 |
msgid "No Settings File Selected"
|
98 |
msgstr "Žiadny súbor nastavení vybraných"
|
99 |
|
100 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
101 |
msgid "Widget CSS Classes"
|
102 |
msgstr "Widget CSS triedy"
|
103 |
|
104 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
105 |
msgid "Import/Export Settings"
|
106 |
msgstr "Import a Export nastavení"
|
107 |
|
108 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
109 |
msgid "Export Settings"
|
110 |
msgstr "Exportovať nastavenie"
|
111 |
|
112 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
113 |
msgid "Import Settings"
|
114 |
msgstr "Nastavenie importu"
|
115 |
|
116 |
-
#: ../includes/widget-css-classes.class.php:
|
117 |
msgid "CSS ID"
|
118 |
msgstr "CSS A ID"
|
119 |
|
120 |
-
#: ../includes/widget-css-classes.class.php:
|
121 |
-
#: ../includes/widget-css-classes.class.php:
|
122 |
-
msgid "CSS
|
123 |
msgstr "CSS triedy"
|
124 |
|
125 |
-
#: ../includes/widget-css-classes.class.php:
|
126 |
-
msgid "Select"
|
127 |
-
msgstr "Vyberte"
|
128 |
-
|
129 |
-
#: ../includes/widget-css-classes.class.php:147
|
130 |
msgid "widget-"
|
131 |
msgstr "widget-"
|
132 |
|
133 |
-
#: ../includes/widget-css-classes.class.php:
|
134 |
msgid "widget-first"
|
135 |
msgstr "widget-prvé"
|
136 |
|
137 |
-
#: ../includes/widget-css-classes.class.php:
|
138 |
msgid "widget-last"
|
139 |
msgstr "widget-posledný"
|
140 |
|
141 |
-
#: ../includes/widget-css-classes.class.php:
|
142 |
msgid "widget-even"
|
143 |
msgstr "widget-aj"
|
144 |
|
145 |
-
#: ../includes/widget-css-classes.class.php:
|
146 |
msgid "widget-odd"
|
147 |
msgstr "widget-odd"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2016-01-13 14:38+0100\n"
|
6 |
+
"PO-Revision-Date: 2016-01-13 14:40+0100\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: <cindy@cleverness.org>\n"
|
9 |
+
"Language: sk_SK\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
|
14 |
"X-Poedit-Basepath: ./\n"
|
15 |
+
"X-Generator: Poedit 1.6.10\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
#: ../includes/widget-css-classes-library.class.php:31
|
27 |
msgid "Donate"
|
28 |
msgstr "Darovať"
|
29 |
|
30 |
+
#: ../includes/widget-css-classes-loader.class.php:40
|
31 |
+
#: ../widget-css-classes.php:55
|
32 |
+
msgid ""
|
33 |
+
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
34 |
+
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
35 |
+
msgstr ""
|
36 |
+
"Widget CSS Classes požadované WordPress 3.3 alebo novší. <a href=\"http://"
|
37 |
+
"codex.wordpress.org/Upgrading_WordPress\">Prosím aktualizujte.</a>"
|
38 |
+
|
39 |
#: ../includes/widget-css-classes-settings.class.php:39
|
40 |
#: ../includes/widget-css-classes-settings.class.php:42
|
41 |
msgid "Widget CSS Classes Settings"
|
42 |
+
msgstr "Widget CSS Classes nastavenia"
|
43 |
|
44 |
#: ../includes/widget-css-classes-settings.class.php:43
|
45 |
msgid "Add Widget Number Classes"
|
62 |
msgstr "Typ poľa trieda"
|
63 |
|
64 |
#: ../includes/widget-css-classes-settings.class.php:48
|
65 |
+
msgid "Predefined Classes"
|
66 |
+
msgstr "Preddefinované triedy"
|
67 |
|
68 |
#: ../includes/widget-css-classes-settings.class.php:53
|
69 |
#: ../includes/widget-css-classes-settings.class.php:60
|
84 |
msgstr "Text"
|
85 |
|
86 |
#: ../includes/widget-css-classes-settings.class.php:82
|
87 |
+
msgid "Predefined"
|
88 |
+
msgstr "Preddefinované"
|
89 |
|
90 |
#: ../includes/widget-css-classes-settings.class.php:83
|
91 |
+
msgid "Both"
|
92 |
+
msgstr "Obe"
|
93 |
+
|
94 |
+
#: ../includes/widget-css-classes-settings.class.php:84
|
95 |
msgid "Hide"
|
96 |
msgstr "Skryť"
|
97 |
|
98 |
+
#: ../includes/widget-css-classes-settings.class.php:116
|
99 |
msgid "Import/Export"
|
100 |
msgstr "Import a Export"
|
101 |
|
102 |
+
#: ../includes/widget-css-classes-settings.class.php:121
|
103 |
msgid "Settings Imported"
|
104 |
msgstr "Nastavenia dovážané"
|
105 |
|
106 |
+
#: ../includes/widget-css-classes-settings.class.php:124
|
107 |
msgid "Invalid Settings File"
|
108 |
msgstr "Neplatný súbor nastavení"
|
109 |
|
110 |
+
#: ../includes/widget-css-classes-settings.class.php:127
|
111 |
msgid "No Settings File Selected"
|
112 |
msgstr "Žiadny súbor nastavení vybraných"
|
113 |
|
114 |
+
#: ../includes/widget-css-classes-settings.class.php:202
|
115 |
msgid "Widget CSS Classes"
|
116 |
msgstr "Widget CSS triedy"
|
117 |
|
118 |
+
#: ../includes/widget-css-classes-settings.class.php:247
|
119 |
msgid "Import/Export Settings"
|
120 |
msgstr "Import a Export nastavení"
|
121 |
|
122 |
+
#: ../includes/widget-css-classes-settings.class.php:249
|
123 |
msgid "Export Settings"
|
124 |
msgstr "Exportovať nastavenie"
|
125 |
|
126 |
+
#: ../includes/widget-css-classes-settings.class.php:253
|
127 |
msgid "Import Settings"
|
128 |
msgstr "Nastavenie importu"
|
129 |
|
130 |
+
#: ../includes/widget-css-classes.class.php:38
|
131 |
msgid "CSS ID"
|
132 |
msgstr "CSS A ID"
|
133 |
|
134 |
+
#: ../includes/widget-css-classes.class.php:44
|
135 |
+
#: ../includes/widget-css-classes.class.php:66
|
136 |
+
msgid "CSS Classes"
|
137 |
msgstr "CSS triedy"
|
138 |
|
139 |
+
#: ../includes/widget-css-classes.class.php:223
|
|
|
|
|
|
|
|
|
140 |
msgid "widget-"
|
141 |
msgstr "widget-"
|
142 |
|
143 |
+
#: ../includes/widget-css-classes.class.php:227
|
144 |
msgid "widget-first"
|
145 |
msgstr "widget-prvé"
|
146 |
|
147 |
+
#: ../includes/widget-css-classes.class.php:228
|
148 |
msgid "widget-last"
|
149 |
msgstr "widget-posledný"
|
150 |
|
151 |
+
#: ../includes/widget-css-classes.class.php:238
|
152 |
msgid "widget-even"
|
153 |
msgstr "widget-aj"
|
154 |
|
155 |
+
#: ../includes/widget-css-classes.class.php:239
|
156 |
msgid "widget-odd"
|
157 |
msgstr "widget-odd"
|
158 |
+
|
159 |
+
#~ msgid "Define Classes for Dropdown"
|
160 |
+
#~ msgstr "Definovať triedy pre rozbaľovací zoznam"
|
161 |
+
|
162 |
+
#~ msgid "Dropdown"
|
163 |
+
#~ msgstr "Rozbaľovací zoznam"
|
164 |
+
|
165 |
+
#~ msgid "Select"
|
166 |
+
#~ msgstr "Vyberte"
|
languages/widget-css-classes-sr_RS.mo
CHANGED
Binary file
|
languages/widget-css-classes-sr_RS.po
CHANGED
@@ -2,16 +2,17 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
|
8 |
"Language-Team: <cindy@cleverness.org>\n"
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
|
13 |
"X-Poedit-Basepath: ./\n"
|
14 |
-
"X-Generator: Poedit 1.
|
15 |
"X-Poedit-SearchPath-0: ..\n"
|
16 |
|
17 |
#: ../includes/widget-css-classes-library.class.php:31
|
@@ -26,10 +27,19 @@ msgstr "Verzija"
|
|
26 |
msgid "Donate"
|
27 |
msgstr "Donirati"
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
#: ../includes/widget-css-classes-settings.class.php:39
|
30 |
#: ../includes/widget-css-classes-settings.class.php:42
|
31 |
msgid "Widget CSS Classes Settings"
|
32 |
-
msgstr "Widget CSS
|
33 |
|
34 |
#: ../includes/widget-css-classes-settings.class.php:43
|
35 |
msgid "Add Widget Number Classes"
|
@@ -52,8 +62,8 @@ msgid "Class Field Type"
|
|
52 |
msgstr "Tip polja klase"
|
53 |
|
54 |
#: ../includes/widget-css-classes-settings.class.php:48
|
55 |
-
msgid "
|
56 |
-
msgstr "
|
57 |
|
58 |
#: ../includes/widget-css-classes-settings.class.php:53
|
59 |
#: ../includes/widget-css-classes-settings.class.php:60
|
@@ -74,74 +84,83 @@ msgid "Text"
|
|
74 |
msgstr "Tekst"
|
75 |
|
76 |
#: ../includes/widget-css-classes-settings.class.php:82
|
77 |
-
msgid "
|
78 |
-
msgstr "
|
79 |
|
80 |
#: ../includes/widget-css-classes-settings.class.php:83
|
|
|
|
|
|
|
|
|
81 |
msgid "Hide"
|
82 |
msgstr "Sakriti"
|
83 |
|
84 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
85 |
msgid "Import/Export"
|
86 |
msgstr "Import/Export"
|
87 |
|
88 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
89 |
msgid "Settings Imported"
|
90 |
msgstr "Postavke unete"
|
91 |
|
92 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
93 |
msgid "Invalid Settings File"
|
94 |
msgstr "Fajl sa nepostojećim postavke"
|
95 |
|
96 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
97 |
msgid "No Settings File Selected"
|
98 |
msgstr "Polje bez postavki izabrano"
|
99 |
|
100 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
101 |
msgid "Widget CSS Classes"
|
102 |
msgstr "Widget CSS klase"
|
103 |
|
104 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
105 |
msgid "Import/Export Settings"
|
106 |
msgstr "Import/Export postavke"
|
107 |
|
108 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
109 |
msgid "Export Settings"
|
110 |
msgstr "Export postavke"
|
111 |
|
112 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
113 |
msgid "Import Settings"
|
114 |
msgstr "Import postavke"
|
115 |
|
116 |
-
#: ../includes/widget-css-classes.class.php:
|
117 |
msgid "CSS ID"
|
118 |
msgstr "CSS ID"
|
119 |
|
120 |
-
#: ../includes/widget-css-classes.class.php:
|
121 |
-
#: ../includes/widget-css-classes.class.php:
|
122 |
-
msgid "CSS
|
123 |
msgstr "CSS klasa"
|
124 |
|
125 |
-
#: ../includes/widget-css-classes.class.php:
|
126 |
-
msgid "Select"
|
127 |
-
msgstr "Izaberi"
|
128 |
-
|
129 |
-
#: ../includes/widget-css-classes.class.php:147
|
130 |
msgid "widget-"
|
131 |
msgstr "widget-"
|
132 |
|
133 |
-
#: ../includes/widget-css-classes.class.php:
|
134 |
msgid "widget-first"
|
135 |
msgstr "widget-prvi"
|
136 |
|
137 |
-
#: ../includes/widget-css-classes.class.php:
|
138 |
msgid "widget-last"
|
139 |
msgstr "widget-poslednji"
|
140 |
|
141 |
-
#: ../includes/widget-css-classes.class.php:
|
142 |
msgid "widget-even"
|
143 |
msgstr "widget-jednako"
|
144 |
|
145 |
-
#: ../includes/widget-css-classes.class.php:
|
146 |
msgid "widget-odd"
|
147 |
msgstr "widget-nejednako"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2016-01-13 14:41+0100\n"
|
6 |
+
"PO-Revision-Date: 2016-01-13 14:44+0100\n"
|
7 |
"Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
|
8 |
"Language-Team: <cindy@cleverness.org>\n"
|
9 |
+
"Language: sr_RS\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
|
14 |
"X-Poedit-Basepath: ./\n"
|
15 |
+
"X-Generator: Poedit 1.6.10\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
#: ../includes/widget-css-classes-library.class.php:31
|
27 |
msgid "Donate"
|
28 |
msgstr "Donirati"
|
29 |
|
30 |
+
#: ../includes/widget-css-classes-loader.class.php:40
|
31 |
+
#: ../widget-css-classes.php:55
|
32 |
+
msgid ""
|
33 |
+
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
34 |
+
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
35 |
+
msgstr ""
|
36 |
+
"Widget CSS Classes potrebno WordPress 3.3 ili noviji. <a href=\"http://codex."
|
37 |
+
"wordpress.org/Upgrading_WordPress\">Prosze zaktualizovać.</a>"
|
38 |
+
|
39 |
#: ../includes/widget-css-classes-settings.class.php:39
|
40 |
#: ../includes/widget-css-classes-settings.class.php:42
|
41 |
msgid "Widget CSS Classes Settings"
|
42 |
+
msgstr "Widget CSS Classes postavke"
|
43 |
|
44 |
#: ../includes/widget-css-classes-settings.class.php:43
|
45 |
msgid "Add Widget Number Classes"
|
62 |
msgstr "Tip polja klase"
|
63 |
|
64 |
#: ../includes/widget-css-classes-settings.class.php:48
|
65 |
+
msgid "Predefined Classes"
|
66 |
+
msgstr "Unapred definisane klase"
|
67 |
|
68 |
#: ../includes/widget-css-classes-settings.class.php:53
|
69 |
#: ../includes/widget-css-classes-settings.class.php:60
|
84 |
msgstr "Tekst"
|
85 |
|
86 |
#: ../includes/widget-css-classes-settings.class.php:82
|
87 |
+
msgid "Predefined"
|
88 |
+
msgstr "Predefinisane"
|
89 |
|
90 |
#: ../includes/widget-css-classes-settings.class.php:83
|
91 |
+
msgid "Both"
|
92 |
+
msgstr "Oboje"
|
93 |
+
|
94 |
+
#: ../includes/widget-css-classes-settings.class.php:84
|
95 |
msgid "Hide"
|
96 |
msgstr "Sakriti"
|
97 |
|
98 |
+
#: ../includes/widget-css-classes-settings.class.php:116
|
99 |
msgid "Import/Export"
|
100 |
msgstr "Import/Export"
|
101 |
|
102 |
+
#: ../includes/widget-css-classes-settings.class.php:121
|
103 |
msgid "Settings Imported"
|
104 |
msgstr "Postavke unete"
|
105 |
|
106 |
+
#: ../includes/widget-css-classes-settings.class.php:124
|
107 |
msgid "Invalid Settings File"
|
108 |
msgstr "Fajl sa nepostojećim postavke"
|
109 |
|
110 |
+
#: ../includes/widget-css-classes-settings.class.php:127
|
111 |
msgid "No Settings File Selected"
|
112 |
msgstr "Polje bez postavki izabrano"
|
113 |
|
114 |
+
#: ../includes/widget-css-classes-settings.class.php:202
|
115 |
msgid "Widget CSS Classes"
|
116 |
msgstr "Widget CSS klase"
|
117 |
|
118 |
+
#: ../includes/widget-css-classes-settings.class.php:247
|
119 |
msgid "Import/Export Settings"
|
120 |
msgstr "Import/Export postavke"
|
121 |
|
122 |
+
#: ../includes/widget-css-classes-settings.class.php:249
|
123 |
msgid "Export Settings"
|
124 |
msgstr "Export postavke"
|
125 |
|
126 |
+
#: ../includes/widget-css-classes-settings.class.php:253
|
127 |
msgid "Import Settings"
|
128 |
msgstr "Import postavke"
|
129 |
|
130 |
+
#: ../includes/widget-css-classes.class.php:38
|
131 |
msgid "CSS ID"
|
132 |
msgstr "CSS ID"
|
133 |
|
134 |
+
#: ../includes/widget-css-classes.class.php:44
|
135 |
+
#: ../includes/widget-css-classes.class.php:66
|
136 |
+
msgid "CSS Classes"
|
137 |
msgstr "CSS klasa"
|
138 |
|
139 |
+
#: ../includes/widget-css-classes.class.php:223
|
|
|
|
|
|
|
|
|
140 |
msgid "widget-"
|
141 |
msgstr "widget-"
|
142 |
|
143 |
+
#: ../includes/widget-css-classes.class.php:227
|
144 |
msgid "widget-first"
|
145 |
msgstr "widget-prvi"
|
146 |
|
147 |
+
#: ../includes/widget-css-classes.class.php:228
|
148 |
msgid "widget-last"
|
149 |
msgstr "widget-poslednji"
|
150 |
|
151 |
+
#: ../includes/widget-css-classes.class.php:238
|
152 |
msgid "widget-even"
|
153 |
msgstr "widget-jednako"
|
154 |
|
155 |
+
#: ../includes/widget-css-classes.class.php:239
|
156 |
msgid "widget-odd"
|
157 |
msgstr "widget-nejednako"
|
158 |
+
|
159 |
+
#~ msgid "Define Classes for Dropdown"
|
160 |
+
#~ msgstr "Definisati klase za Dropdown"
|
161 |
+
|
162 |
+
#~ msgid "Dropdown"
|
163 |
+
#~ msgstr "Dropdown"
|
164 |
+
|
165 |
+
#~ msgid "Select"
|
166 |
+
#~ msgstr "Izaberi"
|
languages/widget-css-classes-sv_SE.mo
ADDED
Binary file
|
languages/widget-css-classes-sv_SE.po
ADDED
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2016-01-13 15:08+0100\n"
|
6 |
+
"PO-Revision-Date: 2016-01-13 15:57+0100\n"
|
7 |
+
"Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
|
8 |
+
"Language-Team: <cindy@cleverness.org>\n"
|
9 |
+
"Language: sv_SE\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
|
14 |
+
"X-Poedit-Basepath: ./\n"
|
15 |
+
"X-Generator: Poedit 1.6.10\n"
|
16 |
+
"X-Poedit-SearchPath-0: ..\n"
|
17 |
+
|
18 |
+
#: ../includes/widget-css-classes-library.class.php:31
|
19 |
+
msgid "Settings"
|
20 |
+
msgstr "Inställningar"
|
21 |
+
|
22 |
+
#: ../includes/widget-css-classes-library.class.php:45
|
23 |
+
msgid "Version"
|
24 |
+
msgstr "Version"
|
25 |
+
|
26 |
+
#: ../includes/widget-css-classes-library.class.php:46
|
27 |
+
msgid "Donate"
|
28 |
+
msgstr "Donera"
|
29 |
+
|
30 |
+
#: ../includes/widget-css-classes-loader.class.php:40
|
31 |
+
#: ../widget-css-classes.php:55
|
32 |
+
msgid ""
|
33 |
+
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
34 |
+
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
35 |
+
msgstr ""
|
36 |
+
"Widget CSS Classes kräver WordPress 3.3 eller nyare. <a href=\"http://codex."
|
37 |
+
"wordpress.org/Upgrading_WordPress\">Var vänlig uppdatera.</a>"
|
38 |
+
|
39 |
+
#: ../includes/widget-css-classes-settings.class.php:39
|
40 |
+
#: ../includes/widget-css-classes-settings.class.php:42
|
41 |
+
msgid "Widget CSS Classes Settings"
|
42 |
+
msgstr "Widget CSS Classes inställningar"
|
43 |
+
|
44 |
+
#: ../includes/widget-css-classes-settings.class.php:43
|
45 |
+
msgid "Add Widget Number Classes"
|
46 |
+
msgstr "Lägg till widget nummer klass"
|
47 |
+
|
48 |
+
#: ../includes/widget-css-classes-settings.class.php:44
|
49 |
+
msgid "Add First/Last Classes"
|
50 |
+
msgstr "Lägg till första/sista klass"
|
51 |
+
|
52 |
+
#: ../includes/widget-css-classes-settings.class.php:45
|
53 |
+
msgid "Add Even/Odd Classes"
|
54 |
+
msgstr "Lägg till udda/jämn klass"
|
55 |
+
|
56 |
+
#: ../includes/widget-css-classes-settings.class.php:46
|
57 |
+
msgid "Show Additional Field for ID"
|
58 |
+
msgstr "Visa övriga fält för ID"
|
59 |
+
|
60 |
+
#: ../includes/widget-css-classes-settings.class.php:47
|
61 |
+
msgid "Class Field Type"
|
62 |
+
msgstr "Klass fälttyp"
|
63 |
+
|
64 |
+
#: ../includes/widget-css-classes-settings.class.php:48
|
65 |
+
msgid "Predefined Classes"
|
66 |
+
msgstr "Fördefinierade klasser"
|
67 |
+
|
68 |
+
#: ../includes/widget-css-classes-settings.class.php:53
|
69 |
+
#: ../includes/widget-css-classes-settings.class.php:60
|
70 |
+
#: ../includes/widget-css-classes-settings.class.php:67
|
71 |
+
#: ../includes/widget-css-classes-settings.class.php:74
|
72 |
+
msgid "Yes"
|
73 |
+
msgstr "Ja"
|
74 |
+
|
75 |
+
#: ../includes/widget-css-classes-settings.class.php:54
|
76 |
+
#: ../includes/widget-css-classes-settings.class.php:61
|
77 |
+
#: ../includes/widget-css-classes-settings.class.php:68
|
78 |
+
#: ../includes/widget-css-classes-settings.class.php:75
|
79 |
+
msgid "No"
|
80 |
+
msgstr "Nej"
|
81 |
+
|
82 |
+
#: ../includes/widget-css-classes-settings.class.php:81
|
83 |
+
msgid "Text"
|
84 |
+
msgstr "Text"
|
85 |
+
|
86 |
+
#: ../includes/widget-css-classes-settings.class.php:82
|
87 |
+
msgid "Predefined"
|
88 |
+
msgstr "Fördefinierad"
|
89 |
+
|
90 |
+
#: ../includes/widget-css-classes-settings.class.php:83
|
91 |
+
msgid "Both"
|
92 |
+
msgstr "Båda"
|
93 |
+
|
94 |
+
#: ../includes/widget-css-classes-settings.class.php:84
|
95 |
+
msgid "Hide"
|
96 |
+
msgstr "Göm"
|
97 |
+
|
98 |
+
#: ../includes/widget-css-classes-settings.class.php:116
|
99 |
+
msgid "Import/Export"
|
100 |
+
msgstr "Importera/Exportera"
|
101 |
+
|
102 |
+
#: ../includes/widget-css-classes-settings.class.php:121
|
103 |
+
msgid "Settings Imported"
|
104 |
+
msgstr "Inställningar importerade"
|
105 |
+
|
106 |
+
#: ../includes/widget-css-classes-settings.class.php:124
|
107 |
+
msgid "Invalid Settings File"
|
108 |
+
msgstr "Ogiltig inställningsfil"
|
109 |
+
|
110 |
+
#: ../includes/widget-css-classes-settings.class.php:127
|
111 |
+
msgid "No Settings File Selected"
|
112 |
+
msgstr "Ingen inställningsfil vald"
|
113 |
+
|
114 |
+
#: ../includes/widget-css-classes-settings.class.php:202
|
115 |
+
msgid "Widget CSS Classes"
|
116 |
+
msgstr "Widget CSS Classes"
|
117 |
+
|
118 |
+
#: ../includes/widget-css-classes-settings.class.php:247
|
119 |
+
msgid "Import/Export Settings"
|
120 |
+
msgstr "Importera/Exportera inställningar"
|
121 |
+
|
122 |
+
#: ../includes/widget-css-classes-settings.class.php:249
|
123 |
+
msgid "Export Settings"
|
124 |
+
msgstr "Export inställningar"
|
125 |
+
|
126 |
+
#: ../includes/widget-css-classes-settings.class.php:253
|
127 |
+
msgid "Import Settings"
|
128 |
+
msgstr "Import inställningar"
|
129 |
+
|
130 |
+
#: ../includes/widget-css-classes.class.php:38
|
131 |
+
msgid "CSS ID"
|
132 |
+
msgstr "CSS ID"
|
133 |
+
|
134 |
+
#: ../includes/widget-css-classes.class.php:44
|
135 |
+
#: ../includes/widget-css-classes.class.php:66
|
136 |
+
msgid "CSS Classes"
|
137 |
+
msgstr "CSS klasser"
|
138 |
+
|
139 |
+
#: ../includes/widget-css-classes.class.php:223
|
140 |
+
msgid "widget-"
|
141 |
+
msgstr "widget-"
|
142 |
+
|
143 |
+
#: ../includes/widget-css-classes.class.php:227
|
144 |
+
msgid "widget-first"
|
145 |
+
msgstr "widget-first"
|
146 |
+
|
147 |
+
#: ../includes/widget-css-classes.class.php:228
|
148 |
+
msgid "widget-last"
|
149 |
+
msgstr "widget-last"
|
150 |
+
|
151 |
+
#: ../includes/widget-css-classes.class.php:238
|
152 |
+
msgid "widget-even"
|
153 |
+
msgstr "widget-even"
|
154 |
+
|
155 |
+
#: ../includes/widget-css-classes.class.php:239
|
156 |
+
msgid "widget-odd"
|
157 |
+
msgstr "widget-odd"
|
158 |
+
|
159 |
+
#~ msgid "Select"
|
160 |
+
#~ msgstr "Välj"
|
161 |
+
|
162 |
+
#~ msgid "Define Classes for Dropdown"
|
163 |
+
#~ msgstr "Definiera klass för rullgardinsmeny"
|
164 |
+
|
165 |
+
#~ msgid "Dropdown"
|
166 |
+
#~ msgstr "Rullgardinsmeny"
|
languages/widget-css-classes.mo
CHANGED
Binary file
|
languages/widget-css-classes.pot
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: C.M. Kendrick <cindy@cleverness.org>\n"
|
8 |
"Language-Team: <cindy@cleverness.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -11,16 +11,9 @@ msgstr ""
|
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
|
13 |
"X-Poedit-Basepath: ./\n"
|
14 |
-
"X-Generator: Poedit 1.
|
15 |
"X-Poedit-SearchPath-0: ..\n"
|
16 |
|
17 |
-
#: ../widget-css-classes.php:54
|
18 |
-
#: ../includes/widget-css-classes-loader.class.php:40
|
19 |
-
msgid ""
|
20 |
-
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
21 |
-
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
22 |
-
msgstr ""
|
23 |
-
|
24 |
#: ../includes/widget-css-classes-library.class.php:31
|
25 |
msgid "Settings"
|
26 |
msgstr ""
|
@@ -33,6 +26,13 @@ msgstr ""
|
|
33 |
msgid "Donate"
|
34 |
msgstr ""
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
#: ../includes/widget-css-classes-settings.class.php:39
|
37 |
#: ../includes/widget-css-classes-settings.class.php:42
|
38 |
msgid "Widget CSS Classes Settings"
|
@@ -59,7 +59,7 @@ msgid "Class Field Type"
|
|
59 |
msgstr ""
|
60 |
|
61 |
#: ../includes/widget-css-classes-settings.class.php:48
|
62 |
-
msgid "
|
63 |
msgstr ""
|
64 |
|
65 |
#: ../includes/widget-css-classes-settings.class.php:53
|
@@ -81,30 +81,34 @@ msgid "Text"
|
|
81 |
msgstr ""
|
82 |
|
83 |
#: ../includes/widget-css-classes-settings.class.php:82
|
84 |
-
msgid "
|
85 |
msgstr ""
|
86 |
|
87 |
#: ../includes/widget-css-classes-settings.class.php:83
|
|
|
|
|
|
|
|
|
88 |
msgid "Hide"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
92 |
msgid "Import/Export"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
96 |
msgid "Settings Imported"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
100 |
msgid "Invalid Settings File"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
104 |
msgid "No Settings File Selected"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: ../includes/widget-css-classes-settings.class.php:
|
108 |
msgid "Widget CSS Classes"
|
109 |
msgstr ""
|
110 |
|
@@ -120,35 +124,31 @@ msgstr ""
|
|
120 |
msgid "Import Settings"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: ../includes/widget-css-classes.class.php:
|
124 |
msgid "CSS ID"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: ../includes/widget-css-classes.class.php:
|
128 |
-
#: ../includes/widget-css-classes.class.php:
|
129 |
-
msgid "CSS
|
130 |
-
msgstr ""
|
131 |
-
|
132 |
-
#: ../includes/widget-css-classes.class.php:49
|
133 |
-
msgid "Select"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: ../includes/widget-css-classes.class.php:
|
137 |
msgid "widget-"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: ../includes/widget-css-classes.class.php:
|
141 |
msgid "widget-first"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: ../includes/widget-css-classes.class.php:
|
145 |
msgid "widget-last"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: ../includes/widget-css-classes.class.php:
|
149 |
msgid "widget-even"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: ../includes/widget-css-classes.class.php:
|
153 |
msgid "widget-odd"
|
154 |
msgstr ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-12-22 23:40+0100\n"
|
6 |
+
"PO-Revision-Date: 2015-12-22 23:40+0100\n"
|
7 |
"Last-Translator: C.M. Kendrick <cindy@cleverness.org>\n"
|
8 |
"Language-Team: <cindy@cleverness.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
|
13 |
"X-Poedit-Basepath: ./\n"
|
14 |
+
"X-Generator: Poedit 1.6.10\n"
|
15 |
"X-Poedit-SearchPath-0: ..\n"
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
#: ../includes/widget-css-classes-library.class.php:31
|
18 |
msgid "Settings"
|
19 |
msgstr ""
|
26 |
msgid "Donate"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: ../includes/widget-css-classes-loader.class.php:40
|
30 |
+
#: ../widget-css-classes.php:55
|
31 |
+
msgid ""
|
32 |
+
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
33 |
+
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
#: ../includes/widget-css-classes-settings.class.php:39
|
37 |
#: ../includes/widget-css-classes-settings.class.php:42
|
38 |
msgid "Widget CSS Classes Settings"
|
59 |
msgstr ""
|
60 |
|
61 |
#: ../includes/widget-css-classes-settings.class.php:48
|
62 |
+
msgid "Predefined Classes"
|
63 |
msgstr ""
|
64 |
|
65 |
#: ../includes/widget-css-classes-settings.class.php:53
|
81 |
msgstr ""
|
82 |
|
83 |
#: ../includes/widget-css-classes-settings.class.php:82
|
84 |
+
msgid "Predefined"
|
85 |
msgstr ""
|
86 |
|
87 |
#: ../includes/widget-css-classes-settings.class.php:83
|
88 |
+
msgid "Both"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: ../includes/widget-css-classes-settings.class.php:84
|
92 |
msgid "Hide"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: ../includes/widget-css-classes-settings.class.php:116
|
96 |
msgid "Import/Export"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: ../includes/widget-css-classes-settings.class.php:121
|
100 |
msgid "Settings Imported"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: ../includes/widget-css-classes-settings.class.php:124
|
104 |
msgid "Invalid Settings File"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: ../includes/widget-css-classes-settings.class.php:127
|
108 |
msgid "No Settings File Selected"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: ../includes/widget-css-classes-settings.class.php:198
|
112 |
msgid "Widget CSS Classes"
|
113 |
msgstr ""
|
114 |
|
124 |
msgid "Import Settings"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: ../includes/widget-css-classes.class.php:38
|
128 |
msgid "CSS ID"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: ../includes/widget-css-classes.class.php:44
|
132 |
+
#: ../includes/widget-css-classes.class.php:51
|
133 |
+
msgid "CSS Classes"
|
|
|
|
|
|
|
|
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: ../includes/widget-css-classes.class.php:191
|
137 |
msgid "widget-"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: ../includes/widget-css-classes.class.php:195
|
141 |
msgid "widget-first"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: ../includes/widget-css-classes.class.php:196
|
145 |
msgid "widget-last"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: ../includes/widget-css-classes.class.php:206
|
149 |
msgid "widget-even"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: ../includes/widget-css-classes.class.php:207
|
153 |
msgid "widget-odd"
|
154 |
msgstr ""
|
readme.txt
CHANGED
@@ -7,8 +7,8 @@ Tags: widgets, classes, css, widget classes, widget css
|
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires at least: 3.3
|
10 |
-
Tested up to:
|
11 |
-
Stable tag: 1.
|
12 |
|
13 |
Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.
|
14 |
|
@@ -31,14 +31,14 @@ __Features:__
|
|
31 |
|
32 |
* Adds a text field to a widget for defining a class
|
33 |
* You can specify multiple classes by putting a space between them
|
34 |
-
* Optionally adds
|
35 |
* Optionally adds a text field to add an id to a widget
|
36 |
* Adds first and last classes to the first and last widget instances in a sidebar
|
37 |
* Adds even/odd classes to widgets
|
38 |
* Adds number classes to widgets
|
39 |
* Fully translatable
|
40 |
* Multi-site compatible
|
41 |
-
* Compatible with Widget Logic and Widget
|
42 |
* Has filters and hooks for customizing output including class names
|
43 |
|
44 |
[Plugin Website](http://cleverness.org/plugins/widget-css-classes/)
|
@@ -50,7 +50,7 @@ __Features:__
|
|
50 |
3. Configure the settings under __Settings > Widget CSS Classes__
|
51 |
4. Visit __Appearance > Widgets__ to add or change the custom classes and ids for a widget.
|
52 |
5. Expand the appropriate widget in the desired sidebar.
|
53 |
-
6. You'll see a field labeled __CSS Class__. Depending on your settings, this will be a text field or
|
54 |
7. If you are using the text field you can enter multiple class names by separating them with a space.
|
55 |
8. If you've enabled the id field, you will see a text field called __CSS ID__.
|
56 |
|
@@ -88,12 +88,40 @@ Visit [the plugin website](http://cleverness.org/plugins/widget-css-classes/) an
|
|
88 |
== Screenshots ==
|
89 |
|
90 |
1. Basic Widget
|
91 |
-
2. Widget with ID field and
|
92 |
3. Settings Page
|
93 |
4. Generated HTML
|
94 |
|
95 |
== Changelog ==
|
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
= 1.2.5 =
|
98 |
* Fixed notice
|
99 |
|
@@ -130,6 +158,12 @@ Visit [the plugin website](http://cleverness.org/plugins/widget-css-classes/) an
|
|
130 |
|
131 |
== Upgrade Notice ==
|
132 |
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
= 1.2.5 =
|
134 |
Bug fix
|
135 |
|
@@ -157,8 +191,6 @@ First version
|
|
157 |
|
158 |
[Add .first & .last CSS Class Automatically To WordPress Widgets](http://wpshock.com/add-first-last-css-class-automatically-to-wordpress-widgets/)
|
159 |
|
160 |
-
Plus/Minus Icons from [Farm Fresh Icons](http://www.fatcow.com/free-icons) by Fat Cow Hosting
|
161 |
-
|
162 |
Widget Context compatibility fix provided by [Joan Piedra](http://joanpiedra.com/)
|
163 |
|
164 |
Slovak translation by Branco [WebHostingGeeks.com](http://webhostinggeeks.com/user-reviews/)
|
@@ -169,6 +201,14 @@ Spanish translation by [Maria Ramos at WebHostingHub](http://www.webhostinghub.c
|
|
169 |
|
170 |
Serbo-Croatian translation by [Borisa Djuraskovic at WebHostingHub](http://www.webhostinghub.com/)
|
171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
== License ==
|
173 |
|
174 |
This file is part of Widget CSS Classes.
|
@@ -177,4 +217,4 @@ Widget CSS Classes is free software: you can redistribute it and/or modify it un
|
|
177 |
|
178 |
Widget CSS Classes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
179 |
|
180 |
-
You should have received a copy of the GNU General Public License along with this plugin. If not, see <http://www.gnu.org/licenses/>.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires at least: 3.3
|
10 |
+
Tested up to: 4.7
|
11 |
+
Stable tag: 1.3.0
|
12 |
|
13 |
Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.
|
14 |
|
31 |
|
32 |
* Adds a text field to a widget for defining a class
|
33 |
* You can specify multiple classes by putting a space between them
|
34 |
+
* Optionally adds checkboxes with predefined classes
|
35 |
* Optionally adds a text field to add an id to a widget
|
36 |
* Adds first and last classes to the first and last widget instances in a sidebar
|
37 |
* Adds even/odd classes to widgets
|
38 |
* Adds number classes to widgets
|
39 |
* Fully translatable
|
40 |
* Multi-site compatible
|
41 |
+
* Compatible with Widget Logic, Widget Context, and WP Page Widget plugins
|
42 |
* Has filters and hooks for customizing output including class names
|
43 |
|
44 |
[Plugin Website](http://cleverness.org/plugins/widget-css-classes/)
|
50 |
3. Configure the settings under __Settings > Widget CSS Classes__
|
51 |
4. Visit __Appearance > Widgets__ to add or change the custom classes and ids for a widget.
|
52 |
5. Expand the appropriate widget in the desired sidebar.
|
53 |
+
6. You'll see a field labeled __CSS Class__. Depending on your settings, this will be a text field and/or checkboxes.
|
54 |
7. If you are using the text field you can enter multiple class names by separating them with a space.
|
55 |
8. If you've enabled the id field, you will see a text field called __CSS ID__.
|
56 |
|
88 |
== Screenshots ==
|
89 |
|
90 |
1. Basic Widget
|
91 |
+
2. Widget with ID field and Predefined Choices
|
92 |
3. Settings Page
|
93 |
4. Generated HTML
|
94 |
|
95 |
== Changelog ==
|
96 |
|
97 |
+
= 1.3.0 =
|
98 |
+
* Feature: Change dropdown to checkboxes for multiple class selection
|
99 |
+
* Feature: Option to use both predefined and text input classes
|
100 |
+
* Feature: Migrate classes when predefined classes are available
|
101 |
+
* Improvement: Do not show previously defined classes that are removed in the settings page when a widget is not updated yet
|
102 |
+
* Fix: Only show stored classes if the field-type in the setting page is correct
|
103 |
+
* Fix: When predefined is selected, show previous text input classes if they are defined
|
104 |
+
* Fix: Ids index notice
|
105 |
+
* i18n: Added Dutch translation by [Jory Hogeveen at Keraweb](https://www.keraweb.nl/)
|
106 |
+
* i18n: Added Russian translation by Наталия Завьялова
|
107 |
+
* i18n: Added Swedish translation by [Olle Gustafsson](http://www.ollegustafsson.com/)
|
108 |
+
|
109 |
+
= 1.2.9 =
|
110 |
+
* Changed h2 to h1 on settings page
|
111 |
+
* Changed plus/minus icons on settings page to dashicons
|
112 |
+
|
113 |
+
= 1.2.8 =
|
114 |
+
* Added text domain to plugin header in preparation for automatic language translations
|
115 |
+
|
116 |
+
= 1.2.7 =
|
117 |
+
* Changed class and ID fields to full-width
|
118 |
+
* Added missing escaping from settings page
|
119 |
+
* Enqueue admin scripts on correct hook
|
120 |
+
* Fixed undefined notice when option was not found
|
121 |
+
|
122 |
+
= 1.2.6 =
|
123 |
+
* Fixed error notice
|
124 |
+
|
125 |
= 1.2.5 =
|
126 |
* Fixed notice
|
127 |
|
158 |
|
159 |
== Upgrade Notice ==
|
160 |
|
161 |
+
= 1.2.7 =
|
162 |
+
Bug fix
|
163 |
+
|
164 |
+
= 1.2.6 =
|
165 |
+
Bug fix
|
166 |
+
|
167 |
= 1.2.5 =
|
168 |
Bug fix
|
169 |
|
191 |
|
192 |
[Add .first & .last CSS Class Automatically To WordPress Widgets](http://wpshock.com/add-first-last-css-class-automatically-to-wordpress-widgets/)
|
193 |
|
|
|
|
|
194 |
Widget Context compatibility fix provided by [Joan Piedra](http://joanpiedra.com/)
|
195 |
|
196 |
Slovak translation by Branco [WebHostingGeeks.com](http://webhostinggeeks.com/user-reviews/)
|
201 |
|
202 |
Serbo-Croatian translation by [Borisa Djuraskovic at WebHostingHub](http://www.webhostinghub.com/)
|
203 |
|
204 |
+
Dutch translation and predefined classes fix by [Jory Hogeveen at Keraweb](https://www.keraweb.nl/)
|
205 |
+
|
206 |
+
Russian translation by Наталия Завьялова
|
207 |
+
|
208 |
+
Swedish translation by [Olle Gustafsson](http://www.ollegustafsson.com/)
|
209 |
+
|
210 |
+
Fix ids notice by [Ricardo Lüders](http://www.luders.com.br/)
|
211 |
+
|
212 |
== License ==
|
213 |
|
214 |
This file is part of Widget CSS Classes.
|
217 |
|
218 |
Widget CSS Classes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
219 |
|
220 |
+
You should have received a copy of the GNU General Public License along with this plugin. If not, see <http://www.gnu.org/licenses/>.
|
screenshot-1.jpg
DELETED
Binary file
|
screenshot-2.jpg
DELETED
Binary file
|
screenshot-3.png
DELETED
Binary file
|
screenshot-4.png
DELETED
Binary file
|
widget-css-classes.php
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Widget CSS Classes
|
4 |
-
Version: 1.
|
5 |
Description: Add custom, first, last, even, odd, and numbered classes to your widgets.
|
6 |
Author: C.M. Kendrick
|
7 |
Author URI: http://cleverness.org
|
8 |
Plugin URI: http://cleverness.org/plugins/widget-css-classes
|
|
|
9 |
*/
|
10 |
|
11 |
add_action( 'init', 'widget_css_classes_loader' );
|
@@ -18,11 +19,11 @@ add_action( 'wp_loaded', 'widget_css_classes_frontend_hook' );
|
|
18 |
function widget_css_classes_loader() {
|
19 |
|
20 |
$languages_path = plugin_basename( dirname( __FILE__ ).'/languages' );
|
21 |
-
load_plugin_textdomain( 'widget-css-classes',
|
22 |
|
23 |
if ( is_admin() ) {
|
24 |
|
25 |
-
if ( !defined( 'WCSSC_PLUGIN_VERSION' ) ) define( 'WCSSC_PLUGIN_VERSION', '1.2.
|
26 |
if ( !defined( 'WCSSC_FILE' ) ) define( 'WCSSC_FILE', __FILE__ );
|
27 |
if ( !defined( 'WCSSC_BASENAME' ) ) define( 'WCSSC_BASENAME', plugin_basename( __FILE__ ) );
|
28 |
if ( !defined( 'WCSSC_PLUGIN_DIR' ) ) define( 'WCSSC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
@@ -56,7 +57,7 @@ function widget_css_classes_activation() {
|
|
56 |
exit( $exit_msg );
|
57 |
}
|
58 |
|
59 |
-
if ( !defined( 'WCSSC_DB_VERSION' ) ) define( 'WCSSC_DB_VERSION', '1.
|
60 |
if ( !defined( 'WCSSC_FILE' ) ) define( 'WCSSC_FILE', __FILE__ );
|
61 |
include_once 'includes/widget-css-classes-library.class.php';
|
62 |
|
@@ -72,4 +73,4 @@ function widget_css_classes_activation() {
|
|
72 |
}
|
73 |
}
|
74 |
|
75 |
-
register_activation_hook( __FILE__, 'widget_css_classes_activation' );
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Widget CSS Classes
|
4 |
+
Version: 1.3.0
|
5 |
Description: Add custom, first, last, even, odd, and numbered classes to your widgets.
|
6 |
Author: C.M. Kendrick
|
7 |
Author URI: http://cleverness.org
|
8 |
Plugin URI: http://cleverness.org/plugins/widget-css-classes
|
9 |
+
Text Domain: widget-css-classes
|
10 |
*/
|
11 |
|
12 |
add_action( 'init', 'widget_css_classes_loader' );
|
19 |
function widget_css_classes_loader() {
|
20 |
|
21 |
$languages_path = plugin_basename( dirname( __FILE__ ).'/languages' );
|
22 |
+
load_plugin_textdomain( 'widget-css-classes', FALSE, $languages_path );
|
23 |
|
24 |
if ( is_admin() ) {
|
25 |
|
26 |
+
if ( !defined( 'WCSSC_PLUGIN_VERSION' ) ) define( 'WCSSC_PLUGIN_VERSION', '1.2.8' );
|
27 |
if ( !defined( 'WCSSC_FILE' ) ) define( 'WCSSC_FILE', __FILE__ );
|
28 |
if ( !defined( 'WCSSC_BASENAME' ) ) define( 'WCSSC_BASENAME', plugin_basename( __FILE__ ) );
|
29 |
if ( !defined( 'WCSSC_PLUGIN_DIR' ) ) define( 'WCSSC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
57 |
exit( $exit_msg );
|
58 |
}
|
59 |
|
60 |
+
if ( !defined( 'WCSSC_DB_VERSION' ) ) define( 'WCSSC_DB_VERSION', '1.3' );
|
61 |
if ( !defined( 'WCSSC_FILE' ) ) define( 'WCSSC_FILE', __FILE__ );
|
62 |
include_once 'includes/widget-css-classes-library.class.php';
|
63 |
|
73 |
}
|
74 |
}
|
75 |
|
76 |
+
register_activation_hook( __FILE__, 'widget_css_classes_activation' );
|