Skip to content

Commit

Permalink
fix: i18n wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
justahole committed May 7, 2020
1 parent ecfa2bf commit 3ae429a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default class SingleStatDataForm extends Component {
})
}
>
{t('ADD')}
{t('Add')}
</Button>
}
/>
Expand Down Expand Up @@ -123,7 +123,7 @@ export default class SingleStatDataForm extends Component {
defaultValue={'none'}
>
{({ onChange, value }) => (
<Field label={t('UNIT')} tips={''}>
<Field label={t('Unit')} tips={''}>
<Select
options={formatOpts}
value={value}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class SingleStatDataForm extends Component {
<Form.Item>
<FormItemContainer name={'format'} defaultValue={'memory'}>
{({ onChange, value }) => (
<Field label={t('UNIT')} tips={''}>
<Field label={t('Unit')} tips={''}>
<Select
options={[
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default class SingleStatDataForm extends Component {
<Form.Item>
<FormItemContainer name={'format'} defaultValue={formatOpts[0]}>
{({ onChange, value }) => (
<Field label={t('UNIT')} tips={''}>
<Field label={t('Unit')} tips={''}>
<Select
options={formatOpts}
value={value}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default class TableColumnInput extends React.Component {
},
{
key: 'unit',
label: t('UNIT'),
label: t('Unit'),
visible(value, fileds) {
return fileds.type === 'number'
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default class TableColumnStyleModal extends React.Component {
<div>
<Columns>
<Column>
<Form.Item label={t('UNIT')}>
<Form.Item label={t('Unit')}>
<Select
defaultValue={'null'}
name={'unit'}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default class TableMonitorForm extends Component {
<ColumeInput
right={
<Button type={'control'} onClick={onAdd}>
{t('ADD')}
{t('Add')}
</Button>
}
/>
Expand Down

0 comments on commit 3ae429a

Please sign in to comment.