diff options
Diffstat (limited to 'app/javascript/routes/components/StopPoint.js')
| -rw-r--r-- | app/javascript/routes/components/StopPoint.js | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/app/javascript/routes/components/StopPoint.js b/app/javascript/routes/components/StopPoint.js index 2d47e802b..af51a6bb4 100644 --- a/app/javascript/routes/components/StopPoint.js +++ b/app/javascript/routes/components/StopPoint.js @@ -18,15 +18,15 @@ export default function StopPoint(props, {I18n}) {          <div>            <select className='form-control' value={props.value.for_boarding} id="for_boarding" onChange={props.onSelectChange}> -            <option value="normal">{I18n.routes.edit.stop_point.boarding.normal}</option> -            <option value="forbidden">{I18n.routes.edit.stop_point.boarding.forbidden}</option> +            <option value="normal">{I18n.t('routes.edit.stop_point.boarding.normal')}</option> +            <option value="forbidden">{I18n.t('routes.edit.stop_point.boarding.forbidden')}</option>            </select>          </div>          <div>            <select className='form-control' value={props.value.for_alighting} id="for_alighting" onChange={props.onSelectChange}> -            <option value="normal">{I18n.routes.edit.stop_point.alighting.normal}</option> -            <option value="forbidden">{I18n.routes.edit.stop_point.alighting.forbidden}</option> +            <option value="normal">{I18n.t('routes.edit.stop_point.alighting.normal')}</option> +            <option value="forbidden">{I18n.t('routes.edit.stop_point.alighting.forbidden')}</option>            </select>          </div> @@ -77,7 +77,7 @@ export default function StopPoint(props, {I18n}) {    )  } -StopPoint.PropTypes = { +StopPoint.propTypes = {    onToggleMap: PropTypes.func.isRequired,    onToggleEdit: PropTypes.func.isRequired,    onDeleteClick: PropTypes.func.isRequired, @@ -93,4 +93,4 @@ StopPoint.PropTypes = {  StopPoint.contextTypes = {    I18n: PropTypes.object -}
\ No newline at end of file +} | 
