feat: localizations
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user