From 357954b21f85c5dab5b865f47689666590c551ed Mon Sep 17 00:00:00 2001 From: Amir Ghezelbash Date: Wed, 26 Jun 2024 13:38:53 +0330 Subject: [PATCH] feat: update translations (#17623) --- src/i18n/en-US.json | 16 ++++++++-------- .../EmptyConversationList.tsx | 6 +++++- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/i18n/en-US.json b/src/i18n/en-US.json index 1b4f9dae91a..75164906df4 100644 --- a/src/i18n/en-US.json +++ b/src/i18n/en-US.json @@ -397,8 +397,12 @@ "conversationAssetUploading": "Uploading…", "conversationAudioAssetRestricted": "Receiving audio messages is prohibited", "conversationButtonSeparator": "or", + "conversationConnectWithNewUsers": "Connect with People", + "conversationFavoritesTabEmptyMessage": "Select your favorite conversations, and you’ll find them here \uD83D\uDC4D", + "conversationFavoritesTabEmptyLinkText": "How to label conversations as favorites", + "conversationGroupEmptyMessage": "You are not part of any group conversation yet.", + "conversationDirectEmptyMessage": "You have no contacts yet. Search for people on {{brandName}} and get connected.", "conversationClassified": "Security level: VS-NfD", - "conversationConnectWithNewUsers": "Connect with new users", "conversationConnectionAccepted": "Connected", "conversationConnectionBlocked": "Blocked", "conversationConnectionCancelRequest": "Cancel connection request", @@ -468,10 +472,7 @@ "conversationDeviceUnverified": " unverified one of", "conversationDeviceUserDevices": " {{user}}´s devices", "conversationDeviceYourDevices": " your devices", - "conversationDirectEmptyMessage": "You are not connected with anyone on Wire yet.", "conversationEditTimestamp": "Edited: {{date}}", - "conversationFavoritesTabEmptyLinkText": "How to label conversations as favorites", - "conversationFavoritesTabEmptyMessage": "Label your most beloved conversations as favorites, so you can easily keep track of them here 👍", "conversationFederationIndicator": "Federated", "conversationFileAssetRestricted": "Receiving files is prohibited", "conversationFoldersEmptyText": "Add your conversations to folders to stay organized.", @@ -479,7 +480,6 @@ "conversationFooterArchive": "Archive", "conversationFooterContacts": "Contacts", "conversationGroupCreate": "Group", - "conversationGroupEmptyMessage": "You are not part of any group conversation yet.", "conversationGuestIndicator": "Guest", "conversationImageAssetRestricted": "Receiving images is prohibited", "conversationJoin.existentAccountJoinInBrowser": "Join in the browser", @@ -1364,13 +1364,13 @@ "roleAdmin": "Admin", "roleOwner": "Owner", "rolePartner": "External", - "searchArchivedConversations": "Search archived conversations", "searchConnect": "Connect", "searchConnectWithOtherDomain": "Connect with other domain", "searchConnections": "Connections", "searchContacts": "Contacts", "searchConversations": "Search conversations", - "searchConversationsNoResult": "No conversations could be found.", + "searchArchivedConversations": "Search archived conversations", + "searchConversationsNoResult": "No results found", "searchConversationsNoResultConnectSuggestion": "Connect with new users or start a new conversation", "searchCreateGroup": "Create group", "searchCreateGuestRoom": "Create guest room", @@ -1401,7 +1401,7 @@ "searchOthers": "Connect", "searchOthersFederation": "Connect with {{domainName}}", "searchPeople": "People", - "searchPeoplePlaceholder": "Search for people and conversations", + "searchPeoplePlaceholder": "Search people", "searchServiceConfirmButton": "Open Conversation", "searchServicePlaceholder": "Search by name", "searchServices": "Services", diff --git a/src/script/page/LeftSidebar/panels/Conversations/EmptyConversationList/EmptyConversationList.tsx b/src/script/page/LeftSidebar/panels/Conversations/EmptyConversationList/EmptyConversationList.tsx index 4d229fc61b7..6bc5cb10b57 100644 --- a/src/script/page/LeftSidebar/panels/Conversations/EmptyConversationList/EmptyConversationList.tsx +++ b/src/script/page/LeftSidebar/panels/Conversations/EmptyConversationList/EmptyConversationList.tsx @@ -118,7 +118,11 @@ export const EmptyConversationList = ({currentTab, onChangeTab, searchValue = '' return (
-

{searchValue ? t('searchConversationsNoResult') : t('conversationDirectEmptyMessage')}

+

+ {searchValue + ? t('searchConversationsNoResult') + : t('conversationDirectEmptyMessage', {brandName: Config.getConfig().BRAND_NAME})} +