From 2a29608c97f07b34615cffc19e0bc4cf972dd4a5 Mon Sep 17 00:00:00 2001 From: Sebastien Marinier Date: Thu, 15 Aug 2024 15:42:55 +0200 Subject: [PATCH] fix: 261 remove some backticks remove backticks interfering with xgettext translations sentences extraction --- ts/Common/ShareSelection.tsx | 2 +- ts/Manager/EditRoomDialog.tsx | 36 +++++++++++++++--------------- ts/Manager/RoomRow.tsx | 6 ++--- ts/Manager/ShareWith.tsx | 2 +- ts/Restrictions/RestrictionRow.tsx | 4 ++-- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/ts/Common/ShareSelection.tsx b/ts/Common/ShareSelection.tsx index 9a5a5d8..cd6a83d 100644 --- a/ts/Common/ShareSelection.tsx +++ b/ts/Common/ShareSelection.tsx @@ -78,7 +78,7 @@ const ShareSelection: React.FC = (props) => { className="suggestion" onMouseDown={preventOnBlurEvent} onClick={() => selectShare(option)}> - {option.label}{option.value.shareType === ShareType.Group ? ` (${t('bbb', 'Group')})` : ''} + {option.label}{option.value.shareType === ShareType.Group ? ' (' + t('bbb', 'Group') + ')' : ''} ); }; diff --git a/ts/Manager/EditRoomDialog.tsx b/ts/Manager/EditRoomDialog.tsx index d54dbd9..63c7ae1 100644 --- a/ts/Manager/EditRoomDialog.tsx +++ b/ts/Manager/EditRoomDialog.tsx @@ -65,7 +65,7 @@ const EditRoomDialog: React.FC = ({ room, restriction, updateProperty, op function inputElement(label: string, field: string, type: 'text' | 'number' = 'text') { return (
-