Prepare for ICU migration
This commit is contained in:
parent
d0f17a1398
commit
2781e621ad
62 changed files with 550 additions and 414 deletions
|
@ -118,7 +118,13 @@ function DirectCallHeaderMessage({
|
|||
return <>{i18n('callReconnecting')}</>;
|
||||
}
|
||||
if (callState === CallState.Accepted && acceptedDuration) {
|
||||
return <>{i18n('callDuration', [renderDuration(acceptedDuration)])}</>;
|
||||
return (
|
||||
<>
|
||||
{i18n('callDuration', {
|
||||
duration: renderDuration(acceptedDuration),
|
||||
})}
|
||||
</>
|
||||
);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
@ -312,9 +318,9 @@ export function CallScreen({
|
|||
if (isRinging) {
|
||||
headerTitle = undefined;
|
||||
} else if (currentPresenter) {
|
||||
headerTitle = i18n('calling__presenting--person-ongoing', [
|
||||
currentPresenter.title,
|
||||
]);
|
||||
headerTitle = i18n('calling__presenting--person-ongoing', {
|
||||
name: currentPresenter.title,
|
||||
});
|
||||
} else if (!activeCall.remoteParticipants.length) {
|
||||
headerTitle = i18n('calling__in-this-call--zero');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue