Improve archive helper text
This commit is contained in:
parent
28c1346a25
commit
e150353f3f
2 changed files with 7 additions and 1 deletions
|
@ -221,6 +221,10 @@
|
|||
"message": "These conversations are archived and will only appear in the Inbox if new messages are received.",
|
||||
"description": "Shown at the top of the archived conversations list in the left pane"
|
||||
},
|
||||
"noArchivedConversations": {
|
||||
"message": "No archived conversations.",
|
||||
"description": "Shown at the top of the archived conversations list in the left pane if there is no any archived conversation"
|
||||
},
|
||||
"archiveConversation": {
|
||||
"message": "Archive",
|
||||
"description": "Shown in menu for conversation, and moves conversation out of main conversation list"
|
||||
|
|
|
@ -117,7 +117,9 @@ export class LeftPaneArchiveHelper extends LeftPaneHelper<LeftPaneArchivePropsTy
|
|||
|
||||
return (
|
||||
<div className="module-left-pane__archive-helper-text">
|
||||
{i18n('archiveHelperText')}
|
||||
{this.getRowCount() > 0
|
||||
? i18n('archiveHelperText')
|
||||
: i18n('noArchivedConversations')}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue