Skip to content

Commit

Permalink
fix: 表格查询组件对繁体国际化的支持
Browse files Browse the repository at this point in the history
  • Loading branch information
fit2cloud-chenyw authored and XiaJunjie2020 committed Jun 30, 2021
1 parent ad904f4 commit 81e7d61
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
42 changes: 42 additions & 0 deletions frontend/src/lang/tw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,46 @@
export default {
fu: {
search_bar: {
search: '搜索',
adv_search: '高級搜索',
ok: '確定',
cancel: '取消',
please_select: '請選擇',
please_input: '請輸入',
like: '包含',
not_like: '不包含',
in: '屬于',
not_in: '不屬于',
gt: '大于',
ge: '大于等于',
lt: '小于',
le: '小于等于',
eq: '等于',
ne: '不等于',
between: '之間',
select_date: '選擇日期',
start_date: '開始日期',
end_date: '結束日期',
select_date_time: '選擇日期時間',
start_date_time: '開始日期時間',
end_date_time: '結束日期時間',
range_separator: '至',
data_time_error: '開始日期不能大于結束日期',
clean: '清空',
refresh: '刷新'
},
table: {
ok: '確定',
custom_table_fields: '自定義表格字段',
custom_table_fields_desc: '固定字段不在選擇範圍'
},
steps: {
cancel: '取消',
next: '下一步',
prev: '上一步',
finish: '完成'
}
},
route: {
dashboard: '首頁',
documentation: '文檔',
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/views/system/user/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ export default {
label: this.$t('commons.status'),
component: 'FuComplexSelect',
options: [
{ label: '启用', value: '1' },
{ label: '禁用', value: '0' }
{ label: this.$t('commons.enable'), value: '1' },
{ label: this.$t('commons.disable'), value: '0' }
],
multiple: false
}
Expand Down

0 comments on commit 81e7d61

Please sign in to comment.