From 5990e000bc600a4d9200e0fa551028664d08bd9d Mon Sep 17 00:00:00 2001
From: R2m1liA <15258427350@163.com>
Date: Tue, 4 Nov 2025 14:07:02 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BA=A7=E5=93=81=E9=80=89=E6=8B=A9?=
=?UTF-8?q?=E5=99=A8=E7=9A=84i18n=E9=80=82=E9=85=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/components/shared/ProductFilter.vue | 32 +++++++++++++++----------
i18n/locales/en.json | 9 +++++++
i18n/locales/zh.json | 8 +++++++
3 files changed, 37 insertions(+), 12 deletions(-)
diff --git a/app/components/shared/ProductFilter.vue b/app/components/shared/ProductFilter.vue
index 664e1ff..dc09d52 100644
--- a/app/components/shared/ProductFilter.vue
+++ b/app/components/shared/ProductFilter.vue
@@ -2,10 +2,12 @@
- 产品分类
+ {{
+ $t('product-filter.product-type')
+ }}
- 产品系列
+ {{
+ $t('product-filter.product-model')
+ }}
- 关键词
+ {{ $t('product-filter.keyword') }}
@@ -45,10 +49,12 @@
- 产品分类
+ {{
+ $t('product-filter.product-type')
+ }}
- 产品系列
+ {{
+ $t('product-filter.product-model')
+ }}
- 关键词
+ {{ $t('product-filter.keyword') }}
diff --git a/i18n/locales/en.json b/i18n/locales/en.json
index 6a82c91..7f5a042 100644
--- a/i18n/locales/en.json
+++ b/i18n/locales/en.json
@@ -69,5 +69,14 @@
"faq": "We have compiled answers to frequently asked questions to help you quickly resolve any concerns.",
"documents": "We provide product manuals, technical specifications, and other documentation for easy reference.",
"contact-info": "Contact us by phone or email, and we will provide on-site support for you."
+ },
+
+ "product-filter": {
+ "product-type": "Product type",
+ "product-model": "Product model",
+ "keyword": "Keyword",
+ "select-product-type": "Select product type",
+ "select-product-model": "Select product model",
+ "enter-keyword": "Enter keyword"
}
}
diff --git a/i18n/locales/zh.json b/i18n/locales/zh.json
index 20e25b7..b454b52 100644
--- a/i18n/locales/zh.json
+++ b/i18n/locales/zh.json
@@ -69,5 +69,13 @@
"faq": "我们为用户整理了常见问题的答案,帮助您快速解决疑惑。",
"documents": "提供产品手册、技术规格等文档资料,方便用户查阅。",
"contact-info": "通过电话、邮箱联系我们,我们将现场为您服务。"
+ },
+ "product-filter": {
+ "product-type": "产品类型",
+ "product-model": "产品系列",
+ "keyword": "关键词",
+ "select-product-type": "选择产品类型",
+ "select-product-model": "选择产品系列",
+ "enter-keyword": "输入关键词"
}
}