From ae4dcf2fb6f1ab8ecd72dfb5ab3781f329743b49 Mon Sep 17 00:00:00 2001 From: Mohamed Hassan Date: Mon, 23 Dec 2024 14:16:23 +0200 Subject: [PATCH] + Update translations for params/sysParams.vue module. + Update translations for autoCode/index.vue module. + Update translations for exportTemplate/exportTemplate.vue module. --- web/src/locales/ar.json | 5 +++- web/src/locales/en.json | 5 +++- web/src/locales/zh-TW.json | 5 +++- web/src/locales/zh.json | 5 +++- web/src/view/superAdmin/params/sysParams.vue | 8 ++--- web/src/view/systemTools/autoCode/index.vue | 30 +++++++++---------- .../exportTemplate/exportTemplate.vue | 2 +- 7 files changed, 36 insertions(+), 24 deletions(-) diff --git a/web/src/locales/ar.json b/web/src/locales/ar.json index e23ee5b71..1fe1c4f2b 100644 --- a/web/src/locales/ar.json +++ b/web/src/locales/ar.json @@ -920,7 +920,10 @@ "note5": "ملاحظة: إضافة created_by، updated_by، deleted_by تلقائيًا إلى الهيكل، مما يسهل على المستخدمين التحكم في أذونات الموارد", "createResourceIdentifier": "إنشاء معرف الموارد", "note6": "ملاحظة: استخدام القالب الأساسي لن يولد أي هيكل وCURD، فقط تكوين enter والسمات الأخرى لتسهيل تطوير المنطق غير CURD", - "basicTemplate": "قالب أساسي" + "basicTemplate": "قالب أساسي", + "parentIdNote": "ملاحظة: سيتم إنشاء المعرف الاساسي تلقائيًا لربط العلاقة بين الاساس و الفرع ويتم دعم المفتاح الأساسي فقط كنوع int.", + "treeStructure": "هيكل الشجرة", + "frontendJsonAttr": "عرض سمات json للواجهة الأمامية" }, "addField": "إضافة حقل", "primaryKey": "المفتاح الأساسي", diff --git a/web/src/locales/en.json b/web/src/locales/en.json index c5933eda8..a2250d22f 100644 --- a/web/src/locales/en.json +++ b/web/src/locales/en.json @@ -923,7 +923,10 @@ "note5": "Note: Automatically add created_by, updated_by, deleted_by to the struct, making it easier for users to control resource permissions", "createResourceIdentifier": "Resource Identifier", "note6": "Note: Using the basic template will not generate any struct and CURD, only configure enter and other attributes to facilitate the development of non-CURD logic", - "basicTemplate": "Basic Template" + "basicTemplate": "Basic Template", + "parentIdNote": "Note: ParentID will be automatically created to associate the parent-child relationship. Only int type is supported for the primary key", + "treeStructure": "Tree structure", + "frontendJsonAttr": "Front-end display json attributes" }, "addField": "Add Field", "primaryKey": "Primary Key", diff --git a/web/src/locales/zh-TW.json b/web/src/locales/zh-TW.json index 9a9d6dd39..6ab6b6a3b 100644 --- a/web/src/locales/zh-TW.json +++ b/web/src/locales/zh-TW.json @@ -757,7 +757,10 @@ "note5": "注:会自动在结构体添加 created_by updated_by deleted_by,方便用户进行资源权限控制", "createResourceIdentifier": "创建资源标识", "note6": "注:使用基础模板将不会生成任何结构体和CURD,仅仅配置enter等属性方便自行开发非CURD逻辑", - "basicTemplate": "基础模板" + "basicTemplate": "基础模板", + "parentIdNote": "註:會自動建立parentID來進行父子關係關聯,僅支援主鍵為int類型", + "treeStructure": "樹型結構", + "frontendJsonAttr": "前端展示json屬性" }, "addField": "新增字段", "primaryKey": "主键", diff --git a/web/src/locales/zh.json b/web/src/locales/zh.json index 86e33e95f..ceac20433 100644 --- a/web/src/locales/zh.json +++ b/web/src/locales/zh.json @@ -908,7 +908,10 @@ "note5": "注:会自动在结构体添加 created_by updated_by deleted_by,方便用户进行资源权限控制", "createResourceIdentifier": "创建资源标识", "note6": "注:使用基础模板将不会生成任何结构体和CURD,仅仅配置enter等属性方便自行开发非CURD逻辑", - "basicTemplate": "基础模板" + "basicTemplate": "基础模板", + "parentIdNote": "注:会自动创建parentID来进行父子关系关联,仅支持主键为int类型", + "treeStructure": "树型结构", + "frontendJsonAttr": "前端展示json属性" }, "addField": "新增字段", "primaryKey": "主键", diff --git a/web/src/view/superAdmin/params/sysParams.vue b/web/src/view/superAdmin/params/sysParams.vue index ac784f10c..58799727c 100644 --- a/web/src/view/superAdmin/params/sysParams.vue +++ b/web/src/view/superAdmin/params/sysParams.vue @@ -113,15 +113,15 @@ align="left" :label="t('view.superAdmin.params.paramName')" prop="name" - width="120" + width="160" /> - - + + -
+
- 识图 + {{ t('view.systemTools.autoCode.imageRecognition') }}
@@ -547,18 +547,18 @@
- +
@@ -758,7 +758,7 @@ align="left" :label="t('view.systemTools.autoCode.fieldLen')" prop="dataTypeLong" - width="160" + width="180" >