+ Update translations for params/sysParams.vue module.

+ Update translations for autoCode/index.vue module.
+ Update translations for exportTemplate/exportTemplate.vue module.
This commit is contained in:
Mohamed Hassan 2024-12-23 14:16:23 +02:00
parent cad98da84c
commit ae4dcf2fb6
7 changed files with 36 additions and 24 deletions

View File

@ -920,7 +920,10 @@
"note5": "ملاحظة: إضافة created_by، updated_by، deleted_by تلقائيًا إلى الهيكل، مما يسهل على المستخدمين التحكم في أذونات الموارد", "note5": "ملاحظة: إضافة created_by، updated_by، deleted_by تلقائيًا إلى الهيكل، مما يسهل على المستخدمين التحكم في أذونات الموارد",
"createResourceIdentifier": "إنشاء معرف الموارد", "createResourceIdentifier": "إنشاء معرف الموارد",
"note6": "ملاحظة: استخدام القالب الأساسي لن يولد أي هيكل وCURD، فقط تكوين enter والسمات الأخرى لتسهيل تطوير المنطق غير CURD", "note6": "ملاحظة: استخدام القالب الأساسي لن يولد أي هيكل وCURD، فقط تكوين enter والسمات الأخرى لتسهيل تطوير المنطق غير CURD",
"basicTemplate": "قالب أساسي" "basicTemplate": "قالب أساسي",
"parentIdNote": "ملاحظة: سيتم إنشاء المعرف الاساسي تلقائيًا لربط العلاقة بين الاساس و الفرع ويتم دعم المفتاح الأساسي فقط كنوع int.",
"treeStructure": "هيكل الشجرة",
"frontendJsonAttr": "عرض سمات json للواجهة الأمامية"
}, },
"addField": "إضافة حقل", "addField": "إضافة حقل",
"primaryKey": "المفتاح الأساسي", "primaryKey": "المفتاح الأساسي",

View File

@ -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", "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", "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", "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", "addField": "Add Field",
"primaryKey": "Primary Key", "primaryKey": "Primary Key",

View File

@ -757,7 +757,10 @@
"note5": "注:会自动在结构体添加 created_by updated_by deleted_by方便用户进行资源权限控制", "note5": "注:会自动在结构体添加 created_by updated_by deleted_by方便用户进行资源权限控制",
"createResourceIdentifier": "创建资源标识", "createResourceIdentifier": "创建资源标识",
"note6": "注使用基础模板将不会生成任何结构体和CURD,仅仅配置enter等属性方便自行开发非CURD逻辑", "note6": "注使用基础模板将不会生成任何结构体和CURD,仅仅配置enter等属性方便自行开发非CURD逻辑",
"basicTemplate": "基础模板" "basicTemplate": "基础模板",
"parentIdNote": "註會自動建立parentID來進行父子關係關聯,僅支援主鍵為int類型",
"treeStructure": "樹型結構",
"frontendJsonAttr": "前端展示json屬性"
}, },
"addField": "新增字段", "addField": "新增字段",
"primaryKey": "主键", "primaryKey": "主键",

View File

@ -908,7 +908,10 @@
"note5": "注:会自动在结构体添加 created_by updated_by deleted_by方便用户进行资源权限控制", "note5": "注:会自动在结构体添加 created_by updated_by deleted_by方便用户进行资源权限控制",
"createResourceIdentifier": "创建资源标识", "createResourceIdentifier": "创建资源标识",
"note6": "注使用基础模板将不会生成任何结构体和CURD,仅仅配置enter等属性方便自行开发非CURD逻辑", "note6": "注使用基础模板将不会生成任何结构体和CURD,仅仅配置enter等属性方便自行开发非CURD逻辑",
"basicTemplate": "基础模板" "basicTemplate": "基础模板",
"parentIdNote": "注会自动创建parentID来进行父子关系关联,仅支持主键为int类型",
"treeStructure": "树型结构",
"frontendJsonAttr": "前端展示json属性"
}, },
"addField": "新增字段", "addField": "新增字段",
"primaryKey": "主键", "primaryKey": "主键",

View File

@ -113,15 +113,15 @@
align="left" align="left"
:label="t('view.superAdmin.params.paramName')" :label="t('view.superAdmin.params.paramName')"
prop="name" prop="name"
width="120" width="160"
/> />
<el-table-column align="left" :label="t('view.superAdmin.params.paramKey')" prop="key" width="120" /> <el-table-column align="left" :label="t('view.superAdmin.params.paramKey')" prop="key" width="160" />
<el-table-column align="left" :label="t('view.superAdmin.params.paramValue')" prop="value" width="120" /> <el-table-column align="left" :label="t('view.superAdmin.params.paramValue')" prop="value" width="160" />
<el-table-column <el-table-column
align="left" align="left"
:label="t('view.superAdmin.params.paramDesc')" :label="t('view.superAdmin.params.paramDesc')"
prop="desc" prop="desc"
width="120" width="200"
/> />
<el-table-column <el-table-column
align="left" align="left"

View File

@ -26,16 +26,16 @@
@blur="handleBlur" @blur="handleBlur"
/> />
<div class="flex absolute right-28 bottom-2"> <div class="flex absolute bottom-2" style="right:9rem !important;">
<el-tooltip effect="light"> <el-tooltip effect="light">
<template #content> <template #content>
<div> <div>
完全免费前往<a {{ t('view.systemTools.autoCode.aiNote1') }}<a
class="text-blue-600" class="text-blue-600"
href="https://plugin.gin-vue-admin.com/#/layout/userInfo/center" href="https://plugin.gin-vue-admin.com/#/layout/userInfo/center"
target="_blank" target="_blank"
>插件市场个人中心</a >{{ t('view.systemTools.autoCode.aiNote2') }}</a
>申请AIPath填入config.yaml的ai-path属性即可使用 >{{ t('view.systemTools.autoCode.aiNote3') }}
</div> </div>
</template> </template>
<el-button <el-button
@ -46,7 +46,7 @@
<el-icon size="18"> <el-icon size="18">
<ai-gva /> <ai-gva />
</el-icon> </el-icon>
识图 {{ t('view.systemTools.autoCode.imageRecognition') }}
</el-button> </el-button>
</el-tooltip> </el-tooltip>
</div> </div>
@ -547,18 +547,18 @@
<el-form-item> <el-form-item>
<template #label> <template #label>
<el-tooltip <el-tooltip
content="注会自动创建parentID来进行父子关系关联,仅支持主键为int类型" :content="t('view.systemTools.autoCode.groupInfos.parentIdNote')"
placement="bottom" placement="bottom"
effect="light" effect="light"
> >
<div> <div>
树型结构 <el-icon><QuestionFilled /></el-icon> {{ t('view.systemTools.autoCode.groupInfos.treeStructure') }} <el-icon><QuestionFilled /></el-icon>
</div> </div>
</el-tooltip> </el-tooltip>
</template> </template>
<div class="flex gap-2 items-center"> <div class="flex gap-2 items-center">
<el-checkbox v-model="form.isTree" /> <el-checkbox v-model="form.isTree" />
<el-input v-model="form.treeJson" :disabled="!form.isTree" placeholder="前端展示json属性"></el-input> <el-input v-model="form.treeJson" :disabled="!form.isTree" :placeholder="t('view.systemTools.autoCode.groupInfos.frontendJsonAttr')"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -758,7 +758,7 @@
align="left" align="left"
:label="t('view.systemTools.autoCode.fieldLen')" :label="t('view.systemTools.autoCode.fieldLen')"
prop="dataTypeLong" prop="dataTypeLong"
width="160" width="180"
> >
<template #default="{ row }"> <template #default="{ row }">
<el-input :disabled="row.disabled" v-model="row.dataTypeLong" /> <el-input :disabled="row.disabled" v-model="row.dataTypeLong" />
@ -1047,11 +1047,11 @@
if (form.value.fields.length > 0) { if (form.value.fields.length > 0) {
const res = await ElMessageBox.confirm( const res = await ElMessageBox.confirm(
'AI生成会清空当前数据是否继续?', t('view.systemTools.autoCode.aiClearDataNote'),
'提示', t('general.hint'),
{ {
confirmButtonText: '确定', confirmButtonText: t('general.confirm'),
cancelButtonText: '取消', cancelButtonText: t('general.cancel'),
type: 'warning' type: 'warning'
} }
) )
@ -1408,7 +1408,7 @@
if (form.value.isTree && !form.value.treeJson){ if (form.value.isTree && !form.value.treeJson){
ElMessage({ ElMessage({
type: 'error', type: 'error',
message: '请填写树型结构的前端展示json属性' message: t('view.systemTools.autoCode.fillJsonDataNote')
}) })
return false return false
} }
@ -1449,7 +1449,7 @@
) { ) {
ElMessage({ ElMessage({
type: 'error', type: 'error',
message: '存在与模板同名的的字段JSON' message: t('view.systemTools.autoCode.errJsonFieldNameAsTemplate')
}) })
return false return false
} }

View File

@ -160,7 +160,7 @@
icon="documentCopy" icon="documentCopy"
class="table-button" class="table-button"
@click="copyFunc(scope.row)" @click="copyFunc(scope.row)"
>复制</el-button >{{ t('view.systemTools.autoCode.copy') }}</el-button
> >
<el-button <el-button
type="primary" type="primary"