From f28971c95c809ca6c5b1a62ce2719aface56d899 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 16 Oct 2018 10:21:07 +0200 Subject: [PATCH] The localization label can also contain underscore char --- program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/js/app.js b/program/js/app.js index 671a1e13b..7d3811f6b 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -7894,7 +7894,7 @@ function rcube_webmail() // display a system message, list of types in common.css (below #message definition) this.display_message = function(msg, type, timeout, key) { - if (msg && msg.length && /^[a-z.]+$/.test(msg)) + if (msg && msg.length && /^[a-z._]+$/.test(msg)) msg = this.get_label(msg); // pass command to parent window