diff --git a/locale_deDE.lua b/locale_deDE.lua index 0d7fa10..77bfeb9 100644 --- a/locale_deDE.lua +++ b/locale_deDE.lua @@ -39,6 +39,8 @@ if L then L['DeleteCharDesc'] = "Entferne alle Daten zu diesem Character" L['DeleteCharOk'] = "Ja, ich bin sicher!" L['showLog'] = "Logge Ver\195\164nderungen im Chat" + L['ttmenu_title'] = "Tooltip-Einstellungen" + L['ttmenu_desc'] = "Diese Einstellungen ver\195\164ndern den Broker-Tooltip" end -- ö \195\182 ß \195\159 diff --git a/locale_enUS.lua b/locale_enUS.lua index 7d09f4c..bb822ae 100644 --- a/locale_enUS.lua +++ b/locale_enUS.lua @@ -38,5 +38,7 @@ if L then L['DeleteChar'] = "Delete Char" L['DeleteCharDesc'] = "Removes all data for this character" L['DeleteCharOk'] = "Yes, I'm sure!" - L['showLog'] = "Log changes in chat" + L['showLog'] = "Log changes in chat" + L['ttmenu_title'] = "Tooltip Settings" + L['ttmenu_desc'] = "This settings modify the broker tooltip" end \ No newline at end of file diff --git a/locale_koKR.lua b/locale_koKR.lua index 60ff2a6..4ec5c7a 100644 --- a/locale_koKR.lua +++ b/locale_koKR.lua @@ -39,4 +39,6 @@ if L then L['DeleteCharDesc'] = "Removes all data for this character" L['DeleteCharOk'] = "Yes, I'm sure!" L['showLog'] = "Log changes in chat" + L['ttmenu_title'] = "Tooltip Settings" + L['ttmenu_desc'] = "This settings modify the broker tooltip" end \ No newline at end of file diff --git a/locale_ruRU.lua b/locale_ruRU.lua index 4557fe6..a72ad23 100644 --- a/locale_ruRU.lua +++ b/locale_ruRU.lua @@ -39,4 +39,6 @@ if L then L['DeleteCharDesc'] = "Removes all data for this character" L['DeleteCharOk'] = "Yes, I'm sure!" L['showLog'] = "Log changes in chat" + L['ttmenu_title'] = "Tooltip Settings" + L['ttmenu_desc'] = "This settings modify the broker tooltip" end \ No newline at end of file diff --git a/prefs.lua b/prefs.lua index 766208d..ece90f7 100644 --- a/prefs.lua +++ b/prefs.lua @@ -55,6 +55,7 @@ function addonTable:SetupPrefs(childName) local main = addonTable['options']['args'][childName] local menu = config:AddConfigMenu(addonTable['options'], L['Bankier'], addonTable['bankHandler'] , 2, { disabled = function() return db['disableBanker'] end}) + local ttmenu = config:AddConfigEntry(main, "ttmenu", "group", L['ttmenu_title'], L['ttmenu_desc'], 9) config:AddConfigEntry(menu, "minLimit", "range", L['Minimum Limit'],L['Desc MinL'],1,10,150000,5, false) config:AddConfigEntry(menu, "maxLimit", "range", L['Maximum Limit'],L['Desc MaxL'],2,10,150000,5,false) config:AddConfigEntry(menu, "banker","select",L['Bankier'],nil,3,buildSelect) @@ -63,11 +64,11 @@ end}) config:AddConfigEntry(main, "deleteChar", "select", L['DeleteChar'], L['DeleteCharDesc'], 10, buildSelectAll) config:AddConfigEntry(main, "deleteCharOk", "toggle", L['DeleteCharOk'], nil , 11) config:AddConfigEntry(main, "deleteCharExec", "execute", L['DeleteChar'], L['DeleteCharDesc'], 12, deleteChar) - config:AddConfigEntry(main, "sortDir", "toggle", L['sortDir'], nil, 2) + config:AddConfigEntry(ttmenu, "sortDir", "toggle", L['sortDir'], nil, 2) config:AddConfigEntry(main, "connectedRealms", "toggle", L['connectedRealms'], nil, 2) - config:AddConfigEntry(main, "accountMoney", "toggle", L['accountMoney'], L['accountMoneyDesc'], 4) + config:AddConfigEntry(ttmenu, "accountMoney", "toggle", L['accountMoney'], L['accountMoneyDesc'], 4) config:AddConfigEntry(main, "shortMoney", "toggle", L['shortMoney'], nil, 5) - config:AddConfigEntry(main, "shortMoneyTip", "toggle", L['shortMoneyTip'], nil, 5) + config:AddConfigEntry(ttmenu, "shortMoneyTip", "toggle", L['shortMoneyTip'], nil, 5) config:AddConfigEntry(main, "abrevK", "toggle", L['abrevK'], nil, 6) config:AddConfigEntry(main, "abrevM", "toggle", L['abrevM'], nil, 6) config:AddConfigEntry(main, "showLog", "toggle", L['showLog'], nil, 7)