mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 11:58:10 +08:00
fix: select组件国际化问题
This commit is contained in:
parent
912cb83c53
commit
d9ad56a515
@ -1193,7 +1193,7 @@ export class Select extends React.Component<SelectProps, SelectState> {
|
||||
) : null}
|
||||
{multiple && valuesNoWrap ? (
|
||||
<div className={cx('Select-option')}>
|
||||
已选择({selectionValues.length})
|
||||
{__('Select.selected')}({selectionValues.length})
|
||||
</div>
|
||||
) : null}
|
||||
{multiple && checkAll && filtedOptions.length ? (
|
||||
|
@ -219,6 +219,7 @@ register('de-DE', {
|
||||
'Select.createLabel': 'Neue Option',
|
||||
'Select.placeholder': 'Auswählen',
|
||||
'Select.searchPromptText': 'Eingeben zum Suchen',
|
||||
'Select.selected': 'Ausgewählt',
|
||||
'sort': 'Sortieren',
|
||||
'SubForm.button': 'Configurieren',
|
||||
'SubForm.editDetail': 'Details bearbeiten',
|
||||
|
@ -212,6 +212,7 @@ register('en-US', {
|
||||
'Select.createLabel': 'New option',
|
||||
'Select.placeholder': 'Select',
|
||||
'Select.searchPromptText': 'Input to search',
|
||||
'Select.selected': 'Selected',
|
||||
'sort': 'Sort',
|
||||
'stop': 'Stop',
|
||||
'SubForm.button': 'Config',
|
||||
|
@ -218,6 +218,7 @@ register('zh-CN', {
|
||||
'Select.createLabel': '新增选项',
|
||||
'Select.placeholder': '请选择',
|
||||
'Select.searchPromptText': '搜索',
|
||||
'Select.selected': '已选择',
|
||||
'sort': '排序',
|
||||
'SubForm.button': '设置',
|
||||
'SubForm.editDetail': '编辑详情',
|
||||
|
Loading…
Reference in New Issue
Block a user