Pt translations, some helper functions

This commit is contained in:
Henrique Santiago
2013-01-24 14:01:28 -02:00
parent c3eede9872
commit bc55cbbbd1
9 changed files with 90 additions and 68 deletions

View File

@@ -130,6 +130,7 @@ end
function setLocale(name)
local locale = installedLocales[name]
if locale == currentLocale then return end
if not locale then
pwarning("Locale " .. name .. ' does not exist.')
return false