Skip to content

Commit

Permalink
add whitespace after uses of shared_by string, remove the whitespace …
Browse files Browse the repository at this point in the history
…from english locale (#5468)
  • Loading branch information
Ithanil authored Oct 16, 2023
1 parent 2c32096 commit 9331123
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/assets/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/components/rooms/RoomCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function RoomCard({ room }) {
<Stack className="my-4">
<Card.Title className="mb-0"> { room.name } </Card.Title>
{ room.shared_owner && (
<span className="text-muted">{ t('room.shared_by') } <strong>{ room.shared_owner }</strong></span>
<span className="text-muted">{ t('room.shared_by') } {' '} <strong>{ room.shared_owner }</strong></span>
)}
{ room.last_session ? (
<span className="text-muted"> { t('room.last_session', { localizedTime }) } </span>
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/components/rooms/room/SharedBadge.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function SharedBadge({ ownerName }) {
return (
<div>
<Badge className="rounded-pill shared-badge ms-2">
<span>{ t('room.shared_by')}
<span>{ t('room.shared_by')} {' '}
<strong>{ ownerName }</strong>
</span>
</Badge>
Expand Down

0 comments on commit 9331123

Please sign in to comment.