_ is a default function for gettext
This commit is contained in:
parent
9a931009e4
commit
da11fbe676
|
@ -71,12 +71,12 @@ if not LANG then
|
|||
end
|
||||
|
||||
if LANG == translate.source then
|
||||
__ = function(text)
|
||||
_ = function(text)
|
||||
return text;
|
||||
end;
|
||||
else
|
||||
translate.strings = load_mo_file(LANG..'.mo');
|
||||
__ = function(text)
|
||||
_ = function(text)
|
||||
return translate.strings[text];
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue