Mercurial > wow > degaine
changeset 49:94566cb4534f
Attempt to localize the addon, hope it works...
author | contrebasse |
---|---|
date | Sun, 27 Feb 2011 23:03:57 +0100 |
parents | baca2f8f91d8 |
children | 2e42e992d588 |
files | Bindings.xml Degaine.lua Degaine.toc |
diffstat | 3 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Bindings.xml Sun Feb 27 21:24:56 2011 +0100 +++ b/Bindings.xml Sun Feb 27 23:03:57 2011 +0100 @@ -1,5 +1,5 @@ <Bindings> - <Binding name="Activer/désactiver" header="DEGAINE"> + <Binding name="DEGAINE_TOGGLE" header="DEGAINE"> Degaine_ToggleAuto(); </Binding> </Bindings>
--- a/Degaine.lua Sun Feb 27 21:24:56 2011 +0100 +++ b/Degaine.lua Sun Feb 27 23:03:57 2011 +0100 @@ -59,12 +59,9 @@ --------------------------------------------------------------- -- Some stuff... --------------------------------------------------------------- --- Bindings -BINDING_HEADER_DEGAINE = "Dégainer automatiquement" - -- Print status local printState = function() - DEFAULT_CHAT_FRAME:AddMessage(Degaine_isAuto and "Dégainage automatique |cFF00FF00activé|r" or "Dégainage automatique |cFFFF0000désactivé|r") + DEFAULT_CHAT_FRAME:AddMessage(Degaine_isAuto and T.L["PRINT_ENABLED"] or T.L["PRINT_DISABLED"]) end @@ -304,7 +301,8 @@ -- Commands --------------------------------------------------------------- -- Bindings -BINDING_HEADER_DEGAINE = "Dégainer automatiquement" +BINDING_HEADER_DEGAINE = T.L["BINDING_HEADER"] +BINDING_NAME_DEGAINE_TOGGLE = T.L["BINDING_NAME_DEGAINE_TOGGLE"] -- Slash command -- GLOBALS: SLASH_DEGAINE1