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)

193 lines (146 loc) 3.46 kB
/** * Bootstrap Table Vietnamese translation * Author: Duc N. PHAM <pngduc@gmail.com> * Revision: Le Ngo Duc Manh <myt@nnsvn.me> (07/Mar/2024) */ $.fn.bootstrapTable.locales['vi-VN'] = $.fn.bootstrapTable.locales['vi'] = { formatAddLevel () { return 'Add Level' }, formatAdvancedCloseButton () { return 'Đóng' }, formatAdvancedSearch () { return 'Tìm kiếm nâng cao' }, formatAllRows () { return 'Tất cả' }, formatAutoRefresh () { return 'Tự động làm mới' }, formatCancel () { return 'Cancel' }, formatClearSearch () { return 'Xoá tìm kiếm' }, formatColumn () { return 'Column' }, formatColumns () { return 'Cột' }, formatColumnsToggleAll () { return 'Hiện tất cả' }, formatCopyRows () { return 'Sao chép hàng' }, formatDeleteLevel () { return 'Delete Level' }, formatDetailPagination (totalRows) { return `Đang hiện ${totalRows} hàng` }, formatDuplicateAlertDescription () { return 'Please remove or change any duplicate column.' }, formatDuplicateAlertTitle () { return 'Duplicate(s) detected!' }, formatExport () { return 'Xuất dữ liệu' }, formatFilterControlSwitch () { return 'Ẩn/Hiện điều khiển' }, formatFilterControlSwitchHide () { return 'Ẩn điều khiển' }, formatFilterControlSwitchShow () { return 'Hiện điều khiển' }, formatFullscreen () { return 'Toàn màn hình' }, formatJumpTo () { return 'Đến' }, formatLoadingMessage () { return 'Đang tải' }, formatMultipleSort () { return 'Multiple Sort' }, formatNoMatches () { return 'Không có dữ liệu' }, formatOrder () { return 'Order' }, formatPaginationSwitch () { return 'Ẩn/Hiện phân trang' }, formatPaginationSwitchDown () { return 'Hiện phân trang' }, formatPaginationSwitchUp () { return 'Ẩn phân trang' }, formatPrint () { return 'In' }, formatRecordsPerPage (pageNumber) { return `${pageNumber} bản ghi mỗi trang` }, formatRefresh () { return 'Làm mới' }, formatSRPaginationNextText () { return 'trang sau' }, formatSRPaginationPageText (page) { return `đến trang ${page}` }, formatSRPaginationPreText () { return 'trang trước' }, formatSearch () { return 'Tìm kiếm' }, formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) { if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) { return `Hiển thị từ trang ${pageFrom} đến ${pageTo} của ${totalRows} bản ghi (được lọc từ tổng ${totalNotFiltered} hàng)` } return `Hiển thị từ trang ${pageFrom} đến ${pageTo} của ${totalRows} bản ghi` }, formatSort () { return 'Sort' }, formatSortBy () { return 'Sort by' }, formatSortOrders () { return { asc: 'Ascending', desc: 'Descending' } }, formatThenBy () { return 'Then by' }, formatToggleCustomViewOff () { return 'Hide custom view' }, formatToggleCustomViewOn () { return 'Show custom view' }, formatToggleOff () { return 'Ẩn các thẻ' }, formatToggleOn () { return 'Hiển thị các thẻ' } } Object.assign($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['vi-VN'])