Admin menu: use COM_..._SHORT short-name constant (one-word naming pass) #255
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Part of the org-wide MokoSuite component naming/consistency pass.
Current: the top-level Administrator → Components menu item uses the full constant
COM_MOKOSUITECROSS(no short form).Required (match MokoSuiteHQ / MokoSuiteClient):
<administration><menu>toCOM_<ELEMENT>_SHORT(e.g.COM_MOKOSUITECROSS_SHORT).COM_<ELEMENT>_SHORT="Cross"in the component's.sys.ini(the admin-menu builder loads only the system language file — if the constant is missing there, the raw string renders).Reference:
COM_MOKOSUITEHQ_SHORT="HQ",COM_MOKOSUITECLIENT_SHORT="Client".Suggested short value: "Cross".
Branch created:
feature/255-admin-menu-use-com-short-short-name-consFix submitted in PR #258 — #258
COM_MOKOSUITECROSS_SHORT="Cross"tosource/packages/com_mokosuitecross/language/en-GB/com_mokosuitecross.sys.ini(the system language file the admin-menu builder loads).<administration><menu>inmokosuitecross.xmlatCOM_MOKOSUITECROSS_SHORT.Targets
dev; awaiting review (not merged).