From 93311238d3ab226f5800bd8efce4ffa65accee36 Mon Sep 17 00:00:00 2001 From: Jan Kessler Date: Mon, 16 Oct 2023 19:31:41 +0200 Subject: [PATCH] add whitespace after uses of shared_by string, remove the whitespace from english locale (#5468) --- app/assets/locales/en.json | 2 +- app/javascript/components/rooms/RoomCard.jsx | 2 +- app/javascript/components/rooms/room/SharedBadge.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/locales/en.json b/app/assets/locales/en.json index e7df24ed3c..2fec3e4d1b 100644 --- a/app/assets/locales/en.json +++ b/app/assets/locales/en.json @@ -110,7 +110,7 @@ "delete_room": "Delete Room", "create_new_room": "Create New Room", "enter_room_name": "Enter the room name", - "shared_by": "shared by ", + "shared_by": "shared by", "last_session": "Last Session: {{ localizedTime }}", "no_last_session": "No previous session created", "search_not_found": "No Rooms Found", diff --git a/app/javascript/components/rooms/RoomCard.jsx b/app/javascript/components/rooms/RoomCard.jsx index 63790698b8..5d62c1b4bb 100644 --- a/app/javascript/components/rooms/RoomCard.jsx +++ b/app/javascript/components/rooms/RoomCard.jsx @@ -57,7 +57,7 @@ export default function RoomCard({ room }) { { room.name } { room.shared_owner && ( - { t('room.shared_by') } { room.shared_owner } + { t('room.shared_by') } {' '} { room.shared_owner } )} { room.last_session ? ( { t('room.last_session', { localizedTime }) } diff --git a/app/javascript/components/rooms/room/SharedBadge.jsx b/app/javascript/components/rooms/room/SharedBadge.jsx index d34390ef23..86c53677f3 100644 --- a/app/javascript/components/rooms/room/SharedBadge.jsx +++ b/app/javascript/components/rooms/room/SharedBadge.jsx @@ -25,7 +25,7 @@ export default function SharedBadge({ ownerName }) { return (
- { t('room.shared_by')} + { t('room.shared_by')} {' '} { ownerName }