# HG changeset patch # User Sylvain Thénault # Date 1327953360 -3600 # Node ID 864fc1f147a4fbf24f242c66d71718cb2516d042 # Parent d062d3b7da6ce346aa1e78325a65bd4de5ce04ca [js, i18n] translated strings should use " not ' else they are discarded by xgettext. Closes #1892489 diff -r d062d3b7da6c -r 864fc1f147a4 i18n/de.po --- a/i18n/de.po Fri Jan 27 12:15:57 2012 +0100 +++ b/i18n/de.po Mon Jan 30 20:56:00 2012 +0100 @@ -1435,6 +1435,9 @@ msgid "click to edit this field" msgstr "Klicken Sie, um dieses Feld zu editieren" +msgid "close all" +msgstr "" + msgid "comment" msgstr "Kommentar" diff -r d062d3b7da6c -r 864fc1f147a4 i18n/en.po --- a/i18n/en.po Fri Jan 27 12:15:57 2012 +0100 +++ b/i18n/en.po Mon Jan 30 20:56:00 2012 +0100 @@ -1389,6 +1389,9 @@ msgid "click to edit this field" msgstr "" +msgid "close all" +msgstr "" + msgid "comment" msgstr "" diff -r d062d3b7da6c -r 864fc1f147a4 i18n/es.po --- a/i18n/es.po Fri Jan 27 12:15:57 2012 +0100 +++ b/i18n/es.po Mon Jan 30 20:56:00 2012 +0100 @@ -1447,6 +1447,9 @@ msgid "click to edit this field" msgstr "seleccione para editar este campo" +msgid "close all" +msgstr "" + msgid "comment" msgstr "Comentario" diff -r d062d3b7da6c -r 864fc1f147a4 i18n/fr.po --- a/i18n/fr.po Fri Jan 27 12:15:57 2012 +0100 +++ b/i18n/fr.po Mon Jan 30 20:56:00 2012 +0100 @@ -1449,6 +1449,9 @@ msgid "click to edit this field" msgstr "cliquez pour éditer ce champ" +msgid "close all" +msgstr "tout fermer" + msgid "comment" msgstr "commentaire" diff -r d062d3b7da6c -r 864fc1f147a4 web/data/cubicweb.edition.js --- a/web/data/cubicweb.edition.js Fri Jan 27 12:15:57 2012 +0100 +++ b/web/data/cubicweb.edition.js Mon Jan 30 20:56:00 2012 +0100 @@ -474,7 +474,7 @@ errmsg = descr; } else { _displayValidationerrors(formid, descr[0], descr[1]); - errmsg = _('please correct errors below'); + errmsg = _("please correct errors below"); } updateMessage(errmsg); // ensure the browser does not scroll down diff -r d062d3b7da6c -r 864fc1f147a4 web/data/cubicweb.facets.js --- a/web/data/cubicweb.facets.js Fri Jan 27 12:15:57 2012 +0100 +++ b/web/data/cubicweb.facets.js Mon Jan 30 20:56:00 2012 +0100 @@ -181,11 +181,11 @@ $this.find('img').each(function(i) { if (this.getAttribute('cubicweb:unselimg')) { this.setAttribute('src', UNSELECTED_BORDER_IMG); - this.setAttribute('alt', (_('not selected'))); + this.setAttribute('alt', (_("not selected"))); } else { this.setAttribute('src', UNSELECTED_IMG); - this.setAttribute('alt', (_('not selected'))); + this.setAttribute('alt', (_("not selected"))); } }); var index = parseInt($this.attr('cubicweb:idx')); @@ -213,7 +213,7 @@ } jQuery(this).addClass('facetValueSelected'); var $img = jQuery(this).find('img'); - $img.attr('src', SELECTED_IMG).attr('alt', (_('selected'))); + $img.attr('src', SELECTED_IMG).attr('alt', (_("selected"))); } buildRQL.apply(null, jsfacetargs); facet.find('.facetBody').animate({ diff -r d062d3b7da6c -r 864fc1f147a4 web/data/cubicweb.preferences.js --- a/web/data/cubicweb.preferences.js Fri Jan 27 12:15:57 2012 +0100 +++ b/web/data/cubicweb.preferences.js Mon Jan 30 20:56:00 2012 +0100 @@ -11,13 +11,13 @@ } function closeFieldset(fieldsetid) { - var linklabel = _('open all'); + var linklabel = _("open all"); var linkhref = 'javascript:openFieldset("' + fieldsetid + '")'; _toggleFieldset(fieldsetid, 1, linklabel, linkhref); } function openFieldset(fieldsetid) { - var linklabel = _('close all'); + var linklabel = _("close all"); var linkhref = 'javascript:closeFieldset("' + fieldsetid + '")'; _toggleFieldset(fieldsetid, 0, linklabel, linkhref); } @@ -37,7 +37,7 @@ fieldset.addClass('hidden'); } else { fieldset.removeClass('hidden'); - linkLabel = (_('open all')); + linkLabel = (_("open all")); } }); }