Thread Tools Display Modes
09-07-12, 07:32 AM   #1
lemmi13
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 5
Question Problem ACE3 / Local / Check

Hi Community

I've changed the AddOn nibMicromenu to work with MoP. The changes are working so far, but i've an error message from ACE3:

Message: AceLocale-3.0: nibMicroMenu: Missing entry for 'Companions'
Debug:
...nterface\AddOns\Ace3\AceLocale-3.0\AceLocale-3.0.lua:31:
...nterface\AddOns\Ace3\AceLocale-3.0\AceLocale-3.0.lua:29
nibMicroMenu\Config.lua:80: in main chunk
For the MicroMenu I changed the the old LFR with Companions. But I don't have a clue, what ACE3 is checking and why I got this error.

Referenced CODE of ACE:
Code:
-- This metatable is used on all tables returned from GetLocale
local readmeta = {
	__index = function(self, key) -- requesting totally unknown entries: fire off a nonbreaking error and return key
		rawset(self, key, key)      -- only need to see the warning once, really
		geterrorhandler()(MAJOR..": "..tostring(AceLocale.appnames[self])..": Missing entry for '"..tostring(key).."'")
		return key
	end
}
nibMicroMenu\Config.lua:80: in main chunk
Code:
LINE 80:	 [10] = L["Companions"],
Code:
-- Buttons
local ButtonNames_L = {
	[1] = L["Character"],
	[2] = L["Spell Book"],
	[3] = L["Talents"],
	[4] = L["Achievements"],
	[5] = L["Quest"],
	[6] = L["Social"],
	[7] = L["Guild"],
	[8] = L["PvP"],
	[9] = L["LFD"],
	[10] = L["Companions"],
	[11] = ENCOUNTER_JOURNAL,
	[12] = L["Help"],
}

As I just did a ferw changes to nibMicromenu, I'm quit not sure, what the right value would be. Any help would be appreciated.

Thanks in advance

lemmi
  Reply With Quote
09-07-12, 08:03 AM   #2
Maggz
A Cyclonian
 
Maggz's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 45
best guess im coming up with is localization issues on your end?
__________________
Maggz Turalyon-US
  Reply With Quote
09-07-12, 08:06 AM   #3
lemmi13
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 5
Smile

Originally Posted by Maggz View Post
best guess im coming up with is localization issues on your end?
exactly

good tip, ty!

I've had to change the transIation files and added "Companions" there. Seems to work fine now
  Reply With Quote
09-07-12, 09:02 AM   #4
Maggz
A Cyclonian
 
Maggz's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 45
awesome glad you got it working.
__________________
Maggz Turalyon-US
  Reply With Quote
09-07-12, 12:12 PM   #5
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
For future reference, Ace is not an acronym.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Problem ACE3 / Local / Check


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off