mirror of https://github.com/qwqdanchun/nps.git
parent
b5c0b4d895
commit
2c3126c489
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue