Skip to content

Commit 27bc69d

Browse files
committed
Fix error info
1 parent 3479327 commit 27bc69d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/meteor/client/views/mediaCallHistory/MediaCallHistoryContextualbar.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,10 @@ export const MediaCallHistoryContextualbar = () => {
4141
<ContextualbarDialog onClose={closeTab}>
4242
<ContextualbarHeader>
4343
<ContextualbarIcon name='info-circled' />
44-
{/* TODO: use correct translation key Call_info */}
45-
<ContextualbarTitle>{t('Call_Information')}</ContextualbarTitle>
44+
<ContextualbarTitle>{t('Call_info')}</ContextualbarTitle>
4645
<ContextualbarClose onClick={closeTab} />
4746
</ContextualbarHeader>
48-
{/* TODO: use a proper error message */}
49-
<ContextualbarEmptyContent icon='user' title={t('Contact_not_found')} />
47+
<ContextualbarEmptyContent icon='warning' title={t('Call_info_could_not_be_loaded')} subtitle={t('Please_try_again')} />
5048
</ContextualbarDialog>
5149
);
5250
}

packages/i18n/src/locales/en.i18n.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,7 @@
913913
"Call_Already_Ended": "Call Already Ended",
914914
"Call_ID": "Call ID",
915915
"Call_info": "Call info",
916+
"Call_info_could_not_be_loaded": "Call info could not be loaded",
916917
"Call_Information": "Call Information",
917918
"Call_again": "Call again",
918919
"Call_back": "Call back",
@@ -4094,6 +4095,7 @@
40944095
"Please_select_an_user": "Please select an user",
40954096
"Please_select_enabled_yes_or_no": "Please select an option for Enabled",
40964097
"Please_select_visibility": "Please select a visibility",
4098+
"Please_try_again": "Please try again.",
40974099
"Please_wait": "Please wait",
40984100
"Please_wait_activation": "Please wait, this can take some time.",
40994101
"Please_wait_while_OTR_is_being_established": "Please wait while OTR is being established",

0 commit comments

Comments
 (0)