occured -> occurred (#660)

* Fix duplicate source string

* occured -> occurred

All resources I could find listed this as misspelled, but I wasn't too
sure…
Also, it should be checked if all changes to the .po-files are respected
in the corresponding src-files.
This commit is contained in:
Jakob Schnell
2017-11-03 11:46:35 +01:00
committed by Raphael Michel
parent 66483b6ae8
commit 831e31ea9d
9 changed files with 19 additions and 18 deletions

View File

@@ -38,7 +38,7 @@ function async_dl_check_error(jqXHR, textStatus, errorThrown) {
if (c.length > 0) {
ajaxErrDialog.show(c.first().html());
} else if (jqXHR.status >= 400) {
alert(gettext('An error of type {code} occured.').replace(/\{code\}/, jqXHR.status));
alert(gettext('An error of type {code} occurred.').replace(/\{code\}/, jqXHR.status));
}
}

View File

@@ -59,7 +59,7 @@ function async_task_check_error(jqXHR, textStatus, errorThrown) {
if (jqXHR.status >= 400 && jqXHR.status < 500) {
$("body").data('ajaxing', false);
waitingDialog.hide();
alert(gettext('An error of type {code} occured.').replace(/\{code\}/, jqXHR.status));
alert(gettext('An error of type {code} occurred.').replace(/\{code\}/, jqXHR.status));
} else {
// 500 can be an application error or overload in some cases :(
$("#loadingmodal p").text(gettext('We currently cannot reach the server, but we keep trying.' +
@@ -113,7 +113,7 @@ function async_task_error(jqXHR, textStatus, errorThrown) {
} else {
if (jqXHR.status >= 400 && jqXHR.status < 500) {
waitingDialog.hide();
alert(gettext('An error of type {code} occured.').replace(/\{code\}/, jqXHR.status));
alert(gettext('An error of type {code} occurred.').replace(/\{code\}/, jqXHR.status));
} else {
waitingDialog.hide();
alert(gettext('We currently cannot reach the server. Please try again. ' +