diff --git a/front/components/Field/InputGroupField.vue b/front/components/Field/InputGroupField.vue index 7be8fb2..8cb24c8 100644 --- a/front/components/Field/InputGroupField.vue +++ b/front/components/Field/InputGroupField.vue @@ -6,6 +6,7 @@ const props = defineProps<{ label?: string rules?: RuleExpression }>() +const { t } = useI18n() const { value, setValue, errorMessage } = useField(props.name, props?.rules) @@ -30,7 +31,7 @@ const { value, setValue, errorMessage } = useField(props.name, props?. diff --git a/front/components/Field/KvInputGroupField.vue b/front/components/Field/KvInputGroupField.vue index 9323ec9..bbfebf3 100644 --- a/front/components/Field/KvInputGroupField.vue +++ b/front/components/Field/KvInputGroupField.vue @@ -31,6 +31,7 @@ const props = defineProps<{ config?: KvInputConfig }>() +const { t } = useI18n() const config = computed(() => { return { key: { ...defaultConfig.key, ...(props.config?.key ?? {}) }, @@ -95,7 +96,7 @@ const updateKey = (index: number, nextKey: string | number) => { diff --git a/front/components/Preprocessing/NotifyConfigField.vue b/front/components/Preprocessing/NotifyConfigField.vue index 7a48c31..be73965 100644 --- a/front/components/Preprocessing/NotifyConfigField.vue +++ b/front/components/Preprocessing/NotifyConfigField.vue @@ -170,7 +170,7 @@ const expandedAdvanced = ref>(new Set()) " > - 添加 + {{ t('common.add') }} diff --git a/front/i18n/locales/de.json b/front/i18n/locales/de.json index 38ef5cb..e4a2e79 100644 --- a/front/i18n/locales/de.json +++ b/front/i18n/locales/de.json @@ -37,6 +37,7 @@ "backToHome": "Zurück zur Startseite" }, "common": { + "add": "Hinzufügen", "copySuccess": "Erfolgreich kopiert" }, "page": { diff --git a/front/i18n/locales/en.json b/front/i18n/locales/en.json index cdccf0a..4a01670 100644 --- a/front/i18n/locales/en.json +++ b/front/i18n/locales/en.json @@ -37,6 +37,7 @@ "backToHome": "Back to Home" }, "common": { + "add": "Add", "copySuccess": "Copy Success" }, "page": { diff --git a/front/i18n/locales/fr.json b/front/i18n/locales/fr.json index c0b04d5..0acac35 100644 --- a/front/i18n/locales/fr.json +++ b/front/i18n/locales/fr.json @@ -37,6 +37,7 @@ "backToHome": "Retour à l'accueil" }, "common": { + "add": "Ajouter", "copySuccess": "Copié avec succès" }, "page": { diff --git a/front/i18n/locales/ja.json b/front/i18n/locales/ja.json index 09a1f68..3f35423 100644 --- a/front/i18n/locales/ja.json +++ b/front/i18n/locales/ja.json @@ -37,6 +37,7 @@ "backToHome": "ホームに戻る" }, "common": { + "add": "追加", "copySuccess": "コピーしました" }, "page": { diff --git a/front/i18n/locales/ko.json b/front/i18n/locales/ko.json index 8398d1f..a051fd0 100644 --- a/front/i18n/locales/ko.json +++ b/front/i18n/locales/ko.json @@ -37,6 +37,7 @@ "backToHome": "홈으로 돌아가기" }, "common": { + "add": "추가", "copySuccess": "복사되었습니다" }, "page": { diff --git a/front/i18n/locales/zh-CN.json b/front/i18n/locales/zh-CN.json index dc2e3a1..f248f85 100644 --- a/front/i18n/locales/zh-CN.json +++ b/front/i18n/locales/zh-CN.json @@ -37,6 +37,7 @@ "backToHome": "返回首页" }, "common": { + "add": "添加", "copySuccess": "复制成功" }, "page": { diff --git a/front/i18n/locales/zh-TW.json b/front/i18n/locales/zh-TW.json index b5fc0df..3559190 100644 --- a/front/i18n/locales/zh-TW.json +++ b/front/i18n/locales/zh-TW.json @@ -37,6 +37,7 @@ "backToHome": "返回首頁" }, "common": { + "add": "新增", "copySuccess": "複製成功" }, "page": {