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