diff --git a/src/i18n/generated/global-v2.json b/src/i18n/generated/global-v2.json index 26514862..e6503b43 100644 --- a/src/i18n/generated/global-v2.json +++ b/src/i18n/generated/global-v2.json @@ -4582,7 +4582,7 @@ "overview": "Overview", "modules": "Modules", "branding": "Profile & Branding", - "gateways": "@:words.generated.gateways", + "gateways": "@.capitalize:{'words.generated.gateways'}", "stripe": "@:words.generated.stripe", "pricing": "Pricing", "categories": "Categories" diff --git a/src/i18n/source/global/shared/superuser_dashboard/index.json b/src/i18n/source/global/shared/superuser_dashboard/index.json index 8a2c9cbf..5b82ab44 100644 --- a/src/i18n/source/global/shared/superuser_dashboard/index.json +++ b/src/i18n/source/global/shared/superuser_dashboard/index.json @@ -44,7 +44,7 @@ "overview": "Overview", "modules": "Modules", "branding": "Profile & Branding", - "gateways": "@:words.generated.gateways", + "gateways": "@.capitalize:{'words.generated.gateways'}", "stripe": "@:words.generated.stripe", "pricing": "Pricing", "categories": "Categories" diff --git a/tests/e2e/i18n.views.spec.ts b/tests/e2e/i18n.views.spec.ts index 94f6967e..b4f10b15 100644 --- a/tests/e2e/i18n.views.spec.ts +++ b/tests/e2e/i18n.views.spec.ts @@ -6,7 +6,12 @@ import { scanViewTranslationKeys, type ViewTranslationKeyUsage } from "./support const ACTIVE_LOCALES = ["da", "en", "sv", "de", "no"] as const; const GENERATED_LOCALES_DIRECTORY = path.join(process.cwd(), "src", "i18n", "generated"); const REVIEWED_NON_LITERAL_CALLS = new Set([ + "src/views/backoffice/LimitedBackofficeEmployees.vue|t|return `${option.flag} +${option.value} ${t(`templates.limited_backoffice.employees.country_codes.${option.labelKey}`)}`;", "src/views/dashboards/superUserDashboard/InvoicingBillingPeriod/components/InvoicingPeriodFlagList.vue|t|const translated = t(key, params);", + "src/views/dashboards/superUserDashboard/roles/SuperUserRolesPermissions.vue|t|label: t(`roles.permissions.page_access.${permission}.label`),", + "src/views/dashboards/superUserDashboard/roles/SuperUserRolesPermissions.vue|t|description: t(`roles.permissions.page_access.${permission}.description`),", + "src/views/dashboards/superUserDashboard/roles/SuperUserRolesPermissions.vue|t|label: t(`roles.permissions.groups.${group.key}.label`),", + "src/views/dashboards/superUserDashboard/roles/SuperUserRolesPermissions.vue|t|description: t(`roles.permissions.groups.${group.key}.description`),", 'src/views/dashboards/superUserDashboard/system/ReplicationManagement.vue|t|return t(`replication.status.${status || "unknown"}`);', "src/views/dashboards/superUserDashboard/system/ReplicationManagement.vue|te|if (key && te(key)) {", "src/views/dashboards/superUserDashboard/system/ReplicationManagement.vue|t|return t(key, params);",