SVG Support - Version 2.2.3.2

Version Description

  • Changed text domain to match plugin slug for localization.
Download this release

Release Info

Developer Benbodhi
Plugin Icon 128x128 SVG Support
Version 2.2.3.2
Comparing to
See all releases

Code changes from version 2.2.3.1 to 2.2.3.2

admin/admin-init.php CHANGED
@@ -12,8 +12,8 @@ add_action( 'admin_menu', 'bodhi_svgs_admin_menu' );
12
  function bodhi_svgs_admin_menu() {
13
 
14
  add_options_page(
15
- __('SVG Support Options and Instructions', 'svgsupport'),
16
- __('SVG Support', 'svgsupport'),
17
  'manage_options',
18
  'svg-support',
19
  'bodhi_svg_support_settings_page'
@@ -26,7 +26,7 @@ function bodhi_svg_support_settings_page() {
26
 
27
  if( ! current_user_can( 'manage_options' ) ) {
28
 
29
- wp_die( __('You can\'t play with this.', 'svgsupport') );
30
 
31
  }
32
 
12
  function bodhi_svgs_admin_menu() {
13
 
14
  add_options_page(
15
+ __('SVG Support Options and Instructions', 'svg-support'),
16
+ __('SVG Support', 'svg-support'),
17
  'manage_options',
18
  'svg-support',
19
  'bodhi_svg_support_settings_page'
26
 
27
  if( ! current_user_can( 'manage_options' ) ) {
28
 
29
+ wp_die( __('You can\'t play with this.', 'svg-support') );
30
 
31
  }
32
 
admin/plugin-action-meta-links.php CHANGED
@@ -27,9 +27,9 @@ function bodhi_svgs_plugin_meta_links( $links, $file ) {
27
  return array_merge(
28
  $links,
29
  array(
30
- '<a target="_blank" href="http://wordpress.org/support/plugin/svg-support">' . __( 'Get Support', 'svgsupport') . '</a>',
31
- '<a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F7W2NUFAVQGW2">' . __( 'Donate to author', 'svgsupport') . '</a>',
32
- '<a target="_blank" href="https://secure.gowebben.com/cart.php?promocode=SVGSUPPORT">' . __( '$25 Free Credit from GoWebben', 'svgsupport') . '</a>'
33
  )
34
  );
35
  }
27
  return array_merge(
28
  $links,
29
  array(
30
+ '<a target="_blank" href="http://wordpress.org/support/plugin/svg-support">' . __( 'Get Support', 'svg-support') . '</a>',
31
+ '<a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F7W2NUFAVQGW2">' . __( 'Donate to author', 'svg-support') . '</a>',
32
+ '<a target="_blank" href="https://secure.gowebben.com/cart.php?promocode=SVGSUPPORT">' . __( '$25 Free Credit from GoWebben', 'svg-support') . '</a>'
33
  )
34
  );
35
  }
admin/svgs-settings-page.php CHANGED
@@ -1,7 +1,7 @@
1
  <div class="wrap">
2
 
3
  <div id="icon-upload" class="icon32"></div>
4
- <h2><?php _e( 'SVG Support Settings and Usage', 'svgsupport' ); ?><span class="svgs-version">Ver <?php global $svgs_plugin_version; echo $svgs_plugin_version; ?></span></h2>
5
 
6
  <div id="poststuff">
7
 
@@ -9,12 +9,12 @@
9
 
10
  <div class="postbox">
11
 
12
- <h3><span><?php _e( 'Introduction', 'svgsupport' ); ?></span></h3>
13
  <div class="inside">
14
 
15
- <p><?php _e( 'When using SVG images on your WordPress site, it can be hard to style elements within the SVG using CSS. <strong>Now you can, easily!</strong>', 'svgsupport' ); ?></p>
16
- <p><?php _e( 'This plugin not only provides SVG Support like the name says, it also allows you to easily embed your full SVG file\'s code using a simple IMG tag. By adding the class <code>style-svg</code> to your IMG elements, this plugin dynamically replaces any IMG elements containing the <code>style-svg</code> class with your complete SVG.', 'svgsupport' ); ?></p>
17
- <p><?php _e( 'The main purpose of this is to allow styling of SVG elements. Usually your styling options are restricted when using <code>embed</code>, <code>object</code> or <code>img</code> tags alone.', 'svgsupport' ); ?></p>
18
 
19
  </div> <!-- .inside -->
20
 
@@ -31,7 +31,7 @@
31
 
32
  <div class="postbox">
33
 
34
- <h3><span><?php _e( 'Settings', 'svgsupport' ); ?></span></h3>
35
  <div class="inside">
36
 
37
  <form name="bodhi_svgs_settings_form" method="post" action="options.php">
@@ -43,48 +43,48 @@
43
  <tr valign="top">
44
  <!-- Swap with future feature: Multiselect Roles -->
45
  <th scope="row">
46
- <label for="bodhi_svgs_settings[restrict]"><strong><?php _e( 'Restrict to Administrators', 'svgsupport' ); ?></strong></label>
47
  </th>
48
  <td>
49
  <?php printf(
50
  '<input id="bodhi_svgs_settings[restrict]" name="bodhi_svgs_settings[restrict]" type="checkbox" %2$s />', 'bodhi_svgs_settings_restrict', checked( isset( $bodhi_svgs_options['restrict'] ), true, false ) ); ?>
51
- <?php _e( 'Yes', 'svgsupport' ); ?><br /><small class="description"><?php _e(' Restricts SVG upload priveledges to Administrators.', 'svgsupport' ); ?></small>
52
  </td>
53
  </tr>
54
  <tr valign="top">
55
  <!-- Allow choice of js in footer true or false -->
56
  <th scope="row">
57
- <label for="bodhi_svgs_settings[js_foot_choice]"><strong><?php _e( 'Output JS in Footer?', 'svgsupport' ); ?></strong></label>
58
  </th>
59
  <td>
60
  <?php printf(
61
  '<input id="bodhi_svgs_settings[js_foot_choice]" name="bodhi_svgs_settings[js_foot_choice]" type="checkbox" %2$s />', 'bodhi_svgs_settings_js_foot_choice', checked( isset( $bodhi_svgs_options['js_foot_choice'] ), true, false ) ); ?>
62
- <?php _e( 'Yes', 'svgsupport' ); ?><br /><small class="description"><?php _e(' Normally, scripts are placed in <code>head</code> of the HTML document. If this parameter is true, the script is placed before the closing <code>body</code> tag. This requires the theme to have the <code>wp_footer()</code> template tag in the appropriate place.', 'svgsupport' ); ?></small>
63
  </td>
64
  </tr>
65
  <tr valign="top">
66
  <!-- Automatically insert class to target in images when inserting into posts/pages -->
67
  <th scope="row">
68
- <label for="bodhi_svgs_settings[auto_insert_class]"><strong><?php _e( 'Automatically insert class?', 'svgsupport' ); ?></strong></label>
69
  </th>
70
  <td>
71
  <?php printf(
72
  '<input id="bodhi_svgs_settings[auto_insert_class]" name="bodhi_svgs_settings[auto_insert_class]" type="checkbox" %2$s />', 'bodhi_svgs_settings_auto_insert_class', checked( isset( $bodhi_svgs_options['auto_insert_class'] ), true, false ) ); ?>
73
- <?php _e( 'Yes', 'svgsupport' ); ?><br /><small class="description"><?php _e(' Checking this will make sure that either the default class or the custom one you set below is inserted into the style attributes of <code>img</code> tags when you insert images. Additionally, it will remove all of the default WordPress classes.', 'svgsupport' ); ?></small>
74
  </td>
75
  </tr>
76
  <tr valign="top">
77
  <th scope="row">
78
- <label for="bodhi_svgs_settings[css_target]"><strong><?php _e( 'CSS Class to target', 'svgsupport' ); ?></strong></label>
79
  </th>
80
  <td>
81
- <input id="bodhi_svgs_settings[css_target]" class="all-options code" name="bodhi_svgs_settings[css_target]" type="text" value="<?php echo $bodhi_svgs_options['css_target']; ?>"><br><small class="description"><?php _e( 'The default target class is <code>style-svg</code>. You can change it to your own class such as <code>my-class</code> by typing it here.<br />Leave blank to use the default class.', 'svgsupport' ); ?></small>
82
  </td>
83
  </tr>
84
  </table>
85
 
86
  <p>
87
- <input class="button-primary" type="submit" name="bodhi_svgs_settings_submit" value="<?php _e( 'Save Changes', 'svgsupport' ); ?>" />
88
  </p>
89
 
90
  </form>
@@ -95,23 +95,23 @@
95
 
96
  <div class="postbox">
97
 
98
- <h3><span><?php _e( 'Usage', 'svgsupport' ); ?></span></h3>
99
  <div class="inside">
100
 
101
- <p><?php _e( 'You can simply upload SVG images to your media library like any other file.', 'svgsupport' ); ?><br />
102
- <?php _e( 'Now, embed your SVG image like a standard image with the addition of adding the class <code>style-svg</code> (or your custom class from above) to any IMG tags that you want this plugin to swap out with your actual SVG code.', 'svgsupport' ); ?><br />
103
- <?php _e( 'For example:', 'svgsupport' ); ?></p>
104
 
105
  <pre><code>&lt;img class="style-svg" alt="alt-text" src="image-source.svg" /&gt;</code></pre>
106
- <?php _e( 'or', 'svgsupport' ); ?>
107
  <pre><code>&lt;img class="your-custom-class" alt="alt-text" src="image-source.svg" /&gt;</code></pre>
108
 
109
- <p><?php _e( 'The whole IMG tag element will now be dynamically replaced by the actual code of your SVG, making the inner content targetable.', 'svgsupport' ); ?><br />
110
- <?php _e( 'This allows you to target elements within your SVG using CSS.', 'svgsupport' ); ?></p>
111
 
112
- <p><em><?php _e( 'Please Note:', 'svgsupport' ); ?></em>
113
- <br><em><?php _e( '- You will need to set your own height and width in your CSS for SVG files to display correctly.', 'svgsupport' ); ?></em>
114
- <br><em><?php _e( '- Your uploaded image needs to be an SVG file for this plugin to replace the img tag with the inline SVG code. It will not create SVG files for you.', 'svgsupport' ); ?></em></p>
115
 
116
  </div> <!-- .inside -->
117
 
@@ -128,13 +128,13 @@
128
 
129
  <div class="postbox">
130
 
131
- <h3><span><?php _e( 'Plugin Features', 'svgsupport' ); ?></span></h3>
132
  <div class="inside">
133
  <ul>
134
- <li><?php _e( 'SVG Support for your media library', 'svgsupport' ); ?></li>
135
- <li><?php _e( 'Style SVG elements directly using CSS', 'svgsupport' ); ?></li>
136
- <li><?php _e( 'Restrict to Administrators only', 'svgsupport' ); ?></li>
137
- <li><strong><?php _e( 'Extremely Simple To Use', 'svgsupport' ); ?></strong></li>
138
  </ul>
139
  </div> <!-- .inside -->
140
 
@@ -142,21 +142,21 @@
142
 
143
  <div class="postbox">
144
 
145
- <h3><span><?php _e( 'About The Plugin', 'svgsupport' ); ?></span></h3>
146
  <div class="inside">
147
- <p><?php _e( 'You can read about this plugin in detail on', 'svgsupport' ); ?> <a target="_blank" href="http://wordpress.org/plugins/svg-support/"><?php _e( 'The WordPress Plugin Repository', 'svgsupport' ); ?></a>.</p>
148
- <p><?php _e( 'Need help?', 'svgsupport' ); ?> <a target="_blank" href="http://wordpress.org/support/plugin/svg-support"><?php _e( 'Visit Support', 'svgsupport' ); ?></a>.</p>
149
- <p><a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F7W2NUFAVQGW2"><?php _e( 'Buy Benbodhi a Beer &rarr;', 'svgsupport' ); ?></a>
150
- <p>&copy; <a target="_blank" href="http://benbodhi.com">Benbodhi</a> <?php _e( 'from', 'svgsupport' ); ?> <a target="_blank" href="http://gowebben.com">GoWebben</a>.
151
  </div> <!-- .inside -->
152
 
153
  </div> <!-- .postbox -->
154
 
155
  <div class="postbox">
156
 
157
- <h3><span><?php _e( 'GoWebben Hosting', 'svgsupport' ); ?></span></h3>
158
  <div class="inside">
159
- <p><a target="_blank" href="https://secure.gowebben.com/cart.php?promocode=SVGSUPPORT"><?php _e( 'Claim your FREE $25 credit from', 'svgsupport' ); ?> GoWebben</a> - <?php _e( 'No catch, just free credit for using this plugin! It will be applied automatically using the link provided, but in any case you can simply use code: SVGSUPPORT during checkout.', 'svgsupport' ); ?></p>
160
  </div> <!-- .inside -->
161
 
162
  </div> <!-- .postbox -->
1
  <div class="wrap">
2
 
3
  <div id="icon-upload" class="icon32"></div>
4
+ <h2><?php _e( 'SVG Support Settings and Usage', 'svg-support' ); ?><span class="svgs-version">Ver <?php global $svgs_plugin_version; echo $svgs_plugin_version; ?></span></h2>
5
 
6
  <div id="poststuff">
7
 
9
 
10
  <div class="postbox">
11
 
12
+ <h3><span><?php _e( 'Introduction', 'svg-support' ); ?></span></h3>
13
  <div class="inside">
14
 
15
+ <p><?php _e( 'When using SVG images on your WordPress site, it can be hard to style elements within the SVG using CSS. <strong>Now you can, easily!</strong>', 'svg-support' ); ?></p>
16
+ <p><?php _e( 'This plugin not only provides SVG Support like the name says, it also allows you to easily embed your full SVG file\'s code using a simple IMG tag. By adding the class <code>style-svg</code> to your IMG elements, this plugin dynamically replaces any IMG elements containing the <code>style-svg</code> class with your complete SVG.', 'svg-support' ); ?></p>
17
+ <p><?php _e( 'The main purpose of this is to allow styling of SVG elements. Usually your styling options are restricted when using <code>embed</code>, <code>object</code> or <code>img</code> tags alone.', 'svg-support' ); ?></p>
18
 
19
  </div> <!-- .inside -->
20
 
31
 
32
  <div class="postbox">
33
 
34
+ <h3><span><?php _e( 'Settings', 'svg-support' ); ?></span></h3>
35
  <div class="inside">
36
 
37
  <form name="bodhi_svgs_settings_form" method="post" action="options.php">
43
  <tr valign="top">
44
  <!-- Swap with future feature: Multiselect Roles -->
45
  <th scope="row">
46
+ <label for="bodhi_svgs_settings[restrict]"><strong><?php _e( 'Restrict to Administrators', 'svg-support' ); ?></strong></label>
47
  </th>
48
  <td>
49
  <?php printf(
50
  '<input id="bodhi_svgs_settings[restrict]" name="bodhi_svgs_settings[restrict]" type="checkbox" %2$s />', 'bodhi_svgs_settings_restrict', checked( isset( $bodhi_svgs_options['restrict'] ), true, false ) ); ?>
51
+ <?php _e( 'Yes', 'svg-support' ); ?><br /><small class="description"><?php _e(' Restricts SVG upload priveledges to Administrators.', 'svg-support' ); ?></small>
52
  </td>
53
  </tr>
54
  <tr valign="top">
55
  <!-- Allow choice of js in footer true or false -->
56
  <th scope="row">
57
+ <label for="bodhi_svgs_settings[js_foot_choice]"><strong><?php _e( 'Output JS in Footer?', 'svg-support' ); ?></strong></label>
58
  </th>
59
  <td>
60
  <?php printf(
61
  '<input id="bodhi_svgs_settings[js_foot_choice]" name="bodhi_svgs_settings[js_foot_choice]" type="checkbox" %2$s />', 'bodhi_svgs_settings_js_foot_choice', checked( isset( $bodhi_svgs_options['js_foot_choice'] ), true, false ) ); ?>
62
+ <?php _e( 'Yes', 'svg-support' ); ?><br /><small class="description"><?php _e(' Normally, scripts are placed in <code>head</code> of the HTML document. If this parameter is true, the script is placed before the closing <code>body</code> tag. This requires the theme to have the <code>wp_footer()</code> template tag in the appropriate place.', 'svg-support' ); ?></small>
63
  </td>
64
  </tr>
65
  <tr valign="top">
66
  <!-- Automatically insert class to target in images when inserting into posts/pages -->
67
  <th scope="row">
68
+ <label for="bodhi_svgs_settings[auto_insert_class]"><strong><?php _e( 'Automatically insert class?', 'svg-support' ); ?></strong></label>
69
  </th>
70
  <td>
71
  <?php printf(
72
  '<input id="bodhi_svgs_settings[auto_insert_class]" name="bodhi_svgs_settings[auto_insert_class]" type="checkbox" %2$s />', 'bodhi_svgs_settings_auto_insert_class', checked( isset( $bodhi_svgs_options['auto_insert_class'] ), true, false ) ); ?>
73
+ <?php _e( 'Yes', 'svg-support' ); ?><br /><small class="description"><?php _e(' Checking this will make sure that either the default class or the custom one you set below is inserted into the style attributes of <code>img</code> tags when you insert images. Additionally, it will remove all of the default WordPress classes.', 'svg-support' ); ?></small>
74
  </td>
75
  </tr>
76
  <tr valign="top">
77
  <th scope="row">
78
+ <label for="bodhi_svgs_settings[css_target]"><strong><?php _e( 'CSS Class to target', 'svg-support' ); ?></strong></label>
79
  </th>
80
  <td>
81
+ <input id="bodhi_svgs_settings[css_target]" class="all-options code" name="bodhi_svgs_settings[css_target]" type="text" value="<?php echo $bodhi_svgs_options['css_target']; ?>"><br><small class="description"><?php _e( 'The default target class is <code>style-svg</code>. You can change it to your own class such as <code>my-class</code> by typing it here.<br />Leave blank to use the default class.', 'svg-support' ); ?></small>
82
  </td>
83
  </tr>
84
  </table>
85
 
86
  <p>
87
+ <input class="button-primary" type="submit" name="bodhi_svgs_settings_submit" value="<?php _e( 'Save Changes', 'svg-support' ); ?>" />
88
  </p>
89
 
90
  </form>
95
 
96
  <div class="postbox">
97
 
98
+ <h3><span><?php _e( 'Usage', 'svg-support' ); ?></span></h3>
99
  <div class="inside">
100
 
101
+ <p><?php _e( 'You can simply upload SVG images to your media library like any other file.', 'svg-support' ); ?><br />
102
+ <?php _e( 'Now, embed your SVG image like a standard image with the addition of adding the class <code>style-svg</code> (or your custom class from above) to any IMG tags that you want this plugin to swap out with your actual SVG code.', 'svg-support' ); ?><br />
103
+ <?php _e( 'For example:', 'svg-support' ); ?></p>
104
 
105
  <pre><code>&lt;img class="style-svg" alt="alt-text" src="image-source.svg" /&gt;</code></pre>
106
+ <?php _e( 'or', 'svg-support' ); ?>
107
  <pre><code>&lt;img class="your-custom-class" alt="alt-text" src="image-source.svg" /&gt;</code></pre>
108
 
109
+ <p><?php _e( 'The whole IMG tag element will now be dynamically replaced by the actual code of your SVG, making the inner content targetable.', 'svg-support' ); ?><br />
110
+ <?php _e( 'This allows you to target elements within your SVG using CSS.', 'svg-support' ); ?></p>
111
 
112
+ <p><em><?php _e( 'Please Note:', 'svg-support' ); ?></em>
113
+ <br><em><?php _e( '- You will need to set your own height and width in your CSS for SVG files to display correctly.', 'svg-support' ); ?></em>
114
+ <br><em><?php _e( '- Your uploaded image needs to be an SVG file for this plugin to replace the img tag with the inline SVG code. It will not create SVG files for you.', 'svg-support' ); ?></em></p>
115
 
116
  </div> <!-- .inside -->
117
 
128
 
129
  <div class="postbox">
130
 
131
+ <h3><span><?php _e( 'Plugin Features', 'svg-support' ); ?></span></h3>
132
  <div class="inside">
133
  <ul>
134
+ <li><?php _e( 'SVG Support for your media library', 'svg-support' ); ?></li>
135
+ <li><?php _e( 'Style SVG elements directly using CSS', 'svg-support' ); ?></li>
136
+ <li><?php _e( 'Restrict to Administrators only', 'svg-support' ); ?></li>
137
+ <li><strong><?php _e( 'Extremely Simple To Use', 'svg-support' ); ?></strong></li>
138
  </ul>
139
  </div> <!-- .inside -->
140
 
142
 
143
  <div class="postbox">
144
 
145
+ <h3><span><?php _e( 'About The Plugin', 'svg-support' ); ?></span></h3>
146
  <div class="inside">
147
+ <p><?php _e( 'You can read about this plugin in detail on', 'svg-support' ); ?> <a target="_blank" href="http://wordpress.org/plugins/svg-support/"><?php _e( 'The WordPress Plugin Repository', 'svg-support' ); ?></a>.</p>
148
+ <p><?php _e( 'Need help?', 'svg-support' ); ?> <a target="_blank" href="http://wordpress.org/support/plugin/svg-support"><?php _e( 'Visit Support', 'svg-support' ); ?></a>.</p>
149
+ <p><a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F7W2NUFAVQGW2"><?php _e( 'Buy Benbodhi a Beer &rarr;', 'svg-support' ); ?></a>
150
+ <p>&copy; <a target="_blank" href="http://benbodhi.com">Benbodhi</a> <?php _e( 'from', 'svg-support' ); ?> <a target="_blank" href="http://gowebben.com">GoWebben</a>.
151
  </div> <!-- .inside -->
152
 
153
  </div> <!-- .postbox -->
154
 
155
  <div class="postbox">
156
 
157
+ <h3><span><?php _e( 'GoWebben Hosting', 'svg-support' ); ?></span></h3>
158
  <div class="inside">
159
+ <p><a target="_blank" href="https://secure.gowebben.com/cart.php?promocode=svg-support"><?php _e( 'Claim your FREE $25 credit from', 'svg-support' ); ?> GoWebben</a> - <?php _e( 'No catch, just free credit for using this plugin! It will be applied automatically using the link provided, but in any case you can simply use code: SVGSUPPORT during checkout.', 'svg-support' ); ?></p>
160
  </div> <!-- .inside -->
161
 
162
  </div> <!-- .postbox -->
functions/localization.php CHANGED
@@ -6,10 +6,10 @@ if ( ! defined( 'ABSPATH' ) ) {
6
  exit; // Exit if accessed directly
7
  }
8
 
9
- add_action( 'plugins_loaded', 'bodhi_svgs_localization' );
10
 
11
  function bodhi_svgs_localization() {
12
- load_plugin_textdomain( 'svgsupport', false, basename( dirname( __FILE__ ) ) . '/languages' );
13
 
14
  }
15
 
6
  exit; // Exit if accessed directly
7
  }
8
 
9
+ add_action( 'init', 'bodhi_svgs_localization' );
10
 
11
  function bodhi_svgs_localization() {
12
+ load_plugin_textdomain( 'svg-support', false, basename( dirname( __FILE__ ) ) . '/languages' );
13
 
14
  }
15
 
js/min/svg-inline-min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function($){"img."!=cssTarget?jQuery(cssTarget).each(function(){var t=jQuery(this),e=t.attr("id"),r=t.attr("class"),a=t.attr("src");jQuery.get(a,function(a){var s=jQuery(a).find("svg");"undefined"!=typeof e&&(s=s.attr("id",e)),"undefined"!=typeof r&&(s=s.attr("class",r+" replaced-svg")),s=s.removeAttr("xmlns:a"),t.replaceWith(s)},"xml")}):jQuery("img.style-svg").each(function(){var t=jQuery(this),e=t.attr("id"),r=t.attr("class"),a=t.attr("src");jQuery.get(a,function(a){var s=jQuery(a).find("svg");"undefined"!=typeof e&&(s=s.attr("id",e)),"undefined"!=typeof r&&(s=s.attr("class",r+" replaced-svg")),s=s.removeAttr("xmlns:a"),t.replaceWith(s)},"xml")})});
1
+ jQuery(document).ready(function($){var e="img."!=cssTarget?cssTarget:"img.style-svg";jQuery(e).each(function(e){var t=jQuery(this),r=t.attr("id"),a=t.attr("class"),d=t.attr("src");jQuery.get(d,function(d){var s=jQuery(d).find("svg"),i=s.attr("id");"undefined"==typeof r?"undefined"==typeof i?(r="svg-replaced-"+e,s=s.attr("id",r)):r=i:s=s.attr("id",r),"undefined"!=typeof a&&(s=s.attr("class",a+" replaced-svg")),s=s.removeAttr("xmlns:a"),t.replaceWith(s),jQuery(document).trigger("svg.loaded",[r])},"xml")})});
js/svg-inline.js CHANGED
@@ -1,52 +1,33 @@
1
  jQuery(document).ready(function ($) {
2
 
3
- if( cssTarget != "img." ) { // first check if custom class field is not empty
 
4
 
5
- jQuery( cssTarget ).each(function(){
6
- var $img = jQuery(this);
7
- var imgID = $img.attr('id');
8
- var imgClass = $img.attr('class');
9
- var imgURL = $img.attr('src');
10
 
11
- jQuery.get(imgURL, function(data) {
12
- // Get the SVG tag, ignore the rest
13
- var $svg = jQuery(data).find('svg');
14
 
15
- // Add replaced image's ID to the new SVG
16
- if(typeof imgID !== 'undefined') {
17
- $svg = $svg.attr('id', imgID);
18
- }
19
- // Add replaced image's classes to the new SVG
20
- if(typeof imgClass !== 'undefined') {
21
- $svg = $svg.attr('class', imgClass+' replaced-svg');
22
- }
23
-
24
- // Remove any invalid XML tags as per http://validator.w3.org
25
- $svg = $svg.removeAttr('xmlns:a');
26
-
27
- // Replace image with new SVG
28
- $img.replaceWith($svg);
29
-
30
- }, 'xml');
31
-
32
- });
33
-
34
- } else { // use the default class if field was empty
35
-
36
- jQuery('img.style-svg').each(function(){
37
- var $img = jQuery(this);
38
- var imgID = $img.attr('id');
39
- var imgClass = $img.attr('class');
40
- var imgURL = $img.attr('src');
41
-
42
- jQuery.get(imgURL, function(data) {
43
  // Get the SVG tag, ignore the rest
44
  var $svg = jQuery(data).find('svg');
45
 
46
- // Add replaced image's ID to the new SVG
47
- if(typeof imgID !== 'undefined') {
 
 
 
 
 
 
 
 
 
48
  $svg = $svg.attr('id', imgID);
49
  }
 
50
  // Add replaced image's classes to the new SVG
51
  if(typeof imgClass !== 'undefined') {
52
  $svg = $svg.attr('class', imgClass+' replaced-svg');
@@ -58,10 +39,8 @@ jQuery(document).ready(function ($) {
58
  // Replace image with new SVG
59
  $img.replaceWith($svg);
60
 
61
- }, 'xml');
62
-
63
- });
64
-
65
- }
66
 
 
 
67
  });
1
  jQuery(document).ready(function ($) {
2
 
3
+ // Check to see if user set alternate class
4
+ var target = ( cssTarget != 'img.' ? cssTarget : 'img.style-svg' );
5
 
6
+ jQuery(target).each(function(index){
7
+ var $img = jQuery(this);
8
+ var imgID = $img.attr('id');
9
+ var imgClass = $img.attr('class');
10
+ var imgURL = $img.attr('src');
11
 
12
+ jQuery.get(imgURL, function(data) {
 
 
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  // Get the SVG tag, ignore the rest
15
  var $svg = jQuery(data).find('svg');
16
 
17
+ var svgID = $svg.attr('id');
18
+
19
+ // Add replaced image's ID to the new SVG if necessary
20
+ if(typeof imgID === 'undefined') {
21
+ if(typeof svgID === 'undefined') {
22
+ imgID = 'svg-replaced-'+index;
23
+ $svg = $svg.attr('id', imgID);
24
+ } else {
25
+ imgID = svgID;
26
+ }
27
+ } else {
28
  $svg = $svg.attr('id', imgID);
29
  }
30
+
31
  // Add replaced image's classes to the new SVG
32
  if(typeof imgClass !== 'undefined') {
33
  $svg = $svg.attr('class', imgClass+' replaced-svg');
39
  // Replace image with new SVG
40
  $img.replaceWith($svg);
41
 
42
+ jQuery(document).trigger('svg.loaded', [imgID]);
 
 
 
 
43
 
44
+ }, 'xml');
45
+ });
46
  });
languages/svgsupport-en_AU.mo CHANGED
Binary file
languages/svgsupport-en_AU.po CHANGED
@@ -3,9 +3,9 @@ msgstr ""
3
  "Project-Id-Version: SVG Support 2.2.3.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2016-05-16 20:19:06+00:00\n"
6
- "PO-Revision-Date: Mon May 16 2016 13:29:24 GMT-0700 (PDT)\n"
7
  "Last-Translator: root <benbodhi@gmail.com>\n"
8
- "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "Language: English (Australia)\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1\n"
11
  "MIME-Version: 1.0\n"
@@ -26,118 +26,55 @@ msgstr ""
26
  "X-Textdomain-Support: yes\n"
27
  "X-Loco-Target-Locale: en_AU"
28
 
29
- #: admin/plugin-action-meta-links.php:32
30
- msgid "$25 Free Credit from GoWebben"
31
- msgstr "$25 Free Credit from GoWebben"
32
-
33
- #: admin/svgs-settings-page.php:57
34
- msgid "Output JS in Footer?"
35
- msgstr "Output JS in Footer?"
36
-
37
- #: admin/svgs-settings-page.php:62
38
- msgid ""
39
- " Normally, scripts are placed in <code>head</code> of the HTML document. If "
40
- "this parameter is true, the script is placed before the closing "
41
- "<code>body</code> tag. This requires the theme to have the "
42
- "<code>wp_footer()</code> template tag in the appropriate place."
43
- msgstr ""
44
- " Normally, scripts are placed in <code>head</code> of the HTML document. If "
45
- "this parameter is true, the script is placed before the closing "
46
- "<code>body</code> tag. This requires the theme to have the "
47
- "<code>wp_footer()</code> template tag in the appropriate place."
48
-
49
- #: admin/svgs-settings-page.php:68
50
- msgid "Automatically insert class?"
51
- msgstr "Automatically insert class?"
52
 
53
- #: admin/svgs-settings-page.php:73
54
- msgid ""
55
- " Checking this will make sure that either the default class or the custom "
56
- "one you set below is inserted into the style attributes of <code>img</code> "
57
- "tags when you insert images. Additionally, it will remove all of the default "
58
- "WordPress classes."
59
- msgstr ""
60
- " Checking this will make sure that either the default class or the custom "
61
- "one you set below is inserted into the style attributes of <code>img</code> "
62
- "tags when you insert images. Additionally, it will remove all of the default "
63
- "WordPress classes."
64
-
65
- #: admin/svgs-settings-page.php:112
66
- msgid "Please Note:"
67
- msgstr "Please Note:"
68
-
69
- #: admin/svgs-settings-page.php:113
70
- msgid ""
71
- "- You will need to set your own height and width in your CSS for SVG files "
72
- "to display correctly."
73
- msgstr ""
74
- "- You will need to set your own height and width in your CSS for SVG files "
75
- "to display correctly."
76
 
77
- #: admin/svgs-settings-page.php:114
78
  msgid ""
79
- "- Your uploaded image needs to be an SVG file for this plugin to replace the "
80
- "img tag with the inline SVG code. It will not create SVG files for you."
81
  msgstr ""
82
- "- Your uploaded image needs to be an SVG file for this plugin to replace the "
83
- "img tag with the inline SVG code. It will not create SVG files for you."
84
-
85
- #: admin/svgs-settings-page.php:131
86
- msgid "Plugin Features"
87
- msgstr "Plugin Features"
88
-
89
- #: admin/svgs-settings-page.php:145
90
- msgid "About The Plugin"
91
- msgstr "About The Plugin"
92
-
93
- #: admin/svgs-settings-page.php:157
94
- msgid "GoWebben Hosting"
95
- msgstr "GoWebben Hosting"
96
 
97
- #: admin/svgs-settings-page.php:159
98
- msgid "Claim your FREE $25 credit from"
99
- msgstr "Claim your FREE $25 credit from"
100
 
101
- #: admin/svgs-settings-page.php:159
102
- msgid ""
103
- "No catch, just free credit for using this plugin! It will be applied "
104
- "automatically using the link provided, but in any case you can simply use "
105
- "code: SVGSUPPORT during checkout."
106
- msgstr ""
107
- "No catch, just free credit for using this plugin! It will be applied "
108
- "automatically using the link provided, but in any case you can simply use "
109
- "code: SVGSUPPORT during checkout."
110
 
111
- #: admin/admin-init.php:15
112
  msgid "SVG Support Options and Instructions"
113
  msgstr "SVG Support Options and Instructions"
114
 
115
- #. translators: plugin header field 'Name'
116
- #: admin/admin-init.php:16
117
- msgid "SVG Support"
118
- msgstr "SVG Support"
119
-
120
- #: admin/admin-init.php:29
121
  msgid "You can't play with this."
122
  msgstr "You can't play with this."
123
 
124
- #: admin/plugin-action-meta-links.php:30
125
  msgid "Get Support"
126
  msgstr "Get Support"
127
 
128
- #: admin/plugin-action-meta-links.php:31
129
  msgid "Donate to author"
130
  msgstr "Donate to author"
131
 
132
- #: admin/svgs-settings-page.php:4
 
 
 
 
133
  msgid "SVG Support Settings and Usage"
134
  msgstr "SVG Support Settings and Usage"
135
 
136
- #: admin/svgs-settings-page.php:12
137
  msgid "Introduction"
138
  msgstr "Introduction"
139
 
140
- #: admin/svgs-settings-page.php:15
141
  msgid ""
142
  "When using SVG images on your WordPress site, it can be hard to style "
143
  "elements within the SVG using CSS. <strong>Now you can, easily!</strong>"
@@ -145,7 +82,7 @@ msgstr ""
145
  "When using SVG images on your WordPress site, it can be hard to style "
146
  "elements within the SVG using CSS. <strong>Now you can, easily!</strong>"
147
 
148
- #: admin/svgs-settings-page.php:16
149
  msgid ""
150
  "This plugin not only provides SVG Support like the name says, it also allows "
151
  "you to easily embed your full SVG file's code using a simple IMG tag. By "
@@ -159,7 +96,7 @@ msgstr ""
159
  "dynamically replaces any IMG elements containing the <code>style-svg</code> "
160
  "class with your complete SVG."
161
 
162
- #: admin/svgs-settings-page.php:17
163
  msgid ""
164
  "The main purpose of this is to allow styling of SVG elements. Usually your "
165
  "styling options are restricted when using <code>embed</code>, "
@@ -169,28 +106,60 @@ msgstr ""
169
  "styling options are restricted when using <code>embed</code>, "
170
  "<code>object</code> or <code>img</code> tags alone."
171
 
172
- #: admin/svgs-settings-page.php:34
173
  msgid "Settings"
174
  msgstr "Settings"
175
 
176
- #: admin/svgs-settings-page.php:46
177
  msgid "Restrict to Administrators"
178
  msgstr "Restrict to Administrators"
179
 
180
- #: admin/svgs-settings-page.php:51 admin/svgs-settings-page.php:62
181
  #: admin/svgs-settings-page.php:73
182
  msgid "Yes"
183
  msgstr "Yes"
184
 
185
- #: admin/svgs-settings-page.php:51
186
  msgid " Restricts SVG upload priveledges to Administrators."
187
  msgstr " Restricts SVG upload priveledges to Administrators."
188
 
189
- #: admin/svgs-settings-page.php:78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
190
  msgid "CSS Class to target"
191
  msgstr "CSS Class to target"
192
 
193
- #: admin/svgs-settings-page.php:81
194
  msgid ""
195
  "The default target class is <code>style-svg</code>. You can change it to "
196
  "your own class such as <code>my-class</code> by typing it here.<br />Leave "
@@ -200,19 +169,19 @@ msgstr ""
200
  "your own class such as <code>my-class</code> by typing it here.<br />Leave "
201
  "blank to use the default class."
202
 
203
- #: admin/svgs-settings-page.php:87
204
  msgid "Save Changes"
205
  msgstr "Save Changes"
206
 
207
- #: admin/svgs-settings-page.php:98
208
  msgid "Usage"
209
  msgstr "Usage"
210
 
211
- #: admin/svgs-settings-page.php:101
212
  msgid "You can simply upload SVG images to your media library like any other file."
213
  msgstr "You can simply upload SVG images to your media library like any other file."
214
 
215
- #: admin/svgs-settings-page.php:102
216
  msgid ""
217
  "Now, embed your SVG image like a standard image with the addition of adding "
218
  "the class <code>style-svg</code> (or your custom class from above) to any "
@@ -222,15 +191,15 @@ msgstr ""
222
  "the class <code>style-svg</code> (or your custom class from above) to any "
223
  "IMG tags that you want this plugin to swap out with your actual SVG code."
224
 
225
- #: admin/svgs-settings-page.php:103
226
  msgid "For example:"
227
  msgstr "For example:"
228
 
229
- #: admin/svgs-settings-page.php:106
230
  msgid "or"
231
  msgstr "or"
232
 
233
- #: admin/svgs-settings-page.php:109
234
  msgid ""
235
  "The whole IMG tag element will now be dynamically replaced by the actual "
236
  "code of your SVG, making the inner content targetable."
@@ -238,66 +207,92 @@ msgstr ""
238
  "The whole IMG tag element will now be dynamically replaced by the actual "
239
  "code of your SVG, making the inner content targetable."
240
 
241
- #: admin/svgs-settings-page.php:110
242
  msgid "This allows you to target elements within your SVG using CSS."
243
  msgstr "This allows you to target elements within your SVG using CSS."
244
 
245
- #: admin/svgs-settings-page.php:134
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  msgid "SVG Support for your media library"
247
  msgstr "SVG Support for your media library"
248
 
249
- #: admin/svgs-settings-page.php:135
250
  msgid "Style SVG elements directly using CSS"
251
  msgstr "Style SVG elements directly using CSS"
252
 
253
- #: admin/svgs-settings-page.php:136
254
  msgid "Restrict to Administrators only"
255
  msgstr "Restrict to Administrators only"
256
 
257
- #: admin/svgs-settings-page.php:137
258
  msgid "Extremely Simple To Use"
259
  msgstr "Extremely Simple To Use"
260
 
261
- #: admin/svgs-settings-page.php:147
 
 
 
 
262
  msgid "You can read about this plugin in detail on"
263
  msgstr "You can read about this plugin in detail on"
264
 
265
- #: admin/svgs-settings-page.php:147
266
  msgid "The WordPress Plugin Repository"
267
  msgstr "The WordPress Plugin Repository"
268
 
269
- #: admin/svgs-settings-page.php:148
270
  msgid "Need help?"
271
  msgstr "Need help?"
272
 
273
- #: admin/svgs-settings-page.php:148
274
  msgid "Visit Support"
275
  msgstr "Visit Support"
276
 
277
- #: admin/svgs-settings-page.php:149
278
  msgid "Buy Benbodhi a Beer &rarr;"
279
  msgstr "Buy Benbodhi a Beer &rarr;"
280
 
281
- #: admin/svgs-settings-page.php:150
282
  msgid "from"
283
  msgstr "from"
284
 
285
- #. translators: plugin header field 'PluginURI'
286
- msgid "http://wordpress.org/plugins/svg-support/"
287
- msgstr "http://wordpress.org/plugins/svg-support/"
288
 
289
- #. translators: plugin header field 'Description'
 
 
 
 
290
  msgid ""
291
- "Allow SVG file uploads using the WordPress Media Library uploader plus "
292
- "direct styling of SVG elements using CSS."
 
293
  msgstr ""
294
- "Allow SVG file uploads using the WordPress Media Library uploader plus "
295
- "direct styling of SVG elements using CSS."
296
-
297
- #. translators: plugin header field 'Author'
298
- msgid "Benbodhi"
299
- msgstr "Benbodhi"
300
-
301
- #. translators: plugin header field 'AuthorURI'
302
- msgid "http://benbodhi.com"
303
- msgstr "http://benbodhi.com"
3
  "Project-Id-Version: SVG Support 2.2.3.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2016-05-16 20:19:06+00:00\n"
6
+ "PO-Revision-Date: Mon May 16 2016 13:53:49 GMT-0700 (PDT)\n"
7
  "Last-Translator: root <benbodhi@gmail.com>\n"
8
+ "Language-Team: Benbodhi <wp@benbodhi.com>\n"
9
  "Language: English (Australia)\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1\n"
11
  "MIME-Version: 1.0\n"
26
  "X-Textdomain-Support: yes\n"
27
  "X-Loco-Target-Locale: en_AU"
28
 
29
+ #. URI of the plugin
30
+ msgid "http://wordpress.org/plugins/svg-support"
31
+ msgstr "http://wordpress.org/plugins/svg-support"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
+ msgid "SVG Support"
34
+ msgstr "SVG Support"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
 
36
  msgid ""
37
+ "Allow SVG file uploads using the WordPress Media Library uploader plus "
38
+ "direct styling of SVG elements using CSS."
39
  msgstr ""
40
+ "Allow SVG file uploads using the WordPress Media Library uploader plus "
41
+ "direct styling of SVG elements using CSS."
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
+ msgid "Benbodhi"
44
+ msgstr "Benbodhi"
 
45
 
46
+ msgid "http://benbodhi.com"
47
+ msgstr "http://benbodhi.com"
 
 
 
 
 
 
 
48
 
49
+ #: ../admin/admin-init.php:15
50
  msgid "SVG Support Options and Instructions"
51
  msgstr "SVG Support Options and Instructions"
52
 
53
+ #: ../admin/admin-init.php:29
 
 
 
 
 
54
  msgid "You can't play with this."
55
  msgstr "You can't play with this."
56
 
57
+ #: ../admin/plugin-action-meta-links.php:30
58
  msgid "Get Support"
59
  msgstr "Get Support"
60
 
61
+ #: ../admin/plugin-action-meta-links.php:31
62
  msgid "Donate to author"
63
  msgstr "Donate to author"
64
 
65
+ #: ../admin/plugin-action-meta-links.php:32
66
+ msgid "$25 Free Credit from GoWebben"
67
+ msgstr "$25 Free Credit from GoWebben"
68
+
69
+ #: ../admin/svgs-settings-page.php:4
70
  msgid "SVG Support Settings and Usage"
71
  msgstr "SVG Support Settings and Usage"
72
 
73
+ #: ../admin/svgs-settings-page.php:12
74
  msgid "Introduction"
75
  msgstr "Introduction"
76
 
77
+ #: ../admin/svgs-settings-page.php:15
78
  msgid ""
79
  "When using SVG images on your WordPress site, it can be hard to style "
80
  "elements within the SVG using CSS. <strong>Now you can, easily!</strong>"
82
  "When using SVG images on your WordPress site, it can be hard to style "
83
  "elements within the SVG using CSS. <strong>Now you can, easily!</strong>"
84
 
85
+ #: ../admin/svgs-settings-page.php:16
86
  msgid ""
87
  "This plugin not only provides SVG Support like the name says, it also allows "
88
  "you to easily embed your full SVG file's code using a simple IMG tag. By "
96
  "dynamically replaces any IMG elements containing the <code>style-svg</code> "
97
  "class with your complete SVG."
98
 
99
+ #: ../admin/svgs-settings-page.php:17
100
  msgid ""
101
  "The main purpose of this is to allow styling of SVG elements. Usually your "
102
  "styling options are restricted when using <code>embed</code>, "
106
  "styling options are restricted when using <code>embed</code>, "
107
  "<code>object</code> or <code>img</code> tags alone."
108
 
109
+ #: ../admin/svgs-settings-page.php:34
110
  msgid "Settings"
111
  msgstr "Settings"
112
 
113
+ #: ../admin/svgs-settings-page.php:46
114
  msgid "Restrict to Administrators"
115
  msgstr "Restrict to Administrators"
116
 
117
+ #: ../admin/svgs-settings-page.php:51 ../admin/svgs-settings-page.php:62 ..
118
  #: admin/svgs-settings-page.php:73
119
  msgid "Yes"
120
  msgstr "Yes"
121
 
122
+ #: ../admin/svgs-settings-page.php:51
123
  msgid " Restricts SVG upload priveledges to Administrators."
124
  msgstr " Restricts SVG upload priveledges to Administrators."
125
 
126
+ #: ../admin/svgs-settings-page.php:57
127
+ msgid "Output JS in Footer?"
128
+ msgstr "Output JS in Footer?"
129
+
130
+ #: ../admin/svgs-settings-page.php:62
131
+ msgid ""
132
+ " Normally, scripts are placed in <code>head</code> of the HTML document. If "
133
+ "this parameter is true, the script is placed before the closing "
134
+ "<code>body</code> tag. This requires the theme to have the "
135
+ "<code>wp_footer()</code> template tag in the appropriate place."
136
+ msgstr ""
137
+ " Normally, scripts are placed in <code>head</code> of the HTML document. If "
138
+ "this parameter is true, the script is placed before the closing "
139
+ "<code>body</code> tag. This requires the theme to have the "
140
+ "<code>wp_footer()</code> template tag in the appropriate place."
141
+
142
+ #: ../admin/svgs-settings-page.php:68
143
+ msgid "Automatically insert class?"
144
+ msgstr "Automatically insert class?"
145
+
146
+ #: ../admin/svgs-settings-page.php:73
147
+ msgid ""
148
+ " Checking this will make sure that either the default class or the custom "
149
+ "one you set below is inserted into the style attributes of <code>img</code> "
150
+ "tags when you insert images. Additionally, it will remove all of the default "
151
+ "WordPress classes."
152
+ msgstr ""
153
+ " Checking this will make sure that either the default class or the custom "
154
+ "one you set below is inserted into the style attributes of <code>img</code> "
155
+ "tags when you insert images. Additionally, it will remove all of the default "
156
+ "WordPress classes."
157
+
158
+ #: ../admin/svgs-settings-page.php:78
159
  msgid "CSS Class to target"
160
  msgstr "CSS Class to target"
161
 
162
+ #: ../admin/svgs-settings-page.php:81
163
  msgid ""
164
  "The default target class is <code>style-svg</code>. You can change it to "
165
  "your own class such as <code>my-class</code> by typing it here.<br />Leave "
169
  "your own class such as <code>my-class</code> by typing it here.<br />Leave "
170
  "blank to use the default class."
171
 
172
+ #: ../admin/svgs-settings-page.php:87
173
  msgid "Save Changes"
174
  msgstr "Save Changes"
175
 
176
+ #: ../admin/svgs-settings-page.php:98
177
  msgid "Usage"
178
  msgstr "Usage"
179
 
180
+ #: ../admin/svgs-settings-page.php:101
181
  msgid "You can simply upload SVG images to your media library like any other file."
182
  msgstr "You can simply upload SVG images to your media library like any other file."
183
 
184
+ #: ../admin/svgs-settings-page.php:102
185
  msgid ""
186
  "Now, embed your SVG image like a standard image with the addition of adding "
187
  "the class <code>style-svg</code> (or your custom class from above) to any "
191
  "the class <code>style-svg</code> (or your custom class from above) to any "
192
  "IMG tags that you want this plugin to swap out with your actual SVG code."
193
 
194
+ #: ../admin/svgs-settings-page.php:103
195
  msgid "For example:"
196
  msgstr "For example:"
197
 
198
+ #: ../admin/svgs-settings-page.php:106
199
  msgid "or"
200
  msgstr "or"
201
 
202
+ #: ../admin/svgs-settings-page.php:109
203
  msgid ""
204
  "The whole IMG tag element will now be dynamically replaced by the actual "
205
  "code of your SVG, making the inner content targetable."
207
  "The whole IMG tag element will now be dynamically replaced by the actual "
208
  "code of your SVG, making the inner content targetable."
209
 
210
+ #: ../admin/svgs-settings-page.php:110
211
  msgid "This allows you to target elements within your SVG using CSS."
212
  msgstr "This allows you to target elements within your SVG using CSS."
213
 
214
+ #: ../admin/svgs-settings-page.php:112
215
+ msgid "Please Note:"
216
+ msgstr "Please Note:"
217
+
218
+ #: ../admin/svgs-settings-page.php:113
219
+ msgid ""
220
+ "- You will need to set your own height and width in your CSS for SVG files "
221
+ "to display correctly."
222
+ msgstr ""
223
+ "- You will need to set your own height and width in your CSS for SVG files "
224
+ "to display correctly."
225
+
226
+ #: ../admin/svgs-settings-page.php:114
227
+ msgid ""
228
+ "- Your uploaded image needs to be an SVG file for this plugin to replace the "
229
+ "img tag with the inline SVG code. It will not create SVG files for you."
230
+ msgstr ""
231
+ "- Your uploaded image needs to be an SVG file for this plugin to replace the "
232
+ "img tag with the inline SVG code. It will not create SVG files for you."
233
+
234
+ #: ../admin/svgs-settings-page.php:131
235
+ msgid "Plugin Features"
236
+ msgstr "Plugin Features"
237
+
238
+ #: ../admin/svgs-settings-page.php:134
239
  msgid "SVG Support for your media library"
240
  msgstr "SVG Support for your media library"
241
 
242
+ #: ../admin/svgs-settings-page.php:135
243
  msgid "Style SVG elements directly using CSS"
244
  msgstr "Style SVG elements directly using CSS"
245
 
246
+ #: ../admin/svgs-settings-page.php:136
247
  msgid "Restrict to Administrators only"
248
  msgstr "Restrict to Administrators only"
249
 
250
+ #: ../admin/svgs-settings-page.php:137
251
  msgid "Extremely Simple To Use"
252
  msgstr "Extremely Simple To Use"
253
 
254
+ #: ../admin/svgs-settings-page.php:145
255
+ msgid "About The Plugin"
256
+ msgstr "About The Plugin"
257
+
258
+ #: ../admin/svgs-settings-page.php:147
259
  msgid "You can read about this plugin in detail on"
260
  msgstr "You can read about this plugin in detail on"
261
 
262
+ #: ../admin/svgs-settings-page.php:147
263
  msgid "The WordPress Plugin Repository"
264
  msgstr "The WordPress Plugin Repository"
265
 
266
+ #: ../admin/svgs-settings-page.php:148
267
  msgid "Need help?"
268
  msgstr "Need help?"
269
 
270
+ #: ../admin/svgs-settings-page.php:148
271
  msgid "Visit Support"
272
  msgstr "Visit Support"
273
 
274
+ #: ../admin/svgs-settings-page.php:149
275
  msgid "Buy Benbodhi a Beer &rarr;"
276
  msgstr "Buy Benbodhi a Beer &rarr;"
277
 
278
+ #: ../admin/svgs-settings-page.php:150
279
  msgid "from"
280
  msgstr "from"
281
 
282
+ #: ../admin/svgs-settings-page.php:157
283
+ msgid "GoWebben Hosting"
284
+ msgstr "GoWebben Hosting"
285
 
286
+ #: ../admin/svgs-settings-page.php:159
287
+ msgid "Claim your FREE $25 credit from"
288
+ msgstr "Claim your FREE $25 credit from"
289
+
290
+ #: ../admin/svgs-settings-page.php:159
291
  msgid ""
292
+ "No catch, just free credit for using this plugin! It will be applied "
293
+ "automatically using the link provided, but in any case you can simply use "
294
+ "code: SVGSUPPORT during checkout."
295
  msgstr ""
296
+ "No catch, just free credit for using this plugin! It will be applied "
297
+ "automatically using the link provided, but in any case you can simply use "
298
+ "code: SVGSUPPORT during checkout."
 
 
 
 
 
 
 
languages/svgsupport-es_ES.mo CHANGED
Binary file
languages/svgsupport-es_ES.po CHANGED
@@ -3,9 +3,9 @@ msgstr ""
3
  "Project-Id-Version: SVG Support 2.2.3.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2016-05-16 20:19:06+00:00\n"
6
- "PO-Revision-Date: Mon May 16 2016 13:29:19 GMT-0700 (PDT)\n"
7
  "Last-Translator: root <benbodhi@gmail.com>\n"
8
- "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "Language: Spanish (Spain)\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1\n"
11
  "MIME-Version: 1.0\n"
@@ -23,15 +23,19 @@ msgstr ""
23
  "X-Loco-Target-Locale: es_ES\n"
24
  "X-Poedit-SearchPath-0: ."
25
 
26
- #: admin/plugin-action-meta-links.php:32
 
 
 
 
27
  msgid "$25 Free Credit from GoWebben"
28
  msgstr ""
29
 
30
- #: admin/svgs-settings-page.php:57
31
  msgid "Output JS in Footer?"
32
  msgstr ""
33
 
34
- #: admin/svgs-settings-page.php:62
35
  msgid ""
36
  " Normally, scripts are placed in <code>head</code> of the HTML document. If "
37
  "this parameter is true, the script is placed before the closing "
@@ -39,11 +43,11 @@ msgid ""
39
  "<code>wp_footer()</code> template tag in the appropriate place."
40
  msgstr ""
41
 
42
- #: admin/svgs-settings-page.php:68
43
  msgid "Automatically insert class?"
44
  msgstr ""
45
 
46
- #: admin/svgs-settings-page.php:73
47
  msgid ""
48
  " Checking this will make sure that either the default class or the custom "
49
  "one you set below is inserted into the style attributes of <code>img</code> "
@@ -51,75 +55,86 @@ msgid ""
51
  "WordPress classes."
52
  msgstr ""
53
 
54
- #: admin/svgs-settings-page.php:112
55
  msgid "Please Note:"
56
  msgstr ""
57
 
58
- #: admin/svgs-settings-page.php:113
59
  msgid ""
60
  "- You will need to set your own height and width in your CSS for SVG files "
61
  "to display correctly."
62
  msgstr ""
63
 
64
- #: admin/svgs-settings-page.php:114
65
  msgid ""
66
  "- Your uploaded image needs to be an SVG file for this plugin to replace the "
67
  "img tag with the inline SVG code. It will not create SVG files for you."
68
  msgstr ""
69
 
70
- #: admin/svgs-settings-page.php:131
71
  msgid "Plugin Features"
72
  msgstr ""
73
 
74
- #: admin/svgs-settings-page.php:145
75
  msgid "About The Plugin"
76
  msgstr ""
77
 
78
- #: admin/svgs-settings-page.php:157
79
  msgid "GoWebben Hosting"
80
  msgstr ""
81
 
82
- #: admin/svgs-settings-page.php:159
83
  msgid "Claim your FREE $25 credit from"
84
  msgstr ""
85
 
86
- #: admin/svgs-settings-page.php:159
87
  msgid ""
88
  "No catch, just free credit for using this plugin! It will be applied "
89
  "automatically using the link provided, but in any case you can simply use "
90
  "code: SVGSUPPORT during checkout."
91
  msgstr ""
92
 
93
- #: admin/admin-init.php:15
94
- msgid "SVG Support Options and Instructions"
95
- msgstr "SVG Support Opciones e Instrucciones"
96
-
97
- #. translators: plugin header field 'Name'
98
- #: admin/admin-init.php:16
99
  msgid "SVG Support"
100
  msgstr "SVG Support"
101
 
102
- #: admin/admin-init.php:29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  msgid "You can't play with this."
104
  msgstr "No puedes jugar con esto."
105
 
106
- #: admin/plugin-action-meta-links.php:30
107
  msgid "Get Support"
108
  msgstr "Obtener soporte"
109
 
110
- #: admin/plugin-action-meta-links.php:31
111
  msgid "Donate to author"
112
  msgstr "Donar al autor"
113
 
114
- #: admin/svgs-settings-page.php:4
115
  msgid "SVG Support Settings and Usage"
116
  msgstr "SVG Support Configuración y Uso"
117
 
118
- #: admin/svgs-settings-page.php:12
119
  msgid "Introduction"
120
  msgstr "Introducción"
121
 
122
- #: admin/svgs-settings-page.php:15
123
  msgid ""
124
  "When using SVG images on your WordPress site, it can be hard to style "
125
  "elements within the SVG using CSS. <strong>Now you can, easily!</strong>"
@@ -127,7 +142,7 @@ msgstr ""
127
  "Al usar imágenes SVG en un sitio de WordPress es complicado darle formato a "
128
  "los elementos SVG usando CSS. <strong>¡Ahora esto es sencillo!</strong>"
129
 
130
- #: admin/svgs-settings-page.php:16
131
  msgid ""
132
  "This plugin not only provides SVG Support like the name says, it also allows "
133
  "you to easily embed your full SVG file's code using a simple IMG tag. By "
@@ -140,7 +155,7 @@ msgstr ""
140
  "Añadiendo la clase <code>style-svg</code> a los elementos IMG este plugin "
141
  "los reemplaza de forma dinámica con los SVG completos."
142
 
143
- #: admin/svgs-settings-page.php:17
144
  msgid ""
145
  "The main purpose of this is to allow styling of SVG elements. Usually your "
146
  "styling options are restricted when using <code>embed</code>, "
@@ -150,28 +165,28 @@ msgstr ""
150
  "Normalmente las opciones de formato están restringidas al usar solo las "
151
  "etiquetas <code>embed</code>, <code>object</code> o <code>img</code>."
152
 
153
- #: admin/svgs-settings-page.php:34
154
  msgid "Settings"
155
  msgstr "Configuración"
156
 
157
- #: admin/svgs-settings-page.php:46
158
  msgid "Restrict to Administrators"
159
  msgstr "Restringir a los administradores"
160
 
161
- #: admin/svgs-settings-page.php:51 admin/svgs-settings-page.php:62
162
  #: admin/svgs-settings-page.php:73
163
  msgid "Yes"
164
  msgstr "Si"
165
 
166
- #: admin/svgs-settings-page.php:51
167
  msgid " Restricts SVG upload priveledges to Administrators."
168
  msgstr " Restringe la subida de archivos SVG a los administradores."
169
 
170
- #: admin/svgs-settings-page.php:78
171
  msgid "CSS Class to target"
172
  msgstr "Clase CSS objetivo"
173
 
174
- #: admin/svgs-settings-page.php:81
175
  msgid ""
176
  "The default target class is <code>style-svg</code>. You can change it to "
177
  "your own class such as <code>my-class</code> by typing it here.<br />Leave "
@@ -181,21 +196,21 @@ msgstr ""
181
  "clase propia como <code>my-class</code> tecleándola aquí.<br />Déjalo en "
182
  "blanco para usar la clase por defecto."
183
 
184
- #: admin/svgs-settings-page.php:87
185
  msgid "Save Changes"
186
  msgstr "Guardar cambios"
187
 
188
- #: admin/svgs-settings-page.php:98
189
  msgid "Usage"
190
  msgstr "Uso"
191
 
192
- #: admin/svgs-settings-page.php:101
193
  msgid "You can simply upload SVG images to your media library like any other file."
194
  msgstr ""
195
  "Puedes subir fácilmente imágenes SVG a tu librería de medios como otros "
196
  "formatos de archivo."
197
 
198
- #: admin/svgs-settings-page.php:102
199
  msgid ""
200
  "Now, embed your SVG image like a standard image with the addition of adding "
201
  "the class <code>style-svg</code> (or your custom class from above) to any "
@@ -205,15 +220,15 @@ msgstr ""
205
  "<code>style-svg</code> (o tu clase propia definida arriba) a cualquier "
206
  "etiqueta IMG que quieres que se cambie por el código SVG."
207
 
208
- #: admin/svgs-settings-page.php:103
209
  msgid "For example:"
210
  msgstr "por ejemplo:"
211
 
212
- #: admin/svgs-settings-page.php:106
213
  msgid "or"
214
  msgstr "o"
215
 
216
- #: admin/svgs-settings-page.php:109
217
  msgid ""
218
  "The whole IMG tag element will now be dynamically replaced by the actual "
219
  "code of your SVG, making the inner content targetable."
@@ -221,66 +236,46 @@ msgstr ""
221
  "Toda la etiqueta IMG ahora se reemplaza de forma dinámica con el código del "
222
  "SVG haciendo su contenido accesible."
223
 
224
- #: admin/svgs-settings-page.php:110
225
  msgid "This allows you to target elements within your SVG using CSS."
226
  msgstr "Esto permite acceder a los elementos SVG usando CSS."
227
 
228
- #: admin/svgs-settings-page.php:134
229
  msgid "SVG Support for your media library"
230
  msgstr "Soporte SVG para la librería de medios"
231
 
232
- #: admin/svgs-settings-page.php:135
233
  msgid "Style SVG elements directly using CSS"
234
  msgstr "Dar formato a los elementos SVG usando CSS"
235
 
236
- #: admin/svgs-settings-page.php:136
237
  msgid "Restrict to Administrators only"
238
  msgstr "Restringido para administradores"
239
 
240
- #: admin/svgs-settings-page.php:137
241
  msgid "Extremely Simple To Use"
242
  msgstr "Muy fácil de usar"
243
 
244
- #: admin/svgs-settings-page.php:147
245
  msgid "You can read about this plugin in detail on"
246
  msgstr "Puedes leer todo sobre el plugin en"
247
 
248
- #: admin/svgs-settings-page.php:147
249
  msgid "The WordPress Plugin Repository"
250
  msgstr "El repositorio de plugins de WordPress"
251
 
252
- #: admin/svgs-settings-page.php:148
253
  msgid "Need help?"
254
  msgstr "¿Necesitas ayuda?"
255
 
256
- #: admin/svgs-settings-page.php:148
257
  msgid "Visit Support"
258
  msgstr "Visitar soporte"
259
 
260
- #: admin/svgs-settings-page.php:149
261
  msgid "Buy Benbodhi a Beer &rarr;"
262
  msgstr "Comprar una cerveza para Benbodhi &rarr;"
263
 
264
- #: admin/svgs-settings-page.php:150
265
  msgid "from"
266
  msgstr "de"
267
-
268
- #. translators: plugin header field 'PluginURI'
269
- msgid "http://wordpress.org/plugins/svg-support/"
270
- msgstr "http://wordpress.org/plugins/svg-support/"
271
-
272
- #. translators: plugin header field 'Description'
273
- msgid ""
274
- "Allow SVG file uploads using the WordPress Media Library uploader plus "
275
- "direct styling of SVG elements using CSS."
276
- msgstr ""
277
- "Permitir la subida de archivos SVG a través de la librería de medios además "
278
- "de dar formato a los elementos SVG usando CSS."
279
-
280
- #. translators: plugin header field 'Author'
281
- msgid "Benbodhi"
282
- msgstr "Benbodhi"
283
-
284
- #. translators: plugin header field 'AuthorURI'
285
- msgid "http://benbodhi.com"
286
- msgstr "http://benbodhi.com"
3
  "Project-Id-Version: SVG Support 2.2.3.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2016-05-16 20:19:06+00:00\n"
6
+ "PO-Revision-Date: Mon May 16 2016 13:54:01 GMT-0700 (PDT)\n"
7
  "Last-Translator: root <benbodhi@gmail.com>\n"
8
+ "Language-Team: Benbodhi <wp@benbodhi.com>\n"
9
  "Language: Spanish (Spain)\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1\n"
11
  "MIME-Version: 1.0\n"
23
  "X-Loco-Target-Locale: es_ES\n"
24
  "X-Poedit-SearchPath-0: ."
25
 
26
+ #. URI of the plugin
27
+ msgid "http://wordpress.org/plugins/svg-support"
28
+ msgstr ""
29
+
30
+ #: ../admin/plugin-action-meta-links.php:32
31
  msgid "$25 Free Credit from GoWebben"
32
  msgstr ""
33
 
34
+ #: ../admin/svgs-settings-page.php:57
35
  msgid "Output JS in Footer?"
36
  msgstr ""
37
 
38
+ #: ../admin/svgs-settings-page.php:62
39
  msgid ""
40
  " Normally, scripts are placed in <code>head</code> of the HTML document. If "
41
  "this parameter is true, the script is placed before the closing "
43
  "<code>wp_footer()</code> template tag in the appropriate place."
44
  msgstr ""
45
 
46
+ #: ../admin/svgs-settings-page.php:68
47
  msgid "Automatically insert class?"
48
  msgstr ""
49
 
50
+ #: ../admin/svgs-settings-page.php:73
51
  msgid ""
52
  " Checking this will make sure that either the default class or the custom "
53
  "one you set below is inserted into the style attributes of <code>img</code> "
55
  "WordPress classes."
56
  msgstr ""
57
 
58
+ #: ../admin/svgs-settings-page.php:112
59
  msgid "Please Note:"
60
  msgstr ""
61
 
62
+ #: ../admin/svgs-settings-page.php:113
63
  msgid ""
64
  "- You will need to set your own height and width in your CSS for SVG files "
65
  "to display correctly."
66
  msgstr ""
67
 
68
+ #: ../admin/svgs-settings-page.php:114
69
  msgid ""
70
  "- Your uploaded image needs to be an SVG file for this plugin to replace the "
71
  "img tag with the inline SVG code. It will not create SVG files for you."
72
  msgstr ""
73
 
74
+ #: ../admin/svgs-settings-page.php:131
75
  msgid "Plugin Features"
76
  msgstr ""
77
 
78
+ #: ../admin/svgs-settings-page.php:145
79
  msgid "About The Plugin"
80
  msgstr ""
81
 
82
+ #: ../admin/svgs-settings-page.php:157
83
  msgid "GoWebben Hosting"
84
  msgstr ""
85
 
86
+ #: ../admin/svgs-settings-page.php:159
87
  msgid "Claim your FREE $25 credit from"
88
  msgstr ""
89
 
90
+ #: ../admin/svgs-settings-page.php:159
91
  msgid ""
92
  "No catch, just free credit for using this plugin! It will be applied "
93
  "automatically using the link provided, but in any case you can simply use "
94
  "code: SVGSUPPORT during checkout."
95
  msgstr ""
96
 
 
 
 
 
 
 
97
  msgid "SVG Support"
98
  msgstr "SVG Support"
99
 
100
+ msgid ""
101
+ "Allow SVG file uploads using the WordPress Media Library uploader plus "
102
+ "direct styling of SVG elements using CSS."
103
+ msgstr ""
104
+ "Permitir la subida de archivos SVG a través de la librería de medios además "
105
+ "de dar formato a los elementos SVG usando CSS."
106
+
107
+ msgid "Benbodhi"
108
+ msgstr "Benbodhi"
109
+
110
+ msgid "http://benbodhi.com"
111
+ msgstr "http://benbodhi.com"
112
+
113
+ #: ../admin/admin-init.php:15
114
+ msgid "SVG Support Options and Instructions"
115
+ msgstr "SVG Support Opciones e Instrucciones"
116
+
117
+ #: ../admin/admin-init.php:29
118
  msgid "You can't play with this."
119
  msgstr "No puedes jugar con esto."
120
 
121
+ #: ../admin/plugin-action-meta-links.php:30
122
  msgid "Get Support"
123
  msgstr "Obtener soporte"
124
 
125
+ #: ../admin/plugin-action-meta-links.php:31
126
  msgid "Donate to author"
127
  msgstr "Donar al autor"
128
 
129
+ #: ../admin/svgs-settings-page.php:4
130
  msgid "SVG Support Settings and Usage"
131
  msgstr "SVG Support Configuración y Uso"
132
 
133
+ #: ../admin/svgs-settings-page.php:12
134
  msgid "Introduction"
135
  msgstr "Introducción"
136
 
137
+ #: ../admin/svgs-settings-page.php:15
138
  msgid ""
139
  "When using SVG images on your WordPress site, it can be hard to style "
140
  "elements within the SVG using CSS. <strong>Now you can, easily!</strong>"
142
  "Al usar imágenes SVG en un sitio de WordPress es complicado darle formato a "
143
  "los elementos SVG usando CSS. <strong>¡Ahora esto es sencillo!</strong>"
144
 
145
+ #: ../admin/svgs-settings-page.php:16
146
  msgid ""
147
  "This plugin not only provides SVG Support like the name says, it also allows "
148
  "you to easily embed your full SVG file's code using a simple IMG tag. By "
155
  "Añadiendo la clase <code>style-svg</code> a los elementos IMG este plugin "
156
  "los reemplaza de forma dinámica con los SVG completos."
157
 
158
+ #: ../admin/svgs-settings-page.php:17
159
  msgid ""
160
  "The main purpose of this is to allow styling of SVG elements. Usually your "
161
  "styling options are restricted when using <code>embed</code>, "
165
  "Normalmente las opciones de formato están restringidas al usar solo las "
166
  "etiquetas <code>embed</code>, <code>object</code> o <code>img</code>."
167
 
168
+ #: ../admin/svgs-settings-page.php:34
169
  msgid "Settings"
170
  msgstr "Configuración"
171
 
172
+ #: ../admin/svgs-settings-page.php:46
173
  msgid "Restrict to Administrators"
174
  msgstr "Restringir a los administradores"
175
 
176
+ #: ../admin/svgs-settings-page.php:51 ../admin/svgs-settings-page.php:62 ..
177
  #: admin/svgs-settings-page.php:73
178
  msgid "Yes"
179
  msgstr "Si"
180
 
181
+ #: ../admin/svgs-settings-page.php:51
182
  msgid " Restricts SVG upload priveledges to Administrators."
183
  msgstr " Restringe la subida de archivos SVG a los administradores."
184
 
185
+ #: ../admin/svgs-settings-page.php:78
186
  msgid "CSS Class to target"
187
  msgstr "Clase CSS objetivo"
188
 
189
+ #: ../admin/svgs-settings-page.php:81
190
  msgid ""
191
  "The default target class is <code>style-svg</code>. You can change it to "
192
  "your own class such as <code>my-class</code> by typing it here.<br />Leave "
196
  "clase propia como <code>my-class</code> tecleándola aquí.<br />Déjalo en "
197
  "blanco para usar la clase por defecto."
198
 
199
+ #: ../admin/svgs-settings-page.php:87
200
  msgid "Save Changes"
201
  msgstr "Guardar cambios"
202
 
203
+ #: ../admin/svgs-settings-page.php:98
204
  msgid "Usage"
205
  msgstr "Uso"
206
 
207
+ #: ../admin/svgs-settings-page.php:101
208
  msgid "You can simply upload SVG images to your media library like any other file."
209
  msgstr ""
210
  "Puedes subir fácilmente imágenes SVG a tu librería de medios como otros "
211
  "formatos de archivo."
212
 
213
+ #: ../admin/svgs-settings-page.php:102
214
  msgid ""
215
  "Now, embed your SVG image like a standard image with the addition of adding "
216
  "the class <code>style-svg</code> (or your custom class from above) to any "
220
  "<code>style-svg</code> (o tu clase propia definida arriba) a cualquier "
221
  "etiqueta IMG que quieres que se cambie por el código SVG."
222
 
223
+ #: ../admin/svgs-settings-page.php:103
224
  msgid "For example:"
225
  msgstr "por ejemplo:"
226
 
227
+ #: ../admin/svgs-settings-page.php:106
228
  msgid "or"
229
  msgstr "o"
230
 
231
+ #: ../admin/svgs-settings-page.php:109
232
  msgid ""
233
  "The whole IMG tag element will now be dynamically replaced by the actual "
234
  "code of your SVG, making the inner content targetable."
236
  "Toda la etiqueta IMG ahora se reemplaza de forma dinámica con el código del "
237
  "SVG haciendo su contenido accesible."
238
 
239
+ #: ../admin/svgs-settings-page.php:110
240
  msgid "This allows you to target elements within your SVG using CSS."
241
  msgstr "Esto permite acceder a los elementos SVG usando CSS."
242
 
243
+ #: ../admin/svgs-settings-page.php:134
244
  msgid "SVG Support for your media library"
245
  msgstr "Soporte SVG para la librería de medios"
246
 
247
+ #: ../admin/svgs-settings-page.php:135
248
  msgid "Style SVG elements directly using CSS"
249
  msgstr "Dar formato a los elementos SVG usando CSS"
250
 
251
+ #: ../admin/svgs-settings-page.php:136
252
  msgid "Restrict to Administrators only"
253
  msgstr "Restringido para administradores"
254
 
255
+ #: ../admin/svgs-settings-page.php:137
256
  msgid "Extremely Simple To Use"
257
  msgstr "Muy fácil de usar"
258
 
259
+ #: ../admin/svgs-settings-page.php:147
260
  msgid "You can read about this plugin in detail on"
261
  msgstr "Puedes leer todo sobre el plugin en"
262
 
263
+ #: ../admin/svgs-settings-page.php:147
264
  msgid "The WordPress Plugin Repository"
265
  msgstr "El repositorio de plugins de WordPress"
266
 
267
+ #: ../admin/svgs-settings-page.php:148
268
  msgid "Need help?"
269
  msgstr "¿Necesitas ayuda?"
270
 
271
+ #: ../admin/svgs-settings-page.php:148
272
  msgid "Visit Support"
273
  msgstr "Visitar soporte"
274
 
275
+ #: ../admin/svgs-settings-page.php:149
276
  msgid "Buy Benbodhi a Beer &rarr;"
277
  msgstr "Comprar una cerveza para Benbodhi &rarr;"
278
 
279
+ #: ../admin/svgs-settings-page.php:150
280
  msgid "from"
281
  msgstr "de"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/svgsupport-sr_RS.mo CHANGED
Binary file
languages/svgsupport-sr_RS.po CHANGED
@@ -3,9 +3,9 @@ msgstr ""
3
  "Project-Id-Version: SVG Support 2.2.3.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2016-05-16 20:19:06+00:00\n"
6
- "PO-Revision-Date: Mon May 16 2016 13:29:11 GMT-0700 (PDT)\n"
7
  "Last-Translator: root <benbodhi@gmail.com>\n"
8
- "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "Language: Serbian\n"
10
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 && "
11
  "n%10<=4 &&(n%100<10||n%100 >= 20)? 1 : 2)\n"
@@ -24,15 +24,19 @@ msgstr ""
24
  "X-Poedit-SearchPath-0: .\n"
25
  "X-Loco-Target-Locale: sr_RS"
26
 
27
- #: admin/plugin-action-meta-links.php:32
 
 
 
 
28
  msgid "$25 Free Credit from GoWebben"
29
  msgstr ""
30
 
31
- #: admin/svgs-settings-page.php:57
32
  msgid "Output JS in Footer?"
33
  msgstr ""
34
 
35
- #: admin/svgs-settings-page.php:62
36
  msgid ""
37
  " Normally, scripts are placed in <code>head</code> of the HTML document. If "
38
  "this parameter is true, the script is placed before the closing "
@@ -40,11 +44,11 @@ msgid ""
40
  "<code>wp_footer()</code> template tag in the appropriate place."
41
  msgstr ""
42
 
43
- #: admin/svgs-settings-page.php:68
44
  msgid "Automatically insert class?"
45
  msgstr ""
46
 
47
- #: admin/svgs-settings-page.php:73
48
  msgid ""
49
  " Checking this will make sure that either the default class or the custom "
50
  "one you set below is inserted into the style attributes of <code>img</code> "
@@ -52,83 +56,86 @@ msgid ""
52
  "WordPress classes."
53
  msgstr ""
54
 
55
- #: admin/svgs-settings-page.php:112
56
  msgid "Please Note:"
57
  msgstr ""
58
 
59
- #: admin/svgs-settings-page.php:113
60
  msgid ""
61
  "- You will need to set your own height and width in your CSS for SVG files "
62
  "to display correctly."
63
  msgstr ""
64
 
65
- #: admin/svgs-settings-page.php:114
66
  msgid ""
67
  "- Your uploaded image needs to be an SVG file for this plugin to replace the "
68
  "img tag with the inline SVG code. It will not create SVG files for you."
69
  msgstr ""
70
 
71
- #: admin/svgs-settings-page.php:131
72
  msgid "Plugin Features"
73
  msgstr ""
74
 
75
- #: admin/svgs-settings-page.php:145
76
  msgid "About The Plugin"
77
  msgstr ""
78
 
79
- #: admin/svgs-settings-page.php:157
80
  msgid "GoWebben Hosting"
81
  msgstr ""
82
 
83
- #: admin/svgs-settings-page.php:159
84
  msgid "Claim your FREE $25 credit from"
85
  msgstr ""
86
 
87
- #: admin/svgs-settings-page.php:159
88
  msgid ""
89
  "No catch, just free credit for using this plugin! It will be applied "
90
  "automatically using the link provided, but in any case you can simply use "
91
  "code: SVGSUPPORT during checkout."
92
  msgstr ""
93
 
94
- # @ svgsupport
95
- #: admin/admin-init.php:15
96
- msgid "SVG Support Options and Instructions"
97
- msgstr "SVG opcije podrške i uputstva"
98
-
99
- # @ svgsupport
100
- #. translators: plugin header field 'Name'
101
- #: admin/admin-init.php:16
102
  msgid "SVG Support"
103
  msgstr "SVG Podrška"
104
 
105
- # @ svgsupport
106
- #: admin/admin-init.php:29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  msgid "You can't play with this."
108
  msgstr "Ne možete se igrati ovim."
109
 
110
- # @ svgsupport
111
- #: admin/plugin-action-meta-links.php:30
112
  msgid "Get Support"
113
  msgstr "Obezbedite podršku"
114
 
115
- # @ svgsupport
116
- #: admin/plugin-action-meta-links.php:31
117
  msgid "Donate to author"
118
  msgstr "Donirajte autoru"
119
 
120
- # @ svgsupport
121
- #: admin/svgs-settings-page.php:4
122
  msgid "SVG Support Settings and Usage"
123
  msgstr "SVG postavke podrške i upotreba"
124
 
125
- # @ svgsupport
126
- #: admin/svgs-settings-page.php:12
127
  msgid "Introduction"
128
  msgstr "Uvod"
129
 
130
- # @ svgsupport
131
- #: admin/svgs-settings-page.php:15
132
  msgid ""
133
  "When using SVG images on your WordPress site, it can be hard to style "
134
  "elements within the SVG using CSS. <strong>Now you can, easily!</strong>"
@@ -137,8 +144,7 @@ msgstr ""
137
  "stilizujete elemente u SVG-u uz pomoć CSS-a. <strong>Sad to možete uraditi s "
138
  "lakoćom!</strong>"
139
 
140
- # @ svgsupport
141
- #: admin/svgs-settings-page.php:16
142
  msgid ""
143
  "This plugin not only provides SVG Support like the name says, it also allows "
144
  "you to easily embed your full SVG file's code using a simple IMG tag. By "
@@ -152,8 +158,7 @@ msgstr ""
152
  "elementima, ovaj plugin dinamički zamenjuje bilo koje IMG elemente koji "
153
  "sadrže <code>style-svg</code klasu vašim kompletnim SVG-om."
154
 
155
- # @ svgsupport
156
- #: admin/svgs-settings-page.php:17
157
  msgid ""
158
  "The main purpose of this is to allow styling of SVG elements. Usually your "
159
  "styling options are restricted when using <code>embed</code>, "
@@ -163,34 +168,28 @@ msgstr ""
163
  "opcije stilizovanja ograničene ako koristite samo oznake: <code>embed</code>,"
164
  " <code>object</code> or <code>img</code>."
165
 
166
- # @ svgsupport
167
- #: admin/svgs-settings-page.php:34
168
  msgid "Settings"
169
  msgstr "Postavke"
170
 
171
- # @ svgsupport
172
- #: admin/svgs-settings-page.php:46
173
  msgid "Restrict to Administrators"
174
  msgstr "Ograniči administratorima"
175
 
176
- # @ svgsupport
177
- #: admin/svgs-settings-page.php:51 admin/svgs-settings-page.php:62
178
  #: admin/svgs-settings-page.php:73
179
  msgid "Yes"
180
  msgstr "Da"
181
 
182
- # @ svgsupport
183
- #: admin/svgs-settings-page.php:51
184
  msgid " Restricts SVG upload priveledges to Administrators."
185
  msgstr "Ograničava privilegije SVG učitavanja administratorima."
186
 
187
- # @ svgsupport
188
- #: admin/svgs-settings-page.php:78
189
  msgid "CSS Class to target"
190
  msgstr "CSS meta za ciljanje"
191
 
192
- # @ svgsupport
193
- #: admin/svgs-settings-page.php:81
194
  msgid ""
195
  "The default target class is <code>style-svg</code>. You can change it to "
196
  "your own class such as <code>my-class</code> by typing it here.<br />Leave "
@@ -200,25 +199,21 @@ msgstr ""
200
  "svoju klasu, kao što je <code>my-class</code> tako što ćete je ukucati ovde."
201
  "<br /> Ostavite prazno polje da biste koristili podrazumevanu klasu."
202
 
203
- # @ svgsupport
204
- #: admin/svgs-settings-page.php:87
205
  msgid "Save Changes"
206
  msgstr "Sačuvaj izmene"
207
 
208
- # @ svgsupport
209
- #: admin/svgs-settings-page.php:98
210
  msgid "Usage"
211
  msgstr "Upotreba"
212
 
213
- # @ svgsupport
214
- #: admin/svgs-settings-page.php:101
215
  msgid "You can simply upload SVG images to your media library like any other file."
216
  msgstr ""
217
  "Jednostavno, možete učitati SVG slike u svoju biblioteku medija kao i bilo "
218
  "koju drugu datoteku."
219
 
220
- # @ svgsupport
221
- #: admin/svgs-settings-page.php:102
222
  msgid ""
223
  "Now, embed your SVG image like a standard image with the addition of adding "
224
  "the class <code>style-svg</code> (or your custom class from above) to any "
@@ -228,18 +223,15 @@ msgstr ""
228
  "<code>style-svg</code> (ili svoje prilagođene navedene klase) u bilo koju od "
229
  "IMG oznaka koju želite da ovaj plugin zameni vašim pravim SVG kodom."
230
 
231
- # @ svgsupport
232
- #: admin/svgs-settings-page.php:103
233
  msgid "For example:"
234
  msgstr "Na primer:"
235
 
236
- # @ svgsupport
237
- #: admin/svgs-settings-page.php:106
238
  msgid "or"
239
  msgstr "ili"
240
 
241
- # @ svgsupport
242
- #: admin/svgs-settings-page.php:109
243
  msgid ""
244
  "The whole IMG tag element will now be dynamically replaced by the actual "
245
  "code of your SVG, making the inner content targetable."
@@ -247,81 +239,46 @@ msgstr ""
247
  "Sada će ceo IMG element oznake biti dinamički zamenjen pravim kodom ili "
248
  "vašim SVG-om, što znači da će unutrašnji sadržaj biti raspoloživ za ciljanje."
249
 
250
- # @ svgsupport
251
- #: admin/svgs-settings-page.php:110
252
  msgid "This allows you to target elements within your SVG using CSS."
253
  msgstr "Omogućava vam da ciljate elemente u svom SVG-u koristeći CSS."
254
 
255
- # @ svgsupport
256
- #: admin/svgs-settings-page.php:134
257
  msgid "SVG Support for your media library"
258
  msgstr "SVG podrška za vaše biblioteke medija"
259
 
260
- # @ svgsupport
261
- #: admin/svgs-settings-page.php:135
262
  msgid "Style SVG elements directly using CSS"
263
  msgstr "Stilizuj SVG elemente direktno koristeći CSS"
264
 
265
- # @ svgsupport
266
- #: admin/svgs-settings-page.php:136
267
  msgid "Restrict to Administrators only"
268
  msgstr "Ograniči samo za administratore"
269
 
270
- # @ svgsupport
271
- #: admin/svgs-settings-page.php:137
272
  msgid "Extremely Simple To Use"
273
  msgstr "Izuzetno jednostavan za upotrebu"
274
 
275
- # @ svgsupport
276
- #: admin/svgs-settings-page.php:147
277
  msgid "You can read about this plugin in detail on"
278
  msgstr "O ovom plugin-u detaljnije možete pročitati na:"
279
 
280
- # @ svgsupport
281
- #: admin/svgs-settings-page.php:147
282
  msgid "The WordPress Plugin Repository"
283
  msgstr "WordPress Plugin Repository"
284
 
285
- # @ svgsupport
286
- #: admin/svgs-settings-page.php:148
287
  msgid "Need help?"
288
  msgstr "Potrebna vam je pomoć?"
289
 
290
- # @ svgsupport
291
- #: admin/svgs-settings-page.php:148
292
  msgid "Visit Support"
293
  msgstr "Posetite podršku"
294
 
295
- # @ svgsupport
296
- #: admin/svgs-settings-page.php:149
297
  msgid "Buy Benbodhi a Beer &rarr;"
298
  msgstr "Kupite Benbodhi-ju pivo &rarr;"
299
 
300
- # @ svgsupport
301
- #: admin/svgs-settings-page.php:150
302
  msgid "from"
303
  msgstr "od"
304
-
305
- # @ svgsupport
306
- #. translators: plugin header field 'PluginURI'
307
- msgid "http://wordpress.org/plugins/svg-support/"
308
- msgstr "http://wordpress.org/plugins/svg-support/"
309
-
310
- # @ svgsupport
311
- #. translators: plugin header field 'Description'
312
- msgid ""
313
- "Allow SVG file uploads using the WordPress Media Library uploader plus "
314
- "direct styling of SVG elements using CSS."
315
- msgstr ""
316
- "Aktivirajte učitavanje SVG datoteka uz pomoć WordPress Media Library "
317
- "uploader-a i direktno stilizovanje SVG elemenata uz pomoć CSS-a."
318
-
319
- # @ svgsupport
320
- #. translators: plugin header field 'Author'
321
- msgid "Benbodhi"
322
- msgstr "Benbodhi"
323
-
324
- # @ svgsupport
325
- #. translators: plugin header field 'AuthorURI'
326
- msgid "http://benbodhi.com"
327
- msgstr "http://benbodhi.com"
3
  "Project-Id-Version: SVG Support 2.2.3.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2016-05-16 20:19:06+00:00\n"
6
+ "PO-Revision-Date: Mon May 16 2016 13:54:09 GMT-0700 (PDT)\n"
7
  "Last-Translator: root <benbodhi@gmail.com>\n"
8
+ "Language-Team: Benbodhi <wp@benbodhi.com>\n"
9
  "Language: Serbian\n"
10
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 && "
11
  "n%10<=4 &&(n%100<10||n%100 >= 20)? 1 : 2)\n"
24
  "X-Poedit-SearchPath-0: .\n"
25
  "X-Loco-Target-Locale: sr_RS"
26
 
27
+ #. URI of the plugin
28
+ msgid "http://wordpress.org/plugins/svg-support"
29
+ msgstr ""
30
+
31
+ #: ../admin/plugin-action-meta-links.php:32
32
  msgid "$25 Free Credit from GoWebben"
33
  msgstr ""
34
 
35
+ #: ../admin/svgs-settings-page.php:57
36
  msgid "Output JS in Footer?"
37
  msgstr ""
38
 
39
+ #: ../admin/svgs-settings-page.php:62
40
  msgid ""
41
  " Normally, scripts are placed in <code>head</code> of the HTML document. If "
42
  "this parameter is true, the script is placed before the closing "
44
  "<code>wp_footer()</code> template tag in the appropriate place."
45
  msgstr ""
46
 
47
+ #: ../admin/svgs-settings-page.php:68
48
  msgid "Automatically insert class?"
49
  msgstr ""
50
 
51
+ #: ../admin/svgs-settings-page.php:73
52
  msgid ""
53
  " Checking this will make sure that either the default class or the custom "
54
  "one you set below is inserted into the style attributes of <code>img</code> "
56
  "WordPress classes."
57
  msgstr ""
58
 
59
+ #: ../admin/svgs-settings-page.php:112
60
  msgid "Please Note:"
61
  msgstr ""
62
 
63
+ #: ../admin/svgs-settings-page.php:113
64
  msgid ""
65
  "- You will need to set your own height and width in your CSS for SVG files "
66
  "to display correctly."
67
  msgstr ""
68
 
69
+ #: ../admin/svgs-settings-page.php:114
70
  msgid ""
71
  "- Your uploaded image needs to be an SVG file for this plugin to replace the "
72
  "img tag with the inline SVG code. It will not create SVG files for you."
73
  msgstr ""
74
 
75
+ #: ../admin/svgs-settings-page.php:131
76
  msgid "Plugin Features"
77
  msgstr ""
78
 
79
+ #: ../admin/svgs-settings-page.php:145
80
  msgid "About The Plugin"
81
  msgstr ""
82
 
83
+ #: ../admin/svgs-settings-page.php:157
84
  msgid "GoWebben Hosting"
85
  msgstr ""
86
 
87
+ #: ../admin/svgs-settings-page.php:159
88
  msgid "Claim your FREE $25 credit from"
89
  msgstr ""
90
 
91
+ #: ../admin/svgs-settings-page.php:159
92
  msgid ""
93
  "No catch, just free credit for using this plugin! It will be applied "
94
  "automatically using the link provided, but in any case you can simply use "
95
  "code: SVGSUPPORT during checkout."
96
  msgstr ""
97
 
 
 
 
 
 
 
 
 
98
  msgid "SVG Support"
99
  msgstr "SVG Podrška"
100
 
101
+ msgid ""
102
+ "Allow SVG file uploads using the WordPress Media Library uploader plus "
103
+ "direct styling of SVG elements using CSS."
104
+ msgstr ""
105
+ "Aktivirajte učitavanje SVG datoteka uz pomoć WordPress Media Library "
106
+ "uploader-a i direktno stilizovanje SVG elemenata uz pomoć CSS-a."
107
+
108
+ msgid "Benbodhi"
109
+ msgstr "Benbodhi"
110
+
111
+ msgid "http://benbodhi.com"
112
+ msgstr "http://benbodhi.com"
113
+
114
+ #: ../admin/admin-init.php:15
115
+ msgid "SVG Support Options and Instructions"
116
+ msgstr "SVG opcije podrške i uputstva"
117
+
118
+ #: ../admin/admin-init.php:29
119
  msgid "You can't play with this."
120
  msgstr "Ne možete se igrati ovim."
121
 
122
+ #: ../admin/plugin-action-meta-links.php:30
 
123
  msgid "Get Support"
124
  msgstr "Obezbedite podršku"
125
 
126
+ #: ../admin/plugin-action-meta-links.php:31
 
127
  msgid "Donate to author"
128
  msgstr "Donirajte autoru"
129
 
130
+ #: ../admin/svgs-settings-page.php:4
 
131
  msgid "SVG Support Settings and Usage"
132
  msgstr "SVG postavke podrške i upotreba"
133
 
134
+ #: ../admin/svgs-settings-page.php:12
 
135
  msgid "Introduction"
136
  msgstr "Uvod"
137
 
138
+ #: ../admin/svgs-settings-page.php:15
 
139
  msgid ""
140
  "When using SVG images on your WordPress site, it can be hard to style "
141
  "elements within the SVG using CSS. <strong>Now you can, easily!</strong>"
144
  "stilizujete elemente u SVG-u uz pomoć CSS-a. <strong>Sad to možete uraditi s "
145
  "lakoćom!</strong>"
146
 
147
+ #: ../admin/svgs-settings-page.php:16
 
148
  msgid ""
149
  "This plugin not only provides SVG Support like the name says, it also allows "
150
  "you to easily embed your full SVG file's code using a simple IMG tag. By "
158
  "elementima, ovaj plugin dinamički zamenjuje bilo koje IMG elemente koji "
159
  "sadrže <code>style-svg</code klasu vašim kompletnim SVG-om."
160
 
161
+ #: ../admin/svgs-settings-page.php:17
 
162
  msgid ""
163
  "The main purpose of this is to allow styling of SVG elements. Usually your "
164
  "styling options are restricted when using <code>embed</code>, "
168
  "opcije stilizovanja ograničene ako koristite samo oznake: <code>embed</code>,"
169
  " <code>object</code> or <code>img</code>."
170
 
171
+ #: ../admin/svgs-settings-page.php:34
 
172
  msgid "Settings"
173
  msgstr "Postavke"
174
 
175
+ #: ../admin/svgs-settings-page.php:46
 
176
  msgid "Restrict to Administrators"
177
  msgstr "Ograniči administratorima"
178
 
179
+ #: ../admin/svgs-settings-page.php:51 ../admin/svgs-settings-page.php:62 ..
 
180
  #: admin/svgs-settings-page.php:73
181
  msgid "Yes"
182
  msgstr "Da"
183
 
184
+ #: ../admin/svgs-settings-page.php:51
 
185
  msgid " Restricts SVG upload priveledges to Administrators."
186
  msgstr "Ograničava privilegije SVG učitavanja administratorima."
187
 
188
+ #: ../admin/svgs-settings-page.php:78
 
189
  msgid "CSS Class to target"
190
  msgstr "CSS meta za ciljanje"
191
 
192
+ #: ../admin/svgs-settings-page.php:81
 
193
  msgid ""
194
  "The default target class is <code>style-svg</code>. You can change it to "
195
  "your own class such as <code>my-class</code> by typing it here.<br />Leave "
199
  "svoju klasu, kao što je <code>my-class</code> tako što ćete je ukucati ovde."
200
  "<br /> Ostavite prazno polje da biste koristili podrazumevanu klasu."
201
 
202
+ #: ../admin/svgs-settings-page.php:87
 
203
  msgid "Save Changes"
204
  msgstr "Sačuvaj izmene"
205
 
206
+ #: ../admin/svgs-settings-page.php:98
 
207
  msgid "Usage"
208
  msgstr "Upotreba"
209
 
210
+ #: ../admin/svgs-settings-page.php:101
 
211
  msgid "You can simply upload SVG images to your media library like any other file."
212
  msgstr ""
213
  "Jednostavno, možete učitati SVG slike u svoju biblioteku medija kao i bilo "
214
  "koju drugu datoteku."
215
 
216
+ #: ../admin/svgs-settings-page.php:102
 
217
  msgid ""
218
  "Now, embed your SVG image like a standard image with the addition of adding "
219
  "the class <code>style-svg</code> (or your custom class from above) to any "
223
  "<code>style-svg</code> (ili svoje prilagođene navedene klase) u bilo koju od "
224
  "IMG oznaka koju želite da ovaj plugin zameni vašim pravim SVG kodom."
225
 
226
+ #: ../admin/svgs-settings-page.php:103
 
227
  msgid "For example:"
228
  msgstr "Na primer:"
229
 
230
+ #: ../admin/svgs-settings-page.php:106
 
231
  msgid "or"
232
  msgstr "ili"
233
 
234
+ #: ../admin/svgs-settings-page.php:109
 
235
  msgid ""
236
  "The whole IMG tag element will now be dynamically replaced by the actual "
237
  "code of your SVG, making the inner content targetable."
239
  "Sada će ceo IMG element oznake biti dinamički zamenjen pravim kodom ili "
240
  "vašim SVG-om, što znači da će unutrašnji sadržaj biti raspoloživ za ciljanje."
241
 
242
+ #: ../admin/svgs-settings-page.php:110
 
243
  msgid "This allows you to target elements within your SVG using CSS."
244
  msgstr "Omogućava vam da ciljate elemente u svom SVG-u koristeći CSS."
245
 
246
+ #: ../admin/svgs-settings-page.php:134
 
247
  msgid "SVG Support for your media library"
248
  msgstr "SVG podrška za vaše biblioteke medija"
249
 
250
+ #: ../admin/svgs-settings-page.php:135
 
251
  msgid "Style SVG elements directly using CSS"
252
  msgstr "Stilizuj SVG elemente direktno koristeći CSS"
253
 
254
+ #: ../admin/svgs-settings-page.php:136
 
255
  msgid "Restrict to Administrators only"
256
  msgstr "Ograniči samo za administratore"
257
 
258
+ #: ../admin/svgs-settings-page.php:137
 
259
  msgid "Extremely Simple To Use"
260
  msgstr "Izuzetno jednostavan za upotrebu"
261
 
262
+ #: ../admin/svgs-settings-page.php:147
 
263
  msgid "You can read about this plugin in detail on"
264
  msgstr "O ovom plugin-u detaljnije možete pročitati na:"
265
 
266
+ #: ../admin/svgs-settings-page.php:147
 
267
  msgid "The WordPress Plugin Repository"
268
  msgstr "WordPress Plugin Repository"
269
 
270
+ #: ../admin/svgs-settings-page.php:148
 
271
  msgid "Need help?"
272
  msgstr "Potrebna vam je pomoć?"
273
 
274
+ #: ../admin/svgs-settings-page.php:148
 
275
  msgid "Visit Support"
276
  msgstr "Posetite podršku"
277
 
278
+ #: ../admin/svgs-settings-page.php:149
 
279
  msgid "Buy Benbodhi a Beer &rarr;"
280
  msgstr "Kupite Benbodhi-ju pivo &rarr;"
281
 
282
+ #: ../admin/svgs-settings-page.php:150
 
283
  msgid "from"
284
  msgstr "od"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/svgsupport.pot CHANGED
@@ -5,10 +5,10 @@ msgstr ""
5
  "Project-Id-Version: SVG Support 2.2.3.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/svg-support\n"
7
  "POT-Creation-Date: 2016-05-16 20:19:06+00:00\n"
8
- "POT-Revision-Date: Mon May 16 2016 13:29:30 GMT-0700 (PDT)\n"
9
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
  "Last-Translator: Benbodhi <wp@benbodhi.com>\n"
11
- "Language-Team: LANGUAGE <LL@li.org>\n"
12
  "Language: \n"
13
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION\n"
14
  "MIME-Version: 1.0\n"
@@ -24,47 +24,64 @@ msgstr ""
24
  "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
25
  "X-Generator: Loco - https://localise.biz/"
26
 
27
- #: admin/admin-init.php:15
28
- msgid "SVG Support Options and Instructions"
29
- msgstr ""
30
-
31
  #. #-#-#-#-# plugin.pot (SVG Support 2.2.3.1) #-#-#-#-#
32
  #. Plugin Name of the plugin/theme
33
- #: admin/admin-init.php:16
34
  msgid "SVG Support"
35
  msgstr ""
36
 
37
- #: admin/admin-init.php:29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  msgid "You can't play with this."
39
  msgstr ""
40
 
41
- #: admin/plugin-action-meta-links.php:30
42
  msgid "Get Support"
43
  msgstr ""
44
 
45
- #: admin/plugin-action-meta-links.php:31
46
  msgid "Donate to author"
47
  msgstr ""
48
 
49
- #: admin/plugin-action-meta-links.php:32
50
  msgid "$25 Free Credit from GoWebben"
51
  msgstr ""
52
 
53
- #: admin/svgs-settings-page.php:4
54
  msgid "SVG Support Settings and Usage"
55
  msgstr ""
56
 
57
- #: admin/svgs-settings-page.php:12
58
  msgid "Introduction"
59
  msgstr ""
60
 
61
- #: admin/svgs-settings-page.php:15
62
  msgid ""
63
  "When using SVG images on your WordPress site, it can be hard to style "
64
  "elements within the SVG using CSS. <strong>Now you can, easily!</strong>"
65
  msgstr ""
66
 
67
- #: admin/svgs-settings-page.php:16
68
  msgid ""
69
  "This plugin not only provides SVG Support like the name says, it also allows "
70
  "you to easily embed your full SVG file's code using a simple IMG tag. By "
@@ -73,35 +90,35 @@ msgid ""
73
  "class with your complete SVG."
74
  msgstr ""
75
 
76
- #: admin/svgs-settings-page.php:17
77
  msgid ""
78
  "The main purpose of this is to allow styling of SVG elements. Usually your "
79
  "styling options are restricted when using <code>embed</code>, "
80
  "<code>object</code> or <code>img</code> tags alone."
81
  msgstr ""
82
 
83
- #: admin/svgs-settings-page.php:34
84
  msgid "Settings"
85
  msgstr ""
86
 
87
- #: admin/svgs-settings-page.php:46
88
  msgid "Restrict to Administrators"
89
  msgstr ""
90
 
91
- #: admin/svgs-settings-page.php:51 admin/svgs-settings-page.php:62
92
- #: admin/svgs-settings-page.php:73
93
  msgid "Yes"
94
  msgstr ""
95
 
96
- #: admin/svgs-settings-page.php:51
97
  msgid " Restricts SVG upload priveledges to Administrators."
98
  msgstr ""
99
 
100
- #: admin/svgs-settings-page.php:57
101
  msgid "Output JS in Footer?"
102
  msgstr ""
103
 
104
- #: admin/svgs-settings-page.php:62
105
  msgid ""
106
  " Normally, scripts are placed in <code>head</code> of the HTML document. If "
107
  "this parameter is true, the script is placed before the closing "
@@ -109,11 +126,11 @@ msgid ""
109
  "<code>wp_footer()</code> template tag in the appropriate place."
110
  msgstr ""
111
 
112
- #: admin/svgs-settings-page.php:68
113
  msgid "Automatically insert class?"
114
  msgstr ""
115
 
116
- #: admin/svgs-settings-page.php:73
117
  msgid ""
118
  " Checking this will make sure that either the default class or the custom "
119
  "one you set below is inserted into the style attributes of <code>img</code> "
@@ -121,147 +138,129 @@ msgid ""
121
  "WordPress classes."
122
  msgstr ""
123
 
124
- #: admin/svgs-settings-page.php:78
125
  msgid "CSS Class to target"
126
  msgstr ""
127
 
128
- #: admin/svgs-settings-page.php:81
129
  msgid ""
130
  "The default target class is <code>style-svg</code>. You can change it to "
131
  "your own class such as <code>my-class</code> by typing it here.<br />Leave "
132
  "blank to use the default class."
133
  msgstr ""
134
 
135
- #: admin/svgs-settings-page.php:87
136
  msgid "Save Changes"
137
  msgstr ""
138
 
139
- #: admin/svgs-settings-page.php:98
140
  msgid "Usage"
141
  msgstr ""
142
 
143
- #: admin/svgs-settings-page.php:101
144
  msgid "You can simply upload SVG images to your media library like any other file."
145
  msgstr ""
146
 
147
- #: admin/svgs-settings-page.php:102
148
  msgid ""
149
  "Now, embed your SVG image like a standard image with the addition of adding "
150
  "the class <code>style-svg</code> (or your custom class from above) to any "
151
  "IMG tags that you want this plugin to swap out with your actual SVG code."
152
  msgstr ""
153
 
154
- #: admin/svgs-settings-page.php:103
155
  msgid "For example:"
156
  msgstr ""
157
 
158
- #: admin/svgs-settings-page.php:106
159
  msgid "or"
160
  msgstr ""
161
 
162
- #: admin/svgs-settings-page.php:109
163
  msgid ""
164
  "The whole IMG tag element will now be dynamically replaced by the actual "
165
  "code of your SVG, making the inner content targetable."
166
  msgstr ""
167
 
168
- #: admin/svgs-settings-page.php:110
169
  msgid "This allows you to target elements within your SVG using CSS."
170
  msgstr ""
171
 
172
- #: admin/svgs-settings-page.php:112
173
  msgid "Please Note:"
174
  msgstr ""
175
 
176
- #: admin/svgs-settings-page.php:113
177
  msgid ""
178
  "- You will need to set your own height and width in your CSS for SVG files "
179
  "to display correctly."
180
  msgstr ""
181
 
182
- #: admin/svgs-settings-page.php:114
183
  msgid ""
184
  "- Your uploaded image needs to be an SVG file for this plugin to replace the "
185
  "img tag with the inline SVG code. It will not create SVG files for you."
186
  msgstr ""
187
 
188
- #: admin/svgs-settings-page.php:131
189
  msgid "Plugin Features"
190
  msgstr ""
191
 
192
- #: admin/svgs-settings-page.php:134
193
  msgid "SVG Support for your media library"
194
  msgstr ""
195
 
196
- #: admin/svgs-settings-page.php:135
197
  msgid "Style SVG elements directly using CSS"
198
  msgstr ""
199
 
200
- #: admin/svgs-settings-page.php:136
201
  msgid "Restrict to Administrators only"
202
  msgstr ""
203
 
204
- #: admin/svgs-settings-page.php:137
205
  msgid "Extremely Simple To Use"
206
  msgstr ""
207
 
208
- #: admin/svgs-settings-page.php:145
209
  msgid "About The Plugin"
210
  msgstr ""
211
 
212
- #: admin/svgs-settings-page.php:147
213
  msgid "You can read about this plugin in detail on"
214
  msgstr ""
215
 
216
- #: admin/svgs-settings-page.php:147
217
  msgid "The WordPress Plugin Repository"
218
  msgstr ""
219
 
220
- #: admin/svgs-settings-page.php:148
221
  msgid "Need help?"
222
  msgstr ""
223
 
224
- #: admin/svgs-settings-page.php:148
225
  msgid "Visit Support"
226
  msgstr ""
227
 
228
- #: admin/svgs-settings-page.php:149
229
  msgid "Buy Benbodhi a Beer &rarr;"
230
  msgstr ""
231
 
232
- #: admin/svgs-settings-page.php:150
233
  msgid "from"
234
  msgstr ""
235
 
236
- #: admin/svgs-settings-page.php:157
237
  msgid "GoWebben Hosting"
238
  msgstr ""
239
 
240
- #: admin/svgs-settings-page.php:159
241
  msgid "Claim your FREE $25 credit from"
242
  msgstr ""
243
 
244
- #: admin/svgs-settings-page.php:159
245
  msgid ""
246
  "No catch, just free credit for using this plugin! It will be applied "
247
  "automatically using the link provided, but in any case you can simply use "
248
  "code: SVGSUPPORT during checkout."
249
  msgstr ""
250
-
251
- #. Plugin URI of the plugin/theme
252
- msgid "http://wordpress.org/plugins/svg-support/"
253
- msgstr ""
254
-
255
- #. Description of the plugin/theme
256
- msgid ""
257
- "Allow SVG file uploads using the WordPress Media Library uploader plus "
258
- "direct styling of SVG elements using CSS."
259
- msgstr ""
260
-
261
- #. Author of the plugin/theme
262
- msgid "Benbodhi"
263
- msgstr ""
264
-
265
- #. Author URI of the plugin/theme
266
- msgid "http://benbodhi.com"
267
- msgstr ""
5
  "Project-Id-Version: SVG Support 2.2.3.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/svg-support\n"
7
  "POT-Creation-Date: 2016-05-16 20:19:06+00:00\n"
8
+ "POT-Revision-Date: Mon May 16 2016 13:53:21 GMT-0700 (PDT)\n"
9
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
  "Last-Translator: Benbodhi <wp@benbodhi.com>\n"
11
+ "Language-Team: Benbodhi <wp@benbodhi.com>\n"
12
  "Language: \n"
13
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION\n"
14
  "MIME-Version: 1.0\n"
24
  "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
25
  "X-Generator: Loco - https://localise.biz/"
26
 
 
 
 
 
27
  #. #-#-#-#-# plugin.pot (SVG Support 2.2.3.1) #-#-#-#-#
28
  #. Plugin Name of the plugin/theme
 
29
  msgid "SVG Support"
30
  msgstr ""
31
 
32
+ #. URI of the plugin
33
+ msgid "http://wordpress.org/plugins/svg-support"
34
+ msgstr ""
35
+
36
+ #. Description of the plugin/theme
37
+ msgid ""
38
+ "Allow SVG file uploads using the WordPress Media Library uploader plus "
39
+ "direct styling of SVG elements using CSS."
40
+ msgstr ""
41
+
42
+ #. Author of the plugin/theme
43
+ msgid "Benbodhi"
44
+ msgstr ""
45
+
46
+ #. Author URI of the plugin/theme
47
+ msgid "http://benbodhi.com"
48
+ msgstr ""
49
+
50
+ #: ../admin/admin-init.php:15
51
+ msgid "SVG Support Options and Instructions"
52
+ msgstr ""
53
+
54
+ #: ../admin/admin-init.php:29
55
  msgid "You can't play with this."
56
  msgstr ""
57
 
58
+ #: ../admin/plugin-action-meta-links.php:30
59
  msgid "Get Support"
60
  msgstr ""
61
 
62
+ #: ../admin/plugin-action-meta-links.php:31
63
  msgid "Donate to author"
64
  msgstr ""
65
 
66
+ #: ../admin/plugin-action-meta-links.php:32
67
  msgid "$25 Free Credit from GoWebben"
68
  msgstr ""
69
 
70
+ #: ../admin/svgs-settings-page.php:4
71
  msgid "SVG Support Settings and Usage"
72
  msgstr ""
73
 
74
+ #: ../admin/svgs-settings-page.php:12
75
  msgid "Introduction"
76
  msgstr ""
77
 
78
+ #: ../admin/svgs-settings-page.php:15
79
  msgid ""
80
  "When using SVG images on your WordPress site, it can be hard to style "
81
  "elements within the SVG using CSS. <strong>Now you can, easily!</strong>"
82
  msgstr ""
83
 
84
+ #: ../admin/svgs-settings-page.php:16
85
  msgid ""
86
  "This plugin not only provides SVG Support like the name says, it also allows "
87
  "you to easily embed your full SVG file's code using a simple IMG tag. By "
90
  "class with your complete SVG."
91
  msgstr ""
92
 
93
+ #: ../admin/svgs-settings-page.php:17
94
  msgid ""
95
  "The main purpose of this is to allow styling of SVG elements. Usually your "
96
  "styling options are restricted when using <code>embed</code>, "
97
  "<code>object</code> or <code>img</code> tags alone."
98
  msgstr ""
99
 
100
+ #: ../admin/svgs-settings-page.php:34
101
  msgid "Settings"
102
  msgstr ""
103
 
104
+ #: ../admin/svgs-settings-page.php:46
105
  msgid "Restrict to Administrators"
106
  msgstr ""
107
 
108
+ #: ../admin/svgs-settings-page.php:51 ../admin/svgs-settings-page.php:62 ..
109
+ #: /admin/svgs-settings-page.php:73
110
  msgid "Yes"
111
  msgstr ""
112
 
113
+ #: ../admin/svgs-settings-page.php:51
114
  msgid " Restricts SVG upload priveledges to Administrators."
115
  msgstr ""
116
 
117
+ #: ../admin/svgs-settings-page.php:57
118
  msgid "Output JS in Footer?"
119
  msgstr ""
120
 
121
+ #: ../admin/svgs-settings-page.php:62
122
  msgid ""
123
  " Normally, scripts are placed in <code>head</code> of the HTML document. If "
124
  "this parameter is true, the script is placed before the closing "
126
  "<code>wp_footer()</code> template tag in the appropriate place."
127
  msgstr ""
128
 
129
+ #: ../admin/svgs-settings-page.php:68
130
  msgid "Automatically insert class?"
131
  msgstr ""
132
 
133
+ #: ../admin/svgs-settings-page.php:73
134
  msgid ""
135
  " Checking this will make sure that either the default class or the custom "
136
  "one you set below is inserted into the style attributes of <code>img</code> "
138
  "WordPress classes."
139
  msgstr ""
140
 
141
+ #: ../admin/svgs-settings-page.php:78
142
  msgid "CSS Class to target"
143
  msgstr ""
144
 
145
+ #: ../admin/svgs-settings-page.php:81
146
  msgid ""
147
  "The default target class is <code>style-svg</code>. You can change it to "
148
  "your own class such as <code>my-class</code> by typing it here.<br />Leave "
149
  "blank to use the default class."
150
  msgstr ""
151
 
152
+ #: ../admin/svgs-settings-page.php:87
153
  msgid "Save Changes"
154
  msgstr ""
155
 
156
+ #: ../admin/svgs-settings-page.php:98
157
  msgid "Usage"
158
  msgstr ""
159
 
160
+ #: ../admin/svgs-settings-page.php:101
161
  msgid "You can simply upload SVG images to your media library like any other file."
162
  msgstr ""
163
 
164
+ #: ../admin/svgs-settings-page.php:102
165
  msgid ""
166
  "Now, embed your SVG image like a standard image with the addition of adding "
167
  "the class <code>style-svg</code> (or your custom class from above) to any "
168
  "IMG tags that you want this plugin to swap out with your actual SVG code."
169
  msgstr ""
170
 
171
+ #: ../admin/svgs-settings-page.php:103
172
  msgid "For example:"
173
  msgstr ""
174
 
175
+ #: ../admin/svgs-settings-page.php:106
176
  msgid "or"
177
  msgstr ""
178
 
179
+ #: ../admin/svgs-settings-page.php:109
180
  msgid ""
181
  "The whole IMG tag element will now be dynamically replaced by the actual "
182
  "code of your SVG, making the inner content targetable."
183
  msgstr ""
184
 
185
+ #: ../admin/svgs-settings-page.php:110
186
  msgid "This allows you to target elements within your SVG using CSS."
187
  msgstr ""
188
 
189
+ #: ../admin/svgs-settings-page.php:112
190
  msgid "Please Note:"
191
  msgstr ""
192
 
193
+ #: ../admin/svgs-settings-page.php:113
194
  msgid ""
195
  "- You will need to set your own height and width in your CSS for SVG files "
196
  "to display correctly."
197
  msgstr ""
198
 
199
+ #: ../admin/svgs-settings-page.php:114
200
  msgid ""
201
  "- Your uploaded image needs to be an SVG file for this plugin to replace the "
202
  "img tag with the inline SVG code. It will not create SVG files for you."
203
  msgstr ""
204
 
205
+ #: ../admin/svgs-settings-page.php:131
206
  msgid "Plugin Features"
207
  msgstr ""
208
 
209
+ #: ../admin/svgs-settings-page.php:134
210
  msgid "SVG Support for your media library"
211
  msgstr ""
212
 
213
+ #: ../admin/svgs-settings-page.php:135
214
  msgid "Style SVG elements directly using CSS"
215
  msgstr ""
216
 
217
+ #: ../admin/svgs-settings-page.php:136
218
  msgid "Restrict to Administrators only"
219
  msgstr ""
220
 
221
+ #: ../admin/svgs-settings-page.php:137
222
  msgid "Extremely Simple To Use"
223
  msgstr ""
224
 
225
+ #: ../admin/svgs-settings-page.php:145
226
  msgid "About The Plugin"
227
  msgstr ""
228
 
229
+ #: ../admin/svgs-settings-page.php:147
230
  msgid "You can read about this plugin in detail on"
231
  msgstr ""
232
 
233
+ #: ../admin/svgs-settings-page.php:147
234
  msgid "The WordPress Plugin Repository"
235
  msgstr ""
236
 
237
+ #: ../admin/svgs-settings-page.php:148
238
  msgid "Need help?"
239
  msgstr ""
240
 
241
+ #: ../admin/svgs-settings-page.php:148
242
  msgid "Visit Support"
243
  msgstr ""
244
 
245
+ #: ../admin/svgs-settings-page.php:149
246
  msgid "Buy Benbodhi a Beer &rarr;"
247
  msgstr ""
248
 
249
+ #: ../admin/svgs-settings-page.php:150
250
  msgid "from"
251
  msgstr ""
252
 
253
+ #: ../admin/svgs-settings-page.php:157
254
  msgid "GoWebben Hosting"
255
  msgstr ""
256
 
257
+ #: ../admin/svgs-settings-page.php:159
258
  msgid "Claim your FREE $25 credit from"
259
  msgstr ""
260
 
261
+ #: ../admin/svgs-settings-page.php:159
262
  msgid ""
263
  "No catch, just free credit for using this plugin! It will be applied "
264
  "automatically using the link provided, but in any case you can simply use "
265
  "code: SVGSUPPORT during checkout."
266
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Benbodhi
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F7W2NUFAVQGW2
4
  Tags: svg, vector, css, style, mime, mime type, embed, img, inline
5
  Requires at least: 4.0
6
- Tested up to: 4.6
7
- Stable tag: 2.2.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -110,6 +110,10 @@ I will put the answers to any questions asked here.
110
 
111
  == Changelog ==
112
 
 
 
 
 
113
  = 2.2.3.1 =
114
 
115
  * Attempt to fix ability to translate
@@ -194,6 +198,10 @@ I will put the answers to any questions asked here.
194
 
195
  == Upgrade Notice ==
196
 
 
 
 
 
197
  = 2.2.3.1 =
198
 
199
  * This release attempts to fix translation issues.
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F7W2NUFAVQGW2
4
  Tags: svg, vector, css, style, mime, mime type, embed, img, inline
5
  Requires at least: 4.0
6
+ Tested up to: 4.8-alpha-39677
7
+ Stable tag: 2.2.3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
110
 
111
  == Changelog ==
112
 
113
+ = 2.2.3.2 =
114
+
115
+ * Changed text domain to match plugin slug for localization.
116
+
117
  = 2.2.3.1 =
118
 
119
  * Attempt to fix ability to translate
198
 
199
  == Upgrade Notice ==
200
 
201
+ = 2.2.3.2 =
202
+
203
+ * Changed text domain to match plugin slug for localization.
204
+
205
  = 2.2.3.1 =
206
 
207
  * This release attempts to fix translation issues.
svg-support.php CHANGED
@@ -3,10 +3,10 @@
3
  Plugin Name: SVG Support
4
  Plugin URI: http://wordpress.org/plugins/svg-support/
5
  Description: Allow SVG file uploads using the WordPress Media Library uploader plus direct styling of SVG elements using CSS.
6
- Version: 2.2.3.1
7
  Author: Benbodhi
8
  Author URI: http://benbodhi.com
9
- Text Domain: svgsupport
10
  Domain Path: /languages
11
  License: GPL2
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -29,13 +29,13 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
29
  */
30
 
31
  if ( ! defined( 'ABSPATH' ) ) {
32
- exit; // Exit if accessed directly
33
  }
34
 
35
  /********************************************
36
  * GLOBAL VARIABLES
37
  ********************************************/
38
- $svgs_plugin_version = '2.2.3.1'; // for use on admin pages
39
  $plugin_file = plugin_basename(__FILE__); // plugin file for reference
40
  define( 'BODHI_SVGS_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); // define the absolute plugin path for includes
41
  $bodhi_svgs_options = get_option('bodhi_svgs_settings'); // retrieve our plugin settings from the options table
3
  Plugin Name: SVG Support
4
  Plugin URI: http://wordpress.org/plugins/svg-support/
5
  Description: Allow SVG file uploads using the WordPress Media Library uploader plus direct styling of SVG elements using CSS.
6
+ Version: 2.2.3.2
7
  Author: Benbodhi
8
  Author URI: http://benbodhi.com
9
+ Text Domain: svg-support
10
  Domain Path: /languages
11
  License: GPL2
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
29
  */
30
 
31
  if ( ! defined( 'ABSPATH' ) ) {
32
+ exit; // Exit if accessed directly
33
  }
34
 
35
  /********************************************
36
  * GLOBAL VARIABLES
37
  ********************************************/
38
+ $svgs_plugin_version = '2.2.3.2'; // for use on admin pages
39
  $plugin_file = plugin_basename(__FILE__); // plugin file for reference
40
  define( 'BODHI_SVGS_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); // define the absolute plugin path for includes
41
  $bodhi_svgs_options = get_option('bodhi_svgs_settings'); // retrieve our plugin settings from the options table