소스 검색

Merge pull request #24580 from overleaf/jel-bs5-loading-labels

[web] Add accessibility labels for processing view on BS5 group buttons

GitOrigin-RevId: bb79d3b73eb187097d036bc5a6e307c4232f32d0
Jessica Lawshe 1 년 전
부모
커밋
aa723a70c2

+ 4 - 0
services/web/frontend/extracted-translations.json

@@ -393,6 +393,7 @@
   "disable_single_sign_on": "",
   "disable_sso": "",
   "disable_stop_on_first_error": "",
+  "disabling": "",
   "disconnected": "",
   "discount": "",
   "discount_of": "",
@@ -499,6 +500,7 @@
   "enable_stop_on_first_error_under_recompile_dropdown_menu_v2": "",
   "enabled": "",
   "enables_real_time_syntax_checking_in_the_editor": "",
+  "enabling": "",
   "end_of_document": "",
   "ensure_recover_account": "",
   "enter_6_digit_code": "",
@@ -817,6 +819,7 @@
   "invite_resend_limit_hit": "",
   "invited_to_group": "",
   "invited_to_group_have_individual_subcription": "",
+  "inviting": "",
   "ip_address": "",
   "is_email_affiliated": "",
   "issued_on": "",
@@ -1817,6 +1820,7 @@
   "transfer_management_resolve_following_issues": "",
   "transfer_this_users_projects": "",
   "transfer_this_users_projects_description": "",
+  "transferring": "",
   "trash": "",
   "trash_projects": "",
   "trashed": "",

+ 1 - 0
services/web/frontend/js/features/group-management/components/group-members.tsx

@@ -157,6 +157,7 @@ export default function GroupMembers() {
                         variant="primary"
                         onClick={onAddMembersSubmit}
                         isLoading={inviteMemberLoading}
+                        loadingLabel={t('inviting')}
                       >
                         {t('invite')}
                       </OLButton>

+ 1 - 0
services/web/frontend/js/features/group-management/components/members-table/offboard-managed-user-modal.tsx

@@ -142,6 +142,7 @@ export default function OffboardManagedUserModal({
             type="submit"
             variant="danger"
             disabled={isLoading || isSuccess || !shouldEnableDeleteUserButton}
+            loadingLabel={t('deleting')}
             isLoading={isLoading}
           >
             {t('delete_user')}

+ 4 - 0
services/web/locales/en.json

@@ -515,6 +515,7 @@
   "disable_single_sign_on": "Disable single sign-on",
   "disable_sso": "Disable SSO",
   "disable_stop_on_first_error": "Disable “Stop on first error”",
+  "disabling": "Disabling",
   "disconnected": "Disconnected",
   "discount": "Discount",
   "discount_of": "Discount of __amount__",
@@ -648,6 +649,7 @@
   "enable_stop_on_first_error_under_recompile_dropdown_menu_v2": "Enable <0>Stop on first error</0> under the <1>Recompile</1> drop-down menu to help you find and fix errors right away.",
   "enabled": "Enabled",
   "enables_real_time_syntax_checking_in_the_editor": "Enables real-time syntax checking in the editor",
+  "enabling": "Enabling",
   "end_of_document": "End of document",
   "ensure_recover_account": "This will ensure that it can be used to recover your __appName__ account in case you lose access to your primary email address.",
   "enter_6_digit_code": "Enter 6-digit code",
@@ -1070,6 +1072,7 @@
   "invited_to_group_login_benefits": "As part of this group, you’ll have access to __appName__ premium features such as additional collaborators, greater maximum compile time, and real-time track changes.",
   "invited_to_group_register": "To accept __inviterName__’s invitation you’ll need to create an account.",
   "invited_to_group_register_benefits": "__appName__ is a collaborative online LaTeX editor, with thousands of ready-to-use templates and an array of LaTeX learning resources to help you get started.",
+  "inviting": "Inviting",
   "ip_address": "IP Address",
   "is_email_affiliated": "Is your email affiliated with an institution? ",
   "is_longer_than_n_characters": "is at least __n__ characters long",
@@ -2347,6 +2350,7 @@
   "transfer_management_resolve_following_issues": "To transfer the management of your account, you need to resolve the following issues:",
   "transfer_this_users_projects": "Transfer this user’s projects",
   "transfer_this_users_projects_description": "This user’s projects will be transferred to a new owner.",
+  "transferring": "Transferring",
   "trash": "Trash",
   "trash_projects": "Trash Projects",
   "trashed": "Trashed",