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

Closed
opened 2026-07-06 02:57:52 +00:00 by jmiller · 2 comments
Owner

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):

  1. Set the component manifest's top-level <administration><menu> to COM_<ELEMENT>_SHORT (e.g. COM_MOKOSUITECROSS_SHORT).
  2. Define 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".

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):** 1. Set the component manifest's top-level `<administration><menu>` to `COM_<ELEMENT>_SHORT` (e.g. `COM_MOKOSUITECROSS_SHORT`). 2. Define `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"**.
Author
Owner

Branch created: feature/255-admin-menu-use-com-short-short-name-cons

git fetch origin
git checkout feature/255-admin-menu-use-com-short-short-name-cons
Branch created: [`feature/255-admin-menu-use-com-short-short-name-cons`](https://git.mokoconsulting.tech/MokoConsulting/MokoSuiteCross/src/branch/feature/255-admin-menu-use-com-short-short-name-cons) ```bash git fetch origin git checkout feature/255-admin-menu-use-com-short-short-name-cons ```
Author
Owner

Fix submitted in PR #258#258

  • Added COM_MOKOSUITECROSS_SHORT="Cross" to source/packages/com_mokosuitecross/language/en-GB/com_mokosuitecross.sys.ini (the system language file the admin-menu builder loads).
  • Pointed the top-level <administration><menu> in mokosuitecross.xml at COM_MOKOSUITECROSS_SHORT.

Targets dev; awaiting review (not merged).

Fix submitted in PR #258 — https://git.mokoconsulting.tech/MokoConsulting/MokoSuiteCross/pulls/258 - Added `COM_MOKOSUITECROSS_SHORT="Cross"` to `source/packages/com_mokosuitecross/language/en-GB/com_mokosuitecross.sys.ini` (the system language file the admin-menu builder loads). - Pointed the top-level `<administration><menu>` in `mokosuitecross.xml` at `COM_MOKOSUITECROSS_SHORT`. Targets `dev`; awaiting review (not merged).
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/MokoSuiteCross#255