1
0
Fork 0

_ is a default function for gettext

This commit is contained in:
Alexander Yakovlev 2015-08-17 04:15:44 +07:00
parent 9a931009e4
commit da11fbe676
1 changed files with 2 additions and 2 deletions

View File

@ -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