diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-02-03 07:37:27 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-02-03 07:37:27 -0500 |
commit | 0571953755bb96b3d1c15279e2fb429a3ec993a5 (patch) | |
tree | bea9b56e174067ce3d8239702fc2d38f3b0d188c /web/react/components/post_deleted_modal.jsx | |
parent | 5be7d002300afcf1e06cf9878d81f567b4bd9845 (diff) | |
parent | d424c9eaf12653332f15afa2cb9dfc6684fa95d8 (diff) | |
download | chat-0571953755bb96b3d1c15279e2fb429a3ec993a5.tar.gz chat-0571953755bb96b3d1c15279e2fb429a3ec993a5.tar.bz2 chat-0571953755bb96b3d1c15279e2fb429a3ec993a5.zip |
Merge pull request #2051 from ZBoxApp/PLT-7-channel-modals
PLT-7: Refactoring frontend (chunk 10)
Diffstat (limited to 'web/react/components/post_deleted_modal.jsx')
-rw-r--r-- | web/react/components/post_deleted_modal.jsx | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/web/react/components/post_deleted_modal.jsx b/web/react/components/post_deleted_modal.jsx index 3723bcaba..218f57eb5 100644 --- a/web/react/components/post_deleted_modal.jsx +++ b/web/react/components/post_deleted_modal.jsx @@ -4,6 +4,9 @@ import UserStore from '../stores/user_store.jsx'; import AppDispatcher from '../dispatcher/app_dispatcher.jsx'; import Constants from '../utils/constants.jsx'; + +import {FormattedMessage} from 'mm-intl'; + var ActionTypes = Constants.ActionTypes; export default class PostDeletedModal extends React.Component { @@ -65,11 +68,19 @@ export default class PostDeletedModal extends React.Component { className='modal-title' id='myModalLabel' > - {'Comment could not be posted'} + <FormattedMessage + id='post_delete.notPosted' + defaultMessage='Comment could not be posted' + /> </h4> </div> <div className='modal-body'> - <p>{'Someone deleted the message on which you tried to post a comment.'}</p> + <p> + <FormattedMessage + id='post_delete.someone' + defaultMessage='Someone deleted the message on which you tried to post a comment.' + /> + </p> </div> <div className='modal-footer'> <button @@ -77,7 +88,10 @@ export default class PostDeletedModal extends React.Component { className='btn btn-primary' data-dismiss='modal' > - {'Okay'} + <FormattedMessage + id='post_delete.okay' + defaultMessage='Okay' + /> </button> </div> </div> |