<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #2318: Bug with Portugese translation and Javascript</title>
    <link>http://localhost/ticket/2318</link>
    <description>&lt;p&gt;
If you switch to Portugese and try to add a resource on dataset edit it will fail. This is because there is a string translation in js_strings.html that has quotes in it. When this is inserted into the file this causes a js exception which then prevents any further js processing.
&lt;/p&gt;
&lt;p&gt;
Specifically:
&lt;/p&gt;
&lt;pre class="wiki"&gt;CKAN.Strings.youHaveUnsavedChanges = "Você tem alterações não salvas. Certifique-se de ter clicado "Salvar Alterações" abaixo antes de sair desta página.";
Uncaught SyntaxError: Unexpected identifier
&lt;/pre&gt;&lt;p&gt;
To fix is simple i imagine: need to escape " correctly in js_strings.html (or translations used).
&lt;/p&gt;
&lt;p&gt;
I have temporarily patched this live in order to allow the hackday here to continue.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/2318</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>seanh</dc:creator>

      <pubDate>Mon, 30 Apr 2012 08:22:58 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/2318#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/2318#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>