refactor: rename plugin from MokoWaaSBrand to MokoWaaS

Drop the "Brand" suffix from all naming conventions:
- PascalCase: MokoWaaSBrand → MokoWaaS
- lowercase: mokowaasbrand → mokowaas
- Display: MokoWaaS-Brand → MokoWaaS
- Language keys: PLG_SYSTEM_MOKOWAASBRAND → PLG_SYSTEM_MOKOWAAS

Renames 6 files and updates 28 files across PHP, XML, INI,
Markdown, YAML, and shell scripts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 13:19:16 -05:00
parent 1dbe92cf03
commit 56f26ca8cf
37 changed files with 247 additions and 555 deletions
+8 -8
View File
@@ -14,11 +14,11 @@
*
* FILE INFORMATION
* DEFGROUP: Joomla.Plugin
* INGROUP: MokoWaaSBrand
* REPO: https://github.com/mokoconsulting-tech/mokowaasbrand
* INGROUP: MokoWaaS
* REPO: https://github.com/mokoconsulting-tech/mokowaas
* VERSION: 01.06.00
* PATH: /src/script.php
* BRIEF: Installation script for MokoWaaSBrand plugin
* BRIEF: Installation script for MokoWaaS plugin
* NOTE: Handles installation, update, and uninstallation tasks including language override deployment
*/
@@ -33,14 +33,14 @@ use Joomla\Filesystem\File;
use Joomla\Filesystem\Folder;
/**
* Installation script for MokoWaaSBrand plugin
* Installation script for MokoWaaS plugin
*
* This script handles the installation and uninstallation of language override files
* to Joomla's global language override directories.
*
* @since 01.06.00
*/
class plgSystemMokoWaaSBrandInstallerScript implements InstallerScriptInterface
class plgSystemMokoWaaSInstallerScript implements InstallerScriptInterface
{
/**
* Minimum Joomla version required to install the extension.
@@ -180,7 +180,7 @@ class plgSystemMokoWaaSBrandInstallerScript implements InstallerScriptInterface
private function installLanguageOverrides()
{
$app = Factory::getApplication();
$pluginPath = JPATH_PLUGINS . '/system/mokowaasbrand';
$pluginPath = JPATH_PLUGINS . '/system/mokowaas';
// Install frontend overrides
foreach ($this->languageTags as $tag)
@@ -288,7 +288,7 @@ class plgSystemMokoWaaSBrandInstallerScript implements InstallerScriptInterface
private function uninstallLanguageOverrides()
{
$app = Factory::getApplication();
$pluginPath = JPATH_PLUGINS . '/system/mokowaasbrand';
$pluginPath = JPATH_PLUGINS . '/system/mokowaas';
// Remove frontend overrides
foreach ($this->languageTags as $tag)
@@ -426,7 +426,7 @@ class plgSystemMokoWaaSBrandInstallerScript implements InstallerScriptInterface
}
$content = "; MokoWaaS Language Overrides\n";
$content .= "; Generated by MokoWaaSBrand Plugin\n";
$content .= "; Generated by MokoWaaS Plugin\n";
$content .= "; Last updated: " . date('Y-m-d H:i:s') . "\n\n";
foreach ($strings as $key => $value)