diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-06-22 06:30:03 -0400 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-06-22 11:30:03 +0100 |
commit | ac4e9909fa4f3f6c6a0d1e537d6039115d07a5e0 (patch) | |
tree | 240f17fc31ec65e9967f36f907b0a9a30ec2e6ae /webapp/components/view_image_popover_bar.jsx | |
parent | 42f28ab8e374137fe3f5d25424489d879d4724f8 (diff) | |
download | chat-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/view_image_popover_bar.jsx')
-rw-r--r-- | webapp/components/view_image_popover_bar.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/view_image_popover_bar.jsx b/webapp/components/view_image_popover_bar.jsx index f07eb19fb..88055b47b 100644 --- a/webapp/components/view_image_popover_bar.jsx +++ b/webapp/components/view_image_popover_bar.jsx @@ -42,7 +42,7 @@ export default class ViewImagePopoverBar extends React.Component { <span className='pull-left text'> <FormattedMessage id='view_image_popover.file' - defaultMessage='File {count} of {total}' + defaultMessage='File {count, number} of {total, number}' values={{ count: (this.props.fileId + 1), total: this.props.totalFiles |