diff --git a/resources/static/shared/gettext.js b/resources/static/shared/gettext.js index d93f1d5b59e21ba44cbd6903b514e8e17a953cc5..46cca99b19b90f4f11cf02373ddca53062ac3e57 100644 --- a/resources/static/shared/gettext.js +++ b/resources/static/shared/gettext.js @@ -7,7 +7,8 @@ function Gettext(params) { gettext: function (msgid) { if (json_locale_data && json_locale_data["client"]) { var dict = json_locale_data["client"]; - if (dict[msgid] && dict[msgid].length >= 2) { + if (dict[msgid] && dict[msgid].length >= 2 && + dict[msgid][1].trim() != "") { return dict[msgid][1]; } }