Skip to content

Commit

Permalink
fix: 🐛 补充多语种文件 (#147)
Browse files Browse the repository at this point in the history
Co-authored-by: tk <fiyne1a@dingtalk.com>
  • Loading branch information
nsnail and tk committed Jun 18, 2024
1 parent 1442e0a commit d00f0d2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/frontend/admin/src/components/scFileSelect/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
</div>
<div class="sc-file-select__do">
<slot name="do"></slot>
<el-button :disabled="value.length <= 0" @click="submit" type="primary">{{ $t('确 定') }}</el-button>
<el-button :disabled="value.length <= 0" @click="submit" type="primary">{{ $t('确定') }}</el-button>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/admin/src/components/scUpload/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<sc-cropper :aspectRatio="aspectRatio" :compress="compress" :src="cropperFile.tempCropperFile" ref="cropper"></sc-cropper>
<template #footer>
<el-button @click="cropperDialogVisible = false">{{ $t('取消') }}</el-button>
<el-button @click="cropperSave" type="primary">{{ $t('确 定') }}</el-button>
<el-button @click="cropperSave" type="primary">{{ $t('确定') }}</el-button>
</template>
</el-dialog>
</div>
Expand Down
7 changes: 7 additions & 0 deletions src/frontend/admin/src/locales/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,4 +441,11 @@ export default {
周五: 'Friday',
周六: 'Saturday',
JSON格式化: 'JSON formatting',
确定: 'Confirm',
无权限或找不到页面: 'No permission or page not found',
'当前页面无权限访问或者打开了一个不存在的链接,请检查当前账户权限和链接的可访问性。':
'The current page does not have permission to access or an invalid link is opened, please check the current account permission and the link accessibility.',
返回首页: 'Return to homepage',
重新登录: 'Re-login',
返回上一页: 'Return to previous page',
}
7 changes: 7 additions & 0 deletions src/frontend/admin/src/locales/lang/zh-cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,4 +440,11 @@ export default {
周五: '周五',
周六: '周六',
JSON格式化: 'JSON格式化',
确定: '确定',
无权限或找不到页面: '无权限或找不到页面',
'当前页面无权限访问或者打开了一个不存在的链接,请检查当前账户权限和链接的可访问性。':
'当前页面无权限访问或者打开了一个不存在的链接,请检查当前账户权限和链接的可访问性。',
返回首页: '返回首页',
重新登录: '重新登录',
返回上一页: '返回上一页',
}

0 comments on commit d00f0d2

Please sign in to comment.