mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +00:00
Merge pull request #256 from strapi/fix/select-translations
Fix type number options translations
This commit is contained in:
commit
8e3eb0d94f
@ -176,7 +176,7 @@ class Input extends React.Component { // eslint-disable-line react/prefer-statel
|
||||
>
|
||||
{map(this.props.selectOptions, (option, key) => (
|
||||
option.name ?
|
||||
<FormattedMessage id='select.option.message' defaultMessage='{option}' values={{ option: option.name }} key={key}>
|
||||
<FormattedMessage id={option.name} defaultMessage={option.name} values={{ option: option.name }} key={key}>
|
||||
{(message) => (
|
||||
<option value={option.value}>
|
||||
{message}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user