[Lada-commits] [PATCH 1 of 2] In case a value is shown, separate it with a space

Wald Commits scm-commit at wald.intevation.org
Thu Apr 6 17:24:31 CEST 2017


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1491488240 -7200
# Node ID c22581d48040f6e07e199728a3a7a8c153b4a307
# Parent  4de04242f7ce7381c2e3762236571a4a234e0db7
In case a value is shown, separate it with a space.

diff -r 4de04242f7ce -r c22581d48040 app/view/window/ImportResponse.js
--- 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>');


More information about the Lada-commits mailing list