Mercurial > wow > degaine
changeset 50:2e42e992d588
Oops, forgot a file
author | contrebasse |
---|---|
date | Sun, 27 Feb 2011 23:04:37 +0100 |
parents | 94566cb4534f |
children | 1bc6e598e1e3 |
files | Localization.lua |
diffstat | 1 files changed, 37 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Localization.lua Sun Feb 27 23:04:37 2011 +0100 @@ -0,0 +1,37 @@ +local AddonName, T = ... + +-- Taken from Inline Aura +local L = setmetatable({}, {__index = function(self, key) + local value = tostring(key) + if key ~= nil then self[key] = value end + --@debug@ + DEFAULT_CHAT_FRAME:AddMessage("Phrase manquante : ", value) + --@end-debug@ + return value +end}) +T.L = L + +local locale = GetLocale() + +------------------------------------------------------------------------------- +-- English localization (Default) +------------------------------------------------------------------------------- + +--@debug@ +L["BINDING_HEADER"] = "Automatically draw weapon" +L["BINDING_NAME_DEGAINE_TOGGLE"] = "Toggle" +L["PRINT_DISABLED"] = "Automatic weapon drawing |cFFFF0000disabled|r" +L["PRINT_ENABLED"] = "Automatic weapon drawing |cFF00FF00enabled|r" +--@end-debug@ + + +--@localization(locale="enUS", format="lua_additive_table")@ + +------------------------------------------------------------------------------- +-- French localization +------------------------------------------------------------------------------- +if (locale == "frFR") then + +--@localization(locale="frFR", format="lua_additive_table")@ + +end