@@ -427,7 +430,7 @@ export default class PickerControl extends React.PureComponent<
{render(
'modal',
{
- title: '请选择',
+ title: __('请选择'),
size: size,
type: modalMode,
body: {
diff --git a/src/renderers/Form/Radios.tsx b/src/renderers/Form/Radios.tsx
index afed9d5dd..fa3c0536f 100644
--- a/src/renderers/Form/Radios.tsx
+++ b/src/renderers/Form/Radios.tsx
@@ -63,7 +63,8 @@ export default class RadiosControl extends React.Component
{
classPrefix,
itemClassName,
labelClassName,
- labelField
+ labelField,
+ translate: __
} = this.props;
return (
@@ -78,7 +79,7 @@ export default class RadiosControl extends React.Component {
delimiter={delimiter!}
labelClassName={labelClassName}
labelField={labelField}
- placeholder={placeholder}
+ placeholder={__(placeholder)}
options={options}
columnsCount={columnsCount}
classPrefix={classPrefix}
diff --git a/src/renderers/Form/Repeat.tsx b/src/renderers/Form/Repeat.tsx
index fcef034cc..f3adafa5b 100644
--- a/src/renderers/Form/Repeat.tsx
+++ b/src/renderers/Form/Repeat.tsx
@@ -58,7 +58,13 @@ export default class RepeatControl extends React.Component {
renderInput() {
const value = this.props.value;
const parts = value ? value.split(':') : [];
- let {options, placeholder, disabled, classPrefix: ns} = this.props;
+ let {
+ options,
+ placeholder,
+ disabled,
+ classPrefix: ns,
+ translate: __
+ } = this.props;
let optionsArray: Array