feat(menu): COM_MOKOSUITESTORELOCATOR_SHORT + stem rename MOKOJOOM→MOKOSUITE (#75) #77

Merged
jmiller merged 53 commits from fix/short-menu-constant into dev 2026-07-07 10:15:49 +00:00
Owner

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

  • Suffixed keys COM_MOKOJOOMSTORELOCATOR_*COM_MOKOSUITESTORELOCATOR_*.
  • The bare COM_MOKOJOOMSTORELOCATOR="Store Locator" line (which collided with the pre-existing full-name key COM_MOKOSUITESTORELOCATOR="MokoSuite Store Locator") was converted to COM_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:

  • admin/language/en-GB/com_mokosuitestorelocator.sys.ini
  • admin/language/en-GB/com_mokosuitestorelocator.ini
  • site/language/en-GB/com_mokosuitestorelocator.ini

Forms:

  • admin/forms/location.xml
  • admin/forms/category.xml
  • admin/forms/filter_categories.xml
  • admin/forms/filter_locations.xml

Templates:

  • admin/tmpl/categories/default.php
  • admin/tmpl/category/edit.php
  • admin/tmpl/import/default.php
  • admin/tmpl/location/edit.php
  • admin/tmpl/locations/default.php
  • site/tmpl/location/default.php
  • site/tmpl/locations/default.php

PHP (src):

  • admin/src/Controller/ImportController.php
  • admin/src/Controller/LocationController.php
  • admin/src/Controller/LocationsController.php
  • admin/src/Model/LocationModel.php
  • admin/src/View/Categories/HtmlView.php
  • admin/src/View/Category/HtmlView.php
  • admin/src/View/Import/HtmlView.php
  • admin/src/View/Location/HtmlView.php
  • admin/src/View/Locations/HtmlView.php

Module:

  • mod_mokosuitestorelocator_map/tmpl/default.php

Commit 2 — feat(menu) — 1 file (manifest)

  • com_mokosuitestorelocator/mokosuitestorelocator.xml
    • <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>, the com_mokosuitestorelocator element/folder, the Moko\Component\MokoSuiteStoreLocator namespace, the #__mokosuitestorelocator DB prefix, and all file paths are unchanged. This is a language-string key rename only — NOT a breaking element/identity rename.
  • admin/access.xml uses only JACTION_* (no stem) — untouched.
  • MOD_MOKOJOOMSTORELOCATOR_MAP_NOSCRIPT in the map module is a separate MOD_ module stem, out of scope, left as-is.

Verification

Residual COM_MOKOJOOMSTORELOCATOR count on the branch = 0 across all changed files. All 3 language files now carry both COM_MOKOSUITESTORELOCATOR="MokoSuite Store Locator" (full name, preserved) and COM_MOKOSUITESTORELOCATOR_SHORT="Store Locator".

https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R

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 - Suffixed keys `COM_MOKOJOOMSTORELOCATOR_*` → `COM_MOKOSUITESTORELOCATOR_*`. - The bare `COM_MOKOJOOMSTORELOCATOR="Store Locator"` line (which collided with the pre-existing full-name key `COM_MOKOSUITESTORELOCATOR="MokoSuite Store Locator"`) was converted to `COM_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: - admin/language/en-GB/com_mokosuitestorelocator.sys.ini - admin/language/en-GB/com_mokosuitestorelocator.ini - site/language/en-GB/com_mokosuitestorelocator.ini Forms: - admin/forms/location.xml - admin/forms/category.xml - admin/forms/filter_categories.xml - admin/forms/filter_locations.xml Templates: - admin/tmpl/categories/default.php - admin/tmpl/category/edit.php - admin/tmpl/import/default.php - admin/tmpl/location/edit.php - admin/tmpl/locations/default.php - site/tmpl/location/default.php - site/tmpl/locations/default.php PHP (src): - admin/src/Controller/ImportController.php - admin/src/Controller/LocationController.php - admin/src/Controller/LocationsController.php - admin/src/Model/LocationModel.php - admin/src/View/Categories/HtmlView.php - admin/src/View/Category/HtmlView.php - admin/src/View/Import/HtmlView.php - admin/src/View/Location/HtmlView.php - admin/src/View/Locations/HtmlView.php Module: - mod_mokosuitestorelocator_map/tmpl/default.php ## Commit 2 — `feat(menu)` — 1 file (manifest) - com_mokosuitestorelocator/mokosuitestorelocator.xml - `<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>`, the `com_mokosuitestorelocator` element/folder, the `Moko\Component\MokoSuiteStoreLocator` namespace, the `#__mokosuitestorelocator` DB prefix, and all file paths are **unchanged**. This is a language-string key rename only — NOT a breaking element/identity rename. - `admin/access.xml` uses only `JACTION_*` (no stem) — untouched. - `MOD_MOKOJOOMSTORELOCATOR_MAP_NOSCRIPT` in the map module is a separate `MOD_` module stem, out of scope, left as-is. ## Verification Residual `COM_MOKOJOOMSTORELOCATOR` count on the branch = **0** across all changed files. All 3 language files now carry both `COM_MOKOSUITESTORELOCATOR="MokoSuite Store Locator"` (full name, preserved) and `COM_MOKOSUITESTORELOCATOR_SHORT="Store Locator"`. https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
jmiller added 53 commits 2026-07-06 23:47:24 +00:00
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 15s
cf8630e4bf
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 15s
378de76a9b
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 23s
c0d2ae8c8d
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
1609021d84
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
dc3285cee5
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 16s
b6b84229a7
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 11s
962045a669
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 14s
beddff324d
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 11s
a6f34a0a12
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 14s
dedefcf7b0
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
4b5e858a36
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
be394993b3
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 24s
395ce82501
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 10s
7c00d84ab1
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 11s
826a481f46
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 23s
7e5ee2f805
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 22s
7ce881484e
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 16s
3f4c594e53
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 21s
244d40153d
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 19s
8ea6ab74f9
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 17s
6748e6aa40
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
36bf519559
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 14s
08271aeb5f
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 15s
3192a557da
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
fix(i18n): rename COM_MOKOJOOMSTORELOCATOR stem to COM_MOKOSUITESTORELOCATOR + add _SHORT (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 11s
74cabacea1
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
feat(menu): use COM_MOKOSUITESTORELOCATOR_SHORT for admin menu label (#75)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 18s
a3645006c3
Claude-Session: https://claude.ai/code/session_01B9aZHSWbiiZykJD88pYx8R
chore(version): pre-release bump to 01.02.29-dev [skip ci]
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Failing after 1s
7df76a22b6
jmiller merged commit ec5535e1a6 into dev 2026-07-07 10:15:49 +00:00
jmiller deleted branch fix/short-menu-constant 2026-07-07 10:15:49 +00:00
Sign in to join this conversation.