diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tmpl index e9e1c9dce6..97f6399612 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tmpl @@ -16,18 +16,18 @@ var _alertString=""; var alertString2; if (f.currency.value.length==0) { - _alertString += "- Currency name missing\n"; + _alertString += _("- Currency name missing") + "\n"; } if (f.rate.value.length==0) { - _alertString += "- Rate missing\n"; + _alertString += _("- Rate missing") + "\n"; } if (f.symbol.value.length==0) { - _alertString += "- Symbol missing\n"; + _alertString += _("- Symbol missing") + "\n"; } if (_alertString.length==0) { document.Aform.submit(); } else { - alertString2 = "Form not submitted because of the following problem(s)\n"; + alertString2 = _("Form not submitted because of the following problem(s)") + "\n"; alertString2 += "------------------------------------------------------------------------------------\n"; alertString2 += _alertString; alert(alertString2); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl index a091adc2fa..6c4a2c44b9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl @@ -90,7 +90,8 @@ function AreMandatoriesNotOk(){ - var StrAlert = _("Can't save this record because the following field aren't filled :\n\n"); + var StrAlert = _("Can't save this record because the following field aren't filled:"); + StrAlert += "\n\n"; for(var i=0,len=mandatories.length; i