summaryrefslogtreecommitdiffstats
path: root/webapp/components/delete_post_modal.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-06-22 06:30:03 -0400
committerGeorge Goldberg <george@gberg.me>2017-06-22 11:30:03 +0100
commitac4e9909fa4f3f6c6a0d1e537d6039115d07a5e0 (patch)
tree240f17fc31ec65e9967f36f907b0a9a30ec2e6ae /webapp/components/delete_post_modal.jsx
parent42f28ab8e374137fe3f5d25424489d879d4724f8 (diff)
downloadchat-ac4e9909fa4f3f6c6a0d1e537d6039115d07a5e0.tar.gz
chat-ac4e9909fa4f3f6c6a0d1e537d6039115d07a5e0.tar.bz2
chat-ac4e9909fa4f3f6c6a0d1e537d6039115d07a5e0.zip
Fixed incorrect formatting of numbers and plural words (#6696)
* Fixed incorrect formatting of numbers and plural words * Removed unused i18n strings * Fixed eslint errors
Diffstat (limited to 'webapp/components/delete_post_modal.jsx')
-rw-r--r--webapp/components/delete_post_modal.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/delete_post_modal.jsx b/webapp/components/delete_post_modal.jsx
index a64c466cc..fc7e24f22 100644
--- a/webapp/components/delete_post_modal.jsx
+++ b/webapp/components/delete_post_modal.jsx
@@ -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
}}