From 2c3126c48927476485fb7c8b194791042f3e5de3 Mon Sep 17 00:00:00 2001 From: ffdfgdfg Date: Tue, 6 Oct 2020 01:26:47 +0800 Subject: [PATCH] show raw error msg on web, fix #524, fix #636 --- web/static/js/language.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/static/js/language.js b/web/static/js/language.js index 5659e0e..2aab40b 100644 --- a/web/static/js/language.js +++ b/web/static/js/language.js @@ -133,7 +133,7 @@ var postsubmit; function langreply(langstr) { var langobj = languages['content']['reply'][langstr.replace(/[\s,\.\?]*/g,"").toLowerCase()]; - if ($.type(langobj) == 'undefined') return langobj + if ($.type(langobj) == 'undefined') return langstr langobj = (langobj[languages['current']] || langobj[languages['default']] || langstr); return langobj }