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:
Eduardo Bart
2012-05-28 10:06:26 -03:00
parent 2676eb4da3
commit 4c80d783d6
75 changed files with 856 additions and 652 deletions

View File

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