feat: localizations

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-07-07 16:56:58 -04:00
parent 6931dc9ff7
commit 0cc255a087
27 changed files with 728 additions and 28 deletions
+5
View File
@@ -65,6 +65,11 @@ export const useIntegrationStore = defineStore('integrationStore', {
// Remove 'type' field as it's only used for module-side disambiguation
delete prefixed.type;
// Prefix localization keys with the module namespace
if (entry.l10n) {
prefixed.l10n = `${moduleHandle}.${entry.l10n}`;
}
// Prefix internal paths
if (entry.path) {
prefixed.to = `/m/${moduleHandle}${entry.path}`;