i18n for error messages on server response

pull/6827/head
Jens Ulferts 13 years ago
parent 66d66229c4
commit 0c76c032a9
  1. 2
      assets/javascripts/reporting/controls.js
  2. 1
      assets/javascripts/reporting/lang/reporting-de.js
  3. 1
      assets/javascripts/reporting/lang/reporting-en.js

@ -129,7 +129,7 @@ Reporting.Controls = {
Reporting.flash(response.responseText);
Reporting.Progress.abort();
} else {
Reporting.flash("There was an error getting the results. The administrator has been informed.");
Reporting.flash(Reporting._LA["RESPONSE_ERROR"]);
Reporting.Progress.abort();
}
},

@ -1,2 +1,3 @@
Reporting._LA = {};
Reporting._LA["REMOVE"] = "Lösche";
Reporting._LA["RESPONSE_ERROR"] = "Bei der Bearbeitung der Anfrage ist ein Fehler aufgetreten.";

@ -1,2 +1,3 @@
Reporting._LA = {};
Reporting._LA["REMOVE"] = "Delete";
Reporting._LA["RESPONSE_ERROR"] = "There was an error handling the query.";

Loading…
Cancel
Save