import {createComponentLocale, LocaleText} from '@befe/brick-core' /** * @public */ export interface LocaleTable { /** * 空内容提示.加载中 * @default ` * zh: '加载中' * en: 'Loading' * ` */ 'loading': LocaleText /** * 空内容提示.无数据 * @default ` * zh: '暂无内容' * en: 'No content' * ` */ 'no_data_empty': LocaleText /** * 空内容提示.无搜索结果 * @default ` * zh: '无搜索结果' * en: 'No result' * ` */ 'no_data_search': LocaleText /** * 空内容提示.错误 * @default ` * zh: '出错了' * en: 'Error' * ` */ 'no_data_error': LocaleText /** * 空内容提示.成功 * @default ` * zh: '成功了' * en: 'Success' * ` */ 'no_data_success': LocaleText /** * 操作列.更多 * @default ` * zh: '更多' * en: 'More' * ` */ 'ellipsis_more': LocaleText } export const localeDictTable = createComponentLocale('table', { 'en_us': { 'loading': 'Loading', 'no_data_empty': 'No content', 'no_data_search': 'No result', 'no_data_error': 'Error', 'no_data_success': 'Success', 'ellipsis_more': 'More', }, 'zh_cn': { 'loading': '加载中', 'no_data_empty': '暂无内容', 'no_data_search': '无搜索结果', 'no_data_error': '出错了', 'no_data_success': '成功了', 'ellipsis_more': '更多', }, })