mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
load LibWho-2.0, ClassCache & update Chat
update Chat
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
local E, L, V, P, G = unpack(ElvUI); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
|
||||
local CC = E:GetModule("ClassCache");
|
||||
|
||||
E.Options.args.general = {
|
||||
type = "group",
|
||||
@@ -208,7 +209,66 @@ E.Options.args.general = {
|
||||
min = 0, max = 4, step = 1,
|
||||
get = function(info) return E.db.general.decimalLength end,
|
||||
set = function(info, value) E.db.general.decimalLength = value; E:StaticPopup_Show("GLOBAL_RL") end
|
||||
}
|
||||
},
|
||||
classCacheHeader = {
|
||||
order = 51,
|
||||
type = "header",
|
||||
name = L["Class Cache"]
|
||||
},
|
||||
classCacheEnable = {
|
||||
order = 52,
|
||||
type = "toggle",
|
||||
name = L["Enable"],
|
||||
desc = L["Enable class caching to colorize names in chat and nameplates."],
|
||||
get = function(info) return E.private.general.classCache end,
|
||||
set = function(info, value)
|
||||
E.private.general.classCache = value
|
||||
CC:ToggleModule()
|
||||
end
|
||||
},
|
||||
classCacheStoreInDB = {
|
||||
order = 53,
|
||||
type = "toggle",
|
||||
name = L["Store cache in DB"],
|
||||
desc = L["If cache stored in DB it will be available between game sessions but increase memory usage.\nIn other way it will be wiped on relog or UI reload."],
|
||||
get = function(info) return E.db.general.classCacheStoreInDB end,
|
||||
set = function(info, value)
|
||||
E.db.general.classCacheStoreInDB = value
|
||||
CC:SwitchCacheType()
|
||||
end,
|
||||
disabled = function() return not E.private.general.classCache end
|
||||
},
|
||||
classCacheRequestInfo = {
|
||||
order = 54,
|
||||
type = "toggle",
|
||||
name = L["Request info for class cache"],
|
||||
desc = L["Use LibWho to cache class info"],
|
||||
get = function(info) return E.db.general.classCacheRequestInfo end,
|
||||
set = function(info, value)
|
||||
E.db.general.classCacheRequestInfo = value
|
||||
end,
|
||||
disabled = function() return not E.private.general.classCache end
|
||||
},
|
||||
wipeClassCacheGlobal = {
|
||||
order = 55,
|
||||
type = "execute",
|
||||
name = L["Wipe DB Cache"],
|
||||
func = function()
|
||||
CC:WipeCache(true)
|
||||
GameTooltip:Hide()
|
||||
end,
|
||||
disabled = function() return not CC:GetCacheSize(true) end
|
||||
},
|
||||
wipeClassCacheLocal = {
|
||||
order = 56,
|
||||
type = "execute",
|
||||
name = L["Wipe Session Cache"],
|
||||
func = function()
|
||||
CC:WipeCache()
|
||||
GameTooltip:Hide()
|
||||
end,
|
||||
disabled = function() return not CC:GetCacheSize() end
|
||||
}
|
||||
}
|
||||
},
|
||||
media = {
|
||||
|
||||
@@ -310,6 +310,16 @@ Or for most users it would be easier to simply put a tga file into your WoW fold
|
||||
|
||||
对多数玩家来说, 较简易的方式是将 tga 档放入 WoW 资料夹中, 然后在此处输入档案名称.]]
|
||||
|
||||
--Class Cache
|
||||
L["Class Cache"] = true;
|
||||
L["Enable class caching to colorize names in chat and nameplates."] = true;
|
||||
L["If cache stored in DB it will be available between game sessions but increase memory usage.\nIn other way it will be wiped on relog or UI reload."] = true;
|
||||
L["Request info for class cache"] = true;
|
||||
L["Store cache in DB"] = true;
|
||||
L["Use LibWho to cache class info"] = true;
|
||||
L["Wipe DB Cache"] = true;
|
||||
L["Wipe Session Cache"] = true;
|
||||
|
||||
--Credits
|
||||
L["Coding:"] = "编码:"
|
||||
L["Credits"] = "呜谢"
|
||||
|
||||
@@ -299,6 +299,16 @@ Example: Interface\AddOns\ElvUI\media\textures\copy
|
||||
|
||||
Or for most users it would be easier to simply put a tga file into your WoW folder, then type the name of the file here.]] ] = true;
|
||||
|
||||
--Class Cache
|
||||
L["Class Cache"] = true;
|
||||
L["Enable class caching to colorize names in chat and nameplates."] = true;
|
||||
L["If cache stored in DB it will be available between game sessions but increase memory usage.\nIn other way it will be wiped on relog or UI reload."] = true;
|
||||
L["Request info for class cache"] = true;
|
||||
L["Store cache in DB"] = true;
|
||||
L["Use LibWho to cache class info"] = true;
|
||||
L["Wipe DB Cache"] = true;
|
||||
L["Wipe Session Cache"] = true;
|
||||
|
||||
--Credits
|
||||
L["Coding:"] = true;
|
||||
L["Credits"] = true;
|
||||
|
||||
@@ -310,6 +310,16 @@ Exemple: Interface\AddOns\ElvUI\media\textures\copy
|
||||
|
||||
Ou pour la majorité des utilsateurs, il serait plus simple de mettre le fichier tga dans le dossier de World of Warcraft puis de taper son nom ici.]]
|
||||
|
||||
--Class Cache
|
||||
L["Class Cache"] = true;
|
||||
L["Enable class caching to colorize names in chat and nameplates."] = true;
|
||||
L["If cache stored in DB it will be available between game sessions but increase memory usage.\nIn other way it will be wiped on relog or UI reload."] = true;
|
||||
L["Request info for class cache"] = true;
|
||||
L["Store cache in DB"] = true;
|
||||
L["Use LibWho to cache class info"] = true;
|
||||
L["Wipe DB Cache"] = true;
|
||||
L["Wipe Session Cache"] = true;
|
||||
|
||||
--Credits
|
||||
L["Coding:"] = "Codage: "
|
||||
L["Credits"] = "Crédits"
|
||||
|
||||
@@ -310,6 +310,16 @@ Zum Beispiel: Interface\AddOns\ElvUI\media\textures\copy
|
||||
|
||||
Für die meisten Anwender ist es allerdigns einfacher, eine tga-Datei in ihren WoW-Ordner abzulegen. Anschließend kann man den Namen der Datei hier eingeben.]]
|
||||
|
||||
--Class Cache
|
||||
L["Class Cache"] = true;
|
||||
L["Enable class caching to colorize names in chat and nameplates."] = true;
|
||||
L["If cache stored in DB it will be available between game sessions but increase memory usage.\nIn other way it will be wiped on relog or UI reload."] = true;
|
||||
L["Request info for class cache"] = true;
|
||||
L["Store cache in DB"] = true;
|
||||
L["Use LibWho to cache class info"] = true;
|
||||
L["Wipe DB Cache"] = true;
|
||||
L["Wipe Session Cache"] = true;
|
||||
|
||||
--Credits
|
||||
L["Coding:"] = "Programmierung:"
|
||||
L["Credits"] = "Danksagung"
|
||||
|
||||
@@ -358,6 +358,16 @@ Or for most users it would be easier to simply put a tga file into your WoW fold
|
||||
|
||||
간단히는 그림을 와우 설치 폴더에 넣은후 파일명만 적으세요.]]
|
||||
|
||||
--Class Cache
|
||||
L["Class Cache"] = true;
|
||||
L["Enable class caching to colorize names in chat and nameplates."] = true;
|
||||
L["If cache stored in DB it will be available between game sessions but increase memory usage.\nIn other way it will be wiped on relog or UI reload."] = true;
|
||||
L["Request info for class cache"] = true;
|
||||
L["Store cache in DB"] = true;
|
||||
L["Use LibWho to cache class info"] = true;
|
||||
L["Wipe DB Cache"] = true;
|
||||
L["Wipe Session Cache"] = true;
|
||||
|
||||
--Credits
|
||||
L["Coding:"] = "|cff2eb7e4< 개발자 >|r"
|
||||
L["Credits"] = "제작자"
|
||||
|
||||
@@ -310,6 +310,16 @@ Example: Interface\AddOns\ElvUI\media\textures\copy
|
||||
|
||||
Para a maioria dos usuários seria mais fácil simplesmente copiar o ficheiro tga na pasta do WoW e depois escrever o nome dele aqui.]]
|
||||
|
||||
--Class Cache
|
||||
L["Class Cache"] = true;
|
||||
L["Enable class caching to colorize names in chat and nameplates."] = true;
|
||||
L["If cache stored in DB it will be available between game sessions but increase memory usage.\nIn other way it will be wiped on relog or UI reload."] = true;
|
||||
L["Request info for class cache"] = true;
|
||||
L["Store cache in DB"] = true;
|
||||
L["Use LibWho to cache class info"] = true;
|
||||
L["Wipe DB Cache"] = true;
|
||||
L["Wipe Session Cache"] = true;
|
||||
|
||||
--Credits
|
||||
L["Coding:"] = "Codificação:"
|
||||
L["Credits"] = "Créditos"
|
||||
|
||||
@@ -310,6 +310,16 @@ Or for most users it would be easier to simply put a tga file into your WoW fold
|
||||
|
||||
Для большинства пользователей будет легче просто положить tga файл в папку игры, а затем написать имя файла здесь.]]
|
||||
|
||||
--Class Cache
|
||||
L["Class Cache"] = true;
|
||||
L["Enable class caching to colorize names in chat and nameplates."] = true;
|
||||
L["If cache stored in DB it will be available between game sessions but increase memory usage.\nIn other way it will be wiped on relog or UI reload."] = true;
|
||||
L["Request info for class cache"] = true;
|
||||
L["Store cache in DB"] = true;
|
||||
L["Use LibWho to cache class info"] = true;
|
||||
L["Wipe DB Cache"] = true;
|
||||
L["Wipe Session Cache"] = true;
|
||||
|
||||
--Credits
|
||||
L["Coding:"] = "Написание кода:"
|
||||
L["Credits"] = "Благодарности"
|
||||
|
||||
@@ -310,6 +310,16 @@ Ejemplo: Interface\AddOns\ElvUI\media\textures\copy
|
||||
|
||||
O también puedes simplemente colocar un archivo tga en la carpeta de WoW, y escribir aquí el nombre del archivo.]]
|
||||
|
||||
--Class Cache
|
||||
L["Class Cache"] = true;
|
||||
L["Enable class caching to colorize names in chat and nameplates."] = true;
|
||||
L["If cache stored in DB it will be available between game sessions but increase memory usage.\nIn other way it will be wiped on relog or UI reload."] = true;
|
||||
L["Request info for class cache"] = true;
|
||||
L["Store cache in DB"] = true;
|
||||
L["Use LibWho to cache class info"] = true;
|
||||
L["Wipe DB Cache"] = true;
|
||||
L["Wipe Session Cache"] = true;
|
||||
|
||||
--Credits
|
||||
L["Coding:"] = "Codificación:"
|
||||
L["Credits"] = "Créditos"
|
||||
|
||||
@@ -310,6 +310,16 @@ Or for most users it would be easier to simply put a tga file into your WoW fold
|
||||
|
||||
對多數玩家來說, 較簡易的方式是將 tga 檔放入 WoW 資料夾中, 然後在此處輸入檔案名稱.]]
|
||||
|
||||
--Class Cache
|
||||
L["Class Cache"] = true;
|
||||
L["Enable class caching to colorize names in chat and nameplates."] = true;
|
||||
L["If cache stored in DB it will be available between game sessions but increase memory usage.\nIn other way it will be wiped on relog or UI reload."] = true;
|
||||
L["Request info for class cache"] = true;
|
||||
L["Store cache in DB"] = true;
|
||||
L["Use LibWho to cache class info"] = true;
|
||||
L["Wipe DB Cache"] = true;
|
||||
L["Wipe Session Cache"] = true;
|
||||
|
||||
--Credits
|
||||
L["Coding:"] = "編碼:"
|
||||
L["Credits"] = "嗚謝"
|
||||
|
||||
Reference in New Issue
Block a user