Commit d58ebf4d authored by Simpy's avatar Simpy 🐹

11.41

parents 7a620d4c 59695652
......@@ -77,7 +77,7 @@ function D:Distribute(target, otherServer, isGlobal)
elseif IsInGroup() and UnitInParty('target') then
self:SendCommMessage(REQUEST_PREFIX, message, (not IsInGroup(LE_PARTY_CATEGORY_HOME) and IsInGroup(LE_PARTY_CATEGORY_INSTANCE)) and 'INSTANCE_CHAT' or 'PARTY')
else
E:Print(L["Must be in group with the player if he isn\'t on the same server as you."])
E:Print(L["Must be in group with the player if he isn't on the same server as you."])
return
end
else
......
local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local Skins = E:GetModule('Skins')
--WoW API / Variables
local wipe, sort, unpack = wipe, sort, unpack
local next, pairs, tinsert = next, pairs, tinsert
local CreateFrame = CreateFrame
local GetAddOnInfo = GetAddOnInfo
local GetCVar = GetCVar
......@@ -87,30 +88,32 @@ local function GetSpecName()
return EnglishSpecName[GetSpecializationInfo(GetSpecialization())]
end
function E:CreateStatusContent(num, parent, anchorTo)
local content = CreateFrame('Frame', nil, parent)
content:Size(260, (num * 20) + ((num-1)*5)) --20 height and 5 spacing
function E:CreateStatusContent(num, width, parent, anchorTo, content)
if not content then content = CreateFrame('Frame', nil, parent) end
content:Size(width, (num * 20) + ((num-1)*5)) --20 height and 5 spacing
content:Point('TOP', anchorTo, 'BOTTOM')
local font = E.Libs.LSM:Fetch('font', 'Expressway')
for i = 1, num do
local line = CreateFrame('Frame', nil, content)
line:Size(260, 20)
local text = line:CreateFontString(nil, 'ARTWORK')
text:SetAllPoints()
text:SetJustifyH('LEFT')
text:SetJustifyV('MIDDLE')
text:FontTemplate(E.Media.Fonts.Expressway, 14, 'OUTLINE')
line.Text = text
local numLine = line
if i == 1 then
numLine:Point('TOP', content, 'TOP')
else
numLine:Point('TOP', content['Line'..(i-1)], 'BOTTOM', 0, -5)
if not content['Line'..i] then
local line = CreateFrame('Frame', nil, content)
line:Size(width, 20)
local text = line:CreateFontString(nil, 'ARTWORK')
text:SetAllPoints()
text:SetJustifyH('LEFT')
text:SetJustifyV('MIDDLE')
text:FontTemplate(font, 14, 'OUTLINE')
line.Text = text
if i == 1 then
line:Point('TOP', content, 'TOP')
else
line:Point('TOP', content['Line'..(i-1)], 'BOTTOM', 0, -5)
end
content['Line'..i] = line
end
content['Line'..i] = numLine
end
return content
......@@ -123,27 +126,28 @@ local function CloseClicked()
end
end
function E:CreateStatusSection(width, height, parent, anchor1, anchorTo, anchor2, yOffset)
function E:CreateStatusSection(width, height, headerWidth, headerHeight, parent, anchor1, anchorTo, anchor2, yOffset)
local parentWidth, parentHeight = parent:GetSize()
if width > parentWidth then parent:SetWidth(width + 25) end
if height then parent:SetHeight(parentHeight + height) end
local section = CreateFrame('Frame', nil, parent)
section:Size(width, height)
section:Size(width, height or 0)
section:Point(anchor1, anchorTo, anchor2, 0, yOffset)
local header = CreateFrame('Frame', nil, section)
header:Size(300, 30)
header:Size(headerWidth or width, headerHeight)
header:Point('TOP', section)
section.Header = header
local font = E.Libs.LSM:Fetch('font', 'Expressway')
local text = section.Header:CreateFontString(nil, 'ARTWORK')
text:Point('TOP')
text:Point('BOTTOM')
text:SetJustifyH('CENTER')
text:SetJustifyV('MIDDLE')
text:FontTemplate(E.Media.Fonts.Expressway, 18, 'OUTLINE')
text:FontTemplate(font, 18, 'OUTLINE')
section.Header.Text = text
local leftDivider = section.Header:CreateTexture(nil, 'ARTWORK')
......@@ -176,6 +180,15 @@ function E:CreateStatusFrame()
StatusFrame:SetSize(0, 35)
StatusFrame:Hide()
--Plugin frame
local PluginFrame = CreateFrame('Frame', 'ElvUIStatusPlugins', StatusFrame)
PluginFrame:SetPoint('TOPLEFT', StatusFrame, 'TOPRIGHT', E.mult + 2*E.Border, 0)
PluginFrame:SetFrameStrata('HIGH')
PluginFrame:CreateBackdrop('Transparent', nil, true)
PluginFrame.backdrop:SetBackdropColor(0, 0, 0, 0.6)
PluginFrame:SetSize(0, 25)
StatusFrame.PluginFrame = PluginFrame
--Close button and script to retoggle the options.
StatusFrame:CreateCloseButton()
StatusFrame.CloseButton:HookScript('OnClick', CloseClicked)
......@@ -199,15 +212,16 @@ function E:CreateStatusFrame()
titleLogoFrame.LogoBottom = LogoBottom
--Sections
StatusFrame.Section1 = E:CreateStatusSection(300, 125, StatusFrame, 'TOP', StatusFrame, 'TOP', -30)
StatusFrame.Section2 = E:CreateStatusSection(300, 150, StatusFrame, 'TOP', StatusFrame.Section1, 'BOTTOM', 0)
StatusFrame.Section3 = E:CreateStatusSection(300, 185, StatusFrame, 'TOP', StatusFrame.Section2, 'BOTTOM', 0)
--StatusFrame.Section4 = E:CreateStatusSection(300, 60, StatusFrame, 'TOP', StatusFrame.Section3, 'BOTTOM', 0)
StatusFrame.Section1 = E:CreateStatusSection(300, 125, nil, 30, StatusFrame, 'TOP', StatusFrame, 'TOP', -30)
StatusFrame.Section2 = E:CreateStatusSection(300, 150, nil, 30, StatusFrame, 'TOP', StatusFrame.Section1, 'BOTTOM', 0)
StatusFrame.Section3 = E:CreateStatusSection(300, 185, nil, 30, StatusFrame, 'TOP', StatusFrame.Section2, 'BOTTOM', 0)
--StatusFrame.Section4 = E:CreateStatusSection(300, 60, nil, 30, StatusFrame, 'TOP', StatusFrame.Section3, 'BOTTOM', 0)
PluginFrame.SectionP = E:CreateStatusSection(280, nil, nil, 30, PluginFrame, 'TOP', PluginFrame, 'TOP', -10)
--Section content
StatusFrame.Section1.Content = E:CreateStatusContent(4, StatusFrame.Section1, StatusFrame.Section1.Header)
StatusFrame.Section2.Content = E:CreateStatusContent(5, StatusFrame.Section2, StatusFrame.Section2.Header)
StatusFrame.Section3.Content = E:CreateStatusContent(6, StatusFrame.Section3, StatusFrame.Section3.Header)
StatusFrame.Section1.Content = E:CreateStatusContent(4, 260, StatusFrame.Section1, StatusFrame.Section1.Header)
StatusFrame.Section2.Content = E:CreateStatusContent(5, 260, StatusFrame.Section2, StatusFrame.Section2.Header)
StatusFrame.Section3.Content = E:CreateStatusContent(6, 260, StatusFrame.Section3, StatusFrame.Section3.Header)
--StatusFrame.Section4.Content = CreateFrame('Frame', nil, StatusFrame.Section4)
--StatusFrame.Section4.Content:Size(240, 25)
--StatusFrame.Section4.Content:Point('TOP', StatusFrame.Section4.Header, 'BOTTOM', 0, 0)
......@@ -239,8 +253,17 @@ function E:CreateStatusFrame()
return StatusFrame
end
local function pluginSort(a, b)
local A, B = a.title or a.name, b.title or b.name
if A and B then
return E:StripString(A) < E:StripString(B)
end
end
local pluginData = {}
function E:UpdateStatusFrame()
local StatusFrame = E.StatusFrame
local PluginFrame = StatusFrame.PluginFrame
--Section headers
local valueColor = E.media.hexvaluecolor
......@@ -249,12 +272,46 @@ function E:UpdateStatusFrame()
StatusFrame.Section3.Header.Text:SetFormattedText('%sCharacter Info|r', valueColor)
--StatusFrame.Section4.Header.Text:SetFormattedText('%sExport To|r', valueColor)
local PluginSection = PluginFrame.SectionP
PluginSection.Header.Text:SetFormattedText('%sPlugins|r', valueColor)
local verWarning = E.recievedOutOfDateMessage and 'ff3333' or E.shownUpdatedWhileRunningPopup and 'ff9933'
StatusFrame.Section1.Content.Line1.Text:SetFormattedText('Version of ElvUI: |cff%s%s|r', verWarning or '33ff33', E.version)
local addons, plugins = E:AreOtherAddOnsEnabled()
StatusFrame.Section1.Content.Line2.Text:SetFormattedText('Other AddOns Enabled: |cff%s|r', (not addons and plugins and 'ff9933Plugins') or (addons and 'ff3333Yes') or '33ff33No')
if plugins then
wipe(pluginData)
for _, data in pairs(E.Libs.EP.plugins) do
if data and not data.isLib then
tinsert(pluginData, data)
end
end
if next(pluginData) then
sort(pluginData, pluginSort)
local count = #pluginData
local width = PluginSection:GetWidth()
PluginSection.Content = E:CreateStatusContent(count, width, PluginSection, PluginSection.Header, PluginSection.Content)
for i=1, count do
local data = pluginData[i]
local color = data.old and 'ff3333' or '33ff33'
PluginSection.Content['Line'..i].Text:SetFormattedText('%s |cff888888v|r|cff%s%s|r', data.title or data.name, color, data.version)
end
PluginFrame.SectionP:Height(count * 20)
PluginFrame:SetHeight(PluginSection.Content:GetHeight() + 50)
PluginFrame:Show()
else
PluginFrame:Hide()
end
else
PluginFrame:Hide()
end
local Section2 = StatusFrame.Section2
Section2.Content.Line3.Text:SetFormattedText('Display Mode: |cff4beb2c%s|r', E:GetDisplayMode())
Section2.Content.Line4.Text:SetFormattedText('Resolution: |cff4beb2c%s|r', E.resolution)
......
## Interface: 80300
## Author: Elv, Simpy
## Version: 11.40
## Version: 11.41
## Title: |cff1784d1ElvUI|r
## Notes: User Interface replacement AddOn for World of Warcraft.
## SavedVariables: ElvDB, ElvPrivateDB
......
local MAJOR, MINOR = "LibElvUIPlugin-1.0", 33
local MAJOR, MINOR = "LibElvUIPlugin-1.0", 34
local lib = _G.LibStub:NewLibrary(MAJOR, MINOR)
if not lib then return end
-- GLOBALS: ElvUI
......@@ -103,7 +103,9 @@ function lib:RegisterPlugin(name, callback, isLib, libVersion)
local plugin = {
name = name,
callback = callback
callback = callback,
title = GetAddOnMetadata(name, "Title"),
author = GetAddOnMetadata(name, "Author")
}
if isLib then
......@@ -222,8 +224,7 @@ function lib:VersionCheck(event, prefix, message, _, sender)
local Pver, ver = lib:StripVersion(plugin.version), lib:StripVersion(version)
if (ver and Pver) and (ver > Pver) then
plugin.old, plugin.newversion = true, version
local title = GetAddOnMetadata(plugin.name, "Title") or plugin.name
E:Print(format(MSG_OUTDATED, title, plugin.version, plugin.newversion))
E:Print(format(MSG_OUTDATED, plugin.title or plugin.name, plugin.version, plugin.newversion))
E.pluginRecievedOutOfDateMessage = true
end
end
......@@ -246,11 +247,9 @@ function lib:GeneratePluginList()
local list = ""
for _, plugin in pairs(lib.plugins) do
if plugin.name ~= MAJOR then
local author = GetAddOnMetadata(plugin.name, "Author")
local title = GetAddOnMetadata(plugin.name, "Title") or plugin.name
local color = (plugin.old and E:RGBToHex(1, 0, 0)) or E:RGBToHex(0, 1, 0)
list = list .. title
if author then list = list .. " " .. INFO_BY .. " " .. author end
list = list .. (plugin.title or plugin.name)
if plugin.author then list = list .. " " .. INFO_BY .. " " .. plugin.author end
list = list .. color .. (plugin.isLib and " " .. LIBRARY or " - " .. INFO_VERSION .. " " .. plugin.version)
if plugin.old then list = list .. " (" .. INFO_NEW .. plugin.newversion .. ")" end
list = list .. "|r\n"
......
......@@ -91,7 +91,6 @@ L["Dead"] = "Tot"
L["Deficit:"] = "Defizit:"
L["Delete gray items?"] = "Graue Gegenstände löschen?"
L["Deposit Reagents"] = "Reagenzien einlagern"
L["Desaturate all grey items that can be vendored."] = "Ensätigt alle grauen Gegenstände die verkauft werden können."
L["Detected that your ElvUI OptionsUI addon is out of date. This may be a result of your Tukui Client being out of date. Please visit our download page and update your Tukui Client, then reinstall ElvUI. Not having your ElvUI OptionsUI addon up to date will result in missing options."] = "Es wurde erkannt dass dein ElvUI Konfigurations-Addon veraltet ist. Dies kann das Ergebnis eines veralteten Tukui Clients sein. Bitte besuche unsere Downloadseite und update deinen Tukui Client, dann installiere ElvUI neu. Das nicht auf dem neuesten Stand haben des ElvUI Konfigurations-Addons wird in fehlenden Optionen resultieren."
L["Disable Warning"] = "Deaktiviere Warnung"
L["Disable"] = "Deaktivieren"
......@@ -159,7 +158,6 @@ L["Importance: |cffD3CF00Medium|r"] = "Bedeutung: |cffD3CF00Mittel|r"
L["Importance: |cffFF0000Low|r"] = "Bedeutung: |cffD3CF00Niedrig|r"
L["In Progress"] = "In Bearbeitung"
L["INCOMPATIBLE_ADDON"] = "Das Addon %s ist nicht mit dem ElvUI %s Modul kompatibel. Bitte deaktiviere entweder das Addon oder deaktiviere das ElvUI Modul."
L["Info/Controls"] = "Info/Kontrolle"
L["Installation Complete"] = "Installation komplett"
L["Invalid Target"] = "Ungültiges Ziel"
L["Interrupted %s's \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"] = "Unterbrochen %s's \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"
......@@ -288,7 +286,6 @@ L["Spec"] = "Spec"
L["Spell/Heal Power"] = "Zauber-/Heilungskraft"
L["Spent:"] = "Ausgegeben:"
L["Stance Bar"] = "Haltungsleiste"
L["Stats For:"] = "Stats Für:"
L["Steps"] = "Schritte"
L["Sticky Frames"] = "Anheftende Fenster"
L["System"] = true --No need to translate
......
......@@ -91,7 +91,6 @@ L["Dead"] = true
L["Deficit:"] = true
L["Delete gray items?"] = true
L["Deposit Reagents"] = true
L["Desaturate all grey items that can be vendored."] = true
L["Detected that your ElvUI OptionsUI addon is out of date. This may be a result of your Tukui Client being out of date. Please visit our download page and update your Tukui Client, then reinstall ElvUI. Not having your ElvUI OptionsUI addon up to date will result in missing options."] = true
L["Disable Warning"] = true
L["Disable"] = true
......@@ -159,7 +158,6 @@ L["Importance: |cffD3CF00Medium|r"] = true
L["Importance: |cffFF0000Low|r"] = true
L["In Progress"] = true
L["INCOMPATIBLE_ADDON"] = "The addon %s is not compatible with ElvUI's %s module. Please select either the addon or the ElvUI module to disable."
L["Info/Controls"] = true
L["Installation Complete"] = true
L["Invalid Target"] = true
L["Interrupted %s's \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"] = true
......@@ -287,7 +285,6 @@ L["Spec"] = true
L["Spell/Heal Power"] = true
L["Spent:"] = true
L["Stance Bar"] = true
L["Stats For:"] = true
L["Steps"] = true
L["Sticky Frames"] = true
L["System"] = true
......
......@@ -91,7 +91,6 @@ L["Dead"] = "Muerto"
L["Deficit:"] = "Déficit:"
L["Delete gray items?"] = "¿Eliminar objetos grises?"
L["Deposit Reagents"] = "Depositar Componentes"
L["Desaturate all grey items that can be vendored."] = "Desaturar todos los objetos grises que se pueden vender."
L["Detected that your ElvUI OptionsUI addon is out of date. This may be a result of your Tukui Client being out of date. Please visit our download page and update your Tukui Client, then reinstall ElvUI. Not having your ElvUI OptionsUI addon up to date will result in missing options."] = "Se ha detectado que tu addon de ElvUI OptionsUI está desactualizado. Ésto puede darse como resultado de que tu cliente Tukui esté desactualizado. Por favor visita nuestra página de descargas y actualiza tu cliente Tukui y entonces reinstala ElvUI. No tener tu addon ElvUI OptionsUI actualizado podría resultar en opciones faltantes."
L["Disable Warning"] = "Deshabilitar Advertencia"
L["Disable"] = "Desactivar"
......@@ -159,7 +158,6 @@ L["Importance: |cffD3CF00Medium|r"] = "Importancia: |cffD3CF00Media|r"
L["Importance: |cffFF0000Low|r"] = "Importancia: |cffFF0000Baja|r"
L["In Progress"] = "En Progreso"
L["INCOMPATIBLE_ADDON"] = "The addon %s is not compatible with ElvUI's %s module. Please select either the addon or the ElvUI module to disable."
L["Info/Controls"] = "Información / Controles"
L["Installation Complete"] = "Instalación Completa"
L["Invalid Target"] = "Objetivo Inválido"
L["Interrupted %s's \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"] = true
......@@ -287,7 +285,6 @@ L["Spec"] = "Espec"
L["Spell/Heal Power"] = "Hechizo / Poder de Curación"
L["Spent:"] = "Gastada:"
L["Stance Bar"] = "Barra de Forma"
L["Stats For:"] = "Estadísticas para:"
L["Steps"] = "Pasos"
L["Sticky Frames"] = "Marcos Adhesivos"
L["System"] = "Sistema"
......
......@@ -91,7 +91,6 @@ L["Dead"] = "Mort"
L["Deficit:"] = "Déficit :"
L["Delete gray items?"] = true
L["Deposit Reagents"] = "Déposer les composants"
L["Desaturate all grey items that can be vendored."] = true
L["Detected that your ElvUI OptionsUI addon is out of date. This may be a result of your Tukui Client being out of date. Please visit our download page and update your Tukui Client, then reinstall ElvUI. Not having your ElvUI OptionsUI addon up to date will result in missing options."] = "Nous avons détecté que votre installation d'ElvUI est périmée. Cela peut venir du client Tukui qui est également périmé. Merci de visiter notre page de téléchargement pour mettre à jour le client Tukui, puis réinstallez ElvUI. Ne pas avoir la version à jour ElvUI peut entrainer des erreurs."
L["Disable Warning"] = "Désactiver l'alerte"
L["Disable"] = "Désactiver"
......@@ -159,7 +158,6 @@ L["Importance: |cffD3CF00Medium|r"] = "Importance : |cffD3CF00Moyenne|r"
L["Importance: |cffFF0000Low|r"] = "Importance : |cffFF0000Faible|r"
L["In Progress"] = "En cours"
L["INCOMPATIBLE_ADDON"] = "L'addon %s n'est pas compatible avec le module %s d'ElvUI. Merci de sélectionner soit l'addon, soit le module d'ElvUI, pour le désactiver."
L["Info/Controls"] = true
L["Installation Complete"] = "Installation terminée"
L["Invalid Target"] = "Cible incorrecte"
L["Interrupted %s's \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"] = true
......@@ -287,7 +285,6 @@ L["Spec"] = "Spec"
L["Spell/Heal Power"] = "Puissance d'attaque / de soin"
L["Spent:"] = "Dépensé :"
L["Stance Bar"] = "Barre de posture"
L["Stats For:"] = "Statistiques pour :"
L["Steps"] = "Etapes"
L["Sticky Frames"] = "Cadres aimantés"
L["System"] = "Système"
......
......@@ -91,7 +91,6 @@ L["Dead"] = true
L["Deficit:"] = true
L["Delete gray items?"] = true
L["Deposit Reagents"] = true
L["Desaturate all grey items that can be vendored."] = true
L["Detected that your ElvUI OptionsUI addon is out of date. This may be a result of your Tukui Client being out of date. Please visit our download page and update your Tukui Client, then reinstall ElvUI. Not having your ElvUI OptionsUI addon up to date will result in missing options."] = true
L["Disable Warning"] = true
L["Disable"] = true
......@@ -159,7 +158,6 @@ L["Importance: |cffD3CF00Medium|r"] = true
L["Importance: |cffFF0000Low|r"] = true
L["In Progress"] = true
L["INCOMPATIBLE_ADDON"] = "The addon %s is not compatible with ElvUI's %s module. Please select either the addon or the ElvUI module to disable."
L["Info/Controls"] = "Info/Gestione"
L["Installation Complete"] = "Installazione Completata"
L["Invalid Target"] = "Obbiettivo Invalido"
L["Interrupted %s's \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"] = true
......@@ -287,7 +285,6 @@ L["Spec"] = true
L["Spell/Heal Power"] = true
L["Spent:"] = true
L["Stance Bar"] = true
L["Stats For:"] = true
L["Steps"] = true
L["Sticky Frames"] = true
L["System"] = true
......
......@@ -91,7 +91,6 @@ L["Dead"] = "죽음"
L["Deficit:"] = "손해:"
L["Delete gray items?"] = "잡템을 삭제하시겠습니까?"
L["Deposit Reagents"] = _G.REAGENTBANK_DEPOSIT
L["Desaturate all grey items that can be vendored."] = true
L["Detected that your ElvUI OptionsUI addon is out of date. This may be a result of your Tukui Client being out of date. Please visit our download page and update your Tukui Client, then reinstall ElvUI. Not having your ElvUI OptionsUI addon up to date will result in missing options."] = "ElvUI_OptionsUI 가 오래된 버전입니다. Tukui Client 프로그램을 쓰고 있으면 클라이언트를 업데이트하고 ElvUI를 재설치하세요."
L["Disable Warning"] = "비활성화 경고"
L["Disable"] = "비활성화"
......@@ -159,7 +158,6 @@ L["Importance: |cffD3CF00Medium|r"] = "중요도: |cffD3CF00보통|r"
L["Importance: |cffFF0000Low|r"] = "중요도 : |cffFF0000낮음|r"
L["In Progress"] = "진행 중"
L["INCOMPATIBLE_ADDON"] = "%s 애드온의 기능이 ElvUI의 %s 모듈과 상충됩니다. 그 애드온을 쓰지 않거나 ElvUI의 기능을 사용해제하세요."
L["Info/Controls"] = true
L["Installation Complete"] = "설치 완료"
L["Invalid Target"] = "잘못된 대상"
L["Interrupted %s's \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"] = true
......@@ -287,7 +285,6 @@ L["Spec"] = "전문화"
L["Spell/Heal Power"] = "주문력"
L["Spent:"] = "지출:"
L["Stance Bar"] = "태세 바"
L["Stats For:"] = "점수:"
L["Steps"] = "단계"
L["Sticky Frames"] = "자석"
L["System"] = "시스템"
......
......@@ -91,7 +91,6 @@ L["Dead"] = true
L["Deficit:"] = "Défice:"
L["Delete gray items?"] = true
L["Deposit Reagents"] = true
L["Desaturate all grey items that can be vendored."] = true
L["Detected that your ElvUI OptionsUI addon is out of date. This may be a result of your Tukui Client being out of date. Please visit our download page and update your Tukui Client, then reinstall ElvUI. Not having your ElvUI OptionsUI addon up to date will result in missing options."] = true
L["Disable Warning"] = "Desativar Aviso"
L["Disable"] = "Desativar"
......@@ -159,7 +158,6 @@ L["Importance: |cffD3CF00Medium|r"] = "Importância: |cffD3CF00Média|r"
L["Importance: |cffFF0000Low|r"] = "Importância: |cffFF0000Baixa|r"
L["In Progress"] = true
L["INCOMPATIBLE_ADDON"] = "The addon %s is not compatible with ElvUI's %s module. Please select either the addon or the ElvUI module to disable."
L["Info/Controls"] = true
L["Installation Complete"] = "Instalação Completa"
L["Invalid Target"] = "Alvo inválido"
L["Interrupted %s's \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"] = true
......@@ -287,7 +285,6 @@ L["Spec"] = "Especialização"
L["Spell/Heal Power"] = true
L["Spent:"] = "Gasto:"
L["Stance Bar"] = "Barra de Postura"
L["Stats For:"] = "Estatísticas para:"
L["Steps"] = true
L["Sticky Frames"] = "Quadros Pegadiços"
L["System"] = true
......
......@@ -91,7 +91,6 @@ L["Dead"] = "Труп"
L["Deficit:"] = "Убыток:"
L["Delete gray items?"] = "Удалить серый предметы?"
L["Deposit Reagents"] = "Сложить материалы"
L["Desaturate all grey items that can be vendored."] = "Обесцветить все серые предметы, которые можно продать."
L["Detected that your ElvUI OptionsUI addon is out of date. This may be a result of your Tukui Client being out of date. Please visit our download page and update your Tukui Client, then reinstall ElvUI. Not having your ElvUI OptionsUI addon up to date will result in missing options."] = "Мы обнаружили, что ElvUI OptionsUI устарел. Это может быть результатом устаревшей версии Tukui Client. Пожалуйста, посетите нашу страницу загрузок и обновите Tukui Client, а затем переустановите ElvUI. Устаревший ElvUI OptionsUI может привести к отсутствию некоторых опций."
L["Disable Warning"] = "Отключить предупреждение"
L["Disable"] = "Выключить"
......@@ -159,7 +158,6 @@ L["Importance: |cffD3CF00Medium|r"] = "Важность: |cffD3CF00Средня
L["Importance: |cffFF0000Low|r"] = "Важность: |cffFF0000Низкая|r"
L["In Progress"] = "В процессе"
L["INCOMPATIBLE_ADDON"] = "Аддон %s не совместим с модулем %s ElvUI. Пожалуйста, выберите отключить ли несовместимый аддон или модуль."
L["Info/Controls"] = "Инфо/Контроль"
L["Installation Complete"] = "Установка завершена"
L["Invalid Target"] = "Неверная цель"
L["Interrupted %s's \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"] = "Прерван %s. Сбито \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"
......@@ -287,7 +285,6 @@ L["Spec"] = "Спек"
L["Spell/Heal Power"] = "Сила заклинаний"
L["Spent:"] = "Потрачено:"
L["Stance Bar"] = "Панель стоек"
L["Stats For:"] = "Статистика для:"
L["Steps"] = "Шаги"
L["Sticky Frames"] = "Клейкие фреймы"
L["System"] = "Система"
......
......@@ -91,7 +91,6 @@ L["Dead"] = "死亡"
L["Deficit:"] = "亏损:"
L["Delete gray items?"] = "删除灰色物品?"
L["Deposit Reagents"] = "导入材料"
L["Desaturate all grey items that can be vendored."] = "可出售的灰色物品褪色."
L["Detected that your ElvUI OptionsUI addon is out of date. This may be a result of your Tukui Client being out of date. Please visit our download page and update your Tukui Client, then reinstall ElvUI. Not having your ElvUI OptionsUI addon up to date will result in missing options."] = "检测到您的ElvUI设置插件已过期.这可能是因为您的 Tukui 客户端已过期.请访问我们的下载页面并更新 Tukui 客户端,然后重新安装ElvUI.ElvUI设置插件过期会造成某些选项丢失"
L["Disable Warning"] = "禁用警告"
L["Disable"] = "禁用"
......@@ -159,7 +158,6 @@ L["Importance: |cffD3CF00Medium|r"] = "重要性: |cffD3CF00中|r"
L["Importance: |cffFF0000Low|r"] = "重要性:|cffFF0000低|r"
L["In Progress"] = "正在进行中"
L["INCOMPATIBLE_ADDON"] = "插件 %s 不相容于 ElvUI 的 %s 模组, 请停用不相容的插件, 或停用模组."
L["Info/Controls"] = "信息/控制"
L["Installation Complete"] = "安装完成"
L["Invalid Target"] = "无效的目标"
L["Interrupted %s's \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"] = "已打断 %s 的 \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"
......@@ -287,7 +285,6 @@ L["Spec"] = "专精"
L["Spell/Heal Power"] = "法术/治疗强度"
L["Spent:"] = "花费:"
L["Stance Bar"] = "姿态条"
L["Stats For:"] = "统计:"
L["Steps"] = "步骤"
L["Sticky Frames"] = "框架依附"
L["System"] = "系统信息"
......
......@@ -91,7 +91,6 @@ L["Dead"] = "死亡"
L["Deficit:"] = "赤字:"
L["Delete gray items?"] = "刪除灰色物品?"
L["Deposit Reagents"] = "存入材料"
L["Desaturate all grey items that can be vendored."] = "降低所有能被售賣的垃圾物品的飽和度."
L["Detected that your ElvUI OptionsUI addon is out of date. This may be a result of your Tukui Client being out of date. Please visit our download page and update your Tukui Client, then reinstall ElvUI. Not having your ElvUI OptionsUI addon up to date will result in missing options."] = "偵測到你的 ElvUI 設定插件已過期. 這可能是因為你的 Tukui 客戶端已過期. 請拜訪我們的下載頁面並更新 Tukui 客戶端然後再重新安裝 ElvUI. ElvUI 設定插件過期會造成某些選項遺失"
L["Disable Warning"] = "停用警告"
L["Disable"] = "停用"
......@@ -159,7 +158,6 @@ L["Importance: |cffD3CF00Medium|r"] = "重要性: |cffD3CF00中|r"
L["Importance: |cffFF0000Low|r"] = "重要性: |cffFF0000低|r"
L["In Progress"] = "進行中"
L["INCOMPATIBLE_ADDON"] = "插件 %s 與 ElvUI 的 %s 模組不相容。請停用不相容的插件, 或停用相關的模組."
L["Info/Controls"] = true
L["Installation Complete"] = "安裝完畢"
L["Invalid Target"] = "無效的目標"
L["Interrupted %s's \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"] = "已打斷 %s 的 \124cff71d5ff\124Hspell:%d:0\124h[%s]\124h\124r!"
......@@ -287,7 +285,6 @@ L["Spec"] = "專精"
L["Spell/Heal Power"] = "法術/治療強度"
L["Spent:"] = "花費:"
L["Stance Bar"] = "姿態列"
L["Stats For:"] = "統計:"
L["Steps"] = "步驟"
L["Sticky Frames"] = "框架依附"
L["System"] = "系統信息"
......
......@@ -162,7 +162,7 @@ AddMedia('emoji','Wink')
AddMedia('emoji','ZZZ')
AddMedia('logo','ElvRainbow')
AddMedia('logo','ElvMelon')
AddMedia('logo','ElvSorbet')
AddMedia('logo','ElvBlue')
AddMedia('logo','ElvGreen')
AddMedia('logo','ElvOrange')
......
......@@ -81,7 +81,6 @@ local ToggleQuickJoinPanel = ToggleQuickJoinPanel
local UnitExists, UnitIsUnit = UnitExists, UnitIsUnit
local UnitGroupRolesAssigned = UnitGroupRolesAssigned
local UnitName = UnitName
local UnitRealmRelationship = UnitRealmRelationship
local Voice_GetVoiceChannelNotificationColor = Voice_GetVoiceChannelNotificationColor
local C_BattleNet_GetAccountInfoByID = C_BattleNet.GetAccountInfoByID
......@@ -100,7 +99,6 @@ local C_VoiceChat_SetPortraitTexture = C_VoiceChat.SetPortraitTexture
local SOUNDKIT_TELL_MESSAGE = SOUNDKIT.TELL_MESSAGE
local SOCIAL_QUEUE_QUEUED_FOR = gsub(SOCIAL_QUEUE_QUEUED_FOR, ':%s?$', '') --some language have `:` on end
local LE_REALM_RELATION_SAME = LE_REALM_RELATION_SAME
local BNET_CLIENT_WOW = BNET_CLIENT_WOW
local LFG_LIST_AND_MORE = LFG_LIST_AND_MORE
local NUM_CHAT_WINDOWS = NUM_CHAT_WINDOWS
......@@ -180,19 +178,17 @@ do --this can save some main file locals
local ElvBlue = E:TextureString(E.Media.ChatLogos.ElvBlue,y)
local ElvGreen = E:TextureString(E.Media.ChatLogos.ElvGreen,y)
local ElvMelon = E:TextureString(E.Media.ChatLogos.ElvMelon,y)
local ElvOrange = E:TextureString(E.Media.ChatLogos.ElvOrange,y)
local ElvPink = E:TextureString(E.Media.ChatLogos.ElvPink,y)
--local ElvPink = E:TextureString(E.Media.ChatLogos.ElvPink,y)
local ElvPurple = E:TextureString(E.Media.ChatLogos.ElvPurple,y)
local ElvRed = E:TextureString(E.Media.ChatLogos.ElvRed,y)
local ElvYellow = E:TextureString(E.Media.ChatLogos.ElvYellow,y)
local ElvSorbet = E:TextureString(E.Media.ChatLogos.ElvSorbet,y)
local Bathrobe = E:TextureString(E.Media.ChatLogos.Bathrobe,x)
local MrHankey = E:TextureString(E.Media.ChatLogos.MrHankey,x)
local Rainbow = E:TextureString(E.Media.ChatLogos.Rainbow,x)
local Hibiscus = E:TextureString(E.Media.ChatLogos.Hibiscus,x)
local Clover = E:TextureString(E.Media.ChatLogos.Clover,x)
local Burger = E:TextureString(E.Media.ChatLogos.Burger,x)
local Lion = E:TextureString(E.Media.ChatLogos.Lion,x)
local GoldShield = E:TextureString(E.Media.ChatLogos.GoldShield,x)
local DeathlyH = E:TextureString(E.Media.ChatLogos.DeathlyHallows,x)
......@@ -201,7 +197,7 @@ do --this can save some main file locals
(a = a - (b and 1 or -1) if (b and a == 1 or a == 0) or a == #c then b = not b end return c[a])
]]
local itsElv, itsMis, itsMel, itsSimpyA, itsSimpyH, itsTheFlyestNihilist
local itsElv, itsMis, itsMel, itsSimpy, itsTheFlyestNihilist
do --Simpy Chaos: super cute text coloring function that ignores hyperlinks and keywords
local e, f, g = {'|[TA].-|[ta]', '|?c?%x-%[?|H.-|h.-|h]?|?r?', '|c.-|r'}, {}, {}
local prettify = function(t,...) return gsub(gsub(E:TextGradient(gsub(gsub(t,'%%%%','\27'),'\124\124','\26'),...),'\27','%%%%'),'\26','||') end
......@@ -210,8 +206,8 @@ do --this can save some main file locals
if next(g) then if #g > 1 then sort(g) end for n in gmatch(t, '\24') do local _, v = next(g) t = gsub(t, n, f[v], 1) tremove(g, 1) f[v] = nil end end return t
end
--Watermelon: 909090 (Light Slate Grey), FA6687 (Light Coral) x2, 73FA9B (Pale Green)
local SimpyColors = function(t) return specialText(t, 0.45,0.45,0.45, 0.98,0.4,0.53, 0.98,0.4,0.53, 0.45,0.98,0.45) end
--Rainbow Sorbet: ff9966 (Light Salmon), ff6699 (Hot Pink), 9966ff (Light Violet), 6699ff (Cornflower Blue), 66ff99 (Pale Green)
local SimpyColors = function(t) return specialText(t, 1.0,0.6,0.4, 1.0,0.4,0.6, 0.6,0.4,1.0, 0.4,0.6,1.0, 0.4,1.0,0.6) end
--Detroit Lions Colors: Honolulu Blue to Silver [Elv: I stoles it @Simpy]
local ElvColors = function(t) return specialText(t, 0,0.42,0.69, 0.61,0.61,0.61) end
--Rainbow (8 Colors: 253,62,68, 254,152,73, 255,222,75, 109,253,101, 84,196,252, 163,93,250, 198,121,251, 254,129,193)
......@@ -222,10 +218,9 @@ do --this can save some main file locals
local nm = function(c) return math.max(1-c,0.15) end
local NihiColors = function(class) local c = _G.RAID_CLASS_COLORS[class] local c1,c2,c3, n1,n2,n3 = c.r,c.g,c.b, nm(c.r), nm(c.g), nm(c.b) return function(t) return specialText(t, c1,c2,c3, n1,n2,n3, c1,c2,c3, n1,n2,n3) end end
itsSimpyH = function() return Burger..ElvMelon, SimpyColors end
itsSimpyA = function() return Lion..ElvMelon, SimpyColors end
itsMel = function() return Hibiscus, MelColors end
itsSimpy = function() return ElvSorbet, SimpyColors end
itsElv = function() return ElvBlue, ElvColors end
itsMel = function() return Hibiscus, MelColors end
itsMis = function() return Rainbow, MisColors end
itsTheFlyestNihilist = function(class) local icon, prettyText = E:TextureString(E.Media.ChatLogos["Fox"..class],x), NihiColors(strupper(class)) return function() return icon, prettyText end end
end
......@@ -290,7 +285,7 @@ do --this can save some main file locals
["Rikanza-WyrmrestAccord"] = itsTheFlyestNihilist("Monk"),
["Onaguda-WyrmrestAccord"] = itsTheFlyestNihilist("Druid"),
["Cerishia-WyrmrestAccord"] = itsTheFlyestNihilist("Priest"),
["Vellilara-WyrmrestAccord"] = itsTheFlyestNihilist("DemonHunter"),
["Vellilara-WyrmrestAccord"] = itsTheFlyestNihilist("DemonHunter"),
["Sayalia-WyrmrestAccord"] = itsTheFlyestNihilist("DeathKnight"),
["Pakasta-WyrmrestAccord"] = itsTheFlyestNihilist("Paladin"),
["Orlyrala-WyrmrestAccord"] = itsTheFlyestNihilist("Shaman"),
......@@ -321,27 +316,27 @@ do --this can save some main file locals
["Merathilîs-Shattrath"] = ElvBlue, -- [Alliance] Shaman
["Róhal-Shattrath"] = ElvGreen, -- [Alliance] Hunter
-- Simpy
["Arieva-Cenarius"] = itsSimpyA, -- Hunter
["Buddercup-Cenarius"] = itsSimpyA, -- Rogue
["Cutepally-Cenarius"] = itsSimpyA, -- Paladin
["Ezek-Cenarius"] = itsSimpyA, -- DK
["Glice-Cenarius"] = itsSimpyA, -- Warrior
["Kalline-Cenarius"] = itsSimpyA, -- Shaman
["Puttietat-Cenarius"] = itsSimpyA, -- Druid
["Simpy-Cenarius"] = itsSimpyA, -- Warlock
["Twigly-Cenarius"] = itsSimpyA, -- Monk
["Imsobeefy-Cenarius"] = itsSimpyH, -- [Horde] Shaman
["Imsocheesy-Cenarius"] = itsSimpyH, -- [Horde] Priest
["Imsojelly-Cenarius"] = itsSimpyH, -- [Horde] DK
["Imsojuicy-Cenarius"] = itsSimpyH, -- [Horde] Druid
["Imsopeachy-Cenarius"] = itsSimpyH, -- [Horde] DH
["Imsosalty-Cenarius"] = itsSimpyH, -- [Horde] Paladin
["Imsospicy-Cenarius"] = itsSimpyH, -- [Horde] Mage
["Bunne-CenarionCircle"] = itsSimpyA, -- [RP] Warrior
["Loppie-CenarionCircle"] = itsSimpyA, -- [RP] Hunter
["Loppybunny-CenarionCircle"] = itsSimpyA, -- [RP] Mage
["Rubee-CenarionCircle"] = itsSimpyA, -- [RP] DH
["Wennie-CenarionCircle"] = itsSimpyA, -- [RP] Priest
["Arieva-Cenarius"] = itsSimpy, -- Hunter
["Buddercup-Cenarius"] = itsSimpy, -- Rogue
["Cutepally-Cenarius"] = itsSimpy, -- Paladin
["Ezek-Cenarius"] = itsSimpy, -- DK
["Glice-Cenarius"] = itsSimpy, -- Warrior
["Kalline-Cenarius"] = itsSimpy, -- Shaman
["Puttietat-Cenarius"] = itsSimpy, -- Druid
["Simpy-Cenarius"] = itsSimpy, -- Warlock
["Twigly-Cenarius"] = itsSimpy, -- Monk
["Imsobeefy-Cenarius"] = itsSimpy, -- [Horde] Shaman
["Imsocheesy-Cenarius"] = itsSimpy, -- [Horde] Priest
["Imsojelly-Cenarius"] = itsSimpy, -- [Horde] DK
["Imsojuicy-Cenarius"] = itsSimpy, -- [Horde] Druid