-- zhTW.lua — Traditional Chinese Localization
local addonName, addonTable = ...
if GetLocale() ~= "zhTW" then return end
local L = addonTable.L

L["CLICK_TO_TP"]          = "點擊傳送至副本。"
L["NOT_KNOWN"]            = "\n|cffff0000警告：未學習該法術。|r"
L["LOADED"]               = "LFG傳送按鈕已載入（午夜賽季1）。"
L["ENTERED"]              = " 已進入。隱藏按鈕。"
L["TEST_MSG"]             = "測試按鈕已顯示（天空之巔）。"
L["LOCK_ON"]              = "位置已鎖定"
L["LOCK_OFF"]             = "位置已解鎖"
L["INVITE_PREFIX"]        = "你被邀請加入：\n|cff07f8ab"
L["PARTY_PREFIX"]         = "你的隊伍已加入：\n|cff07f8ab"
L["NO_TELEPORT_YET"]      = "\n|cffff0000 尚無傳送|r"
L["GIT_GUD"]              = "\n|cffff0000 再練練吧|r"
L["TOOLTIP_LEFT_CLICK"]   = "左鍵點擊傳送"
L["TOOLTIP_ALT_RIGHT"]    = "ALT + 右鍵點擊關閉"
L["TOOLTIP_CTRL_DRAG"]    = "CTRL + 左鍵拖曳移動"
L["OPTIONS_TITLE"]        = "|TInterface\\AddOns\\LFGTeleportButtonMidnight\\Media\\portal.blp:20|t LFG傳送按鈕 - 選項"
L["OPTIONS_PREVIEW"]      = "你被邀請加入：\n範例副本\n|cffff0000 尚無傳送|r"
L["FONT_LABEL"]           = "字體"
L["FONT_SIZE_LABEL"]      = "字體大小"
L["FONT_LSM_REQUIRED"]    = "字體（需要LSM）"
L["SHOW_ONLY_READY"]      = "僅在冷卻就緒時顯示"
L["ONLY_READY_ON"]        = "僅在傳送冷卻就緒時顯示按鈕。"
L["ONLY_READY_OFF"]       = "無論冷卻狀態如何都顯示按鈕。"
L["DRAG_HINT"]            = "按住CTRL並左鍵拖曳以移動"
L["RESET_POSITION"]       = "重置位置"
L["POSITION_RESET"]       = "位置已重置為預設。"
L["OPEN_CONFIG"]          = "開啟設定"
L["TELEPORT_READY"]       = "傳送就緒："
L["LOCKED_MSG"]           = "已鎖定（無法拖曳）"
L["UNLOCKED_MSG"]         = "已解鎖（左鍵拖曳）"
L["NO_DUNGEON_YET"]       = "尚未選擇副本；請使用 /tpbutton test N"
L["USAGE_TEST"]           = "用法：/tpbutton test N（N=1-"
L["SLASH_COMMANDS"]       = "命令：/tpbutton lock | /tpbutton show | /tpbutton test N | /tpbutton debug | /tpbutton reset | /tpbutton state"
L["NO_MATCH"]             = "列表與午夜賽季1副本不匹配；按鈕未顯示。"
L["ENTERED_HIDING"]       = "已進入%s — 隱藏傳送按鈕。"
L["LSM_NOT_LOADED"]       = "AceGUI-3.0-SharedMediaWidgets未載入；無法顯示字體選單。"
L["SETTINGS_NOT_FOUND"]   = "未找到Settings API。選項面板未註冊。"

-- Localized Dungeon Names for UI Display
L["Skyreach"]                = "通天峰"
L["Al'gethar Academy"]       = "阿爾蓋薩學院"
L["Seat of the Triumvirate"] = "三人执政席"
L["Magisters' Terrace"]      = "博學者殿堂"
L["Maisara Caverns"]         = "麥薩拉洞穴"
L["Windrunner Spire"]        = "風行者之尖"
L["Pit of Saron"]            = "薩隆礦坑"
L["Nexus-Point Xenas"]       = "奈克斯節點"

-- Traditional Chinese dungeon name triggers for matching
local DUNGEONS_EXTRA_TRIGGERS = {
    ["Skyreach"]                = { "通天峰" },
    ["Al'gethar Academy"]       = { "阿爾蓋薩學院", "阿爾蓋薩" },
    ["Seat of the Triumvirate"] = { "三人执政席", "执政席" },
    ["Magisters' Terrace"]      = { "博學者殿堂", "博學者" },
    ["Maisara Caverns"]         = { "麥薩拉洞穴", "麥薩拉" },
    ["Windrunner Spire"]        = { "風行者之尖", "風行者" },
    ["Pit of Saron"]            = { "薩隆礦坑", "薩隆" },
    ["Nexus-Point Xenas"]       = { "奈克斯節點" },
}
addonTable.DUNGEONS_EXTRA_TRIGGERS = addonTable.DUNGEONS_EXTRA_TRIGGERS or {}
for k, v in pairs(DUNGEONS_EXTRA_TRIGGERS) do
    addonTable.DUNGEONS_EXTRA_TRIGGERS[k] = v
end
