WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Problem ACE3 / Local / Check (https://www.wowinterface.com/forums/showthread.php?t=44198)

lemmi13 09-07-12 07:32 AM

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:

Quote:

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

Maggz 09-07-12 08:03 AM

best guess im coming up with is localization issues on your end?

lemmi13 09-07-12 08:06 AM

Quote:

Originally Posted by Maggz (Post 262692)
best guess im coming up with is localization issues on your end?

exactly :D

good tip, ty!

I've had to change the transIation files and added "Companions" there. Seems to work fine now :D

Maggz 09-07-12 09:02 AM

awesome glad you got it working.

Seerah 09-07-12 12:12 PM

For future reference, Ace is not an acronym. :)


All times are GMT -6. The time now is 12:47 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI