diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 55b9e86e77..f70ab047de 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -419,7 +419,7 @@ "other_logs_and_files": "", "other_output_files": "", "overleaf_labs": "", - "owned_by": "", + "owned_by_x": "", "owner": "", "page_current": "", "pagination_navigation": "", diff --git a/services/web/frontend/js/features/project-list/components/table/project-list-table-row.tsx b/services/web/frontend/js/features/project-list/components/table/project-list-table-row.tsx index bf0c6b6f79..bc86cabd5a 100644 --- a/services/web/frontend/js/features/project-list/components/table/project-list-table-row.tsx +++ b/services/web/frontend/js/features/project-list/components/table/project-list-table-row.tsx @@ -47,13 +47,8 @@ export default function ProjectListTableRow({ - {' '} - {ownerName ? ( - <> - — {t('owned_by')}{' '} - {ownerName} - - ) : null} + + {ownerName ? <> — {t('owned_by_x', { x: ownerName })} : null} diff --git a/services/web/frontend/js/features/project-list/components/table/project-list-table.tsx b/services/web/frontend/js/features/project-list/components/table/project-list-table.tsx index ed50435180..4b8415b0c7 100644 --- a/services/web/frontend/js/features/project-list/components/table/project-list-table.tsx +++ b/services/web/frontend/js/features/project-list/components/table/project-list-table.tsx @@ -9,7 +9,10 @@ import { Project } from '../../../../../../types/project/dashboard/api' function SortBtn({ onClick, text, iconType, screenReaderText }: SortBtnProps) { return ( -