Mercurial > wow > reagentmaker
comparison SecureMenu.lua @ 65:60871b43531d
Add localization
| author | contrebasse | 
|---|---|
| date | Fri, 13 May 2011 02:17:52 +0200 | 
| parents | 4e6492b19f4c | 
| children | 4f9fd025112b | 
   comparison
  equal
  deleted
  inserted
  replaced
| 64:4d0ec5b598d0 | 65:60871b43531d | 
|---|---|
| 193 local function menuCraftItem() | 193 local function menuCraftItem() | 
| 194 action(itemID,reagentIndex,IsShiftKeyDown()) | 194 action(itemID,reagentIndex,IsShiftKeyDown()) | 
| 195 end | 195 end | 
| 196 | 196 | 
| 197 local function WarnNotMakable(btn) | 197 local function WarnNotMakable(btn) | 
| 198 A.Error("You do not have enough ["..btn.itemNameString.."] to craft ["..TitleText:GetText().."]") | 198 A.Error(L["You do not have enough [%s] to craft [%s]"]:format(btn.itemNameString,TitleText:GetText())) | 
| 199 end | 199 end | 
| 200 | 200 | 
| 201 -- Update counts and button actions | 201 -- Update counts and button actions | 
| 202 function MenuFrame.updateCounts() | 202 function MenuFrame.updateCounts() | 
| 203 local anyMakable | 203 local anyMakable | 
