forked from github/dataease
fix(i18n): 完善数据集国际化
This commit is contained in:
parent
b3da2200d5
commit
e5543e6b04
@ -531,7 +531,10 @@ export default {
|
||||
set_saved_successfully: 'Data set saved successfully',
|
||||
to_start_using: 'Browse the contents of your database, tables and columns. Choose a database to get started.',
|
||||
to_run_query: 'Click to run query',
|
||||
the_running_results: 'You can view the running results'
|
||||
the_running_results: 'You can view the running results',
|
||||
item: 'item',
|
||||
logic_filter: 'Condition Filter',
|
||||
enum_filter: 'Enum Filter'
|
||||
},
|
||||
detabs: {
|
||||
custom_sort: 'Custom Sort',
|
||||
@ -655,6 +658,7 @@ export default {
|
||||
input_password: 'Please input a password',
|
||||
input_phone: 'Please enter the phone number',
|
||||
input_roles: 'Please select role',
|
||||
select_users: 'Please select user',
|
||||
user_name_pattern_error: 'IDs can only contain alphanumeric and ._- and start with a letter!',
|
||||
special_characters_are_not_supported: 'Special characters are not supported',
|
||||
mobile_number_format_is_incorrect: 'Incorrect format of mobile phone number',
|
||||
@ -1722,7 +1726,17 @@ export default {
|
||||
export_dataset: 'Export',
|
||||
filename: 'Filename',
|
||||
export_filter: 'Filter',
|
||||
pls_input_filename: 'Please input filename'
|
||||
pls_input_filename: 'Please input filename',
|
||||
calc_tips: {
|
||||
tip1: 'The expression syntax should follow the database syntax corresponding to the data source.',
|
||||
tip2: 'Aggregation operation is not supported in the dataset.',
|
||||
tip3: 'The reference field starts with "[" and ends with "]"',
|
||||
tip4: 'Do not modify the reference content, otherwise the reference will fail',
|
||||
tip5: 'If you enter content in the same format as the reference field, it will be treated as a reference field',
|
||||
tip6: 'Use the functions supported by the database type corresponding to the dataset. The syntax is the same as that of the corresponding database',
|
||||
tip7: 'For example, date format: MySQL uses DATE_ FORMAT(date,format); Oracle uses TO_ DATE(X,[,fmt])',
|
||||
tip8: 'Non direct connection mode data set, use Doris database functions, refer to Doris official website'
|
||||
}
|
||||
},
|
||||
driver: {
|
||||
driver: 'Driver',
|
||||
|
@ -531,7 +531,10 @@ export default {
|
||||
set_saved_successfully: '數據集保存成功',
|
||||
to_start_using: '瀏覽您的數據庫,表和列的內容。 選擇一個數據庫即可開始使用。',
|
||||
to_run_query: '點擊運行査詢',
|
||||
the_running_results: '即可查看運行結果'
|
||||
the_running_results: '即可查看運行結果',
|
||||
item: '项',
|
||||
logic_filter: '条件筛选',
|
||||
enum_filter: '枚举筛选'
|
||||
},
|
||||
detabs: {
|
||||
custom_sort: '自定義排序',
|
||||
@ -1722,7 +1725,17 @@ export default {
|
||||
export_dataset: '數據集導出',
|
||||
filename: '文件名稱',
|
||||
export_filter: '篩選條件',
|
||||
pls_input_filename: '請輸入文件名稱'
|
||||
pls_input_filename: '請輸入文件名稱',
|
||||
calc_tips: {
|
||||
tip1: '表达式语法请遵循该数据源对应的数据库语法。',
|
||||
tip2: '数据集中不支持聚合运算。',
|
||||
tip3: '引用字段以 "[" 开始, "]" 结束',
|
||||
tip4: '请勿修改引用内容,否则将引用失败',
|
||||
tip5: '若输入与引用字段相同格式的内容,将被当作引用字段处理',
|
||||
tip6: '使用数据集对应数据库类型所支持的函数,语法同对应数据库',
|
||||
tip7: '如日期格式化:MySQL使用DATE_FORMAT(date,format);Oracle使用TO_DATE(X,[,fmt])',
|
||||
tip8: '非直连模式数据集,使用Doris数据库函数,可参考Doris官网'
|
||||
}
|
||||
},
|
||||
driver: {
|
||||
driver: '驅動',
|
||||
|
@ -530,7 +530,10 @@ export default {
|
||||
set_saved_successfully: '数据集保存成功',
|
||||
to_start_using: '浏览您的数据库,表和列的内容。 选择一个数据库即可开始使用。',
|
||||
to_run_query: '点击运行查询',
|
||||
the_running_results: '即可查看运行结果'
|
||||
the_running_results: '即可查看运行结果',
|
||||
item: '项',
|
||||
logic_filter: '条件筛选',
|
||||
enum_filter: '枚举筛选'
|
||||
},
|
||||
detabs: {
|
||||
custom_sort: '自定义排序',
|
||||
@ -1721,7 +1724,17 @@ export default {
|
||||
export_dataset: '数据集导出',
|
||||
filename: '文件名称',
|
||||
export_filter: '筛选条件',
|
||||
pls_input_filename: '请输入文件名称'
|
||||
pls_input_filename: '请输入文件名称',
|
||||
calc_tips: {
|
||||
tip1: '表达式语法请遵循该数据源对应的数据库语法。',
|
||||
tip2: '数据集中不支持聚合运算。',
|
||||
tip3: '引用字段以 "[" 开始, "]" 结束',
|
||||
tip4: '请勿修改引用内容,否则将引用失败',
|
||||
tip5: '若输入与引用字段相同格式的内容,将被当作引用字段处理',
|
||||
tip6: '使用数据集对应数据库类型所支持的函数,语法同对应数据库',
|
||||
tip7: '如日期格式化:MySQL使用DATE_FORMAT(date,format);Oracle使用TO_DATE(X,[,fmt])',
|
||||
tip8: '非直连模式数据集,使用Doris数据库函数,可参考Doris官网'
|
||||
}
|
||||
},
|
||||
driver: {
|
||||
driver: '驱动',
|
||||
|
@ -32,9 +32,9 @@
|
||||
placement="bottom"
|
||||
>
|
||||
<div slot="content">
|
||||
表达式语法请遵循该数据源对应的数据库语法。
|
||||
{{ $t('dataset.calc_tips.tip1') }}
|
||||
<br>
|
||||
字段类型将使用原始类型,如有需要,请在表达式中自行转换。
|
||||
{{ $t('dataset.calc_tips.tip2') }}
|
||||
</div>
|
||||
<i
|
||||
class="el-icon-info"
|
||||
@ -112,11 +112,11 @@
|
||||
placement="bottom"
|
||||
>
|
||||
<div slot="content">
|
||||
引用字段以 "[" 开始, "]" 结束
|
||||
{{ $t('dataset.calc_tips.tip3') }}
|
||||
<br>
|
||||
请勿修改引用内容,否则将引用失败
|
||||
{{ $t('dataset.calc_tips.tip4') }}
|
||||
<br>
|
||||
若输入与引用字段相同格式的内容,将被当作引用字段处理
|
||||
{{ $t('dataset.calc_tips.tip5') }}
|
||||
</div>
|
||||
<i
|
||||
class="el-icon-info"
|
||||
@ -239,11 +239,11 @@
|
||||
placement="bottom"
|
||||
>
|
||||
<div slot="content">
|
||||
使用数据集对应数据库类型所支持的函数,语法同对应数据库
|
||||
{{ $t('dataset.calc_tips.tip6') }}
|
||||
<br>
|
||||
如日期格式化:MySQL使用DATE_FORMAT(date,format);Oracle使用TO_DATE(X,[,fmt])
|
||||
{{ $t('dataset.calc_tips.tip7') }}
|
||||
<br>
|
||||
非直连模式数据集,使用Doris数据库函数,可参考Doris官网 https://doris.apache.org/zh-CN/
|
||||
{{ $t('dataset.calc_tips.tip8') }} https://doris.apache.org/zh-CN/
|
||||
</div>
|
||||
<i
|
||||
class="el-icon-info"
|
||||
|
@ -39,7 +39,7 @@
|
||||
v-if="['db', 'excel', 'api'].includes(datasetType)"
|
||||
class="table-num"
|
||||
>{{ $t('deDataset.selected') }} {{ tableNum }}
|
||||
{{ ['excel'].includes(datasetType) ? $t('deDataset.table') : '项' }}</span>
|
||||
{{ ['excel'].includes(datasetType) ? $t('deDataset.table') : $t('deDataset.item') }}</span>
|
||||
<deBtn
|
||||
:disabled="['db', 'excel', 'api'].includes(datasetType) && !tableNum"
|
||||
type="primary"
|
||||
|
@ -29,9 +29,9 @@
|
||||
placement="bottom"
|
||||
>
|
||||
<div slot="content">
|
||||
表达式语法请遵循该数据源对应的数据库语法。
|
||||
{{ $t('dataset.calc_tips.tip1') }}
|
||||
<br>
|
||||
数据集中不支持聚合运算。
|
||||
{{ $t('dataset.calc_tips.tip2') }}
|
||||
</div>
|
||||
<i
|
||||
class="el-icon-info"
|
||||
@ -90,11 +90,11 @@
|
||||
placement="bottom"
|
||||
>
|
||||
<div slot="content">
|
||||
引用字段以 "[" 开始, "]" 结束
|
||||
{{ $t('dataset.calc_tips.tip3') }}
|
||||
<br>
|
||||
请勿修改引用内容,否则将引用失败
|
||||
{{ $t('dataset.calc_tips.tip4') }}
|
||||
<br>
|
||||
若输入与引用字段相同格式的内容,将被当作引用字段处理
|
||||
{{ $t('dataset.calc_tips.tip5') }}
|
||||
</div>
|
||||
<i
|
||||
class="el-icon-info"
|
||||
@ -214,11 +214,11 @@
|
||||
placement="bottom"
|
||||
>
|
||||
<div slot="content">
|
||||
使用数据集对应数据库类型所支持的函数,语法同对应数据库
|
||||
{{ $t('dataset.calc_tips.tip6') }}
|
||||
<br>
|
||||
如日期格式化:MySQL使用DATE_FORMAT(date,format);Oracle使用TO_DATE(X,[,fmt])
|
||||
{{ $t('dataset.calc_tips.tip7') }}
|
||||
<br>
|
||||
非直连模式数据集,使用Doris数据库函数,可参考Doris官网
|
||||
{{ $t('dataset.calc_tips.tip8') }}
|
||||
https://doris.apache.org/zh-CN/
|
||||
</div>
|
||||
<i
|
||||
|
@ -398,11 +398,11 @@ export default {
|
||||
this.filterList = [
|
||||
{
|
||||
value: 'logic',
|
||||
label: '条件筛选'
|
||||
label: this.$t('deDataset.logic_filter')
|
||||
},
|
||||
{
|
||||
value: 'enum',
|
||||
label: '枚举筛选'
|
||||
label: this.$t('deDataset.enum_filter')
|
||||
}
|
||||
]
|
||||
if ([1, 2, 3].includes(deType)) {
|
||||
|
Loading…
Reference in New Issue
Block a user