From 9b222aad23149533eafc2874e14aa6696efe3f2f Mon Sep 17 00:00:00 2001 From: melvinchia3636 Date: Wed, 28 Jan 2026 12:26:06 +0800 Subject: [PATCH] feat: add English localization for the module manager and update .gitignore to track only English locale files. --- .gitignore | 2 +- locales/en/moduleManager.json | 77 +++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 locales/en/moduleManager.json diff --git a/.gitignore b/.gitignore index 02d5468bd..8a48d486a 100644 --- a/.gitignore +++ b/.gitignore @@ -56,5 +56,5 @@ keys # user-generated files apps -locales +locales/* !locales/en \ No newline at end of file diff --git a/locales/en/moduleManager.json b/locales/en/moduleManager.json new file mode 100644 index 000000000..93be0c660 --- /dev/null +++ b/locales/en/moduleManager.json @@ -0,0 +1,77 @@ +{ + "title": "Module Manager", + "description": "UI-based module manager for your LifeForge instance", + "category": "Category", + "subsections": { + "modules": "Modules", + "categories": "Categories" + }, + "buttons": { + "uninstall": "Uninstall", + "addTranslation": "Add Translation" + }, + "subsectionTitleAndDesc": { + "modules": { + "title": "Modules", + "description": "Install, update, and remove modules from your LifeForge instance" + }, + "categories": { + "title": "Categories", + "description": "Organize and reorder sidebar categories to customize your navigation" + } + }, + "items": { + "category": "Category" + }, + "inputs": { + "categoryKey": "Category Key", + "translationKey": "Translation Key" + }, + "empty": { + "category": { + "title": "No categories found", + "description": "Create a category to get started" + }, + "modules": { + "title": "No modules installed", + "description": "Install modules from the registry to extend your LifeForge" + } + }, + "modals": { + "category": { + "create": "Create Category", + "update": "Update Category" + }, + "uninstall": { + "title": "Uninstall {{module}}?", + "description": "This module will be removed from your system but your data will be preserved. You can reinstall it anytime from the registry." + }, + "devMode": { + "enable": { + "title": "Enable Dev Mode", + "description": "Enabling dev mode will load this module directly from source instead of pre-built bundles. Changes to the module's codebase will hot-reload instantly without requiring a rebuild.\n\nUse this when actively developing or customizing this module." + }, + "disable": { + "title": "Disable Dev Mode", + "description": "Disabling dev mode will switch back to loading from pre-built bundles. Make sure you have rebuilt the module to include your latest changes." + } + }, + "translationKey": { + "create": "Create Translation Key", + "update": "Update Translation Key" + } + }, + "devMode": { + "label": "Dev Mode", + "enable": "Enable Dev Mode", + "disable": "Disable Dev Mode", + "enabled": "{{module}} is now in dev mode", + "disabled": "{{module}} is no longer in dev mode" + }, + "notBuilt": { + "label": "Not Built" + }, + "misc": { + "translations": "Translations" + } +} \ No newline at end of file