Skip to content

Commit

Permalink
+ Updated translations.
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedHassanNasr committed Jan 14, 2025
1 parent ae4dcf2 commit 606af1a
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 14 deletions.
1 change: 1 addition & 0 deletions web/src/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
},
"user": {
"loggingIn": "جارٍ تسجيل الدخول، يرجى الانتظار...",
"loginFailed": "فشل تسجيل الدخول",
"connectAdmin": "يرجى الاتصال بالمسؤول للحصول على إذن"
}
}
Expand Down
1 change: 1 addition & 0 deletions web/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@
},
"user": {
"loggingIn": "Logging in, please wait...",
"loginFailed": "Login Failed",
"connectAdmin": "Please contact the administrator for authorization"
}
}
Expand Down
1 change: 1 addition & 0 deletions web/src/locales/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,7 @@
},
"user": {
"loggingIn": "登錄中,請稍候...",
"loginFailed": "登入失敗",
"connectAdmin": "請聯繫管理員進行授權"
}
}
Expand Down
1 change: 1 addition & 0 deletions web/src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@
},
"user": {
"loggingIn": "登录中,请稍候...",
"loginFailed": "登录失败",
"connectAdmin": "请联系管理员进行授权"
}
}
Expand Down
2 changes: 1 addition & 1 deletion web/src/pinia/modules/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const useUserStore = defineStore('user', () => {
const res = await login(loginInfo)

if (res.code !== 0) {
ElMessage.error(res.message || '登录失败')
ElMessage.error(res.message || i18n.global.t('pinia.modules.user.loginFailed'))
return false
}
// 登陆成功,设置用户信息和权限相关信息
Expand Down
2 changes: 1 addition & 1 deletion web/src/view/superAdmin/api/api.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
</template>
</el-table-column>

<el-table-column align="left" fixed="right" :label="t('general.operations')" :min-width="appStore.operateMinWith">
<el-table-column align="left" fixed="right" :label="t('general.operations')" :min-width="appStore.operateMinWith" width="180px">
<template #default="scope">
<el-button
icon="edit"
Expand Down
4 changes: 2 additions & 2 deletions web/src/view/superAdmin/authority/authority.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
/>
<el-table-column
align="left"
:lable="t('general.operations')"
width="460"
:label="t('general.operations')"
width="440"
>
<template #default="scope">
<el-button
Expand Down
2 changes: 1 addition & 1 deletion web/src/view/superAdmin/dictionary/sysDictionaryDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
width="120"
/>

<el-table-column align="left" :label="t('general.operations')" :min-width="appStore.operateMinWith">
<el-table-column align="left" :label="t('general.operations')" :min-width="appStore.operateMinWith" width="200px">
<template #default="scope">
<el-button
type="primary"
Expand Down
2 changes: 1 addition & 1 deletion web/src/view/superAdmin/menu/menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
min-width="360"
prop="component"
/>
<el-table-column align="left" fixed="right" :label="t('general.operations')" :min-width="appStore.operateMinWith">
<el-table-column align="left" fixed="right" :label="t('general.operations')" :min-width="appStore.operateMinWith" width="280px">
<template #default="scope">
<el-button
type="primary"
Expand Down
6 changes: 3 additions & 3 deletions web/src/view/superAdmin/operation/sysOperationRecord.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
align="left"
:label="t('general.request')"
prop="path"
width="100"
width="200"
>
<template #default="scope">
<div>
Expand All @@ -127,7 +127,7 @@
align="left"
:label="t('view.operation.sysOperationRecord.response')"
prop="path"
width="100"
width="200"
>
<template #default="scope">
<div>
Expand Down Expand Up @@ -160,7 +160,7 @@
}}</template>
</el-table-column>

<el-table-column align="left" :label="t('general.operations')">
<el-table-column align="left" :label="t('general.operations')" fixed="right">
<template #default="scope">
<el-button
icon="delete"
Expand Down
6 changes: 3 additions & 3 deletions web/src/view/superAdmin/params/sysParams.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@
align="left"
:label="t('view.superAdmin.params.paramName')"
prop="name"
width="160"
width="200"
/>
<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="160" />
<el-table-column align="left" :label="t('view.superAdmin.params.paramKey')" prop="key" width="200" />
<el-table-column align="left" :label="t('view.superAdmin.params.paramValue')" prop="value" width="200" />
<el-table-column
align="left"
:label="t('view.superAdmin.params.paramDesc')"
Expand Down
2 changes: 1 addition & 1 deletion web/src/view/superAdmin/user/user.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
</template>
</el-table-column>

<el-table-column :label="t('general.operations')" :min-width="appStore.operateMinWith" fixed="right">
<el-table-column :label="t('general.operations')" :min-width="appStore.operateMinWith" align="left" fixed="right" width="300px">
<template #default="scope">
<el-button
type="primary"
Expand Down
2 changes: 1 addition & 1 deletion web/src/view/systemTools/autoCodeAdmin/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</el-table-column>
<el-table-column
align="left"
:lable="t('general.operations')"
:label="t('general.operations')"
min-width="240"
>
<template #default="scope">
Expand Down

0 comments on commit 606af1a

Please sign in to comment.