mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
rewrite and reoganize tools functions
* create stdext namespace which contains additional C++ algorithms * organize stdext in string, math, cast and exception utilities
This commit is contained in:
@@ -107,6 +107,7 @@ function Locales.setLocale(name)
|
||||
return true
|
||||
end
|
||||
|
||||
-- global function used to translate texts
|
||||
function tr(text, ...)
|
||||
if currentLocale then
|
||||
if tonumber(text) then
|
||||
|
Reference in New Issue
Block a user