feat(menu): admin menu short-name constant COM_MOKOSUITENPO_SHORT (#37) #41
Reference in New Issue
Block a user
Delete Branch "fix/short-menu-constant"
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?
Summary
Resolves the admin-menu short-name issue for
com_mokosuitenpo. The component manifest previously pointed the admin<menu>at a hardcoded literalMokoSuite NPO. This PR points it at a translatable short-name constant and wires the admin language so the constant resolves.Path taken: CREATED + WIRED (recon confirmed no
com_mokosuitenpo.sys.iniexisted anywhere in the repo, and<administration>had no<languages>block).Changes
source/packages/com_mokosuitenpo/admin/language/en-GB/com_mokosuitenpo.sys.ini:mokosuitenpo.xml:<menu>MokoSuite NPO</menu>→<menu>COM_MOKOSUITENPO_SHORT</menu><folder>language</folder>to the admin<files folder="admin">block<languages folder="admin/language"><language tag="en-GB">en-GB/com_mokosuitenpo.sys.ini</language></languages>into<administration>(idiom copied from siblingcom_mokosuitehq)<description>to theCOM_MOKOSUITENPO_XML_DESCRIPTIONconstant now that it is definedMenu label:
MokoSuite NPO(literal) →NPO(viaCOM_MOKOSUITENPO_SHORT).Resolves #37. Supersedes #39 (the
COM_MOKOSUITENPO_SHORT_NAMEduplicate) — this uses the_SHORTnaming that matches the sibling components (COM_MOKOSUITEHQ_SHORT).Do not merge — for review.
https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R