Fixed incorrect formatting of numbers and plural words (#6696)

* Fixed incorrect formatting of numbers and plural words

* Removed unused i18n strings

* Fixed eslint errors
Этот коммит содержится в:
Harrison Healey
2017-06-22 06:30:03 -04:00
коммит произвёл George Goldberg
родитель 42f28ab8e3
Коммит ac4e9909fa
10 изменённых файлов: 55 добавлений и 49 удалений

Просмотреть файл

@@ -87,7 +87,7 @@ export default class DeletePostModal extends React.Component {
commentWarning = (
<FormattedMessage
id='delete_post.warning'
defaultMessage='This post has {count} comment(s) on it.'
defaultMessage='This post has {count, number} {count, plural, one {comment} other {comments}} on it.'
values={{
count: this.state.commentCount
}}