divio/django-cms — pull request #1090 by AdrianRibao (2011-11-15 17:00:18+00:00)
Title: Problem with spanish string in toolbar.html

Removed quotes that break the toolbar with a javascript error.

The translated strings can't have the single quote character because it breaks the javascript code.

'lang': {
'move_warning': {% javascript_string %}{% trans "The selected element can not be moved to the desired location." %}{% end_javascript_string %},
'delete_request': {% javascript_string %}{% trans "Are you sure you want to delete this plugin?" %}{% end_javascript_string %},
'cancel': {% javascript_string %}{% trans "Cancel" %}{% end_javascript_string %}
}

I'm Spanish and I can tell that the translation is ok without the quotes.