Commit 5423d4db authored by Simpy's avatar Simpy 🐹
Browse files

installer updates

parent 75c51129
......@@ -497,6 +497,9 @@ local function ResetAll()
_G.InstallSlider.Min:SetText('')
_G.InstallSlider.Max:SetText('')
_G.InstallSlider.Cur:SetText('')
_G.InstallSlider:SetScript('OnValueChanged', nil)
_G.InstallSlider:SetScript('OnMouseUp', nil)
ElvUIInstallFrame.SubTitle:SetText('')
ElvUIInstallFrame.Desc1:SetText('')
ElvUIInstallFrame.Desc2:SetText('')
......@@ -512,9 +515,6 @@ function E:SetPage(PageNum)
_G.InstallStatus.anim.progress:Play()
_G.InstallStatus.text:SetText(CURRENT_PAGE..' / '..MAX_PAGE)
local r, g, b = E:ColorGradient(CURRENT_PAGE / MAX_PAGE, 1, 0, 0, 1, 1, 0, 0, 1, 0)
ElvUIInstallFrame.Status:SetStatusBarColor(r, g, b)
if PageNum == MAX_PAGE then
_G.InstallNextButton:Disable()
else
......@@ -533,19 +533,26 @@ function E:SetPage(PageNum)
local InstallSlider = _G.InstallSlider
local f = ElvUIInstallFrame
local r, g, b = E:ColorGradient(CURRENT_PAGE / MAX_PAGE, 1, 0, 0, 1, 1, 0, 0, 1, 0)
f.Status:SetStatusBarColor(r, g, b)
f.Desc1:FontTemplate(nil, 16)
f.Desc2:FontTemplate(nil, 16)
f.Desc3:FontTemplate(nil, 16)
if PageNum == 1 then
f.SubTitle:SetFormattedText(L["Welcome to ElvUI version %s!"], E.version)
f.Desc1:SetText(L["This install process will help you learn some of the features in ElvUI has to offer and also prepare your user interface for usage."])
f.Desc2:SetText(L["The in-game configuration menu can be accessed by typing the /ec command. Press the button below if you wish to skip the installation process."])
f.Desc3:SetText(L["Please press the continue button to go onto the next step."])
InstallOption1Button:Show()
  • Why removing the Skip Process button ? How should we skip now, we just don't ?

Please register or sign in to reply
InstallOption1Button:SetScript('OnClick', InstallComplete)
InstallOption1Button:SetText(L["Skip Process"])
elseif PageNum == 2 then
f.SubTitle:SetText(L["CVars"])
f.Desc1:SetText(L["This part of the installation process sets up your World of Warcraft default options it is recommended you should do this step for everything to behave properly."])
f.Desc2:SetText(L["Please click the button below to setup your CVars."])
f.Desc3:SetText(L["Importance: |cffFF3333High|r"])
f.Desc3:FontTemplate(nil, 18)
InstallOption1Button:Show()
InstallOption1Button:SetScript('OnClick', function() E:SetupCVars() end)
InstallOption1Button:SetText(L["Setup CVars"])
......@@ -554,17 +561,23 @@ function E:SetPage(PageNum)
f.Desc1:SetText(L["This part of the installation process sets up your chat windows names, positions and colors."])
f.Desc2:SetText(L["The chat windows function the same as Blizzard standard chat windows, you can right click the tabs and drag them around, rename, etc. Please click the button below to setup your chat windows."])
f.Desc3:SetText(L["Importance: |cffD3CF00Medium|r"])
f.Desc3:FontTemplate(nil, 18)
InstallOption1Button:Show()
InstallOption1Button:SetScript('OnClick', function() E:SetupChat() end)
InstallOption1Button:SetText(L["Setup Chat"])
elseif PageNum == 4 then
f.SubTitle:SetText(L["Profile Settings Setup"])
f.Desc1:SetText(L["Please click the button below to setup your Profile Settings."])
f.Desc2:SetText(L["New Profile will create a fresh profile for this character."])
f.Desc3:SetText(L["Shared Profile will select the default profile."])
InstallOption1Button:Show()
InstallOption1Button:SetScript('OnClick', function()
E.data:SetProfile('Default')
E:NextPage()
end)
InstallOption1Button:SetText(L["Shared Profile"])
InstallOption2Button:Show()
InstallOption2Button:SetScript('OnClick', function()
......@@ -577,6 +590,8 @@ function E:SetPage(PageNum)
f.Desc1:SetText(L["Choose a theme layout you wish to use for your initial setup."])
f.Desc2:SetText(L["You can always change fonts and colors of any element of ElvUI from the in-game configuration."])
f.Desc3:SetText(L["Importance: |cFF33FF33Low|r"])
f.Desc3:FontTemplate(nil, 18)
InstallOption1Button:Show()
InstallOption1Button:SetScript('OnClick', function() E:SetupTheme('classic') end)
InstallOption1Button:SetText(L["Classic"])
......@@ -587,8 +602,8 @@ function E:SetPage(PageNum)
InstallOption3Button:SetScript('OnClick', function() E:SetupTheme('class') end)
InstallOption3Button:SetText(CLASS)
elseif PageNum == 6 then
f.SubTitle:SetText(_G.UISCALE)
f.Desc1:SetFormattedText(L["Adjust the UI Scale to fit your screen, press the autoscale button to set the UI Scale automatically."])
f.SubTitle:SetText(L["UI Scale"])
f.Desc1:SetFormattedText(L["Adjust the UI Scale to fit your screen."])
InstallSlider:Show()
InstallSlider:SetValueStep(0.01)
InstallSlider:SetObeyStepOnDrag(true)
......@@ -597,54 +612,70 @@ function E:SetPage(PageNum)
local value = E.global.general.UIScale
InstallSlider:SetValue(value)
InstallSlider.Cur:SetText(value)
InstallSlider:SetScript('OnValueChanged', function(self)
local val = E:Round(self:GetValue(), 2)
InstallSlider:SetScript('OnMouseUp', function()
E:PixelScaleChanged()
end)
InstallSlider:SetScript('OnValueChanged', function(slider)
local val = E:Round(slider:GetValue(), 2)
E.global.general.UIScale = val
InstallSlider.Cur:SetText(val)
end)
InstallSlider.Min:SetText(0.4)
InstallSlider.Max:SetText(1.15)
InstallOption1Button:Show()
InstallOption1Button:SetText(_G.SMALL)
InstallOption1Button:SetScript('OnClick', function()
local scale = E:PixelBestSize()
-- this is to just keep the slider in place, the values need updated again afterwards
InstallSlider:SetValue(scale)
-- update the values with deeper accuracy
E.global.general.UIScale = scale
E.global.general.UIScale = .60
InstallSlider.Cur:SetText(E.global.general.UIScale)
E.PixelScaleChanged()
end)
InstallOption1Button:SetText(L["Auto Scale"])
InstallOption2Button:Show()
InstallOption2Button:SetScript('OnClick', E.PixelScaleChanged)
InstallOption2Button:SetText(_G.TIME_LEFT_MEDIUM)
InstallOption2Button:SetScript('OnClick', function()
E.global.general.UIScale = .65
InstallSlider.Cur:SetText(E.global.general.UIScale)
E.PixelScaleChanged()
end)
InstallOption3Button:Show()
InstallOption3Button:SetText(_G.LARGE)
InstallOption3Button:SetScript('OnClick', function()
E.global.general.UIScale = .70
InstallSlider.Cur:SetText(E.global.general.UIScale)
E.PixelScaleChanged()
end)
InstallOption2Button:SetText(L["Preview"])
f.Desc3:SetText(L["Importance: |cffFF3333High|r"])
f.Desc3:FontTemplate(nil, 18)
elseif PageNum == 7 then
f.SubTitle:SetText(L["Layout"])
f.Desc1:SetText(L["You can now choose what layout you wish to use based on your combat role."])
f.Desc2:SetText(L["This will change the layout of your unitframes and actionbars."])
f.Desc3:SetText(L["Importance: |cffD3CF00Medium|r"])
f.Desc3:FontTemplate(nil, 18)
InstallOption1Button:Show()
InstallOption1Button:SetScript('OnClick', function() E.db.layoutSet = nil; E:SetupLayout('tank') end)
InstallOption1Button:SetText(L["Tank / Physical DPS"])
InstallOption1Button:SetText(_G.STAT_CATEGORY_MELEE)
InstallOption2Button:Show()
InstallOption2Button:SetScript('OnClick', function() E.db.layoutSet = nil; E:SetupLayout('healer') end)
InstallOption2Button:SetText(L["Healer"])
InstallOption2Button:SetText(_G.CLUB_FINDER_HEALER)
InstallOption3Button:Show()
InstallOption3Button:SetScript('OnClick', function() E.db.layoutSet = nil; E:SetupLayout('dpsCaster') end)
InstallOption3Button:SetText(L["Caster DPS"])
InstallOption3Button:SetText(_G.STAT_CATEGORY_RANGED)
elseif PageNum == 8 then
f.SubTitle:SetText(L["Auras"])
f.Desc1:SetText(L["Select the type of aura system you want to use with ElvUI's unitframes. Set to Aura Bar & Icons to use both aura bars and icons, set to icons only to only see icons."])
f.Desc2:SetText(L["If you have an icon or aurabar that you don't want to display simply hold down shift and right click the icon for it to disapear."])
f.Desc3:SetText(L["Importance: |cffD3CF00Medium|r"])
f.Desc3:FontTemplate(nil, 18)
InstallOption1Button:Show()
InstallOption1Button:SetScript('OnClick', function() E:SetupAuras(true) end)
InstallOption1Button:SetText(L["Aura Bars & Icons"])
InstallOption1Button:SetText(L["Aura Bars"])
InstallOption2Button:Show()
InstallOption2Button:SetScript('OnClick', function() E:SetupAuras() end)
InstallOption2Button:SetText(L["Icons Only"])
......@@ -740,7 +771,7 @@ function E:Install()
f:SetScript('OnDragStop', function(frame) frame:StopMovingOrSizing() end)
f.Title = f:CreateFontString(nil, 'OVERLAY')
f.Title:FontTemplate(nil, 17, nil)
f.Title:FontTemplate(nil, 20)
f.Title:Point('TOP', 0, -5)
f.Title:SetText(L["ElvUI Installation"])
......@@ -796,7 +827,7 @@ function E:Install()
f.Slider.Max:Point('LEFT', f.Slider, 'RIGHT', 3, 0)
f.Slider.Cur = f.Slider:CreateFontString(nil, 'ARTWORK', 'GameFontHighlightSmall')
f.Slider.Cur:Point('BOTTOM', f.Slider, 'TOP', 0, 10)
f.Slider.Cur:FontTemplate(nil, 30, nil)
f.Slider.Cur:FontTemplate(nil, 20)
f.Option1 = CreateFrame('Button', 'InstallOption1Button', f, 'UIPanelButtonTemplate, BackdropTemplate')
f.Option1:Size(160, 30)
......@@ -840,21 +871,22 @@ function E:Install()
S:HandleButton(f.Option4, true)
f.SubTitle = f:CreateFontString(nil, 'OVERLAY')
f.SubTitle:FontTemplate(nil, 15, nil)
f.SubTitle:FontTemplate(nil, 18)
f.SubTitle:Point('TOP', 0, -40)
f.SubTitle:SetTextColor(unpack(E.media.rgbvaluecolor))
f.Desc1 = f:CreateFontString(nil, 'OVERLAY')
f.Desc1:FontTemplate()
f.Desc1:FontTemplate(nil, 16)
f.Desc1:Point('TOPLEFT', 20, -75)
f.Desc1:Width(f:GetWidth() - 40)
f.Desc2 = f:CreateFontString(nil, 'OVERLAY')
f.Desc2:FontTemplate()
f.Desc2:FontTemplate(nil, 16)
f.Desc2:Point('TOPLEFT', 20, -125)
f.Desc2:Width(f:GetWidth() - 40)
f.Desc3 = f:CreateFontString(nil, 'OVERLAY')
f.Desc3:FontTemplate()
f.Desc3:FontTemplate(nil, 16)
f.Desc3:Point('TOPLEFT', 20, -175)
f.Desc3:Width(f:GetWidth() - 40)
......
......@@ -273,6 +273,9 @@ function E:UpdateStatusFrame()
StatusFrame.Section3.Header.Text:SetFormattedText('%sCharacter Info|r', valueColor)
--StatusFrame.Section4.Header.Text:SetFormattedText('%sExport To|r', valueColor)
StatusFrame.Section1.Content.Line3.Text:SetFormattedText('Recommended Scale: |cff4beb2c%s|r', E:PixelBestSize())
StatusFrame.Section1.Content.Line4.Text:SetFormattedText('UI Scale Is: |cff4beb2c%s|r', E.global.general.UIScale)
local PluginSection = PluginFrame.SectionP
PluginSection.Header.Text:SetFormattedText('%sPlugins|r', valueColor)
......@@ -282,9 +285,6 @@ function E:UpdateStatusFrame()
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')
local scale = E.global.general.UIScale
StatusFrame.Section1.Content.Line4.Text:SetFormattedText('UI Scale Is: |cff%s%s|r', scale == E:PixelBestSize() and '33ff33' or 'ff9933', scale)
if plugins then
wipe(pluginData)
for _, data in pairs(E.Libs.EP.plugins) do
......
......@@ -26,7 +26,7 @@ L["Accepting this will reset the UnitFrame settings for %s. Are you sure?"] = "W
L["Accepting this will reset your Filter Priority lists for all auras on NamePlates. Are you sure?"] = "Wenn du aktzeptierst wird die Filter Priorität für alle Namensplaketten auf Standard zurückgesetzt. Bist du sicher?"
L["Accepting this will reset your Filter Priority lists for all auras on UnitFrames. Are you sure?"] = "Wenn du aktzeptierst wird die Filter Priorität für alle Einheitenfenster auf Standard zurückgesetzt. Bist du sicher?"
L["Additive Blend"] = "Additive Überblendung"
L["Adjust the UI Scale to fit your screen, press the autoscale button to set the UI Scale automatically."] = "Passt die UI-Skallierung für deine Auflöstung an, drücke den Auto-Skallierung Knopf um die UI-Skallierung automatisch anzupassen."
L["Adjust the UI Scale to fit your screen."] = true
L["AFK"] = "AFK"
L["All keybindings cleared for |cff00ff00%s|r."] = "Alle Tastaturbelegungen gelöscht für |cff00ff00%s|r."
L["Alliance: "] = "Allianz: "
......@@ -76,7 +76,7 @@ L["Calendar"] = "Kalender"
L["Calling Quest(s) available."] = true
L["Can't buy anymore slots!"] = "Kann keine Slots mehr kaufen"
L["Can't Roll"] = "Es kann nicht gewürfelt werden."
L["Caster DPS"] = "Fernkampf DD"
L["Caster"] = "Fernkampf"
L["Character: "] = "Charakter: "
L["Chat Set"] = "Chat gesetzt"
L["Chat"] = "Chat"
......
......@@ -26,7 +26,7 @@ L["Accepting this will reset the UnitFrame settings for %s. Are you sure?"] = tr
L["Accepting this will reset your Filter Priority lists for all auras on NamePlates. Are you sure?"] = true
L["Accepting this will reset your Filter Priority lists for all auras on UnitFrames. Are you sure?"] = true
L["Additive Blend"] = true
L["Adjust the UI Scale to fit your screen, press the autoscale button to set the UI Scale automatically."] = true
L["Adjust the UI Scale to fit your screen."] = true
L["AFK"] = true
L["All keybindings cleared for |cff00ff00%s|r."] = true
L["Alliance: "] = true
......@@ -75,7 +75,7 @@ L["Calendar"] = true
L["Calling Quest(s) available."] = true
L["Can't buy anymore slots!"] = true
L["Can't Roll"] = true
L["Caster DPS"] = true
L["Caster"] = true
L["Character: "] = true
L["Chat Set"] = true
L["Chat"] = true
......
......@@ -26,7 +26,7 @@ L["Accepting this will reset the UnitFrame settings for %s. Are you sure?"] = "A
L["Accepting this will reset your Filter Priority lists for all auras on NamePlates. Are you sure?"] = "Al aceptar esto, se restablecerán las listas de Prioridad de filtro para todas las auras en NamePlates. ¿Estás seguro?"
L["Accepting this will reset your Filter Priority lists for all auras on UnitFrames. Are you sure?"] = "Al aceptar esto, se restablecerán las listas de Prioridad de filtro para todas las auras en UnitFrames. ¿Estás seguro?"
L["Additive Blend"] = "Mezcla Aditiva"
L["Adjust the UI Scale to fit your screen, press the autoscale button to set the UI Scale automatically."] = "Ajuste la escala de la IU para que se ajuste a su pantalla, presione el botón de escala automática para configurar la escala de la IU automáticamente."
L["Adjust the UI Scale to fit your screen."] = true
L["AFK"] = "Ausente"
L["All keybindings cleared for |cff00ff00%s|r."] = "Todos los atajos borrados para |cff00ff00%s|r."
L["Alliance: "] = "Alianza: "
......@@ -75,7 +75,7 @@ L["Calendar"] = "Calendario"
L["Calling Quest(s) available."] = true
L["Can't buy anymore slots!"] = "¡No puedes comprar más espacios!"
L["Can't Roll"] = "No puede tirar dados"
L["Caster DPS"] = "DPS Hechizos"
L["Caster"] = "Hechizos"
L["Character: "] = "Personaje: "
L["Chat Set"] = "Chat Configurado"
L["Chat"] = "Chat"
......
......@@ -26,7 +26,7 @@ L["Accepting this will reset the UnitFrame settings for %s. Are you sure?"] = "L
L["Accepting this will reset your Filter Priority lists for all auras on NamePlates. Are you sure?"] = "En acceptant, votre liste de priorités des filtres sera réinitialisée pour les auras des barre de noms. Êtes-vous sûr ?"
L["Accepting this will reset your Filter Priority lists for all auras on UnitFrames. Are you sure?"] = "En acceptant, votre liste de priorités des filtres sera réinitialisée pour les auras des cadres d'unités. Êtes-vous sûr ?"
L["Additive Blend"] = true
L["Adjust the UI Scale to fit your screen, press the autoscale button to set the UI Scale automatically."] = "Ajustez l'échelle UI en fonction de votre écran, appuyez sur le bouton d'échelle automatique pour régler l'échelle UI automatiquement."
L["Adjust the UI Scale to fit your screen."] = true
L["AFK"] = "ABS"
L["All keybindings cleared for |cff00ff00%s|r."] = "Tous les raccourcis ont été effacés pour |cff00ff00%s|r."
L["Alliance: "] = true
......@@ -75,7 +75,7 @@ L["Calendar"] = "Calendrier"
L["Calling Quest(s) available."] = true
L["Can't buy anymore slots!"] = "Impossible d'acheter plus emplacements !"
L["Can't Roll"] = "Ne peut pas jeter les dés"
L["Caster DPS"] = "DPS distance"
L["Caster"] = true
L["Character: "] = "Personnage : "
L["Chat Set"] = "Chat configuré"
L["Chat"] = "Discussion"
......
......@@ -75,7 +75,7 @@ L["Calendar"] = true
L["Calling Quest(s) available."] = true
L["Can't buy anymore slots!"] = true
L["Can't Roll"] = true
L["Caster DPS"] = true
L["Caster"] = true
L["Character: "] = true
L["Chat Set"] = true
L["Chat"] = true
......
......@@ -75,7 +75,7 @@ L["Calendar"] = "달력"
L["Calling Quest(s) available."] = true
L["Can't buy anymore slots!"] = "더 이상 가방 칸을 늘릴 수 없습니다."
L["Can't Roll"] = "주사위를 굴릴 수 없습니다."
L["Caster DPS"] = "원거리 딜러"
L["Caster"] = "원거리 딜러"
L["Character: "] = "캐릭터:"
L["Chat Set"] = "대화창 설정"
L["Chat"] = "대화창"
......
......@@ -26,7 +26,7 @@ L["Accepting this will reset the UnitFrame settings for %s. Are you sure?"] = "A
L["Accepting this will reset your Filter Priority lists for all auras on NamePlates. Are you sure?"] = "Aceitar isso irá resetar sua lista de Prioridade de Filtros para todas as auras nas Placas de Identificação. Você tem certeza?"
L["Accepting this will reset your Filter Priority lists for all auras on UnitFrames. Are you sure?"] = "Aceitar isso irá resetar sua lista de Prioridade de Filtros para todas as auras nos Quadros de Unidades. Você tem certeza?"
L["Additive Blend"] = true
L["Adjust the UI Scale to fit your screen, press the autoscale button to set the UI Scale automatically."] = "Ajuste sua escala de interface de usuário para caber na sua tela ou pressione o botão de autoscale para fazê-lo automaticamente"
L["Adjust the UI Scale to fit your screen."] = true
L["AFK"] = true
L["All keybindings cleared for |cff00ff00%s|r."] = "Todos os atalhos livres para |cff00ff00%s|r."
L["Alliance: "] = "Aliança: "
......@@ -75,7 +75,7 @@ L["Calendar"] = "Calendário"
L["Calling Quest(s) available."] = true
L["Can't buy anymore slots!"] = "Não é possível comprar mais espaços!"
L["Can't Roll"] = "Não pode rolar"
L["Caster DPS"] = "DPS Lançador"
L["Caster"] = true
L["Character: "] = "Personagem: "
L["Chat Set"] = "Bate-Papo configurado"
L["Chat"] = "Bate-papo"
......
......@@ -26,7 +26,7 @@ L["Accepting this will reset the UnitFrame settings for %s. Are you sure?"] = "
L["Accepting this will reset your Filter Priority lists for all auras on NamePlates. Are you sure?"] = "Приняв это вы сбросите ваши списки приоритетов для всех аур на индикаторах здоровья. Вы уверены?"
L["Accepting this will reset your Filter Priority lists for all auras on UnitFrames. Are you sure?"] = "Приняв это вы сбросите ваши списки приоритетов для всех аур на рамках юнитов. Вы уверены?"
L["Additive Blend"] = "Аддитивное смешивание" --Check back later
L["Adjust the UI Scale to fit your screen, press the autoscale button to set the UI Scale automatically."] = "Измените масштаб интерфейса для вашего экрана. Нажмите автомасштаб, чтобы мы установили его сами."
L["Adjust the UI Scale to fit your screen."] = true
L["AFK"] = "АФК"
L["All keybindings cleared for |cff00ff00%s|r."] = "Сброшены все назначения для |cff00ff00%s|r."
L["Alliance: "] = "Альянс: "
......@@ -75,7 +75,7 @@ L["Calendar"] = "Календарь"
L["Calling Quest(s) available."] = true
L["Can't buy anymore slots!"] = "Невозможно приобрести больше слотов!"
L["Can't Roll"] = "Не могу бросить кости"
L["Caster DPS"] = "Заклинатель"
L["Caster"] = "Заклинатель"
L["Character: "] = "Персонаж: "
L["Chat Set"] = "Чат настроен"
L["Chat"] = "Чат"
......
......@@ -26,7 +26,7 @@ L["Accepting this will reset the UnitFrame settings for %s. Are you sure?"] = "
L["Accepting this will reset your Filter Priority lists for all auras on NamePlates. Are you sure?"] = "接受这个将重置姓名板中所有光环的过滤器优先级. 你确定吗?"
L["Accepting this will reset your Filter Priority lists for all auras on UnitFrames. Are you sure?"] = "接受这个将重置单位框架中所有光环的过滤器优先级. 你确定吗?"
L["Additive Blend"] = "覆盖混合"
L["Adjust the UI Scale to fit your screen, press the autoscale button to set the UI Scale automatically."] = "调整UI缩放来适应你的屏幕, 点击自动缩放按钮来自动设置UI缩放."
L["Adjust the UI Scale to fit your screen."] = true
L["AFK"] = "离开"
L["All keybindings cleared for |cff00ff00%s|r."] = "取消 |cff00ff00%s|r 所有绑定的快捷键."
L["Alliance: "] = true
......@@ -75,7 +75,7 @@ L["Calendar"] = "日历"
L["Calling Quest(s) available."] = true
L["Can't buy anymore slots!"] = "银行背包栏位已达最大值"
L["Can't Roll"] = "无法需求此装备"
L["Caster DPS"] = "法系输出"
L["Caster"] = "法系输出"
L["Character: "] = "角色: "
L["Chat Set"] = "聊天设定"
L["Chat"] = "聊天框"
......
......@@ -26,7 +26,7 @@ L["Accepting this will reset the UnitFrame settings for %s. Are you sure?"] = "
L["Accepting this will reset your Filter Priority lists for all auras on NamePlates. Are you sure?"] = "接受將會重置所有姓名板(血條)的過濾器優先度列表. 你確定嗎?"
L["Accepting this will reset your Filter Priority lists for all auras on UnitFrames. Are you sure?"] = "接受將會重置所有單位框架的過濾器優先度列表. 你確定嗎?"
L["Additive Blend"] = "覆蓋混合"
L["Adjust the UI Scale to fit your screen, press the autoscale button to set the UI Scale automatically."] = "調節適合你螢幕的介面縮放比例, 按下自動調節按鍵可自動設置介面縮放比例。"
L["Adjust the UI Scale to fit your screen."] = true
L["AFK"] = "暫離"
L["All keybindings cleared for |cff00ff00%s|r."] = "取消|cff00ff00%s|r 所有綁定的快捷鍵."
L["Alliance: "] = "聯盟: "
......@@ -75,7 +75,7 @@ L["Calendar"] = "行事曆"
L["Calling Quest(s) available."] = true
L["Can't buy anymore slots!"] = "無法再購買更多銀行欄位!"
L["Can't Roll"] = "無法需求此裝備"
L["Caster DPS"] = "法系輸出"
L["Caster"] = "法系輸出"
L["Character: "] = "角色: "
L["Chat Set"] = "對話设置"
L["Chat"] = "對話"
......
......@@ -213,11 +213,13 @@ E.Options.args.general = {
order = 28,
type = 'range',
name = L["UI_SCALE"],
desc = L["Please /reload after changing this setting."],
min = 0.1, max = 1.25, step = 0.000000000000001,
softMin = 0.40, softMax = 1.15, bigStep = 0.01,
get = function(info) return E.global.general.UIScale end,
set = function(info, value)
E.global.general.UIScale = value
if not IsMouseButtonDown() then
E:PixelScaleChanged()
end
......@@ -227,6 +229,7 @@ E.Options.args.general = {
order = 29,
type = 'execute',
name = L["Auto Scale"],
desc = L["Please /reload after changing this setting."],
func = function()
E.global.general.UIScale = E:PixelBestSize()
E:PixelScaleChanged()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment