Skip to content

Commit

Permalink
Add generated locales from encounter info
Browse files Browse the repository at this point in the history
  • Loading branch information
emmericp committed Jan 11, 2025
1 parent cdc8a97 commit 18258e1
Show file tree
Hide file tree
Showing 10 changed files with 993 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DBM-Azeroth/DBM-Azeroth_TBC.toc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
## X-DBM-Mod-LoadCID: 14889,14888,14887,14890,12397,6109
## X-DBM-Mod-MinCoreRevision: 12473
## X-DBM-Mod-MinExpansion: 0

locale.generated.lua

localization.en.lua
localization.de.lua
localization.br.lua
Expand Down
3 changes: 3 additions & 0 deletions DBM-Azeroth/DBM-Azeroth_Vanilla.toc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
## X-DBM-Mod-LoadCID: 14889,14888,14887,14890,12397,6109
## X-DBM-Mod-MinCoreRevision: 12473
## X-DBM-Mod-MinExpansion: 0

locale.generated.lua

localization.en.lua
localization.de.lua
localization.br.lua
Expand Down
3 changes: 3 additions & 0 deletions DBM-Azeroth/DBM-Azeroth_Wrath.toc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
## X-DBM-Mod-LoadCID: 14889,14888,14887,14890,12397,6109
## X-DBM-Mod-MinCoreRevision: 12473
## X-DBM-Mod-MinExpansion: 0

locale.generated.lua

localization.en.lua
localization.de.lua
localization.br.lua
Expand Down
117 changes: 117 additions & 0 deletions DBM-Azeroth/locale.generated.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
-- This file is auto-generated, do not edit by hand.
-- Run `DBM-Core/Tools/GenerateEncounterLocales.lua <path to this addon>` to re-generate it with latest data from wago.tools

if not DBM.RegisterGeneratedLocales then -- Check for old Core version, to be removed later

Check warning on line 4 in DBM-Azeroth/locale.generated.lua

View workflow job for this annotation

GitHub Actions / LuaLS-checker

undefined-field

Undefined field `RegisterGeneratedLocales`.
return
end

if GetLocale() == "enUS" then
DBM:RegisterGeneratedLocales("encounter", {
[3026] = "Lord Kazzak",
[3027] = "Azuregos",
[3079] = "Prince Thunderaan",
[3111] = "Emeriss",
[3112] = "Lethon",
[3113] = "Taerar",
[3114] = "Ysondre",
})
end
if GetLocale() == "deDE" then
DBM:RegisterGeneratedLocales("encounter", {
[3026] = "Lord Kazzak",
[3027] = "Azuregos",
[3079] = "Prinz Donneraan",
[3111] = "Emeriss",
[3112] = "Lethon",
[3113] = "Taerar",
[3114] = "Ysondre",
})
end
if GetLocale() == "esES" then
DBM:RegisterGeneratedLocales("encounter", {
[3026] = "Lord Kazzak",
[3027] = "Azuregos",
[3079] = "Príncipe Thunderaan",
[3111] = "Emeriss",
[3112] = "Lethon",
[3113] = "Taerar",
[3114] = "Ysondre",
})
end
if GetLocale() == "esMX" then
DBM:RegisterGeneratedLocales("encounter", {
[3026] = "Lord Kazzak",
[3027] = "Azuregos",
[3079] = "Príncipe Thunderaan",
[3111] = "Emeriss",
[3112] = "Lethon",
[3113] = "Taerar",
[3114] = "Ysondre",
})
end
if GetLocale() == "frFR" then
DBM:RegisterGeneratedLocales("encounter", {
[3026] = "Seigneur Kazzak",
[3027] = "Azuregos",
[3079] = "Prince Tonneraan",
[3111] = "Emeriss",
[3112] = "Léthon",
[3113] = "Taerar",
[3114] = "Ysondre",
})
end
if GetLocale() == "koKR" then
DBM:RegisterGeneratedLocales("encounter", {
[3026] = "군주 카자크",
[3027] = "아주어고스",
[3079] = "왕자 썬더란",
[3111] = "에메리스",
[3112] = "레손",
[3113] = "타에라",
[3114] = "이손드레",
})
end
if GetLocale() == "ptBR" then
DBM:RegisterGeneratedLocales("encounter", {
[3026] = "Lorde Kazzak",
[3027] = "Azuregos",
[3079] = "Príncipe Trovejardus",
[3111] = "Emeriss",
[3112] = "Lethon",
[3113] = "Taerar",
[3114] = "Ysondra",
})
end
if GetLocale() == "ruRU" then
DBM:RegisterGeneratedLocales("encounter", {
[3026] = "Владыка Каззак",
[3027] = "Азурегос",
[3079] = "Принц Громораан",
[3111] = "Эмерисс",
[3112] = "Летон",
[3113] = "Таэрар",
[3114] = "Исондра",
})
end
if GetLocale() == "zhCN" then
DBM:RegisterGeneratedLocales("encounter", {
[3026] = "卡扎克",
[3027] = "艾索雷葛斯",
[3079] = "桑德兰王子",
[3111] = "艾莫莉丝",
[3112] = "莱索恩",
[3113] = "泰拉尔",
[3114] = "伊森德雷",
})
end
if GetLocale() == "zhTW" then
DBM:RegisterGeneratedLocales("encounter", {
[3026] = "卡札克領主",
[3027] = "艾索雷苟斯",
[3079] = "桑德蘭王子",
[3111] = "艾莫莉絲",
[3112] = "雷索",
[3113] = "泰拉爾",
[3114] = "伊索德雷",
})
end
2 changes: 2 additions & 0 deletions DBM-Raids-Vanilla/DBM-Raids-Vanilla_Cata.toc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
## X-Wago-ID: 7x61xpN1
## Version: @project-version@

locale.generated.lua

localization.en.lua
localization.tw.lua
localization.br.lua
Expand Down
2 changes: 2 additions & 0 deletions DBM-Raids-Vanilla/DBM-Raids-Vanilla_Mainline.toc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
## X-Wago-ID: 7x61xpN1
## Version: @project-version@

locale.generated.lua

localization.en.lua
localization.tw.lua
localization.br.lua
Expand Down
2 changes: 2 additions & 0 deletions DBM-Raids-Vanilla/DBM-Raids-Vanilla_TBC.toc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
## X-Wago-ID: 7x61xpN1
## Version: @project-version@

locale.generated.lua

localization.en.lua
localization.tw.lua
localization.br.lua
Expand Down
2 changes: 2 additions & 0 deletions DBM-Raids-Vanilla/DBM-Raids-Vanilla_Vanilla.toc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
## X-Wago-ID: 7x61xpN1
## Version: @project-version@

locale.generated.lua

localization.en.lua
localization.tw.lua
localization.br.lua
Expand Down
2 changes: 2 additions & 0 deletions DBM-Raids-Vanilla/DBM-Raids-Vanilla_Wrath.toc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
## X-Wago-ID: 7x61xpN1
## Version: @project-version@

locale.generated.lua

localization.en.lua
localization.tw.lua
localization.br.lua
Expand Down
Loading

0 comments on commit 18258e1

Please sign in to comment.