<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>WPMU DEV Community &#187; Topic: eNewsletter widget-script not localized</title>
		<link>http://premium.wpmudev.org/forums/topic/enewsletter-widget-script-not-localized</link>
		<description>WPMU DEV Community &#187; Topic: eNewsletter widget-script not localized</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 09:57:08 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.2</generator>
		<atom:link href="http://premium.wpmudev.org/forums/rss/topic/enewsletter-widget-script-not-localized" rel="self" type="application/rss+xml" />

		<item>
			<title>aecnu on "eNewsletter widget-script not localized"</title>
			<link>http://premium.wpmudev.org/forums/topic/enewsletter-widget-script-not-localized#post-212335</link>
			<pubDate>Tue, 24 Apr 2012 20:32:44 +0000</pubDate>
			<dc:creator>aecnu</dc:creator>
			<guid isPermaLink="false">212335@http://premium.wpmudev.org/forums/</guid>
			<description><![CDATA[<p>Greetings Ralev,</p>
<p>Thank you for your feedback addition to our plugins, I am certain that it will come to good use and I will be sure to get it into the right hands.</p>
<p>Some rep points sent your way.</p>
<p>Thank you for being a WPMU Dev Member!</p>
<p>Cheers, Joe
</p>]]></description>
		</item>
		<item>
			<title>Ralev on "eNewsletter widget-script not localized"</title>
			<link>http://premium.wpmudev.org/forums/topic/enewsletter-widget-script-not-localized#post-212196</link>
			<pubDate>Tue, 24 Apr 2012 14:26:26 +0000</pubDate>
			<dc:creator>Ralev</dc:creator>
			<guid isPermaLink="false">212196@http://premium.wpmudev.org/forums/</guid>
			<description><![CDATA[<p>Hello team,</p>
<p>We were just localizing the e-Newsletter plugin and found that widget_script.js isn't properly localized by wp_localize_script(). There's a "Please write your Email!" message that should be translatable. </p>
<p>We took the liberty of adding that line of code thinking how nice would be if it is present in future releases too.</p>
<pre><code>function email_newsletter_widgets_scripts() {
    wp_register_script( &#39;email-newsletter-widget-scripts&#39;, WP_PLUGIN_URL . &#39;/e-newsletter/email-newsletter-files/js/widget_script.js&#39;, array( &#39;jquery&#39;, &#39;jquery-form&#39; ) );
    wp_localize_script( &#39;email-newsletter-widget-scripts&#39;, &#39;enewsletterWidgetL10n&#39;, array( &#39;email_validation_msg&#39; =&#62; __(&#39;Please write your Email!&#39;, &#39;email-newsletter&#39; ) ) );
		wp_enqueue_script( &#39;email-newsletter-widget-scripts&#39; );
}</code></pre>
<p>Great plugin. Keep the good work.
</p>]]></description>
		</item>

	</channel>
</rss>