Unverified 提交 79f82c27 authored 作者: 王嘉豪's avatar 王嘉豪 提交者: GitHub

Merge pull request #1569 from dataease/pr@dev@feat-mobile-reset

refactor: 国际化
......@@ -7,6 +7,9 @@
:options="options"
:load-options="loadData"
style="width: 200px"
:noChildrenText="$t('commons.treeselect.no_children_text')"
:noOptionsText="$t('commons.treeselect.no_options_text')"
:noResultsText="$t('commons.treeselect.no_results_text')"
/>
</div>
</template>
......
......@@ -7,7 +7,7 @@
>
<el-row>
<el-form ref="form" size="mini" label-width="70px">
<el-form-item :label="$t('panel.is_enable')">
<el-form-item :label="$t('panel.enable_jump')">
<el-switch v-model="linkInfo.enable" size="mini" />
<span v-show="linkInfo.enable" style="color: #909399; font-size: 8px;margin-left: 3px">
Tips:{{ $t('panel.link_open_tips') }}
......
......@@ -343,7 +343,12 @@ export default {
},
ukey_title: 'API Keys',
thumbnail: 'thumbnail',
confirm_delete: 'Confirm delete'
confirm_delete: 'Confirm delete',
treeselect: {
no_children_text: 'No sub-options.',
no_options_text: 'No options available.',
no_results_text: 'No results found...'
}
},
documentation: {
documentation: 'Documentation',
......@@ -1437,7 +1442,7 @@ export default {
open_mode: 'Open Model',
new_window: 'New Window',
now_window: 'Now Window',
hyperLinks: 'hyperlinks',
hyperLinks: 'target address',
link_open_tips: 'Open When Panel Not In Edit Status',
data_loading: 'Data Loading...',
export_loading: 'Export Loading...',
......
差异被折叠。
......@@ -344,7 +344,12 @@ export default {
},
ukey_title: 'API Keys',
thumbnail: '缩略图',
confirm_delete: '确认删除'
confirm_delete: '确认删除',
treeselect: {
no_children_text: '没有子节点',
no_options_text: '没有可用选项',
no_results_text: '没有匹配的结果'
}
},
documentation: {
documentation: '文档',
......@@ -1449,7 +1454,7 @@ export default {
open_mode: '打开方式',
new_window: '新开页面',
now_window: '当前页面',
hyperLinks: '超链接',
hyperLinks: '目标地址',
link_open_tips: '仪表板非编辑状态可打开链接',
data_loading: '数据准备中...',
export_loading: '导出中...',
......
......@@ -196,6 +196,9 @@
:options="chartGroupTreeAvailable"
:normalizer="normalizer"
:placeholder="$t('chart.select_group')"
:noChildrenText="$t('commons.treeselect.no_children_text')"
:noOptionsText="$t('commons.treeselect.no_options_text')"
:noResultsText="$t('commons.treeselect.no_results_text')"
/>
</el-form-item>
</el-col>
......
......@@ -232,6 +232,9 @@
:normalizer="normalizer"
@input="calcData"
@deselect="calcData"
:noChildrenText="$t('commons.treeselect.no_children_text')"
:noOptionsText="$t('commons.treeselect.no_options_text')"
:noResultsText="$t('commons.treeselect.no_results_text')"
/>
</span>
</el-row>
......
......@@ -52,6 +52,9 @@
:disable-branch-nodes="true"
:normalizer="normalizer"
:placeholder="$t('panel.select_jump_panel')"
:noChildrenText="$t('commons.treeselect.no_children_text')"
:noOptionsText="$t('commons.treeselect.no_options_text')"
:noResultsText="$t('commons.treeselect.no_results_text')"
style="margin-right: 10px"
@select="panelNodeClick"
@input="inputVal"
......
......@@ -96,6 +96,9 @@
:load-options="loadMenus"
style="width: 450px;"
:placeholder="$t('menu.parent_category')"
:noChildrenText="$t('commons.treeselect.no_children_text')"
:noOptionsText="$t('commons.treeselect.no_options_text')"
:noResultsText="$t('commons.treeselect.no_results_text')"
/>
</el-form-item>
</el-form>
......
......@@ -40,6 +40,9 @@
:load-options="loadDepts"
:auto-load-root-options="false"
:placeholder="$t('user.choose_org')"
:noChildrenText="$t('commons.treeselect.no_children_text')"
:noOptionsText="$t('commons.treeselect.no_options_text')"
:noResultsText="$t('commons.treeselect.no_results_text')"
@open="filterData"
/>
</el-form-item>
......
......@@ -34,6 +34,9 @@
:load-options="loadDepts"
:auto-load-root-options="false"
:placeholder="$t('user.choose_org')"
:noChildrenText="$t('commons.treeselect.no_children_text')"
:noOptionsText="$t('commons.treeselect.no_options_text')"
:noResultsText="$t('commons.treeselect.no_results_text')"
@open="filterData"
/>
</el-form-item>
......
......@@ -107,6 +107,9 @@
:load-options="loadDepts"
style="width: 430px"
:placeholder="$t('user.choose_org')"
:noChildrenText="$t('commons.treeselect.no_children_text')"
:noOptionsText="$t('commons.treeselect.no_options_text')"
:noResultsText="$t('commons.treeselect.no_results_text')"
/>
</el-form-item>
<el-form-item style="margin-bottom: 0;" :label="$t('commons.role')" prop="roleIds">
......
......@@ -33,6 +33,9 @@
:load-options="loadDepts"
:auto-load-root-options="false"
:placeholder="$t('user.choose_org')"
:noChildrenText="$t('commons.treeselect.no_children_text')"
:noOptionsText="$t('commons.treeselect.no_options_text')"
:noResultsText="$t('commons.treeselect.no_results_text')"
/>
</el-form-item>
<el-form-item :label="$t('commons.role')" prop="roleIds">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论