mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 12:38:53 +08:00
整理多语言相关
This commit is contained in:
parent
5a968edab9
commit
1da33b9741
@ -27,6 +27,12 @@ import {resizeSensor} from './utils/resize-sensor';
|
||||
import {setIconVendor} from './renderers/Form/IconPickerIcons';
|
||||
import {Icon, registerIcon} from './components/icons';
|
||||
import {RegisterStore} from './store';
|
||||
import {
|
||||
setDefaultLocale,
|
||||
getDefaultLocale,
|
||||
makeTranslator,
|
||||
register as registerLocale
|
||||
} from './locale';
|
||||
|
||||
// 注册渲染器
|
||||
import './renderers/Action';
|
||||
@ -203,5 +209,10 @@ export {
|
||||
getTheme,
|
||||
classPrefix,
|
||||
getClassPrefix,
|
||||
classnames
|
||||
classnames,
|
||||
// 多语言相关
|
||||
getDefaultLocale,
|
||||
setDefaultLocale,
|
||||
registerLocale,
|
||||
makeTranslator
|
||||
};
|
||||
|
@ -202,5 +202,7 @@ register('en', {
|
||||
'上一步': 'Prev',
|
||||
'下一步': 'Next',
|
||||
'保存并下一步': 'Save & Next',
|
||||
'完成': 'Finish'
|
||||
'完成': 'Finish',
|
||||
'点击选择图片或者将图片拖入该区域':
|
||||
'Click to select the picture or drag the picture into the area'
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user