some cleanup in locales

This commit is contained in:
Eduardo Bart
2012-04-27 03:52:49 -03:00
parent ceb051cb75
commit b1e5fdc9ae
4 changed files with 20 additions and 22 deletions

View File

@@ -1,9 +0,0 @@
locale = {
name = 'en-us',
languageName = 'English',
-- Translations not needed. en-us is already default.
translation = {}
}
Locales.installLocale(locale)

View File

@@ -0,0 +1,9 @@
locale = {
name = "en",
languageName = "English",
-- translations are not needed because everything is already in english
translation = {}
}
Locales.installLocale(locale)

View File

@@ -1,8 +1,5 @@
-- to find all possible translations in the source code use the following command:
-- find \( -name "*.lua" -o -name "*.otui" \) -exec grep -oE "tr\\("(\\\\"|[^"])*"" {} \; -exec grep -oE "tr\\(\"(\\\\\"|[^\"])*\nil {} \; | sort | uniq | sed "s/^tr(.\(.*\).$/[\"\1\"] = nil,/"
locale = {
name = "pt-br",
name = "pt",
languageName = "Português",
-- As traduções devem vir sempre em ordem alfabética.
@@ -198,8 +195,6 @@ locale = {
["You may not logout or enter a protection zone"] = "Você não pode sair ou entrar em uma zona de proteção",
["You must select a character to login!"] = "Você deve selecionar um personagem para entrar!",
}
-- Adicionar informações de números. 1.000 100,00 1.000,00 etc.
}
Locales.installLocale(locale)
Locales.installLocale(locale)