View Bug Report
Library fails to update from r1 to r2
Bug #: 831
File: LibAddonMenu-2.0
Date: 06/11/14 06:00 AM
By: Garkin
Status: Fixed
Library fails to update from r1 to r2 with this UI error:

Code:
2014-06-11T13:50:30.007+01:00 |cff0000Gui Warning: Failed to create control 'LAMAddonPanelsMenu'.  Duplicate name|r
2014-06-11T13:50:30.007+01:00 |cff0000Lua Error: user:/AddOns/MyLister/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:252: attempt to index a nil value
stack traceback:
	user:/AddOns/MyLister/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:252: in function 'CreateAddonList'
	user:/AddOns/MyLister/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:290: in function '(main chunk)'|r

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Garkin - 06/11/14 06:28 AM
This is just a suggestion, but instead of this:
lua Code:
  1. local settings = {en = "Settings", de = "Einstellungen", fr = "Réglages"}
  2. local locSettings = settings[GetCVar("Language.2")]
you can use this:
lua Code:
  1. local locSettings = GetString(SI_GAME_MENU_SETTINGS)
By: Seerah - 06/11/14 07:52 AM
How did I totally miss that?