fix(i18n): show template as "Template - MokoOnyx" in Extensions Manager #163
Reference in New Issue
Block a user
Delete Branch "chore/template-pretty-name"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the MOKOONYX sys.ini key that Joomla's com_installer actually resolves (Text::_(item->name) -> uppercased element name), so the template follows the Type - Name pretty-name standard. Manifest unchanged (it is the template element/folder). Verified against Joomla 6 core (InstallerModel::translate + TemplateAdapter) on suite.dev.
Joomla's com_installer translates the extension display name via Text::_($item->name) where $item->name is the raw manifest <name> ("mokoonyx"), so it looks up the uppercased key MOKOONYX in the template's own sys.ini. The existing TPL_MOKOONYX key was never consulted for the name. Add MOKOONYX="Template - MokoOnyx" (en-US + en-GB) so the Type - Name standard shows correctly. The manifest <name> stays "mokoonyx" — for templates it IS the element/folder (TemplateAdapter derives both from it), so it must not change.aa97d8e4f9tof2aaa42e74