diff --git a/dashboard/src/components/NavigationItems.vue b/dashboard/src/components/NavigationItems.vue index 6dd7098..778e135 100644 --- a/dashboard/src/components/NavigationItems.vue +++ b/dashboard/src/components/NavigationItems.vue @@ -195,7 +195,7 @@ export default { disabled: enforce2FA, }, { - name: '设置', + name: this.$t('Settings'), icon: () => h(Settings), route: '/settings', isActive: routeName.startsWith('Settings'), diff --git a/dashboard/src/components/settings/DeveloperSettings.vue b/dashboard/src/components/settings/DeveloperSettings.vue index 71d8aef..1ce66f5 100644 --- a/dashboard/src/components/settings/DeveloperSettings.vue +++ b/dashboard/src/components/settings/DeveloperSettings.vue @@ -5,11 +5,11 @@ class="mx-auto min-w-[48rem] max-w-3xl space-y-6 rounded-md border p-4" >
-
API 访问
+
{{ $t('API Access') }}
@@ -19,18 +19,18 @@ />
- 您还没有 API 密钥。点击上面的按钮创建一个。 + {{ $t("You don't have an API key yet. Click the button above to create one.") }}

- 请立即复制 API 密钥。您将无法再次查看它! + {{ $t('Please copy the API key immediately. You will not be able to view it again!') }}