feat(menu): COM_MOKOSUITESTORELOCATOR_SHORT + stem rename MOKOJOOM→MOKOSUITE (#75) #77
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?
Resolves #75.
What
Two coupled changes, both language-string only — no extension identity change:
(A) Language-key STEM rename
COM_MOKOJOOMSTORELOCATOR*→COM_MOKOSUITESTORELOCATOR*everywhere it appeared (definitions + references, changed in lockstep so no broken translations).(B) Admin menu short-name — added
COM_MOKOSUITESTORELOCATOR_SHORT="Store Locator"and pointed the manifest top-level<administration><menu>at it (matches MokoSuiteHQ / MokoSuiteClient convention).Replacement rule applied
COM_MOKOJOOMSTORELOCATOR_*→COM_MOKOSUITESTORELOCATOR_*.COM_MOKOJOOMSTORELOCATOR="Store Locator"line (which collided with the pre-existing full-name keyCOM_MOKOSUITESTORELOCATOR="MokoSuite Store Locator") was converted toCOM_MOKOSUITESTORELOCATOR_SHORT="Store Locator"— this simultaneously satisfies (B) and avoids a duplicate/overwrite of the full-name string.Commit 1 —
fix(i18n)— 24 files (stem rename + _SHORT)Language:
Forms:
Templates:
PHP (src):
Module:
Commit 2 —
feat(menu)— 1 file (manifest)<menu>COM_MOKOJOOMSTORELOCATOR</menu>→<menu>COM_MOKOSUITESTORELOCATOR_SHORT</menu><description>and the 3<submenu>items renamed to the MOKOSUITE stem.NOT changed (install identity preserved)
<name>com_mokosuitestorelocator</name>, thecom_mokosuitestorelocatorelement/folder, theMoko\Component\MokoSuiteStoreLocatornamespace, the#__mokosuitestorelocatorDB prefix, and all file paths are unchanged. This is a language-string key rename only — NOT a breaking element/identity rename.admin/access.xmluses onlyJACTION_*(no stem) — untouched.MOD_MOKOJOOMSTORELOCATOR_MAP_NOSCRIPTin the map module is a separateMOD_module stem, out of scope, left as-is.Verification
Residual
COM_MOKOJOOMSTORELOCATORcount on the branch = 0 across all changed files. All 3 language files now carry bothCOM_MOKOSUITESTORELOCATOR="MokoSuite Store Locator"(full name, preserved) andCOM_MOKOSUITESTORELOCATOR_SHORT="Store Locator".https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R