diff --git a/frontend/src/components/business/condition-table/index.vue b/frontend/src/components/business/condition-table/index.vue index f15562ef70..0507940af8 100644 --- a/frontend/src/components/business/condition-table/index.vue +++ b/frontend/src/components/business/condition-table/index.vue @@ -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')" /> diff --git a/frontend/src/components/canvas/components/Editor/Hyperlinks.vue b/frontend/src/components/canvas/components/Editor/Hyperlinks.vue index 8fe2609f57..3dc137c3e1 100644 --- a/frontend/src/components/canvas/components/Editor/Hyperlinks.vue +++ b/frontend/src/components/canvas/components/Editor/Hyperlinks.vue @@ -7,7 +7,7 @@ > - + Tips:{{ $t('panel.link_open_tips') }} diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index b8886b4e4a..dbb0115023 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -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...', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index 0777b376d5..039b3f2cc2 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -31,7 +31,7 @@ export default { }, table: { ok: '確定', - custom_table_fields: '自定義表格字段', + custom_table_fields: '自定義錶格字段', custom_table_fields_desc: '固定字段不在選擇範圍' }, steps: { @@ -54,7 +54,7 @@ export default { tinymce: '富文本編輯器', markdown: 'Markdown', jsonEditor: 'JSON 編輯器', - dndList: '列表拖拽', + dndList: '列錶拖拽', splitPane: 'Splitpane', avatarUpload: '頭像上傳', dropzone: 'Dropzone', @@ -64,11 +64,11 @@ export default { backToTop: '返回頂部', dragDialog: '拖拽 Dialog', dragSelect: '拖拽 Select', - dragKanban: '可拖拽看板', - charts: '圖表', - keyboardChart: '鍵盤圖表', - lineChart: '折線圖', - mixChart: '混合圖表', + dragKanban: '可拖拽看闆', + charts: '圖錶', + keyboardChart: '鍵盤圖錶', + lineChart: '摺線圖', + mixChart: '混合圖錶', example: '綜合實例', nested: '路由嵌套', menu1: '菜單1', @@ -84,10 +84,10 @@ export default { inlineEditTable: 'Table 內編輯', complexTable: '綜合 Table', tab: 'Tab', - form: '表單', + form: '錶單', createArticle: '創建文章', editArticle: '編輯文章', - articleList: '文章列表', + articleList: '文章列錶', errorPages: '錯誤頁面', page401: '401', page404: '404', @@ -95,7 +95,7 @@ export default { excel: 'Excel', exportExcel: '導出 Excel', selectExcel: '導出 已選擇項', - mergeHeader: '導出 多級表頭', + mergeHeader: '導出 多級錶頭', uploadExcel: '上傳 Excel', zip: 'Zip', pdf: 'PDF', @@ -112,10 +112,10 @@ export default { logOut: '退出登錄', profile: '個人中心', theme: '換膚', - size: '布局大小' + size: '佈局大小' }, login: { - title: '系統登錄', + title: '繫統登錄', welcome: '歡迎使用', logIn: '登錄', username: '賬號', @@ -209,10 +209,10 @@ export default { show: '顯示', report: '報告', user: '用戶', - system: '系統', + system: '繫統', personal_setting: '個人設置', test_resource_pool: '測試資源池', - system_setting: '系統設置', + system_setting: '繫統設置', input_content: '請輸入內容', create: '新建', edit: '編輯', @@ -225,7 +225,7 @@ export default { please_select: '請選擇', search_by_name: '根據名稱搜索', personal_information: '個人信息', - exit_system: '退出系統', + exit_system: '退出繫統', verification: '驗證', title: '標題', custom: '自定義', @@ -249,7 +249,7 @@ export default { weeks_4: '周四', weeks_5: '周五', weeks_6: '周六', - system_parameter_setting: '系統參數設置', + system_parameter_setting: '繫統參數設置', connection_successful: '連接成功', connection_failed: '連接失敗', save_failed: '保存失敗', @@ -343,7 +343,12 @@ export default { }, ukey_title: 'API Keys', thumbnail: '縮略圖', - confirm_delete: '確認刪除' + confirm_delete: '確認刪除', + treeselect: { + no_children_text: '沒有子節點', + no_options_text: '沒有可用選項', + no_results_text: '沒有匹配的結果' + } }, documentation: { documentation: '文檔', @@ -352,29 +357,29 @@ export default { permission: { addRole: '新增角色', editPermission: '編輯權限', - roles: '你的權限', + roles: '妳的權限', switchRoles: '切換權限', - tips: '在某些情況下,不適合使用 v-permission。例如:Element-UI 的 el-tab 或 el-table-column 以及其它動態渲染 dom 的場景。你只能通過手動設置 v-if 來實現。', + tips: '在某些情況下,不適合使用 v-permission。例如:Element-UI 的 el-tab 或 el-table-column 以及其它動態渲染 dom 的場景。妳只能通過手動設置 v-if 來實現。', delete: '刪除', confirm: '確定', cancel: '取消' }, guide: { - description: '引導頁對於一些第一次進入項目的人很有用,你可以簡單介紹下項目的功能。本 Demo 是基於', + description: '引導頁對於一些第一次進入項目的人很有用,妳可以簡單介紹下項目的功能。本 Demo 是基於', button: '打開引導' }, components: { documentation: '文檔', tinymceTips: '富文本是管理後臺一個核心的功能,但同時又是一個有很多坑的地方。在選擇富文本的過程中我也走了不少的彎路,市面上常見的富文本都基本用過了,最終權衡了一下選擇了Tinymce。更詳細的富文本比較和介紹見', - dropzoneTips: '由於我司業務有特殊需求,而且要傳七牛 所以沒用第三方,選擇了自己封裝。代碼非常的簡單,具體代碼你可以在這裏看到 @/components/Dropzone', + dropzoneTips: '由於我司業務有特殊需求,而且要傳七牛 所以沒用第三方,選擇了自己封裝。代碼非常的簡單,具體代碼妳可以在這裏看到 @/components/Dropzone', stickyTips: '當頁面滾動到預設的位置會吸附在頂部', backToTopTips1: '頁面滾動到指定位置會在右下角出現返回頂部按鈕', backToTopTips2: '可自定義按鈕的樣式、show/hide、出現的高度、返回的位置 如需文字提示,可在外部使用Element的el-tooltip元素', imageUploadTips: '由於我在使用時它只有vue@1版本,而且和mockjs不兼容,所以自己改造了一下,如果大家要使用的話,優先還是使用官方版本。' }, table: { - dynamicTips1: '固定表頭, 按照表頭順序排序', - dynamicTips2: '不固定表頭, 按照點擊順序排序', + dynamicTips1: '固定錶頭, 按照錶頭順序排序', + dynamicTips2: '不固定錶頭, 按照點擊順序排序', dragTips1: '默認順序', dragTips2: '拖拽後順序', title: '標題', @@ -392,7 +397,7 @@ export default { status: '狀態', actions: '操作', edit: '編輯', - publish: '發布', + publish: '發佈', draft: '草稿', delete: '刪除', cancel: '取 消', @@ -403,11 +408,11 @@ export default { selectview: '選擇視圖' }, example: { - warning: '創建和編輯頁面是不能被 keep-alive 緩存的,因爲keep-alive 的 include 目前不支持根據路由來緩存,所以目前都是基於 component name 來進行緩存的。如果你想類似的實現緩存效果,可以使用 localStorage 等瀏覽器緩存方案。或者不要使用 keep-alive 的 include,直接緩存所有頁面。詳情見' + warning: '創建和編輯頁面是不能被 keep-alive 緩存的,因爲keep-alive 的 include 目前不支持根據路由來緩存,所以目前都是基於 component name 來進行緩存的。如果妳想類似的實現緩存效果,可以使用 localStorage 等瀏覽器緩存方案。或者不要使用 keep-alive 的 include,直接緩存所有頁面。詳情見' }, errorLog: { tips: '請點擊右上角bug小圖標', - description: '現在的管理後臺基本都是spa的形式了,它增強了用戶體驗,但同時也會增加頁面出問題的可能性,可能一個小小的疏忽就導致整個頁面的死鎖。好在 Vue 官網提供了一個方法來捕獲處理異常,你可以在其中進行錯誤處理或者異常上報。', + description: '現在的管理後臺基本都是spa的形式了,它增強了用戶體驗,但同時也會增加頁面出問題的可能性,可能一個小小的疏忽就導致整個頁面的死鎖。好在 Vue 官網提供了一個方法來捕獲處理異常,妳可以在其中進行錯誤處理或者異常上報。', documentation: '文檔介紹' }, excel: { @@ -441,7 +446,7 @@ export default { closeAll: '關閉所有' }, settings: { - title: '系統布局配置', + title: '繫統佈局配置', theme: '主題色', tagsView: '開啓 Tags-View', fixedHeader: '固定 Header', @@ -566,7 +571,7 @@ export default { menu_authorization: '菜單授權', data_authorization: '數據授權', please_choose_role: '請選擇角色', - admin: '系統管理員', + admin: '繫統管理員', org_admin: '組織管理員', org_member: '組織成員', add: '新建角色', @@ -663,7 +668,7 @@ export default { pls_slc_tbl_left: '請從左側選視圖', add_db_table: '添加數據庫數據集', pls_slc_data_source: '請選擇數據源', - table: '表', + table: '錶', edit: '編輯', create_view: '創建試圖', data_preview: '數據預覽', @@ -671,7 +676,7 @@ export default { quota: '指標', title: '標題', show: '顯示', - chart_type: '圖表類型', + chart_type: '圖錶類型', shape_attr: '圖形屬性', module_style: '組件樣式', result_filter: '過濾器', @@ -709,8 +714,8 @@ export default { adapt: '自適應', line_width: '線寬', line_type: '線型', - line_symbol: '折點', - line_symbol_size: '折點大小', + line_symbol: '摺點', + line_symbol_size: '摺點大小', line_type_solid: '實線', line_type_dashed: '虛線', line_symbol_circle: '圓形', @@ -726,7 +731,7 @@ export default { pie_inner_radius: '內徑', pie_outer_radius: '外徑', funnel_width: '寬度', - line_smooth: '平滑折線', + line_smooth: '平滑摺線', title_style: '標題樣式', text_fontsize: '字體大小', text_color: '字體顔色', @@ -739,7 +744,7 @@ export default { text_pos_bottom: '下', text_italic: '字體傾斜', italic: '傾斜', - orient: '方向', + orient: '方嚮', horizontal: '水平', vertical: '垂直', legend: '圖例', @@ -793,18 +798,18 @@ export default { belong_group: '所屬分組', select_group: '選擇分組', name_can_not_empty: '名稱不能爲空', - template_can_not_empty: '請選擇儀表版', + template_can_not_empty: '請選擇儀錶版', custom_count: '記錄數', - table_title_fontsize: '表頭字體大小', - table_item_fontsize: '表格字體大小', - table_header_bg: '表頭背景', - table_item_bg: '表格背景', + table_title_fontsize: '錶頭字體大小', + table_item_fontsize: '錶格字體大小', + table_header_bg: '錶頭背景', + table_item_bg: '錶格背景', table_item_font_color: '字體顔色', stripe: '斑馬紋', start_angle: '起始角度', end_angle: '結束角度', style_priority: '樣式優先級', - dashboard: '儀表板', + dashboard: '儀錶闆', dimension_color: '名稱顔色', quota_color: '值顔色', dimension_font_size: '名稱字體大小', @@ -818,20 +823,20 @@ export default { filter_condition: '過濾條件', filter_field_can_null: '過濾字段必填', preview_100_data: '預覽前100條記錄', - chart_table_normal: '彙總表', - chart_table_info: '明細表', + chart_table_normal: '彙總錶', + chart_table_info: '明細錶', chart_card: '指標卡', chart_bar: '基礎柱狀圖', chart_bar_stack: '堆疊柱狀圖', - chart_bar_horizontal: '橫向柱狀圖', - chart_bar_stack_horizontal: '橫向堆疊柱狀圖', - chart_line: '基礎折線圖', - chart_line_stack: '堆疊折線圖', + chart_bar_horizontal: '橫嚮柱狀圖', + chart_bar_stack_horizontal: '橫嚮堆疊柱狀圖', + chart_line: '基礎摺線圖', + chart_line_stack: '堆疊摺線圖', chart_pie: '餅圖', chart_pie_rose: '南丁格爾玫瑰圖', chart_funnel: '漏鬥圖', chart_radar: '雷達圖', - chart_gauge: '儀表盤', + chart_gauge: '儀錶盤', chart_map: '地圖', dateStyle: '日期顯示', datePattern: '日期格式', @@ -845,10 +850,10 @@ export default { date_split: 'yyyy/MM/dd', chartName: '新建視圖', chart_show_error: '無法正常顯示', - chart_error_tips: '如有疑問請聯系管理員', + chart_error_tips: '如有疑問請聯繫管理員', title_cannot_empty: '標題不能爲空', - table_title_height: '表頭行高', - table_item_height: '表格行高', + table_title_height: '錶頭行高', + table_item_height: '錶格行高', axis_show: '軸線顯示', axis_color: '軸線顔色', axis_width: '軸線寬度', @@ -918,7 +923,7 @@ export default { gap_width: '間隔', width: '寬度', height: '高度', - system_case: '系統方案', + system_case: '繫統方案', custom_case: '自定義', last_layer: '當前已經是最後一級', radar_size: '大小', @@ -928,7 +933,7 @@ export default { axis_value_max: '最大值', axis_value_split: '間隔', axis_auto: '自動', - table_info_switch: '明細表切換將清空維度', + table_info_switch: '明細錶切換將清空維度', drag_block_value_axis_main: '主軸值', drag_block_value_axis_ext: '副軸值', yAxis_main: '主縱軸', @@ -950,8 +955,8 @@ export default { liquid_shape_rect: '矩形', dimension_or_quota: '維度或指標', axis_value_split_count: '刻度數', - chart_waterfall: '瀑布圖', - pie_inner_radius_percent: '內徑占比', + chart_waterfall: '瀑佈圖', + pie_inner_radius_percent: '內徑佔比', pie_outer_radius_size: '外徑大小', table_page_size: '分頁', table_page_size_unit: '條/頁', @@ -963,12 +968,12 @@ export default { drag_block_word_cloud_size: '詞大小', splitCount_less_100: '刻度數範圍0-100', change_chart_type: '更改類型', - chart_type_table: '表格', + chart_type_table: '錶格', chart_type_quota: '指標', chart_type_trend: '趨勢', chart_type_compare: '比較', - chart_type_distribute: '分布', - chart_type_relation: '關系', + chart_type_distribute: '分佈', + chart_type_relation: '關繫', chart_type_space: '空間位置', preview: '上一步', next: '下一步', @@ -1026,10 +1031,10 @@ export default { sql_data: 'SQL 數據集', excel_data: 'Excel 數據集', custom_data: '自定義數據集', - pls_slc_tbl_left: '請從左側選擇表', + pls_slc_tbl_left: '請從左側選擇錶', add_db_table: '添加數據庫數據集', pls_slc_data_source: '請選擇數據源', - table: '表', + table: '錶', edit: '編輯', create_view: '創建視圖', data_preview: '數據預覽', @@ -1064,7 +1069,7 @@ export default { execute_rate: '執行頻率', execute_once: '立即執行', simple_cron: '簡單重複', - cron_config: '表達式設定', + cron_config: '錶達式設定', no_limit: '無限製', set_end_time: '設定結束時間', operate: '操作', @@ -1096,21 +1101,21 @@ export default { preview_total: '共', pls_input_less_5: '請輸入5位以內的正整數', field_edit: '編輯字段', - table_already_add_to: '該表已添加至', + table_already_add_to: '該錶已添加至', uploading: '上傳中...', add_union: '新建關聯', union_setting: '關聯設置', pls_slc_union_field: '請選擇關聯字段', - pls_slc_union_table: '請選擇關聯表', - source_table: '關聯表', + pls_slc_union_table: '請選擇關聯錶', + source_table: '關聯錶', source_field: '關聯字段', - target_table: '被關聯表', + target_table: '被關聯錶', target_field: '被關聯字段', - union_relation: '關聯關系', - pls_setting_union_success: '請正確設置關聯關系', + union_relation: '關聯關繫', + pls_setting_union_success: '請正確設置關聯關繫', invalid_dataset: 'Kettle未運行,無效數據集', check_all: '全選', - can_not_union_self: '被關聯表不能與關聯表相同', + can_not_union_self: '被關聯錶不能與關聯錶相同', float: '小數', edit_custom_table: '編輯自定義數據集', edit_field: '編輯字段', @@ -1130,7 +1135,7 @@ export default { task_edit_title: '編輯任務', sync_latter: '稍後同步', task: { - list: '任務列表', + list: '任務列錶', record: '執行記錄', create: '新建任務', name: '任務名稱', @@ -1158,7 +1163,7 @@ export default { d_q_trans: '維度/指標轉換', add_calc_field: '新建計算字段', input_name: '請輸入名稱', - field_exp: '字段表達式', + field_exp: '字段錶達式', data_type: '數據類型', click_ref_field: '點擊引用字段', click_ref_function: '點擊引用函數', @@ -1169,7 +1174,7 @@ export default { ple_select_excel: '請選擇要導入的 Excel', merge: '合並', no_merge: '不合並', - merge_msg: '數據表中存在字段一致的情況,是否合並到一個數據集中?', + merge_msg: '數據錶中存在字段一致的情況,是否合並到一個數據集中?', merge_title: '合並數據', field_name_less_50: '字段名不能超過50個字符', excel_info_1: '1、文件終不能存在合併單元格;', @@ -1200,11 +1205,11 @@ export default { add_union_table: '添加關聯數據集', edit_union: '編輯關聯數據集', union: '關聯', - edit_union_relation: '編輯關聯關系', - add_union_relation: '新建關聯關系', + edit_union_relation: '編輯關聯關繫', + add_union_relation: '新建關聯關繫', field_select: '字段選擇', add_union_field: '添加關聯字段', - union_error: '關聯關系與關聯字段不能為空', + union_error: '關聯關繫與關聯字段不能為空', union_repeat: '當前數據集已被關聯,請勿重復關聯', preview_result: '預覽結果' }, @@ -1283,9 +1288,9 @@ export default { link_share: '鏈接分享', over_time: '有效期', link_expire: '鏈接已過期!', - link_share_desc: '開啓鏈接後,任何人可通過此鏈接訪問儀表板。', + link_share_desc: '開啓鏈接後,任何人可通過此鏈接訪問儀錶闆。', share: '分享', - remove_share_confirm: '確認取消當前儀表板所有分享?', + remove_share_confirm: '確認取消當前儀錶闆所有分享?', share_in: '分享給我', share_out: '我分享的', who_share: '分享人', @@ -1294,16 +1299,16 @@ export default { org: '組織', role: '角色', user: '用戶', - datalist: '視圖列表', + datalist: '視圖列錶', group: '目錄', - panel: '儀表板', - panel_list: '儀表板', + panel: '儀錶闆', + panel_list: '儀錶闆', groupAdd: '新建目錄', - panelAdd: '新建儀表板', + panelAdd: '新建儀錶闆', delete: '刪除', move_to: '移動到', rename: '重命名', - import: '導入模板', + import: '導入模闆', tips: '提示', confirm_delete: '確認刪除', delete_success: '刪除成功', @@ -1316,12 +1321,12 @@ export default { filter_module: '過濾組件', select_by_module: '按組件選擇', edit: '編輯', - sys_template: '系統模板', - user_template: '用戶模板', + sys_template: '繫統模闆', + user_template: '用戶模闆', add_category: '添加分類', filter_keywords: '輸入關鍵字進行過濾', - dashboard_theme: '儀表板主題', - table: '表格', + dashboard_theme: '儀錶闆主題', + table: '錶格', gap: '有間隙', no_gap: '無間隙', component_gap: '組件間隙', @@ -1329,49 +1334,49 @@ export default { minute: '分鐘', second: '秒', photo: '圖片', - default_panel: '默認儀表板', + default_panel: '默認儀錶闆', create_public_links: '創建公共鏈接', to_default: '另存爲默認', - to_default_panel: '另存爲默認儀表板', + to_default_panel: '另存爲默認儀錶闆', store: '收藏', - save_to_panel: '保存爲模板', - export_to_panel: '導出爲模板', + save_to_panel: '保存爲模闆', + export_to_panel: '導出爲模闆', export_to_pdf: '導出爲PDF', preview: '預覽', fullscreen_preview: '全屏預覽', new_tab_preview: '新Tab頁預覽', - select_panel_from_left: '請從左側選擇儀表板', - template_name: '模板名稱', - template: '模板', + select_panel_from_left: '請從左側選擇儀錶闆', + template_name: '模闆名稱', + template: '模闆', category: '分類', all_org: '所有組織', custom: '自定義', - import_template: '導入模板', - copy_template: '複用模板', - upload_template: '上傳模板', + import_template: '導入模闆', + copy_template: '複用模闆', + upload_template: '上傳模闆', belong_to_category: '所屬類別', pls_select_belong_to_category: '請選擇所屬類別', - template_name_cannot_be_empty: '模板名稱不能爲空', - select_by_table: '按表選擇', - data_list: '數據列表', - component_list: '組件列表', + template_name_cannot_be_empty: '模闆名稱不能爲空', + select_by_table: '按錶選擇', + data_list: '數據列錶', + component_list: '組件列錶', custom_scope: '自定義控製範圍', multiple_choice: '多選', single_choice: '單選', field: '字段', unshared_people: '未分享人員', shared_people: '已分享人員', - error_data: '獲取數據出錯,請聯系管理員', - canvas_size: '畫布大小', - canvas_scale: '畫布比例', + error_data: '獲取數據出錯,請聯繫管理員', + canvas_size: '畫佈大小', + canvas_scale: '畫佈比例', style: '樣式', - clean_canvas: '清空畫布', + clean_canvas: '清空畫佈', insert_picture: '插入圖片', redo: '重做', undo: '撤銷', - panelNull: '這是個空的儀表板,可以通過編輯來豐富內容', + panelNull: '這是個空的儀錶闆,可以通過編輯來豐富內容', copy: '複製', - paste: '粘貼', + paste: '黏貼', cut: '剪切', lock: '鎖定', topComponent: '置頂', @@ -1413,12 +1418,12 @@ export default { select_component: '請選擇組件', other_module: '其他', content: '內容', - default_panel_name: '默認儀表板名稱', - source_panel_name: '原儀表板名稱', + default_panel_name: '默認儀錶闆名稱', + source_panel_name: '原儀錶闆名稱', content_style: '內容樣式', - canvas_self_adaption: '自適應畫布區域', - panel_save_tips: '儀表板已變動,是否保存?', - panel_save_warn_tips: '如果未保存,你對儀表板做的變更將會丟失!', + canvas_self_adaption: '自適應畫佈區域', + panel_save_tips: '儀錶闆已變動,是否保存?', + panel_save_warn_tips: '如果未保存,妳對儀錶闆做的變更將會丟失!', do_not_save: '不保存', save: '保存', drill: '下鑽', @@ -1426,21 +1431,21 @@ export default { jump: '跳轉', cancel_linkage: '取消聯動', remove_all_linkage: '清除所有聯動', - exit_un_march_linkage_field: '存在未匹配聯動關系的字段', + exit_un_march_linkage_field: '存在未匹配聯動關繫的字段', details: '詳情', setting: '設置', no_drill_field: '缺少關聯字段', matrix: '矩陣', suspension: '懸浮', - new_element_distribution: '當前元素移入分布方式', - subject_no_edit: '系統主題不能修改', + new_element_distribution: '當前元素移入分佈方式', + subject_no_edit: '繫統主題不能修改', subject_name_not_null: '主題名稱需要1~20字符', is_enable: '是否啟用', open_mode: '打開方式', new_window: '新窗口', now_window: '當前窗口', - hyperLinks: '超鏈接', - link_open_tips: '儀表板非編輯狀態可打開鏈接', + hyperLinks: '目標地址', + link_open_tips: '儀錶闆非編輯狀態可打開鏈接', data_loading: '數據準備中...', export_loading: '導出中...', export_pdf: '導出PDF', @@ -1451,8 +1456,8 @@ export default { open_model: '打開方式', link_type: '鏈接類型', link_outer: '外部鏈接', - link_panel: '儀表板', - select_jump_panel: '選擇關聯的儀表板', + link_panel: '儀錶闆', + select_jump_panel: '選擇關聯的儀錶闆', link_view: '聯動視圖', link_view_field: '聯動視圖字段', add_jump_field: '追加跳轉聯動依賴字段', @@ -1470,11 +1475,11 @@ export default { video_links: '視頻鏈接', video_add_tips: '請點擊添加配置視頻信息...', panel_view_result_show: '視圖結果展示', - panel_view_result_tips: '選擇儀表板會覆蓋視圖的結果展示數量,取值範圍1~10000', - timeout_refresh: '请求超时,稍后刷新...', - mobile_layout: '移动端布局', - component_hidden: '隐藏的组件', - public_link_tips: '当前是公共链接模式,目标仪表板未设置公共链接,无法跳转' + panel_view_result_tips: '選擇儀錶闆會覆蓋視圖的結果展示數量,取值範圍1~10000', + timeout_refresh: '請求超時,稍後刷新...', + mobile_layout: '移動端佈局', + component_hidden: '隱藏的組件', + public_link_tips: '當前是公共鏈接模式,目標儀錶闆未設置公共鏈接,無法跳轉' }, plugin: { local_install: '本地安裝', @@ -1492,11 +1497,11 @@ export default { uninstall_cancel: '取消卸載插件' }, display: { - logo: '頭部系統logo', + logo: '頭部繫統logo', loginLogo: '登錄頁面頭部logo', loginImage: '登錄頁面右側圖片', loginTitle: '登錄頁面標題', - title: '系統名稱', + title: '繫統名稱', advice_size: '建議圖片大小', theme: '主題顔色', @@ -1521,7 +1526,7 @@ export default { linkAuth: '數據源權限', datasetAuth: '數據集權限', chartAuth: '視圖權限', - panelAuth: '儀表板權限', + panelAuth: '儀錶闆權限', menuAuth: '菜單和操作權限', deptHead: '所有組織', roleHead: '所有角色', @@ -1529,7 +1534,7 @@ export default { linkAuthHead: '所有數據源', datasetAuthHead: '所有數據集', chartAuthHead: '所有視圖', - panelAuthHead: '所有儀表板', + panelAuthHead: '所有儀錶闆', menuAuthHead: '所有菜單和操作', view: '查看', use: '使用', @@ -1551,7 +1556,7 @@ export default { update_success: '更新成功' }, template: { - exit_same_template_check: '當前分類存在相同名稱模板,是否覆蓋?', + exit_same_template_check: '當前分類存在相同名稱模闆,是否覆蓋?', override: '覆蓋', cancel: '取消', confirm_upload: '上傳確認' @@ -1612,7 +1617,7 @@ export default { web_msg: '站內消息通知', show_more: '查看更多', all_type: '全部類型', - panel_type: '儀表板分享', + panel_type: '儀錶闆分享', dataset_type: '數據集同步', content: '消息內容', sned_time: '提交時間', @@ -1623,8 +1628,8 @@ export default { please_select: '請至少選擇一條消息', mark_success: '標記已讀成功', receive_manage: '接收管理', - i18n_msg_type_panel_share: '儀表板分享', - i18n_msg_type_panel_share_cacnel: '儀表板取消分享', + i18n_msg_type_panel_share: '儀錶闆分享', + i18n_msg_type_panel_share_cacnel: '儀錶闆取消分享', i18n_msg_type_dataset_sync: '數據集同步', i18n_msg_type_dataset_sync_success: '數據集同步成功', i18n_msg_type_dataset_sync_faild: '數據集同步失敗', @@ -1656,11 +1661,11 @@ export default { placeholder: '請選擇' }, detextgridselect: { - label: '文本列表', + label: '文本列錶', placeholder: '請選擇' }, denumbergridselect: { - label: '數字列表', + label: '數字列錶', placeholder: '請選擇' }, dedaterange: { @@ -1719,14 +1724,14 @@ export default { }, emailtask: { title: '郵件主題', - panel: '儀表板', + panel: '儀錶闆', content: '郵件正文', recipients: '收件人', pixel: '分辨率', default: '默認', custom: '自定義', rate_type: '發送p頻率', - cron_exp: 'cron表達式', + cron_exp: 'cron錶達式', exec_time: '執行時間', start_time: '開始時間', end_time: '結束時間', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 3cf1771224..60ccfebc6f 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -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: '导出中...', diff --git a/frontend/src/views/chart/group/Group.vue b/frontend/src/views/chart/group/Group.vue index 3cf184e9fe..6855fdb3bc 100644 --- a/frontend/src/views/chart/group/Group.vue +++ b/frontend/src/views/chart/group/Group.vue @@ -195,6 +195,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')" /> diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index f7eb46fcbb..41d3fb7329 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -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')" /> diff --git a/frontend/src/views/panel/LinkJumpSet/index.vue b/frontend/src/views/panel/LinkJumpSet/index.vue index 3181a316b8..45ceb23488 100644 --- a/frontend/src/views/panel/LinkJumpSet/index.vue +++ b/frontend/src/views/panel/LinkJumpSet/index.vue @@ -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" diff --git a/frontend/src/views/system/menu/index.vue b/frontend/src/views/system/menu/index.vue index 97a92a271a..2df1d60289 100644 --- a/frontend/src/views/system/menu/index.vue +++ b/frontend/src/views/system/menu/index.vue @@ -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')" /> diff --git a/frontend/src/views/system/user/form.vue b/frontend/src/views/system/user/form.vue index d1659d0e73..7f68dd42b9 100644 --- a/frontend/src/views/system/user/form.vue +++ b/frontend/src/views/system/user/form.vue @@ -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" /> diff --git a/frontend/src/views/system/user/imp-ldap.vue b/frontend/src/views/system/user/imp-ldap.vue index a6b48b5816..cf98d47030 100644 --- a/frontend/src/views/system/user/imp-ldap.vue +++ b/frontend/src/views/system/user/imp-ldap.vue @@ -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" /> diff --git a/frontend/src/views/system/user/index.vue b/frontend/src/views/system/user/index.vue index ac3777ec2c..1d80d59655 100644 --- a/frontend/src/views/system/user/index.vue +++ b/frontend/src/views/system/user/index.vue @@ -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')" /> diff --git a/frontend/src/views/system/user/privateForm.vue b/frontend/src/views/system/user/privateForm.vue index 3a2647b498..fa465df3ce 100644 --- a/frontend/src/views/system/user/privateForm.vue +++ b/frontend/src/views/system/user/privateForm.vue @@ -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')" />