Skip to content

Commit

Permalink
Update localization (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanjuekaien1 authored Oct 30, 2024
1 parent 9701734 commit 1e58de1
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,6 @@ if not L then return end
--L["Seasonal Teleports"] = "Seasonal Teleports"
--L["Seasonal Teleports Tooltip"] = "\124cFF34B7EBThese Teleports are for the current Mythic Keystone Season.\124r"
--L["Seasonal Teleports Toggle Tooltip"] = "Enable/Disable to only show the Seasonal Teleports."
--L["Icon Size"] = "Icon Size"
--L["Increase or decrease the size of the icons."] = "Increase or decrease the size of the icons."
--L["%s px"] = "%s px"
3 changes: 3 additions & 0 deletions Locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,6 @@ L["Reverse Mage Flyouts Tooltip"] = "Reverse order of flyouts for mage abilities
L["Seasonal Teleports"] = "Seasonal Teleports"
L["Seasonal Teleports Tooltip"] = "\124cFF34B7EBThese Teleports are for the current Mythic Keystone Season.\124r"
L["Seasonal Teleports Toggle Tooltip"] = "Enable/Disable to only show the Seasonal Teleports."
L["Icon Size"] = "Icon Size"
L["Increase or decrease the size of the icons."] = "Increase or decrease the size of the icons."
L["%s px"] = "%s px"
3 changes: 3 additions & 0 deletions Locales/esES.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,6 @@ if not L then return end
--L["Seasonal Teleports"] = "Seasonal Teleports"
--L["Seasonal Teleports Tooltip"] = "\124cFF34B7EBThese Teleports are for the current Mythic Keystone Season.\124r"
--L["Seasonal Teleports Toggle Tooltip"] = "Enable/Disable to only show the Seasonal Teleports."
--L["Icon Size"] = "Icon Size"
--L["Increase or decrease the size of the icons."] = "Increase or decrease the size of the icons."
--L["%s px"] = "%s px"
3 changes: 3 additions & 0 deletions Locales/esMX.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,6 @@ if not L then return end
--L["Seasonal Teleports"] = "Seasonal Teleports"
--L["Seasonal Teleports Tooltip"] = "\124cFF34B7EBThese Teleports are for the current Mythic Keystone Season.\124r"
--L["Seasonal Teleports Toggle Tooltip"] = "Enable/Disable to only show the Seasonal Teleports."
--L["Icon Size"] = "Icon Size"
--L["Increase or decrease the size of the icons."] = "Increase or decrease the size of the icons."
--L["%s px"] = "%s px"
3 changes: 3 additions & 0 deletions Locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,6 @@ if not L then return end
--L["Seasonal Teleports"] = "Seasonal Teleports"
--L["Seasonal Teleports Tooltip"] = "\124cFF34B7EBThese Teleports are for the current Mythic Keystone Season.\124r"
--L["Seasonal Teleports Toggle Tooltip"] = "Enable/Disable to only show the Seasonal Teleports."
--L["Icon Size"] = "Icon Size"
--L["Increase or decrease the size of the icons."] = "Increase or decrease the size of the icons."
--L["%s px"] = "%s px"
3 changes: 3 additions & 0 deletions Locales/itIT.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,6 @@ if not L then return end
--L["Seasonal Teleports"] = "Seasonal Teleports"
--L["Seasonal Teleports Tooltip"] = "\124cFF34B7EBThese Teleports are for the current Mythic Keystone Season.\124r"
--L["Seasonal Teleports Toggle Tooltip"] = "Enable/Disable to only show the Seasonal Teleports."
--L["Icon Size"] = "Icon Size"
--L["Increase or decrease the size of the icons."] = "Increase or decrease the size of the icons."
--L["%s px"] = "%s px"
3 changes: 3 additions & 0 deletions Locales/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,6 @@ if not L then return end
--L["Seasonal Teleports"] = "Seasonal Teleports"
--L["Seasonal Teleports Tooltip"] = "\124cFF34B7EBThese Teleports are for the current Mythic Keystone Season.\124r"
--L["Seasonal Teleports Toggle Tooltip"] = "Enable/Disable to only show the Seasonal Teleports."
--L["Icon Size"] = "Icon Size"
--L["Increase or decrease the size of the icons."] = "Increase or decrease the size of the icons."
--L["%s px"] = "%s px"
3 changes: 3 additions & 0 deletions Locales/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,6 @@ if not L then return end
--L["Seasonal Teleports"] = "Seasonal Teleports"
--L["Seasonal Teleports Tooltip"] = "\124cFF34B7EBThese Teleports are for the current Mythic Keystone Season.\124r"
--L["Seasonal Teleports Toggle Tooltip"] = "Enable/Disable to only show the Seasonal Teleports."
--L["Icon Size"] = "Icon Size"
--L["Increase or decrease the size of the icons."] = "Increase or decrease the size of the icons."
--L["%s px"] = "%s px"
3 changes: 3 additions & 0 deletions Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,6 @@ if not L then return end
--L["Seasonal Teleports"] = "Seasonal Teleports"
--L["Seasonal Teleports Tooltip"] = "\124cFF34B7EBThese Teleports are for the current Mythic Keystone Season.\124r"
--L["Seasonal Teleports Toggle Tooltip"] = "Enable/Disable to only show the Seasonal Teleports."
--L["Icon Size"] = "Icon Size"
--L["Increase or decrease the size of the icons."] = "Increase or decrease the size of the icons."
--L["%s px"] = "%s px"
3 changes: 3 additions & 0 deletions Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,6 @@ L["Reverse Mage Flyouts Tooltip"] = "反转法师的传送技能弹出顺序,
L["Seasonal Teleports"] = "赛季传送"
L["Seasonal Teleports Tooltip"] = "\124cFF34B7EB这些传送适用于当前钥石+赛季地下城。\124r"
L["Seasonal Teleports Toggle Tooltip"] = "启用/禁用 仅显示当前赛季传送。"
L["Icon Size"] = "图标大小"
L["Increase or decrease the size of the icons."] = "选择显示图标大小。"
L["%s px"] = "%s 像素"
3 changes: 3 additions & 0 deletions Locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,6 @@ L["Reverse Mage Flyouts Tooltip"] = "反轉法師的傳送技能彈出順序,
L["Seasonal Teleports"] = "賽季傳送"
L["Seasonal Teleports Tooltip"] = "\124cFF34B7EB這些傳送適用於當前鑰石+賽季地下城。\124r"
L["Seasonal Teleports Toggle Tooltip"] = "啟用/禁用 僅顯示當前賽季傳送。"
--L["Icon Size"] = "Icon Size"
--L["Increase or decrease the size of the icons."] = "Increase or decrease the size of the icons."
--L["%s px"] = "%s px"
6 changes: 3 additions & 3 deletions Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ function tpm:LoadOptions()

do -- Icon Size Slider
local optionsKey = "iconSize"
local tooltip = "Increase or decrease the size of the icons."
local tooltip = L["Increase or decrease the size of the icons."]
local options = Settings.CreateSliderOptions(10, 75, 1)
local label = "%s px"
local label = L["%s px"]

local function GetValue()
return TeleportMenuDB[optionsKey] or defaultsDB[optionsKey]
Expand All @@ -80,7 +80,7 @@ function tpm:LoadOptions()
tpm:ReloadFrames()
end

local setting = Settings.RegisterProxySetting(optionsCategory, "IconSize_Slider", type(defaultsDB[optionsKey]), "Icon Size", defaultsDB[optionsKey], GetValue, SetValue)
local setting = Settings.RegisterProxySetting(optionsCategory, "IconSize_Slider", type(defaultsDB[optionsKey]), L["Icon Size"], defaultsDB[optionsKey], GetValue, SetValue)

local function Formatter(value)
return label:format(value)
Expand Down

0 comments on commit 1e58de1

Please sign in to comment.