Admin menu: use COM_..._SHORT short-name constant + fix MOKOJOOM stem #75
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_MOKOJOOMSTORELOCATOR(no short form), and the constant stem isMOKOJOOM…rather thanMOKOSUITE…/ the actual element name.Required (match MokoSuiteHQ / MokoSuiteClient):
<administration><menu>toCOM_<ELEMENT>_SHORT.COM_<ELEMENT>_SHORT="Store Locator"in the component's.sys.ini.MOKOJOOMprefix — the language-constant stem should match the component element (e.g.com_mokosuitestorelocator→COM_MOKOSUITESTORELOCATOR_*). Confirm the intended element name.Suggested short value: "Store Locator".
Branch created:
feature/75-admin-menu-use-com-short-short-name-consPR opened: #77 — #77 (branch
fix/short-menu-constant→dev, not merged).Summary:
COM_MOKOJOOMSTORELOCATOR*→COM_MOKOSUITESTORELOCATOR*across 24 files (3 language.ini, 4 forms, 7 templates, 9 adminsrcPHP, 1 map-module template) — definitions and references changed in lockstep.COM_MOKOSUITESTORELOCATOR_SHORT="Store Locator"to all 3 language files and pointed the manifest<administration><menu>atCOM_MOKOSUITESTORELOCATOR_SHORT.The pre-existing full-name key
COM_MOKOSUITESTORELOCATOR="MokoSuite Store Locator"was preserved; the old bareCOM_MOKOJOOMSTORELOCATOR="Store Locator"became the new_SHORT(avoiding a duplicate-key collision).Confirmed element/identity was NOT touched:
<name>com_mokosuitestorelocator</name>, thecom_mokosuitestorelocatorfolder/element, theMoko\Component\MokoSuiteStoreLocatornamespace, the#__mokosuitestorelocatorDB prefix, and all file paths are unchanged. This is a language-string key rename only.Residual
COM_MOKOJOOMSTORELOCATORcount on the branch = 0.