Ticket #2318 (closed enhancement: fixed)
|Reported by:||rgrp||Owned by:||seanh|
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.
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
To fix is simple i imagine: need to escape " correctly in js_strings.html (or translations used).
I have temporarily patched this live in order to allow the hackday here to continue.