diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 32fdf2cb53..bf1150e21d 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -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" diff --git a/ts/components/leftPane/LeftPaneArchiveHelper.tsx b/ts/components/leftPane/LeftPaneArchiveHelper.tsx index c3465050a5..971a279de0 100644 --- a/ts/components/leftPane/LeftPaneArchiveHelper.tsx +++ b/ts/components/leftPane/LeftPaneArchiveHelper.tsx @@ -117,7 +117,9 @@ export class LeftPaneArchiveHelper extends LeftPaneHelper - {i18n('archiveHelperText')} + {this.getRowCount() > 0 + ? i18n('archiveHelperText') + : i18n('noArchivedConversations')} ); }