From 44a655835b9cd24aea0f5d043d368d944f3688e6 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 | 8 +++---- ts/Restrictions/RestrictionRow.tsx | 4 ++-- 5 files changed, 28 insertions(+), 28 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 a0b1bde..e0a6377 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 (
-