Mercurial > wow > degaine
comparison Degaine.lua @ 49:94566cb4534f
Attempt to localize the addon, hope it works...
| author | contrebasse |
|---|---|
| date | Sun, 27 Feb 2011 23:03:57 +0100 |
| parents | f861e1c0535b |
| children | d724fb112e7c |
comparison
equal
deleted
inserted
replaced
| 48:baca2f8f91d8 | 49:94566cb4534f |
|---|---|
| 57 | 57 |
| 58 | 58 |
| 59 --------------------------------------------------------------- | 59 --------------------------------------------------------------- |
| 60 -- Some stuff... | 60 -- Some stuff... |
| 61 --------------------------------------------------------------- | 61 --------------------------------------------------------------- |
| 62 -- Bindings | |
| 63 BINDING_HEADER_DEGAINE = "Dégainer automatiquement" | |
| 64 | |
| 65 -- Print status | 62 -- Print status |
| 66 local printState = function() | 63 local printState = function() |
| 67 DEFAULT_CHAT_FRAME:AddMessage(Degaine_isAuto and "Dégainage automatique |cFF00FF00activé|r" or "Dégainage automatique |cFFFF0000désactivé|r") | 64 DEFAULT_CHAT_FRAME:AddMessage(Degaine_isAuto and T.L["PRINT_ENABLED"] or T.L["PRINT_DISABLED"]) |
| 68 end | 65 end |
| 69 | 66 |
| 70 | 67 |
| 71 --------------------------------------------------------------- | 68 --------------------------------------------------------------- |
| 72 -- Launch drawing weapons | 69 -- Launch drawing weapons |
| 302 | 299 |
| 303 --------------------------------------------------------------- | 300 --------------------------------------------------------------- |
| 304 -- Commands | 301 -- Commands |
| 305 --------------------------------------------------------------- | 302 --------------------------------------------------------------- |
| 306 -- Bindings | 303 -- Bindings |
| 307 BINDING_HEADER_DEGAINE = "Dégainer automatiquement" | 304 BINDING_HEADER_DEGAINE = T.L["BINDING_HEADER"] |
| 305 BINDING_NAME_DEGAINE_TOGGLE = T.L["BINDING_NAME_DEGAINE_TOGGLE"] | |
| 308 | 306 |
| 309 -- Slash command | 307 -- Slash command |
| 310 -- GLOBALS: SLASH_DEGAINE1 | 308 -- GLOBALS: SLASH_DEGAINE1 |
| 311 SLASH_DEGAINE1 = "/degaine" | 309 SLASH_DEGAINE1 = "/degaine" |
| 312 SlashCmdList["DEGAINE"] = Degaine_ToggleAuto | 310 SlashCmdList["DEGAINE"] = Degaine_ToggleAuto |
