Why is LibAboutPanel-2.0's localization being replaced with RepByZone's translations? According to LAP's localization page, the translations are correct, yet when I open the Lua file, all the wrong phrases are there?
Below is RepByZone's translations, copied directly from LibAboutPanel-2.0's Core.lua file. Exactly ZERO of that is correct. Suddenly I am terrified that NONE of my addons are correct, whether written by me or by other people. Do I even dare look at any addon that uses Ace3?!?
local locale = GetLocale()
if locale == "koKR" then
--[[Translation missing --]]
--[[ L["Default watched faction"] = ""--]]
L["Now watching %s"] = "%s|1을;를; 지금 감시 중에 있습니다"
--[[Translation missing --]]
--[[ L["Print to chat when you switch watched faction."] = ""--]]
--[[Translation missing --]]
--[[ L["Reputation Settings"] = ""--]]
--[[Translation missing --]]
--[[ L["Switch watched faction based on subzones."] = ""--]]
--[[Translation missing --]]
--[[ L["Toggle RepByZone on or off."] = ""--]]
--[[Translation missing --]]
--[[ L["Verbose"] = ""--]]
--[[Translation missing --]]
--[[ L["Watch Subzones"] = ""--]]
elseif locale == "frFR" then
--[[Translation missing --]]
--[[ L["Default watched faction"] = ""--]]
L["Now watching %s"] = "Surveiller à présent %s"
--[[Translation missing --]]
--[[ L["Print to chat when you switch watched faction."] = ""--]]
--[[Translation missing --]]
--[[ L["Reputation Settings"] = ""--]]
--[[Translation missing --]]
--[[ L["Switch watched faction based on subzones."] = ""--]]
--[[Translation missing --]]
--[[ L["Toggle RepByZone on or off."] = ""--]]
--[[Translation missing --]]
--[[ L["Verbose"] = ""--]]
--[[Translation missing --]]
--[[ L["Watch Subzones"] = ""--]]
elseif locale == "deDE" then
--[[Translation missing --]]
--[[ L["Default watched faction"] = ""--]]
L["Now watching %s"] = "Angezeigte %s"
--[[Translation missing --]]
--[[ L["Print to chat when you switch watched faction."] = ""--]]
--[[Translation missing --]]
--[[ L["Reputation Settings"] = ""--]]
--[[Translation missing --]]
--[[ L["Switch watched faction based on subzones."] = ""--]]
--[[Translation missing --]]
--[[ L["Toggle RepByZone on or off."] = ""--]]
--[[Translation missing --]]
--[[ L["Verbose"] = ""--]]
--[[Translation missing --]]
--[[ L["Watch Subzones"] = ""--]]
elseif locale == "ruRU" then
--[[Translation missing --]]
--[[ L["Default watched faction"] = ""--]]
L["Now watching %s"] = "Теперь следующие за выполнением %s"
--[[Translation missing --]]
--[[ L["Print to chat when you switch watched faction."] = ""--]]
--[[Translation missing --]]
--[[ L["Reputation Settings"] = ""--]]
--[[Translation missing --]]
--[[ L["Switch watched faction based on subzones."] = ""--]]
--[[Translation missing --]]
--[[ L["Toggle RepByZone on or off."] = ""--]]
--[[Translation missing --]]
--[[ L["Verbose"] = ""--]]
--[[Translation missing --]]
--[[ L["Watch Subzones"] = ""--]]
elseif locale == "zhTW" then
--[[Translation missing --]]
--[[ L["Default watched faction"] = ""--]]
--[[Translation missing --]]
--[[ L["Now watching %s"] = ""--]]
--[[Translation missing --]]
--[[ L["Print to chat when you switch watched faction."] = ""--]]
--[[Translation missing --]]
--[[ L["Reputation Settings"] = ""--]]
--[[Translation missing --]]
--[[ L["Switch watched faction based on subzones."] = ""--]]
--[[Translation missing --]]
--[[ L["Toggle RepByZone on or off."] = ""--]]
--[[Translation missing --]]
--[[ L["Verbose"] = ""--]]
--[[Translation missing --]]
--[[ L["Watch Subzones"] = ""--]]
elseif locale == "zhCN" then
--[[Translation missing --]]
--[[ L["Default watched faction"] = ""--]]
--[[Translation missing --]]
--[[ L["Now watching %s"] = ""--]]
--[[Translation missing --]]
--[[ L["Print to chat when you switch watched faction."] = ""--]]
--[[Translation missing --]]
--[[ L["Reputation Settings"] = ""--]]
--[[Translation missing --]]
--[[ L["Switch watched faction based on subzones."] = ""--]]
--[[Translation missing --]]
--[[ L["Toggle RepByZone on or off."] = ""--]]
--[[Translation missing --]]
--[[ L["Verbose"] = ""--]]
--[[Translation missing --]]
--[[ L["Watch Subzones"] = ""--]]
elseif locale == "itIT" then
--[[Translation missing --]]
--[[ L["Default watched faction"] = ""--]]
L["Now watching %s"] = "Ora seguendo %s"
--[[Translation missing --]]
--[[ L["Print to chat when you switch watched faction."] = ""--]]
--[[Translation missing --]]
--[[ L["Reputation Settings"] = ""--]]
--[[Translation missing --]]
--[[ L["Switch watched faction based on subzones."] = ""--]]
--[[Translation missing --]]
--[[ L["Toggle RepByZone on or off."] = ""--]]
--[[Translation missing --]]
--[[ L["Verbose"] = ""--]]
--[[Translation missing --]]
--[[ L["Watch Subzones"] = ""--]]
elseif locale == "ptBR" then
--[[Translation missing --]]
--[[ L["Default watched faction"] = ""--]]
L["Now watching %s"] = "Agora seguintes %s"
--[[Translation missing --]]
--[[ L["Print to chat when you switch watched faction."] = ""--]]
--[[Translation missing --]]
--[[ L["Reputation Settings"] = ""--]]
--[[Translation missing --]]
--[[ L["Switch watched faction based on subzones."] = ""--]]
--[[Translation missing --]]
--[[ L["Toggle RepByZone on or off."] = ""--]]
--[[Translation missing --]]
--[[ L["Verbose"] = ""--]]
--[[Translation missing --]]
--[[ L["Watch Subzones"] = ""--]]
elseif locale == "esES" or locale == "esMX" then
--[[Translation missing --]]
--[[ L["Default watched faction"] = ""--]]
L["Now watching %s"] = "Ahora siguiendo %s"
--[[Translation missing --]]
--[[ L["Print to chat when you switch watched faction."] = ""--]]
--[[Translation missing --]]
--[[ L["Reputation Settings"] = ""--]]
--[[Translation missing --]]
--[[ L["Switch watched faction based on subzones."] = ""--]]
--[[Translation missing --]]
--[[ L["Toggle RepByZone on or off."] = ""--]]
--[[Translation missing --]]
--[[ L["Verbose"] = ""--]]
--[[Translation missing --]]
--[[ L["Watch Subzones"] = ""--]]
end
Okay, looking further: no repository keywords are working for LibAboutPanel-2.0 when zipped. I looked at the .toc fields, and @project-version@ and @project-revision@ still exist rather than being replaced by the appropriate values.
The Notes field is correct in English, but none of the other translations are being fed correctly, like Notes-ruRU or Notes-frFR. In fact, all those others don't even exist in the zip file, only the base Notes field.
This has caused both LibAboutPanel-2.0 and RepByZone to fail to load, "cannot find library LibAboutPanel-2.0" error.
I am going to manually export and place translations for now, but this is a serious bug in the packager.
Geezus, it gets worse: RepByZone's toc file is wrong too! And ALL of the files in the localization folder don't have replacements, either. How about this: instead of "pending approval" all the time, you just auto-approve every single one of my commits AS-IS with the CORRECT packager keyword substitutions!!!
Progress: LibAboutPanel-2.0 by itself seems to be working correctly finally. When zipped with RepByZone, that version of LAP2 reverts back to all the developer code tags. Also, LibStub and Ace3 are not bundled with the library version shipped with the addon. Also also, the addon-shipped version of LAP2 is still using the wrong localizations!
After chatting with Torhal, everything seems to be fixed now. For those curious, library addons must have translations exported manually and Curseforge packager keyword substitutions do not work in libraries.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Why is LibAboutPanel-2.0's localization being replaced with RepByZone's translations? According to LAP's localization page, the translations are correct, yet when I open the Lua file, all the wrong phrases are there?
Below is RepByZone's translations, copied directly from LibAboutPanel-2.0's Core.lua file. Exactly ZERO of that is correct. Suddenly I am terrified that NONE of my addons are correct, whether written by me or by other people. Do I even dare look at any addon that uses Ace3?!?
Okay, looking further: no repository keywords are working for LibAboutPanel-2.0 when zipped. I looked at the .toc fields, and @project-version@ and @project-revision@ still exist rather than being replaced by the appropriate values.
The Notes field is correct in English, but none of the other translations are being fed correctly, like Notes-ruRU or Notes-frFR. In fact, all those others don't even exist in the zip file, only the base Notes field.
This has caused both LibAboutPanel-2.0 and RepByZone to fail to load, "cannot find library LibAboutPanel-2.0" error.
I am going to manually export and place translations for now, but this is a serious bug in the packager.
Geezus, it gets worse: RepByZone's toc file is wrong too! And ALL of the files in the localization folder don't have replacements, either. How about this: instead of "pending approval" all the time, you just auto-approve every single one of my commits AS-IS with the CORRECT packager keyword substitutions!!!
Progress: LibAboutPanel-2.0 by itself seems to be working correctly finally. When zipped with RepByZone, that version of LAP2 reverts back to all the developer code tags. Also, LibStub and Ace3 are not bundled with the library version shipped with the addon. Also also, the addon-shipped version of LAP2 is still using the wrong localizations!
After chatting with Torhal, everything seems to be fixed now. For those curious, library addons must have translations exported manually and Curseforge packager keyword substitutions do not work in libraries.