Mercurial > wow > degaine
diff Localization.lua @ 63:3daeb57da1a9 tip
Automated merge with ssh://hg.wowace.com/wow/degaine/mainline
author | contrebasse |
---|---|
date | Wed, 01 Jun 2011 19:16:37 +0200 |
parents | 2e42e992d588 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Localization.lua Wed Jun 01 19:16:37 2011 +0200 @@ -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