update 0.9.0
This commit is contained in:
41
packages/dooringx-lib/src/locale/en.ts
Normal file
41
packages/dooringx-lib/src/locale/en.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* @Author: yehuozhili
|
||||
* @Date: 2021-08-27 10:20:23
|
||||
* @LastEditors: yehuozhili
|
||||
* @LastEditTime: 2021-08-27 16:06:49
|
||||
* @FilePath: \dooringx\packages\dooringx-lib\src\locale\en.ts
|
||||
*/
|
||||
|
||||
import { zhCN } from './zh-CN';
|
||||
|
||||
export const en: typeof zhCN = {
|
||||
'timeline.name': 'Component name',
|
||||
'contorl.popup.absolute': 'Are you sure to change to absolutely positioned element',
|
||||
'contorl.popup.static': 'Are you sure to change to static positioned element',
|
||||
'contorl.absolute': 'Change to absolute',
|
||||
'contorl.static': 'Change to static',
|
||||
'control.popup.delete': 'Are you sure to delete',
|
||||
'control.delete': 'Delete',
|
||||
'control.focus': 'Focus',
|
||||
'control.no-component': 'No components',
|
||||
'modal.new': 'New modal',
|
||||
'modal.control': 'Control modal',
|
||||
'modal.popup.exit': 'Please exit the edit modal and open the configuration again',
|
||||
'modal.popup.edit': 'Switch to this modal and edit it?',
|
||||
'modal.popup.save': 'Please save the modal and edit another modal',
|
||||
'modal.popup.notfond': 'Can not found {name} modal',
|
||||
'modal.popup.repeat': 'Duplicate name {name} already exists',
|
||||
'modal.popup.remove': 'Please save the modal before deleting',
|
||||
'modal.popup.nomodal': 'No modal',
|
||||
'modal.popup.name': 'Please enter modal name',
|
||||
'modal.name': 'Modal name',
|
||||
'modal.control.remove': 'Delete click to delete the effect of the modal',
|
||||
yes: 'yes',
|
||||
no: 'no',
|
||||
'right.noprops': 'No properties have been configured',
|
||||
'right.global': 'Global config',
|
||||
'right.containerheight': 'Container height',
|
||||
'right.containerColor': 'Container background color',
|
||||
'right.bodyColor': 'Body background color',
|
||||
title: 'title',
|
||||
};
|
18
packages/dooringx-lib/src/locale/index.ts
Normal file
18
packages/dooringx-lib/src/locale/index.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* @Author: yehuozhili
|
||||
* @Date: 2021-08-27 10:20:38
|
||||
* @LastEditors: yehuozhili
|
||||
* @LastEditTime: 2021-08-27 14:30:05
|
||||
* @FilePath: \dooringx\packages\dooringx-lib\src\locale\index.ts
|
||||
*/
|
||||
import { en } from './en';
|
||||
import { zhCN } from './zh-CN';
|
||||
|
||||
export const localeMap = {
|
||||
'zh-CN': zhCN,
|
||||
en,
|
||||
};
|
||||
export type localeKey = keyof typeof localeMap;
|
||||
|
||||
export { en } from './en';
|
||||
export { zhCN } from './zh-CN';
|
38
packages/dooringx-lib/src/locale/zh-CN.ts
Normal file
38
packages/dooringx-lib/src/locale/zh-CN.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* @Author: yehuozhili
|
||||
* @Date: 2021-08-27 10:20:15
|
||||
* @LastEditors: yehuozhili
|
||||
* @LastEditTime: 2021-08-27 16:06:45
|
||||
* @FilePath: \dooringx\packages\dooringx-lib\src\locale\zh-CN.ts
|
||||
*/
|
||||
export const zhCN = {
|
||||
'timeline.name': '组件名称',
|
||||
'contorl.popup.absolute': '确认变更为绝对定位吗',
|
||||
'contorl.popup.static': '确认变更为静态定位吗',
|
||||
'contorl.absolute': '切换绝对定位',
|
||||
'contorl.static': '切换静态定位',
|
||||
'control.popup.delete': '确认删除吗',
|
||||
'control.delete': '删除',
|
||||
'control.focus': '选中聚焦',
|
||||
'control.no-component': '暂无组件',
|
||||
'modal.new': '新增弹窗',
|
||||
'modal.control': '弹窗配置',
|
||||
'modal.popup.exit': '请退出编辑弹窗后再打开该配置',
|
||||
'modal.popup.edit': '是否切换至该弹窗并进行编辑?',
|
||||
'modal.popup.save': '请保存弹窗后编辑其他弹窗',
|
||||
'modal.popup.notfond': '未找到该弹窗 {name}',
|
||||
'modal.popup.repeat': '已有重名弹窗 {name}',
|
||||
'modal.popup.remove': '请保存弹窗后再删除',
|
||||
'modal.popup.nomodal': '暂时没有弹窗',
|
||||
'modal.popup.name': '请输入弹窗名称',
|
||||
'modal.name': '弹窗名称',
|
||||
'modal.control.remove': '取消点击删除弹窗',
|
||||
yes: '是',
|
||||
no: '否',
|
||||
'right.noprops': '还没有配置属性',
|
||||
'right.global': '全局设置',
|
||||
'right.containerheight': '容器高度',
|
||||
'right.containerColor': '容器底色',
|
||||
'right.bodyColor': 'body底色',
|
||||
title: '标题',
|
||||
};
|
Reference in New Issue
Block a user