diff --git a/apps/desktop-ui/src/views/MetricsConsentView.vue b/apps/desktop-ui/src/views/MetricsConsentView.vue index de08e357a..11bb10aec 100644 --- a/apps/desktop-ui/src/views/MetricsConsentView.vue +++ b/apps/desktop-ui/src/views/MetricsConsentView.vue @@ -71,8 +71,8 @@ const updateConsent = async () => { } catch (error) { toast.add({ severity: 'error', - summary: t('install.errorUpdatingConsent'), - detail: t('install.errorUpdatingConsentDetail'), + summary: t('install.settings.errorUpdatingConsent'), + detail: t('install.settings.errorUpdatingConsentDetail'), life: 3000 }) } finally { diff --git a/eslint.config.ts b/eslint.config.ts index 6681d2126..84fda7979 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -33,7 +33,18 @@ const settings = { ], noWarnOnMultipleProjects: true }) - ] + ], + 'vue-i18n': { + localeDir: [ + { + pattern: './src/locales/**/*.json', + localeKey: 'path', + localePattern: + /^\.?\/?src\/locales\/(?[A-Za-z0-9-]+)\/.+\.json$/ + } + ], + messageSyntaxVersion: '^9.0.0' + } } as const const commonParserOptions = { diff --git a/src/components/graph/selectionToolbox/BypassButton.vue b/src/components/graph/selectionToolbox/BypassButton.vue index 00c4fbe39..05632d0e9 100644 --- a/src/components/graph/selectionToolbox/BypassButton.vue +++ b/src/components/graph/selectionToolbox/BypassButton.vue @@ -1,7 +1,7 @@