Admin menu: use COM_..._SHORT short-name constant (one-word naming pass) #14

Closed
opened 2026-07-06 02:59:17 +00:00 by jmiller · 1 comment
Owner

Part of the org-wide MokoSuite component naming/consistency pass.

Current: the top-level Administrator → Components menu item uses the full constant COM_MOKOSUITESUPPORT (no short form).

Required (match MokoSuiteHQ / MokoSuiteClient):

  1. Set the manifest's top-level <administration><menu> to COM_<ELEMENT>_SHORT.
  2. Define COM_<ELEMENT>_SHORT="Support" in the component's .sys.ini.

Suggested short value: "Support".

Part of the org-wide MokoSuite component naming/consistency pass. **Current:** the top-level Administrator → Components menu item uses the full constant `COM_MOKOSUITESUPPORT` (no short form). **Required (match MokoSuiteHQ / MokoSuiteClient):** 1. Set the manifest's top-level `<administration><menu>` to `COM_<ELEMENT>_SHORT`. 2. Define `COM_<ELEMENT>_SHORT="Support"` in the component's **`.sys.ini`**. Suggested short value: **"Support"**.
Author
Owner

PR opened to resolve this: #17#17

Approach: created admin/language/en-GB/com_mokosuitesupport.sys.ini (defining COM_MOKOSUITESUPPORT_SHORT="Support" plus COM_MOKOSUITESUPPORT and _XML_DESCRIPTION), pointed <administration><menu> at COM_MOKOSUITESUPPORT_SHORT, and wired the admin language into the manifest (shipped the language folder + added a <languages folder="admin/language"> block). No prior sys.ini existed and none was wired, so this both defines and loads the constants.

PR opened to resolve this: #17 — https://git.mokoconsulting.tech/MokoConsulting/MokoSuiteSupport/pulls/17 Approach: created `admin/language/en-GB/com_mokosuitesupport.sys.ini` (defining `COM_MOKOSUITESUPPORT_SHORT="Support"` plus `COM_MOKOSUITESUPPORT` and `_XML_DESCRIPTION`), pointed `<administration><menu>` at `COM_MOKOSUITESUPPORT_SHORT`, and wired the admin language into the manifest (shipped the `language` folder + added a `<languages folder="admin/language">` block). No prior sys.ini existed and none was wired, so this both defines and loads the constants.
Sign in to join this conversation.
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteSupport#14