UNPKG

bootstrap-table

Version:

An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)

192 lines (145 loc) 3.3 kB
/** * Bootstrap Table Chinese translation * Author: Zhixin Wen<wenzhixin2010@gmail.com> */ $.fn.bootstrapTable.locales['zh-TW'] = { formatAddLevel () { return '增加層級' }, formatAdvancedCloseButton () { return '關閉' }, formatAdvancedSearch () { return '高級搜尋' }, formatAllRows () { return '所有' }, formatAutoRefresh () { return '自動刷新' }, formatCancel () { return '取消' }, formatClearSearch () { return '清空過濾' }, formatColumn () { return '列' }, formatColumns () { return '列' }, formatColumnsToggleAll () { return '切換所有' }, formatCopyRows () { return '複製行' }, formatDeleteLevel () { return '刪除層級' }, formatDetailPagination (totalRows) { return `總共 ${totalRows} 項記錄` }, formatDuplicateAlertDescription () { return '請刪除或修改重複的列。' }, formatDuplicateAlertTitle () { return '檢測到重複項!' }, formatExport () { return '導出數據' }, formatFilterControlSwitch () { return '隱藏/顯示過濾控制' }, formatFilterControlSwitchHide () { return '隱藏過濾控制' }, formatFilterControlSwitchShow () { return '顯示過濾控制' }, formatFullscreen () { return '全屏' }, formatJumpTo () { return '跳轉' }, formatLoadingMessage () { return '正在努力地載入資料,請稍候' }, formatMultipleSort () { return '多重排序' }, formatNoMatches () { return '沒有找到符合的結果' }, formatOrder () { return '排序' }, formatPaginationSwitch () { return '隱藏/顯示分頁' }, formatPaginationSwitchDown () { return '顯示分頁' }, formatPaginationSwitchUp () { return '隱藏分頁' }, formatPrint () { return '列印' }, formatRecordsPerPage (pageNumber) { return `每頁顯示 ${pageNumber} 項記錄` }, formatRefresh () { return '重新整理' }, formatSRPaginationNextText () { return '下一頁' }, formatSRPaginationPageText (page) { return `第${page}頁` }, formatSRPaginationPreText () { return '上一頁' }, formatSearch () { return '搜尋' }, formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) { if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) { return `顯示第 ${pageFrom} 到第 ${pageTo} 項記錄,總共 ${totalRows} 項記錄(從 ${totalNotFiltered} 總記錄中過濾)` } return `顯示第 ${pageFrom} 到第 ${pageTo} 項記錄,總共 ${totalRows} 項記錄` }, formatSort () { return '排序' }, formatSortBy () { return '排序依據' }, formatSortOrders () { return { asc: '升序', desc: '降序' } }, formatThenBy () { return '然後按' }, formatToggleCustomViewOff () { return '隱藏自定義視圖' }, formatToggleCustomViewOn () { return '顯示自定義視圖' }, formatToggleOff () { return '隱藏卡片視圖' }, formatToggleOn () { return '顯示卡片視圖' } } Object.assign($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['zh-TW'])