Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Commit

Permalink
Adding disabled ooo message in status if ooo is disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
codearth01 authored and amitmall committed Aug 29, 2019
1 parent 35d4670 commit ac1eb9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/status_dropdown/status_dropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default class StatusDropdown extends React.Component {
onClick={setOutOfOffice}
text={localizeMessage('status_dropdown.set_ooo', 'Out of office')}

extraText={localizeMessage('status_dropdown.set_ooo.extra', 'Automatic Replies are enabled')}
extraText={localizeMessage('status_dropdown.disabled_ooo.extra', 'Automatic Replies are disabled')}
/>
<MenuItemAction
onClick={setOffline}
Expand Down
1 change: 1 addition & 0 deletions i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2796,6 +2796,7 @@
"status_dropdown.set_online": "Online",
"status_dropdown.set_ooo": "Out of Office",
"status_dropdown.set_ooo.extra": "Automatic Replies are enabled",
"status_dropdown.disabled_ooo.extra": "Automatic Replies are disabled",
"string.id": "default message",
"suggestion_list.no_matches": "No items match __{value}__",
"suggestion.mention.all": "CAUTION: This mentions everyone in channel",
Expand Down

0 comments on commit ac1eb9b

Please sign in to comment.