Fix instances of double translation and guard translation calls using typescript (#11443)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
d13b6e1b41
commit
ac70f7ac9b
157 changed files with 554 additions and 780 deletions
|
@ -30,8 +30,7 @@ export const ConfirmListenBroadcastStopCurrentDialog: React.FC<Props> = ({ onFin
|
|||
<BaseDialog title={_t("Listen to live broadcast?")} hasCancel={true} onFinished={onFinished}>
|
||||
<p>
|
||||
{_t(
|
||||
"If you start listening to this live broadcast, " +
|
||||
"your current live broadcast recording will be ended.",
|
||||
"If you start listening to this live broadcast, your current live broadcast recording will be ended.",
|
||||
)}
|
||||
</p>
|
||||
<DialogButtons
|
||||
|
|
|
@ -35,8 +35,7 @@ const showStopBroadcastingDialog = async (): Promise<boolean> => {
|
|||
description: (
|
||||
<p>
|
||||
{_t(
|
||||
"Are you sure you want to stop your live broadcast? " +
|
||||
"This will end the broadcast and the full recording will be available in the room.",
|
||||
"Are you sure you want to stop your live broadcast? This will end the broadcast and the full recording will be available in the room.",
|
||||
)}
|
||||
</p>
|
||||
),
|
||||
|
|
|
@ -28,8 +28,7 @@ const showAlreadyRecordingDialog = (): void => {
|
|||
description: (
|
||||
<p>
|
||||
{_t(
|
||||
"You are already recording a voice broadcast. " +
|
||||
"Please end your current voice broadcast to start a new one.",
|
||||
"You are already recording a voice broadcast. Please end your current voice broadcast to start a new one.",
|
||||
)}
|
||||
</p>
|
||||
),
|
||||
|
@ -43,8 +42,7 @@ const showInsufficientPermissionsDialog = (): void => {
|
|||
description: (
|
||||
<p>
|
||||
{_t(
|
||||
"You don't have the required permissions to start a voice broadcast in this room. " +
|
||||
"Contact a room administrator to upgrade your permissions.",
|
||||
"You don't have the required permissions to start a voice broadcast in this room. Contact a room administrator to upgrade your permissions.",
|
||||
)}
|
||||
</p>
|
||||
),
|
||||
|
@ -58,8 +56,7 @@ const showOthersAlreadyRecordingDialog = (): void => {
|
|||
description: (
|
||||
<p>
|
||||
{_t(
|
||||
"Someone else is already recording a voice broadcast. " +
|
||||
"Wait for their voice broadcast to end to start a new one.",
|
||||
"Someone else is already recording a voice broadcast. Wait for their voice broadcast to end to start a new one.",
|
||||
)}
|
||||
</p>
|
||||
),
|
||||
|
|
|
@ -26,8 +26,7 @@ export const showCantStartACallDialog = (): void => {
|
|||
description: (
|
||||
<p>
|
||||
{_t(
|
||||
"You can’t start a call as you are currently recording a live broadcast. " +
|
||||
"Please end your live broadcast in order to start a call.",
|
||||
"You can’t start a call as you are currently recording a live broadcast. Please end your live broadcast in order to start a call.",
|
||||
)}
|
||||
</p>
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue