Mercurial > wow > what-just-procced
comparison main.lua @ 3:e76c327b62e4
Actually test code before checking in this time.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Sat, 19 Feb 2011 01:35:46 +0000 |
parents | 4d9949e554ef |
children | fd47a5f58fa0 |
comparison
equal
deleted
inserted
replaced
2:4d9949e554ef | 3:e76c327b62e4 |
---|---|
2 | 2 |
3 ----------------------------------------------------------------------------- | 3 ----------------------------------------------------------------------------- |
4 local on = false | 4 local on = false |
5 local L = GetLocale() | 5 local L = GetLocale() |
6 | 6 |
7 -- Please use the Localization App on WoWAce to Update this | 7 ------- Begin messy generated code. |
8 -- Please use the Localization App on WoWAce to update this | |
8 -- http://www.wowace.com/addons/what-just-procced/localization/ | 9 -- http://www.wowace.com/addons/what-just-procced/localization/ |
9 if L == 'deDE' then | 10 if L == 'deDE' then |
10 L = --@localization(locale="enUS", format="lua_table", handle-unlocalized="comment")@ | 11 L = --@localization(locale="enUS", format="lua_table", handle-unlocalized="comment")@ |
11 elseif L == 'enUS' or L == 'enGB' then | 12 elseif L == 'enUS' or L == 'enGB' then |
12 L = --@localization(locale="enUS", format="lua_table", handle-unlocalized="comment")@ | 13 L = --@localization(locale="enUS", format="lua_table", handle-unlocalized="comment")@ |
21 elseif L == 'zhCN' then | 22 elseif L == 'zhCN' then |
22 L = --@localization(locale="enUS", format="lua_table", handle-unlocalized="comment")@ | 23 L = --@localization(locale="enUS", format="lua_table", handle-unlocalized="comment")@ |
23 elseif L == 'zhTW' then | 24 elseif L == 'zhTW' then |
24 L = --@localization(locale="enUS", format="lua_table", handle-unlocalized="comment")@ | 25 L = --@localization(locale="enUS", format="lua_table", handle-unlocalized="comment")@ |
25 end | 26 end |
27 ------- End messy generated code. | |
26 | 28 |
27 ----------------------------------------------------------------------------- | 29 ----------------------------------------------------------------------------- |
28 addon = LibStub("AceAddon-3.0"):NewAddon(addon, nametag, | 30 addon = LibStub("AceAddon-3.0"):NewAddon(addon, nametag, |
29 "AceConsole-3.0", "AceEvent-3.0") | 31 "AceConsole-3.0", "AceEvent-3.0") |
30 | 32 |
44 end | 46 end |
45 | 47 |
46 function addon:SPELL_ACTIVATION_OVERLAY_SHOW(...) | 48 function addon:SPELL_ACTIVATION_OVERLAY_SHOW(...) |
47 local _,spellID,_,positions = ... | 49 local _,spellID,_,positions = ... |
48 local spell = GetSpellLink(spellID) or GetSpellInfo(spellID) or spellID | 50 local spell = GetSpellLink(spellID) or GetSpellInfo(spellID) or spellID |
49 self:Printf(L["%s at position %s ."], spell, positions) | 51 self:Printf(L["%s at position %s."], spell, positions) |
50 end | 52 end |
51 | 53 |
52 -- vim:noet | 54 -- vim:noet |