From 3688a0a63ea979c6434bc9aafbd798088bc5114d Mon Sep 17 00:00:00 2001 From: funkydude Date: Sun, 11 Sep 2022 19:14:56 +0100 Subject: [PATCH] Fixes for Dragonflight --- locales/deDE.lua | 2 ++ locales/enUS.lua | 1 + locales/esES.lua | 2 ++ locales/frFR.lua | 2 ++ locales/itIT.lua | 2 ++ locales/koKR.lua | 2 ++ locales/ptBR.lua | 2 ++ locales/ruRU.lua | 2 ++ locales/zhCN.lua | 2 ++ locales/zhTW.lua | 2 ++ modules/BattleRes.lua | 2 +- modules/Cooldowns/Container.lua | 6 +++++- modules/ReadyCheck.lua | 2 +- 13 files changed, 26 insertions(+), 3 deletions(-) diff --git a/locales/deDE.lua b/locales/deDE.lua index 9029e6c..622c5b9 100644 --- a/locales/deDE.lua +++ b/locales/deDE.lua @@ -264,3 +264,5 @@ L["whisperMissing"] = "Fehlende anflüstern" L["whisperMissingDesc"] = "Flüstert Spieler, denen Stärkungszaubern fehlen, an." L["world"] = "Welt" L["zone"] = "Zone" + +L.sound = "Sound" diff --git a/locales/enUS.lua b/locales/enUS.lua index c531a81..8f2dbe8 100644 --- a/locales/enUS.lua +++ b/locales/enUS.lua @@ -44,6 +44,7 @@ oRA3 sports a range of slash commands to aid you in fast-paced raiding. In case ]] -- Ready Check module +L.sound = "Sound" L.playersNotReady = "The following players are Not Ready: %s" L.readyCheckSeconds = "Ready Check (%d seconds)" L.ready = "Ready" diff --git a/locales/esES.lua b/locales/esES.lua index 7c9387e..5cfbaeb 100644 --- a/locales/esES.lua +++ b/locales/esES.lua @@ -261,3 +261,5 @@ L["whatIsThis"] = "¿Qué es todo esto?" -- L["whisperMissingDesc"] = "Whisper players that are missing buffs." L["world"] = "Mundo" L["zone"] = "Zona" + +L.sound = "Sonido" diff --git a/locales/frFR.lua b/locales/frFR.lua index ae3f7a1..206f9e2 100644 --- a/locales/frFR.lua +++ b/locales/frFR.lua @@ -281,3 +281,5 @@ L["checkRuneDesc"] = "Inclure les runes d'amélioration lors de la vérification L["vantus"] = "Vantus" L["notBestBuff"] = "Pas le consommable avec les plus hautes stats de disponible" L["outOfRange"] = "Joueur hors de portée" + +L.sound = "Son" diff --git a/locales/itIT.lua b/locales/itIT.lua index 2f87a37..bfb944c 100644 --- a/locales/itIT.lua +++ b/locales/itIT.lua @@ -261,3 +261,5 @@ L["whatIsThis"] = "Cos'é questo?" -- L["whisperMissingDesc"] = "Whisper players that are missing buffs." L["world"] = "Reame" L["zone"] = "Zona" + +L.sound = "Audio" diff --git a/locales/koKR.lua b/locales/koKR.lua index bccce8a..65e20f8 100644 --- a/locales/koKR.lua +++ b/locales/koKR.lua @@ -280,3 +280,5 @@ L.checkRuneDesc = "강화 효과를 확인할 때 증강의 룬을 포함합니 L.vantus = "반투스" L.notBestBuff = "사용 가능한 최상의 능력치 소비용품이 아님" L.outOfRange = "거리를 벗어난 플레이어" + +L.sound = "소리" diff --git a/locales/ptBR.lua b/locales/ptBR.lua index b2fb04f..1b7e4ed 100644 --- a/locales/ptBR.lua +++ b/locales/ptBR.lua @@ -256,3 +256,5 @@ L["whisperMissing"] = "Sussurro ausente" L["whisperMissingDesc"] = "Sussurrar jogadores que estão sem buffs." L["world"] = "Global" L["zone"] = "Zona" + +L.sound = "Som" diff --git a/locales/ruRU.lua b/locales/ruRU.lua index 40d402a..0a1dd39 100644 --- a/locales/ruRU.lua +++ b/locales/ruRU.lua @@ -261,3 +261,5 @@ L["whisperMissing"] = "Шептать отсутствующие бафы" L["whisperMissingDesc"] = "Шептать игрокам, у которых отсутвуют бафы." L["world"] = "Мир" L["zone"] = "Зона" + +L.sound = "Звук" diff --git a/locales/zhCN.lua b/locales/zhCN.lua index 6c87e29..7dabc98 100644 --- a/locales/zhCN.lua +++ b/locales/zhCN.lua @@ -261,3 +261,5 @@ L["whatIsThis"] = "到底怎麽回事?" -- L["whisperMissingDesc"] = "Whisper players that are missing buffs." -- L["world"] = "World" L["zone"] = "地区" + +L.sound = "声音" diff --git a/locales/zhTW.lua b/locales/zhTW.lua index 3944bdd..0eeeebd 100644 --- a/locales/zhTW.lua +++ b/locales/zhTW.lua @@ -262,3 +262,5 @@ L["whisperMissing"] = "密語缺少者" L["whisperMissingDesc"] = "密語缺少增益的玩家。" L["world"] = "世界" L["zone"] = "區域" + +L.sound = "音效" diff --git a/modules/BattleRes.lua b/modules/BattleRes.lua index 71b54d9..3d57198 100644 --- a/modules/BattleRes.lua +++ b/modules/BattleRes.lua @@ -44,7 +44,7 @@ local function createFrame() brez:SetScript("OnDragStop", function(frame) frame:StopMovingOrSizing() oRA:SavePosition("oRA3BattleResMonitor") end) brez:SetScript("OnEvent", updateFunc) - local bg = brez:CreateTexture(nil, "PARENT") + local bg = brez:CreateTexture() bg:SetAllPoints(brez) bg:SetBlendMode("BLEND") bg:SetColorTexture(0, 0, 0, 0.3) diff --git a/modules/Cooldowns/Container.lua b/modules/Cooldowns/Container.lua index 66f038e..f927a1c 100644 --- a/modules/Cooldowns/Container.lua +++ b/modules/Cooldowns/Container.lua @@ -93,7 +93,11 @@ do if not frame then frame = CreateFrame("Frame", frameName, UIParent) frame:SetFrameStrata("BACKGROUND") - frame:SetMinResize(100, 20) + if frame.SetResizeBounds then -- XXX Dragonflight compat + frame:SetResizeBounds(100, 20) + else + frame:SetMinResize(100, 20) + end frame:SetWidth(200) frame:SetHeight(148) diff --git a/modules/ReadyCheck.lua b/modules/ReadyCheck.lua index 66d8e6c..40ba040 100644 --- a/modules/ReadyCheck.lua +++ b/modules/ReadyCheck.lua @@ -80,7 +80,7 @@ local options = { args = { sound = { type = "toggle", - name = colorize(SOUND_LABEL), + name = colorize(L.sound), desc = L.readyCheckSound, descStyle = "inline", width = "full",