mirror of
https://github.com/ehang-io/nps.git
synced 2026-10-31 16:52:12 +08:00
1 parent
b5c0b4d895
commit
2c3126c489
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user