[Lada-commits] [PATCH 4 of 7] Added i18n string for 'orte' errors and warnings
Wald Commits
scm-commit at wald.intevation.org
Fri Mar 6 17:05:16 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1425657809 -3600
# Node ID 48ee1adee0a241b82866c2f5b7493a7f59c44766
# Parent d5ad2f43658abd3e46602f4b3148d6b858196d95
Added i18n string for 'orte' errors and warnings.
diff -r d5ad2f43658a -r 48ee1adee0a2 app/view/window/ProbeEdit.js
--- a/app/view/window/ProbeEdit.js Fri Mar 06 17:02:48 2015 +0100
+++ b/app/view/window/ProbeEdit.js Fri Mar 06 17:03:29 2015 +0100
@@ -123,7 +123,7 @@
if (key && key.contains('Ort')) {
errorOrt = true;
content = errors[key];
- keyText = key[0].toUpperCase();
+ keyText = i18n.getMsg(key);
for (i = 0; i < content.length; i++) {
errorOrtText += keyText + ': ' +
i18n.getMsg(content[i].toString()) + '\n';
@@ -134,7 +134,7 @@
if (key && key.contains('Ort')) {
warningOrt = true;
content = warnings[key];
- keyText = key[0].toUpperCase();
+ keyText = i18n.getMsg(key);
for (i = 0; i < content.length; i++) {
warningOrtText += keyText + ': ' +
i18n.getMsg(content[i].toString()) + '\n';
diff -r d5ad2f43658a -r 48ee1adee0a2 resources/i18n/Lada.properties
--- a/resources/i18n/Lada.properties Fri Mar 06 17:02:48 2015 +0100
+++ b/resources/i18n/Lada.properties Fri Mar 06 17:03:29 2015 +0100
@@ -24,3 +24,8 @@
672: Doppelter Eintrag
673: Fehlender Wert
674: Fehler in Datum
+
+##
+# Field names
+##
+entnahmeOrt: Entnahmeort
diff -r d5ad2f43658a -r 48ee1adee0a2 resources/i18n/Lada_de-DE.properties
--- a/resources/i18n/Lada_de-DE.properties Fri Mar 06 17:02:48 2015 +0100
+++ b/resources/i18n/Lada_de-DE.properties Fri Mar 06 17:03:29 2015 +0100
@@ -25,3 +25,8 @@
672: Doppelter Eintrag
673: Fehlender Wert
674: Fehler in Datum
+
+##
+# Field names
+##
+entnahmeOrt: Entnahmeort
More information about the Lada-commits
mailing list