Skip to content

Commit

Permalink
Added zhTW locale, fixed Deadmines for french clients
Browse files Browse the repository at this point in the history
  • Loading branch information
Meivyn committed Aug 12, 2018
1 parent f025efb commit acaa9d0
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### v1.1.0
- [x] Added zhTW locale, thanks to BNSSNB
- [x] Fixed Deadmines for french clients

### v1.0.9
- [x] Minor code changes

Expand Down
30 changes: 30 additions & 0 deletions EncounterJournalSavedInstances.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ if locale == "frFR" then
["Coilfang: The Slave Pens"] = "Glissecroc : les Enclos aux esclaves",
["Coilfang: The Steamvault"] = "Glissecroc : le Caveau de la vapeur",
["Coilfang: The Underbog"] = "Glissecroc : la Basse-tourbière",
["Deadmines"] = "Mortemines",
["Defeated"] = "Vaincu",
["Hellfire Citadel: Ramparts"] = "Citadelle des Flammes infernales : les Remparts",
["Hellfire Citadel: The Blood Furnace"] = "Citadelle des Flammes infernales : la Fournaise du sang",
Expand All @@ -57,6 +58,33 @@ if locale == "frFR" then
["The Sunwell"] = "Le Puits de soleil",
["World Bosses"] = "Boss hors instance"
}
elseif locale == "zhTW" then
L = {
["Assault on Violet Hold"] = "紫羅蘭堡之襲",
["Auchindoun: Auchenai Crypts"] = "奧齊頓:奧奇奈地穴",
["Auchindoun: Mana-Tombs"] = "奧齊頓:法力墓地",
["Auchindoun: Sethekk Halls"] = "奧齊頓:塞司克大廳",
["Auchindoun: Shadow Labyrinth"] = "奧齊頓:暗影迷宮",
["August Celestials"] = "天尊之廷",
["Available"] = "存活",
["Coilfang: Serpentshrine Cavern"] = "盤牙:毒蛇神殿洞穴",
["Coilfang: The Slave Pens"] = "盤牙:奴隸監獄",
["Coilfang: The Steamvault"] = "盤牙:蒸汽洞窟",
["Coilfang: The Underbog"] = "盤牙:深幽泥沼",
["Defeated"] = "已擊殺",
["Hellfire Citadel: Ramparts"] = "地獄火堡壘:地獄火壁壘",
["Hellfire Citadel: The Blood Furnace"] = "地獄火堡壘:血熔爐",
["Hellfire Citadel: The Shattered Halls"] = "地獄火堡壘:破碎大廳",
["Magister's Terrace"] = "博學者殿堂",
["Opening of the Dark Portal"] = "開啟黑暗之門",
["Tempest Keep"] = "風暴要塞",
["Tempest Keep: The Arcatraz"] = "風暴要塞:亞克崔茲",
["Tempest Keep: The Botanica"] = "風暴要塞:波塔尼卡",
["Tempest Keep: The Mechanar"] = "風暴要塞:麥克納爾",
["The Escape from Durnholde"] = "逃離敦霍爾德",
["The Sunwell"] = "太陽之井",
["World Bosses"] = "世界首領"
}
end

local eventFrame = CreateFrame("Frame", "EncounterJournalSavedInstances_EventFrame", UIParent)
Expand Down Expand Up @@ -247,6 +275,8 @@ local function UpdateSavedInstances()
instanceName = EJ_GetInstanceInfo(255)
elseif instanceName == L["Violet Hold"] and locale == "enUS" then
instanceName = EJ_GetInstanceInfo(283)
elseif instanceName == L['Deadmines'] and locale == "frFR" then
instanceName = EJ_GetInstanceInfo(63)
elseif instanceName == L["Assault on Violet Hold"] then
maxBosses = 3
end
Expand Down
2 changes: 1 addition & 1 deletion EncounterJournalSavedInstances.toc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
## Notes: Adds instance status indicators to Encounter Journal.
## Notes-frFR: Ajoute des indicateurs de verrouillage d'instance au journal des rencontres.
## Author: Meivyn
## Version: 1.0.9
## Version: 1.1.0

EncounterJournalSavedInstances.lua

0 comments on commit acaa9d0

Please sign in to comment.