mirror of
https://github.com/strapi/strapi.git
synced 2025-11-09 14:51:29 +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) => (
|
{map(this.props.selectOptions, (option, key) => (
|
||||||
option.name ?
|
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) => (
|
{(message) => (
|
||||||
<option value={option.value}>
|
<option value={option.value}>
|
||||||
{message}
|
{message}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user