Skip to content

Commit

Permalink
Merge pull request #174 from nanjuekaien1/patch-1
Browse files Browse the repository at this point in the history
localization/zhCN
  • Loading branch information
Urtgard authored Jan 12, 2025
2 parents 9761351 + 439138b commit 1cd6650
Show file tree
Hide file tree
Showing 9 changed files with 333 additions and 144 deletions.
2 changes: 1 addition & 1 deletion DB/Data/BattleForAzeroth.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local WQA = WQAchievements

-- Battle for Azeroth
local data = {
name = "Battle for Azeroth"
name = _G.EXPANSION_NAME7
}
WQA.data[8] = data

Expand Down
2 changes: 1 addition & 1 deletion DB/Data/Dragonflight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local WQA = WQAchievements

-- Dragonflight
local data = {
name = "Dragonflight"
name = _G.EXPANSION_NAME9
}
WQA.data[10] = data

Expand Down
2 changes: 1 addition & 1 deletion DB/Data/Legion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local WQA = WQAchievements

-- Legion
local data = {
name = "Legion"
name = _G.EXPANSION_NAME6
}
WQA.data[7] = data

Expand Down
2 changes: 1 addition & 1 deletion DB/Data/Shadowlands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local WQA = WQAchievements

-- Shadowlands
local data = {
name = "Shadowlands"
name = _G.EXPANSION_NAME8
}
WQA.data[9] = data

Expand Down
2 changes: 1 addition & 1 deletion DB/Data/WarWithin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local WQA = WQAchievements

-- War Within
local data = {
name = "War Within"
name = _G.EXPANSION_NAME10
}
WQA.data[11] = data

Expand Down
12 changes: 6 additions & 6 deletions DB/Expansions.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
local WQA = WQAchievements

WQA.ExpansionList = {
[6] = "Warlords of Draenor",
[7] = "Legion",
[8] = "Battle for Azeroth",
[9] = "Shadowlands",
[10] = "Dragonflight",
[11] = "War Within"
[6] = _G.EXPANSION_NAME5, -- "Warlords of Draenor"
[7] = _G.EXPANSION_NAME6, -- "Legion"
[8] = _G.EXPANSION_NAME7, -- "Battle for Azeroth"
[9] = _G.EXPANSION_NAME8, -- "Shadowlands"
[10] = _G.EXPANSION_NAME9, -- "Dragonflight"
[11] = _G.EXPANSION_NAME10, -- "War Within"
}
229 changes: 209 additions & 20 deletions Locales.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,110 @@ local WQA = WQAchievements
local locale = GetLocale()
WQA.L = {}
local L = WQA.L
L["NO_QUESTS"] = "No interesting World Quests active!"
L["WQChat"] = "Interesting World Quests are active:"
L["WQforAch"] = "%s for %s"
L["WQforAchTime"] = "%s (%s) for %s"
L["achievements"] = "Achievements"
L["mounts"] = "Mounts"
L["pets"] = "Pets"
L["toys"] = "Toys"
L["completed"] = "Completed"
L["notCompleted"] = "Not completed"
L["tracking_disabled"] = "Don't track"
L["tracking_default"] = "Default"
L["tracking_always"] = "Always track"
L["tracking_wasEarnedByMe"] = "Track if not earned by active character"
L["tracking_exclusive"] = "Only track with this character"
L["tracking_other"] = "Only tracked by %s"
L["LE_QUEST_TAG_TYPE_PVP"] = "PVP"
L["LE_QUEST_TAG_TYPE_PET_BATTLE"] = "Pet Battle"
L["LE_QUEST_TAG_TYPE_PROFESSION"] = "Profession"
L["LE_QUEST_TAG_TYPE_DUNGEON"] = "Dungeon"
L["% Upgrade (Pawn)"] = "% Upgrade (Pawn)"
L["% Upgrade (Stat Weight Score)"] = "% Upgrade (Stat Weight Score)"
L["Achievement"] = "Achievement"
L["Add a Mission Reward you want to track"] = "Add a Mission Reward you want to track"
L["Add a Mission you want to track"] = "Add a Mission you want to track"
L["Add a Quest you want to track"] = "Add a Quest you want to track"
L["Add a World Quest Reward you want to track"] = "Add a World Quest Reward you want to track"
L["Add"] = "Add"
L["Armor Cache"] = "Armor Cache"
L["Azerite Armor Cache"] = "Azerite Armor Cache"
L["Azerite Traits"] = "Azerite Traits"
L["Chat"] = "Chat"
L["Close PopUp with ESC"] = "Close PopUp with ESC"
L["Comma separated spellIDs"] = "Comma separated spellIDs"
L["Conduit"] = "Conduit"
L["Configure custom Mission Rewards"] = "Configure custom Mission Rewards"
L["Configure custom Missions"] = "Configure custom Missions"
L["Configure custom World Quest Rewards"] = "Configure custom World Quest Rewards"
L["Configure custom World Quests"] = "Configure custom World Quests"
L["Currencies"] = "Currencies"
L["Custom"] = "Custom"
L["Delay on login in s"] = "Delay on login in s"
L["Delay output while in combat"] = "Delay output while in combat"
L["Delete"] = "Delete"
L["Emissary Quests"] = "Emissary Quests"
L["Enter an achievementID or itemID"] = "Enter an achievementID or itemID"
L["Gear"] = "Gear"
L["General"] = "General"
L["Gold"] = "Gold"
L["IsActive"] = "IsActive"
L["IsActive:\nUse this as a last resort. Works for some daily quests.\n\nIsQuestFlaggedCompleted:\nUse this for quests, that are always active.\n\nQuest Pin:\nUse this, if the daily is marked with a quest pin on the world map.\n\nWorld Quest:\nUse this, if you want to track a world quest."] = "IsActive:\nUse this as a last resort. Works for some daily quests.\n\nIsQuestFlaggedCompleted:\nUse this for quests, that are always active.\n\nQuest Pin:\nUse this, if the daily is marked with a quest pin on the world map.\n\nWorld Quest:\nUse this, if you want to track a world quest."
L["IsQuestFlaggedCompleted"] = "IsQuestFlaggedCompleted"
L["Item"] = "Item"
L["ItemLevel Upgrade"] = "ItemLevel Upgrade"
L["Jewelry Cache"] = "Jewelry Cache"
L["LE_QUEST_TAG_TYPE_DUNGEON"] = "Dungeon"
L["LE_QUEST_TAG_TYPE_PET_BATTLE"] = "Pet Battle"
L["LE_QUEST_TAG_TYPE_PROFESSION"] = "Profession"
L["LE_QUEST_TAG_TYPE_PVP"] = "PVP"
L["Mission Table & Shipyard"] = "Mission Table & Shipyard"
L["Mission Table"] = "Mission Table"
L["Mission"] = "Mission"
L["MissionID"] ="MissionID"
L["NO_QUESTS"] = "No interesting World Quests active!"
L["Options"] = "Options"
L["PopUp"] = "PopUp"
L["Professions"] = "Professions"
L["Quest Pin"] = "Quest Pin"
L["Quest pin tracking needs a mapID.\nSee https://wow.gamepedia.com/UiMapID for help."] = "Quest pin tracking needs a mapID.\nSee https://wow.gamepedia.com/UiMapID for help."
L["Quest type"] = "Quest type"
L["QuestID"] = "QuestID"
L["Recipes"] = "Recipes"
L["Remember PopUp position"] = "Remember PopUp position"
L["Reputation"] = "Reputation"
L["Requires a reload"] = "Requires a reload"
L["Reward (optional)"] = "Reward (optional)"
L["Reward type"] = "Reward type"
L["Reward"] = "Reward"
L["Rewards"] = "Rewards"
L["Select where WQA is allowed to post"] = "Select where WQA is allowed to post"
L["Setting is per character"] = "Setting is per character"
L["Show Minimap Icon"] = "Show Minimap Icon"
L["Show expansion in chat"] = "Show expansion in chat"
L["Show expansion in popup"] = "Show expansion in popup"
L["Show time left in chat"] = "Show time left in chat"
L["Show time left in popup"] = "Show time left in popup"
L["Show zone in chat"] = "Show zone in chat"
L["Show zone in popup"] = "Show zone in popup"
L["Skill level is maxed out*"] = "Skill level is maxed out*"
L["Skillup"] = "Skillup"
L["Sort quests by name"] = "Sort quests by name"
L["Sort quests by zone name"] = "Sort quests by zone name"
L["Track conduit"] = "Track conduit"
L["Track every World Quest until skill level is maxed out"] = "Track every World Quest until skill level is maxed out"
L["Unknown appearance"] = "Unknown appearance"
L["Unknown source"] = "Unknown source"
L["Use World Quest Tracker"] = "Use World Quest Tracker"
L["WQChat"] = "Interesting World Quests are active:"
L["WQforAch"] = "%s for %s"
L["WQforAchTime"] = "%s (%s) for %s"
L["Weapon Cache"] = "Weapon Cache"
L["World Quest Type"] = "World Quest Type"
L["World Quest"] = "World Quest"
L["World Quests"] = "World Quests"
L["Zones"] = "Zones"
L["achievements"] = "Achievements"
L["completed"] = "Completed"
L["completed"] = "completed"
L["itemID"] = "itemID"
L["mapID"] = "mapID"
L["minimum % Upgrade"] = "minimum % Upgrade"
L["minimum Gold"] = "minimum Gold"
L["minimum ItemLevel Upgrade"] = "minimum ItemLevel Upgrade"
L["mounts"] = "Mounts"
L["none"] = "none"
L["notCompleted"] = "Not completed"
L["pets"] = "Pets"
L["toys"] = "Toys"
L["tracking_always"] = "Always track"
L["tracking_default"] = "Default"
L["tracking_disabled"] = "Don't track"
L["tracking_exclusive"] = "Only track with this character"
L["tracking_other"] = "Only tracked by %s"
L["tracking_wasEarnedByMe"] = "Track if not earned by active character"
if locale == "deDE" then
L["WQChat"] = "Interessante Weltquests verfügbar:"
L["WQforAch"] = "%s für %s"
Expand Down Expand Up @@ -63,4 +147,109 @@ elseif locale == "frFR" then
L["LE_QUEST_TAG_TYPE_PET_BATTLE"] = "Combat de mascotte"
L["LE_QUEST_TAG_TYPE_PROFESSION"] = "Métier"
L["LE_QUEST_TAG_TYPE_DUNGEON"] = "Donjon"
elseif locale == "zhCN" then
L["% Upgrade (Pawn)"] = "% 升级 (Pawn)"
L["% Upgrade (Stat Weight Score)"] = "% 升级 (属性权重评分)"
L["Achievement"] = "成就"
L["achievements"] = "成就"
L["Add a Mission Reward you want to track"] = "添加你想要追踪的任务奖励"
L["Add a Mission you want to track"] = "添加你想要追踪的任务"
L["Add a Quest you want to track"] = "添加你想要追踪的任务"
L["Add a World Quest Reward you want to track"] = "添加你想要追踪的世界任务奖励"
L["Add"] = "添加"
L["Armor Cache"] = "护甲缓存"
L["Azerite Armor Cache"] = "艾泽里特护甲缓存"
L["Azerite Traits"] = "艾泽里特特质"
L["Chat"] = "聊天"
L["Close PopUp with ESC"] = "按 ESC 关闭弹出窗口"
L["Comma separated spellIDs"] = "以逗号分隔的法术ID"
L["completed"] = "已完成"
L["completed"] = "已完成"
L["Conduit"] = "导灵器"
L["Configure custom Mission Rewards"] = "配置自定义任务奖励"
L["Configure custom Missions"] = "配置自定义任务"
L["Configure custom World Quest Rewards"] = "配置自定义世界任务奖励"
L["Configure custom World Quests"] = "配置自定义世界任务"
L["Currencies"] = "货币"
L["Custom"] = "自定义"
L["Delay on login in s"] = "登录延迟(秒)"
L["Delay output while in combat"] = "战斗中延迟输出"
L["Delete"] = "删除"
L["Emissary Quests"] = "特使任务"
L["Enter an achievementID or itemID"] = "输入成就ID或物品ID"
L["Gear"] = "装备"
L["General"] = "常规"
L["Gold"] = "金币"
L["IsActive"] = "是否激活"
L["IsActive:\nUse this as a last resort. Works for some daily quests.\n\nIsQuestFlaggedCompleted:\nUse this for quests, that are always active.\n\nQuest Pin:\nUse this, if the daily is marked with a quest pin on the world map.\n\nWorld Quest:\nUse this, if you want to track a world quest."] = "是否激活:\n作为最后手段使用。适用于某些日常任务。\n\n任务标记完成:\n用于始终激活的任务。\n\n任务图标:\n如果日常任务在世界地图上标记了任务图标,请使用此项。\n\n世界任务:\n如果你想追踪一个世界任务,请使用此项。"
L["IsQuestFlaggedCompleted"] = "任务标记完成"
L["Item"] = "物品"
L["itemID"] = "物品ID"
L["ItemLevel Upgrade"] = "物品等级升级"
L["Jewelry Cache"] = "珠宝缓存"
L["LE_QUEST_TAG_TYPE_DUNGEON"] = "地下城"
L["LE_QUEST_TAG_TYPE_PET_BATTLE"] = "宠物战斗"
L["LE_QUEST_TAG_TYPE_PROFESSION"] = "职业"
L["LE_QUEST_TAG_TYPE_PVP"] = "PVP"
L["mapID"] = "地图ID"
L["minimum % Upgrade"] = "最低 % 升级"
L["minimum Gold"] = "最低金币"
L["minimum ItemLevel Upgrade"] = "最低物品等级升级"
L["Mission Table & Shipyard"] = "任务桌 或 船坞"
L["Mission Table"] = "任务桌"
L["Mission"] = "任务"
L["MissionID"] = "任务ID"
L["mounts"] = "坐骑"
L["none"] = ""
L["notCompleted"] = "未完成"
L["Options"] = "选项"
L["pets"] = "宠物"
L["PopUp"] = "弹出窗口"
L["Professions"] = "职业"
L["Quest pin tracking needs a mapID.\nSee https://wow.gamepedia.com/UiMapID for help."] = "任务图标追踪需要一个地图ID。\n请参见 https://wow.gamepedia.com/UiMapID 获取帮助。"
L["Quest Pin"] = "任务图标"
L["Quest type"] = "任务类型"
L["QuestID"] = "任务ID"
L["Recipes"] = "配方"
L["Remember PopUp position"] = "记住弹出窗口位置"
L["Reputation"] = "声望"
L["Requires a reload"] = "需要重新加载"
L["Reward (optional)"] = "奖励(可选)"
L["Reward type"] = "奖励类型"
L["Reward"] = "奖励"
L["Rewards"] = "奖励"
L["Select where WQA is allowed to post"] = "选择 WQA 允许发布的位置"
L["Setting is per character"] = "设置是按角色进行的"
L["Show expansion in chat"] = "在聊天中显示资料片"
L["Show expansion in popup"] = "在弹出窗口中显示资料片"
L["Show Minimap Icon"] = "显示小地图图标"
L["Show time left in chat"] = "在聊天中显示剩余时间"
L["Show time left in popup"] = "在弹出窗口中显示剩余时间"
L["Show zone in chat"] = "在聊天中显示区域"
L["Show zone in popup"] = "在弹出窗口中显示区域"
L["Skill level is maxed out*"] = "技能等级已达到上限*"
L["Skillup"] = "技能提升"
L["Sort quests by name"] = "按名称排序任务"
L["Sort quests by zone name"] = "按区域名称排序任务"
L["toys"] = "玩具"
L["Track conduit"] = "追踪导灵器"
L["Track every World Quest until skill level is maxed out"] = "追踪每个世界任务直到技能等级达到上限"
L["tracking_always"] = "始终追踪"
L["tracking_default"] = "默认"
L["tracking_disabled"] = "不追踪"
L["tracking_exclusive"] = "仅由此角色追踪"
L["tracking_other"] = "仅由 %s 追踪"
L["tracking_wasEarnedByMe"] = "如果不是由当前角色获得,则追踪"
L["Unknown appearance"] = "未知外观"
L["Unknown source"] = "未知来源"
L["Use World Quest Tracker"] = "使用世界任务追踪器"
L["Weapon Cache"] = "武器缓存"
L["World Quest Type"] = "世界任务类型"
L["World Quest"] = "世界任务"
L["World Quests"] = "世界任务"
L["WQChat"] = "有趣的世界任务正在进行:"
L["WQforAch"] = "%s 用于 %s"
L["WQforAchTime"] = "%s (%s) 用于 %s"
L["Zones"] = "区域"
L["NO_QUESTS"] = "没有有趣的世界任务!"
end
Loading

0 comments on commit 1cd6650

Please sign in to comment.