mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 09:21:13 +08:00
amis-saas-7483 国际化翻译
Change-Id: I92dd039d927ce5c4b3203af38b75a01ed304452e
This commit is contained in:
parent
afe2cd42c7
commit
7ba8000afc
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "amis-editor",
|
"name": "amis-editor",
|
||||||
"version": "5.2.0-i18n.7",
|
"version": "5.2.0-i18n.8",
|
||||||
"description": "amis 可视化编辑器",
|
"description": "amis 可视化编辑器",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"module": "esm/index.js",
|
"module": "esm/index.js",
|
||||||
|
@ -16,6 +16,8 @@ import {
|
|||||||
SUPPORT_DISABLED_CMPTS
|
SUPPORT_DISABLED_CMPTS
|
||||||
} from './helper';
|
} from './helper';
|
||||||
import {BaseLabelMark} from '../../component/BaseControl';
|
import {BaseLabelMark} from '../../component/BaseControl';
|
||||||
|
import {i18n as _i18n} from 'i18n-runtime';
|
||||||
|
|
||||||
const MSG_TYPES: {[key: string]: string} = {
|
const MSG_TYPES: {[key: string]: string} = {
|
||||||
info: '提示',
|
info: '提示',
|
||||||
warning: '警告',
|
warning: '警告',
|
||||||
@ -204,7 +206,8 @@ const ACTION_TYPE_TREE = (manager: any): RendererPluginAction[] => {
|
|||||||
}
|
}
|
||||||
block
|
block
|
||||||
>
|
>
|
||||||
去配置
|
{/* 翻译未生效,临时方案 */}
|
||||||
|
{_i18n('a532be3ad5f3fda70d228b8542e81835')}
|
||||||
</Button>
|
</Button>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
@ -232,7 +235,8 @@ const ACTION_TYPE_TREE = (manager: any): RendererPluginAction[] => {
|
|||||||
}
|
}
|
||||||
block
|
block
|
||||||
>
|
>
|
||||||
去配置
|
{/* 翻译未生效,临时方案 */}
|
||||||
|
{_i18n('a532be3ad5f3fda70d228b8542e81835')}
|
||||||
</Button>
|
</Button>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,7 @@ import {
|
|||||||
SubRendererPluginAction
|
SubRendererPluginAction
|
||||||
} from 'amis-editor-core';
|
} from 'amis-editor-core';
|
||||||
export * from './helper';
|
export * from './helper';
|
||||||
|
import {i18n as _i18n} from 'i18n-runtime';
|
||||||
|
|
||||||
interface EventControlProps extends FormControlProps {
|
interface EventControlProps extends FormControlProps {
|
||||||
actions: PluginActions; // 组件的动作列表
|
actions: PluginActions; // 组件的动作列表
|
||||||
@ -828,7 +829,8 @@ export class EventControl extends React.Component<
|
|||||||
})
|
})
|
||||||
) : (
|
) : (
|
||||||
<div className="ae-event-control-placeholder">
|
<div className="ae-event-control-placeholder">
|
||||||
快去添加事件,让你的产品动起来吧
|
{/* 翻译未生效,临时方案 */}
|
||||||
|
{_i18n('4db5110d41293fef57f5a1f364187896')}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -237,7 +237,8 @@ function BoxBorder({
|
|||||||
placeholder: '边框颜色',
|
placeholder: '边框颜色',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
value: value[getKey('border', 'color')],
|
value: value[getKey('border', 'color')],
|
||||||
inputClassName: 'ae-border-colorpicker'
|
inputClassName: 'ae-border-colorpicker',
|
||||||
|
label: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
onChange: changeItem('border', 'color')
|
onChange: changeItem('border', 'color')
|
||||||
|
Loading…
Reference in New Issue
Block a user