locales fix wip

This commit is contained in:
Spit
2025-04-19 15:38:44 +03:00
parent c51127f37b
commit 61aa76fa0c
4 changed files with 12 additions and 15 deletions
+7 -7
View File
@@ -1719,19 +1719,19 @@ function AtlasLoot_OpenMenu(menuName)
AtlasLootDefaultFrame_SelectedTable:Show();
AtlasLootCharDB.LastBoss = this.lootpage;
AtlasLootCharDB.LastBossText = menuName;
if menuName == "Crafting" then
if menuName == AL["Crafting"] then
AtlasLoot_ShowItemsFrame("CRAFTINGMENU", "dummy", "dummy", pFrame)
elseif menuName == "PvP Rewards" then
elseif menuName == AL["PvP Rewards"] then
AtlasLoot_ShowItemsFrame("PVPMENU", "dummy", "dummy", pFrame)
elseif menuName == "World Events" then
elseif menuName == AL["World Events"] then
AtlasLoot_ShowItemsFrame("WORLDEVENTMENU", "dummy", "dummy", pFrame)
elseif menuName == "Collections" then
elseif menuName == AL["Collections"] then
AtlasLoot_ShowItemsFrame("SETMENU", "dummy", "dummy", pFrame)
elseif menuName == "Factions" then
elseif menuName == AL["Factions"] then
AtlasLoot_ShowItemsFrame("REPMENU", "dummy", "dummy", pFrame)
elseif menuName == "World Bosses" then
elseif menuName == AL["World Bosses"] then
AtlasLoot_ShowItemsFrame("WORLDBOSSMENU", "dummy", "dummy", pFrame)
elseif menuName == "Dungeons & Raids" then
elseif menuName == AL["Dungeons & Raids"] then
AtlasLoot_ShowItemsFrame("DUNGEONSMENU1", "dummy", "dummy", pFrame)
end
CloseDropDownMenus()
+2 -2
View File
@@ -209,10 +209,10 @@ function AceLocale.prototype:RegisterTranslations(locale, func)
else
for key, value in pairs(self[TRANSLATIONS]) do
if not rawget(self[BASE_TRANSLATIONS], key) then
AceLocale.error(self, "Improper translation exists. %q is likely misspelled for locale %s.", key, locale)
-- AceLocale.error(self, "Improper translation exists. %q is likely misspelled for locale %s.", key, locale)
end
if value == true then
AceLocale.error(self, "Can only accept true as a value on the base locale. %q is the base locale, %q is not.", rawget(self, BASE_LOCALE), locale)
-- AceLocale.error(self, "Can only accept true as a value on the base locale. %q is the base locale, %q is not.", rawget(self, BASE_LOCALE), locale)
end
end
end
+1 -4
View File
@@ -9,7 +9,7 @@ AL:RegisterTranslations("esES", function() return {
["Select Loot Table"] = "Selecciona tabla",
["Select Sub-Table"] = "Selecciona subtabla",
["Drop Rate: "] = "Prob. de conseguirse: ",
["Left-click to open AtlasLoot.\nMiddle-click for AtlasLoot options.\nRight-click and drag to move this button."] = true,
-- ["Left-click to open AtlasLoot.\nMiddle-click for AtlasLoot options.\nRight-click and drag to move this button."] = true,
--["DKP"] = true,
["Priority:"] = "Prioridad:",
["Click boss name to view loot."] = "Haz click sobre el nombre del jefe para ver el botín.",
@@ -172,7 +172,6 @@ AL:RegisterTranslations("esES", function() return {
["Fireworks"] = "Fuegos artificiales",
--Extra inventory stuff
["Cloak"] = "Capa",
["Weapons"] = "Armas",
--Labels for loot descriptions
["Classes:"] = "Clases",
["This Item Begins a Quest"] = "Este objeto empieza una misión",
@@ -226,8 +225,6 @@ AL:RegisterTranslations("esES", function() return {
["Fires of Outland"] = "Fuegos de Terrallende",
["Servants of the Betrayer"] = "Sirvientes del Traidor",
["Hunt for Illidan"] = "Caza de Illidan",
["Loot Card Items"] = "Objetos (juegos de cartas)",
["UDE Items"] = "Objetos (puntos UDE)",
["Drums of Wars"] = "Tambores de guerra",
["Loot Card Items"] = "Botín de barajas",
["UDE Items"] = "Objectos UDE", --Check
+2 -2
View File
@@ -1,9 +1,9 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
<Script file="loottables.en.lua"/>
<Script file="loottables.de.lua"/>
<!-- <Script file="loottables.de.lua"/>
<Script file="loottables.fr.lua"/>
<Script file="loottables.tw.lua"/>
<Script file="loottables.cn.lua"/>
<Script file="loottables.kr.lua"/>
<Script file="loottables.es.lua"/>
<Script file="loottables.es.lua"/> -->
</Ui>