|
| 1 | +local _, SimpleAutoCombatLog = ...; |
| 2 | + |
| 3 | +SimpleAutoCombatLog.L = {}; |
| 4 | + |
| 5 | +local function defaultFunc(L, key) |
| 6 | + -- If this function was called, we have no localization for this key. |
| 7 | + -- We could complain loudly to allow localizers to see the error of their ways, |
| 8 | + -- but, for now, just return the key as its own localization. This allows you to—avoid writing the default localization out explicitly. |
| 9 | + return key; |
| 10 | +end |
| 11 | +setmetatable(SimpleAutoCombatLog.L, {__index=defaultFunc}); |
| 12 | + |
| 13 | +if GetLocale() == "deDE" then |
| 14 | + -- Zones |
| 15 | + SimpleAutoCombatLog.L["The Molten Core"] = "Der Geschmolzene Kern"; |
| 16 | + SimpleAutoCombatLog.L["Onyxia's Lair"] = "Onyxias Hort"; |
| 17 | + SimpleAutoCombatLog.L["Blackwing Lair"] = "Pechschwingenhort"; |
| 18 | + SimpleAutoCombatLog.L["Ruins of Ahn'Qiraj"] = "Ruinen von Ahn'Qiraj"; |
| 19 | + SimpleAutoCombatLog.L["Ahn'Qiraj"] = "Ahn'Qiraj"; |
| 20 | + SimpleAutoCombatLog.L["Zul'Gurub"] = "Zul'Gurub"; |
| 21 | + SimpleAutoCombatLog.L["Naxxramas"] = "Naxxramas"; |
| 22 | + |
| 23 | + SimpleAutoCombatLog.L["Azshara"] = "Azshara"; |
| 24 | + SimpleAutoCombatLog.L["Blasted Lands"] = "Verwüstete Lande"; |
| 25 | + SimpleAutoCombatLog.L["Hinterlands"] = "Hinterland"; |
| 26 | + SimpleAutoCombatLog.L["Ashenvale"] = "Ashenvale"; |
| 27 | + SimpleAutoCombatLog.L["Feralas"] = "Feralas"; |
| 28 | + SimpleAutoCombatLog.L["Duskwood"] = "Dämmerwald"; |
| 29 | + |
| 30 | + -- Text |
| 31 | + SimpleAutoCombatLog.L["Combatlog enabled"] = "Kampflog aktiviert"; |
| 32 | + SimpleAutoCombatLog.L["Combatlog disabled"] = "Kampflog deaktiviert"; |
| 33 | + |
| 34 | + -- Mobs |
| 35 | + SimpleAutoCombatLog.L["Emeriss"] = "Emeriss"; |
| 36 | + SimpleAutoCombatLog.L["Lethon"] = "Lethon"; |
| 37 | + SimpleAutoCombatLog.L["Ysondre"] = "Ysondre"; |
| 38 | + SimpleAutoCombatLog.L["Taerar"] = "Taerar"; |
| 39 | + SimpleAutoCombatLog.L["Lord Kazzak"] = "Lord Kazzak"; |
| 40 | + SimpleAutoCombatLog.L["Azuregos"] = "Azuregos"; |
| 41 | + |
| 42 | +end |
0 commit comments