From 4b72908940a57a04d7f307abb5774781d00f1ade Mon Sep 17 00:00:00 2001 From: M Fahru Date: Mon, 11 Sep 2023 08:55:52 -0700 Subject: [PATCH] Merge pull request #14590 from overleaf/mf-managed-users-translation-fix [web] Fix translation not handled properly & add new translation key on managed users screen GitOrigin-RevId: 02f507020d51b1011e929960c1a3e0cdc52304b2 --- services/web/frontend/extracted-translations.json | 1 + .../features/group-management/components/group-member-row.tsx | 4 ++-- services/web/locales/en.json | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 6cc4735807..3fb02ad4b3 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -627,6 +627,7 @@ "managed_user_invite_has_been_sent_to_email": "", "managed_users": "", "managed_users_explanation": "", + "managed_users_is_enabled": "", "managed_users_terms": "", "managers_management": "", "mark_as_resolved": "", diff --git a/services/web/frontend/js/features/group-management/components/group-member-row.tsx b/services/web/frontend/js/features/group-management/components/group-member-row.tsx index 04127b1b39..844f96f3f4 100644 --- a/services/web/frontend/js/features/group-management/components/group-member-row.tsx +++ b/services/web/frontend/js/features/group-management/components/group-member-row.tsx @@ -62,7 +62,7 @@ export default function GroupMemberRow({ aria-hidden="true" aria-label={t('invite_not_accepted')} /> - t('invite_not_accepted') + {t('invite_not_accepted')} ) : ( <> @@ -71,7 +71,7 @@ export default function GroupMemberRow({ aria-hidden="true" aria-label={t('accepted_invite')} /> - t('accepted_invite') + {t('accepted_invite')} )} diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 2e541871b9..612b39e563 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1011,6 +1011,7 @@ "managed_users_accounts": "Managed user accounts", "managed_users_accounts_plan_info": "Managed Users gives you more control over your group’s use of Overleaf. It ensures tighter management of user access and deletion and allows you to keep control of projects when someone leaves the group.", "managed_users_explanation": "Managed Users ensures you stay in control of your organization’s projects and who owns them. <0>Read more about Managed Users.", + "managed_users_is_enabled": "Managed Users is enabled", "managed_users_terms": "To use the Managed Users feature, you must agree to the latest version of our customer terms at <0>__link__ on behalf of your organization by selecting \"I agree\" below. These terms will then apply to your organization’s use of Overleaf in place of any previously agreed Overleaf terms. The exception to this is where we have a signed agreement in place with you, in which case that signed agreement will continue to govern. Please keep a copy for your records.", "managers_cannot_remove_admin": "Admins cannot be removed", "managers_cannot_remove_self": "Managers cannot remove themselves",