Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization: Separate zhCN and zhTW translation #1774

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AllTheThings.toc
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ locales\ko.lua
locales\pt.lua
locales\ru.lua
locales\cn.lua
locales\tw.lua

# Search Cache
src\Cache.lua
Expand Down
13 changes: 2 additions & 11 deletions locales/cn.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- Localization for Chinese (Simplified, PRC) and Chinese (Traditional, Taiwan) Clients.
if GetLocale() ~= "zhCN" and GetLocale() ~= "zhTW" then return; end
-- Localization for Chinese (Simplified, PRC) Clients.
if GetLocale() ~= "zhCN" then return; end
local app = select(2, ...);
local L = app.L;

Expand Down Expand Up @@ -458,11 +458,6 @@ for key,value in pairs({
["艾拉-卡拉,回响之城"] = "回响之城", -- ["Ara-Kara, City of Echoes"] = "Ara-Kara"
})
do a[key] = value; end
if GetLocale() == "zhTW" then
a["安托洛斯,燃燒王座"] = "安托洛斯" -- ["Antorus, the Burning Throne"] = "Antorus"
a["奈奧羅薩,甦醒之城"] = "奈奧羅薩" -- ["Ny'alotha, the Waking City"] = "Ny'alotha"
a["『帷幕市集』塔札維許"] = "塔札維許" -- ["Tazavesh, the Veiled Market"] = "Tazavesh"
end


if app.IsRetail then
Expand Down Expand Up @@ -518,10 +513,6 @@ for key,value in pairs({
[-5205] = "隐藏外观", -- Hidden Appearance
})
do a[key] = value; end
if GetLocale() == "zhTW" then
a[-1120] = "莫魯克半人馬"; -- Maruuk Centaur
a[-1130] = "伊斯凱拉巨牙海民"; -- Iskaara Tuskarrccord
end
end

local a = L.SETTINGS_MENU;
Expand Down
Loading