diff --git a/CHANGELOG.md b/CHANGELOG.md index af20e9b7..128b505c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to - ✨(frontend) Activate versions feature #240 - ✨(frontend) one-click document creation #275 - ✨(frontend) edit title inline #275 +- 🌐(frontend) Update translation #308 ## Changed diff --git a/src/frontend/apps/impress/src/features/docs/doc-management/components/DocVisibility.tsx b/src/frontend/apps/impress/src/features/docs/doc-management/components/DocVisibility.tsx index 5a06fd24..61788869 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-management/components/DocVisibility.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-management/components/DocVisibility.tsx @@ -58,11 +58,11 @@ export const DocVisibility = ({ doc }: DocVisibilityProps) => { setDocPublic(!docPublic); }} disabled={!doc.abilities.link_configuration} - text={t( + text={ docPublic - ? 'Anyone on the internet with the link can view' - : 'Only for people with access', - )} + ? t('Anyone on the internet with the link can view') + : t('Only for people with access') + } />