diff app/view/window/ImportResponse.js @ 1427:c22581d48040

In case a value is shown, separate it with a space.
author Tom Gottfried <tom@intevation.de>
date Thu, 06 Apr 2017 16:17:20 +0200
parents 4de04242f7ce
children
line wrap: on
line diff
--- a/app/view/window/ImportResponse.js	Thu Apr 06 14:29:59 2017 +0200
+++ b/app/view/window/ImportResponse.js	Thu Apr 06 16:17:20 2017 +0200
@@ -167,7 +167,7 @@
                             validation.push('<ol>');
                             var parts = msgs[i].value.split('#');
                             var str = i18n.getMsg(parts[0]) +
-                                (parts[1] === undefined ? '' : parts[1]);
+                                (parts[1] === undefined ? '' : ' ' + parts[1]);
                             validation.push(str + ' ('
                                 + i18n.getMsg(msgs[i].code.toString()) + ')');
                             validation.push('</ol>');
@@ -207,7 +207,7 @@
                             validation.push('<ol>');
                             var parts = msgs[i].value.split('#');
                             var str = i18n.getMsg(parts[0]) +
-                                (parts[1] === undefined ? '' : parts[1]);
+                                (parts[1] === undefined ? '' : ' ' + parts[1]);
                             validation.push(str + ' ('
                                 + i18n.getMsg(msgs[i].code.toString()) + ')');
                             validation.push('</ol>');

http://lada.wald.intevation.org