[js, i18n] translated strings should use " not ' else they are discarded by xgettext. Closes #1892489
--- 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"
--- 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 ""
--- 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"
--- 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"
--- 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
--- 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({
--- 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"));
}
});
}