fix(i18n): show template as "Template - MokoOnyx" in Extensions Manager #163

Merged
jmiller merged 1 commits from chore/template-pretty-name into dev 2026-07-16 18:40:35 +00:00
Owner

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.

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 <name> unchanged (it is the template element/folder). Verified against Joomla 6 core (InstallerModel::translate + TemplateAdapter) on suite.dev.
jmiller added 1 commit 2026-07-16 18:40:30 +00:00
fix(i18n): show template as "Template - MokoOnyx" in Extensions Manager
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Failing after 7s
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Universal: PR Check / Secret Scan (pull_request) Successful in 8s
Generic: Project CI / Lint & Validate (pull_request) Successful in 18s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Failing after 12s
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Universal: PR Check / Validate PR (pull_request) Successful in 22s
Generic: Project CI / Tests (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
f2aaa42e74
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.
jmiller force-pushed chore/template-pretty-name from aa97d8e4f9 to f2aaa42e74 2026-07-16 18:40:30 +00:00 Compare
jmiller merged commit 90ae9d34bd into dev 2026-07-16 18:40:35 +00:00
jmiller deleted branch chore/template-pretty-name 2026-07-16 18:40:36 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoOnyx#163