import {
	WeaLocaleProvider,
} from 'ecCom';

const getLabel = WeaLocaleProvider.getLabel;

export const i18n = {
	module: {
		personalization: () => getLabel(18166, '个性化设置'),
	},
	label: {
		company: () => getLabel(140, '总部'),
		subcompany: () => getLabel(33553, '分部'),
		department: () => getLabel(126029, '部门'),
		basicInfo: () => getLabel(1361, '基本信息'),
		resource: () => getLabel(1867, '人员'),
		noFileSelected: () => getLabel(384040, '未选择任何文件'),
		includeLower: () => getLabel(125963, '含下级'),
		level: () => getLabel('386986', '级别：'),
		groupTemplet: () => getLabel(386488, '常用组信息导入模板'),
		groupList: () => getLabel(386490, '常用组列表'),
		memberList: () => getLabel(386491, '成员列表'),
		shareScopeList: () => getLabel(386492, '共享范围列表'),
		member: () => getLabel(431, '成员'),
		shareScope: () => getLabel(82752, '共享范围'),
		tobeTreated: () => getLabel(16349, '待处理'),
		alreadyProcessed: () => getLabel(1454, '已处理'),
		logDownload: () => getLabel(386493, '导入日志下载'),
		recommand: () => getLabel(126253, '公共组调整建议'),
		infoImport: () => getLabel(125445, '常用组信息导入'),
		importInfo: () => getLabel('386987', '导入情况'),
		importMember: () => getLabel(386494, '导入成员'),
		staffImport: () => getLabel(386495, '常用组人员导入'),
		newGroup: () => getLabel(386496, '新建常用组'),
		groupSetting: () => getLabel(126252, '常用组设置'),
		addShare: () => getLabel(18645, '添加共享'),
		sealConfirm: () => getLabel(22153, '确定封存吗?'),
		unsealConfirm: () => getLabel(22154, '确定解封吗?'),
	},
	button: {
		search: () => getLabel(82529, '搜索'),
		reset: () => getLabel(27088, '重置'),
		ok: () => getLabel(33703, '确定'),
		cancel: () => getLabel(32694, '取消'),
		create: () => getLabel(365, '新建'),
		remove: () => getLabel(20230, '移除'),
		delete: () => getLabel(131966, '删除'),
		multiDelete: () => getLabel(32136, '批量删除'),
		save: () => getLabel(30986, '保存'),
		saveAndSetting: () => getLabel(32159, '保存并进入详细设置'),
		add: () => getLabel(131201, '添加'),
		import: () => getLabel(18596, '导入'),
		selectFile: () => getLabel(125333, '选择文件'),
		submit: () => getLabel(615, '提交'),
		importHistoryQuery: () => getLabel(24644, '历史导入记录'),
	},
	confirm: {
		defaultTitle: () => getLabel(131329, '信息确认'),
		delete: () => getLabel(83877, '确定要删除吗？'),
		batchDeleteConfirm: () => getLabel(385625, '确定要删除选择的记录吗？'),
		closeDialogIfunfinished: () => getLabel(386499, '文件导入未完成，您确定要关闭当前弹出框吗?'),
	},
	message: {
		authFailed: () => getLabel(2012, '对不起，您暂时没有权限！'),
		requiredIsNotFull: () => getLabel(386497, '必填信息不完整！'),
		canLowerThanZero: () => getLabel(386498, '排序值不能小于0！'),
		importSuccess: () => getLabel(386988, '导入完成！'),
		pleaseUploadFile: () => getLabel(384197, '请上传文件'),

	},
};
