Skip to content

Commit 7386471

Browse files
committed
Fix of i18n value assignments to assure unique strings
1 parent b2c0fc6 commit 7386471

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

frontend/components/card/CardConnect.vue

+2-4
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
label="components.btn-action.new-account"
7676
fontSize="sm"
7777
leftIcon="bi:plus-lg"
78-
ariaLabel="components.btn-action.new-account-aria-label"
78+
ariaLabel="components._global.new-account-aria-label"
7979
/>
8080
</PopoverButton>
8181
<transition
@@ -100,9 +100,7 @@
100100
$t('components.card-connect.app-account-popup-cta-btn-label')
101101
"
102102
:ctaBtnAriaLabel="
103-
$t(
104-
'components.card-connect.app-account-popup-cta-btn-aria-label'
105-
)
103+
$t('components._global.new-account-aria-label')
106104
"
107105
/>
108106
</PopoverPanel>

frontend/i18n/en-US.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"components._global.instagram": "Instagram",
7575
"components._global.matrix": "Matrix",
7676
"components._global.members": "Members",
77+
"components._global.new-account-aria-label": "Add a new account",
7778
"components._global.new-event": "New event",
7879
"components._global.new-group": "New group",
7980
"components._global.new-resource": "New resource",
@@ -90,7 +91,6 @@
9091
"components.btn-action.invite-someone-event-aria-label": "Invite someone to join this event",
9192
"components.btn-action.invite-someone-org-aria-label": "Invite someone to join this organization",
9293
"components.btn-action.new-account": "New account",
93-
"components.btn-action.new-account-aria-label": "Add a new account",
9494
"components.btn-action.new-faq": "New FAQ entry",
9595
"components.btn-action.new-faq-aria-label": "Add a new question and answer",
9696
"components.btn-action.new-task": "New task",
@@ -164,10 +164,9 @@
164164
"components.card-change-account-info.username.enter-new-username": "Enter desired username",
165165
"components.card-change-account-info.username.header-cta": "Change username",
166166
"components.card-change-account-info.username.new-username": "New username",
167-
"components.card-connect.app-account-popup-title": "Add Account",
168-
"components.card-connect.app-account-popup-cta-btn-aria-label": "Add a new account",
169167
"components.card-connect.app-account-popup-cta-btn-label": "Add",
170168
"components.card-connect.app-account-popup-field-name-prompt": "Link to account",
169+
"components.card-connect.app-account-popup-title": "Add Account",
171170
"components.card-danger-zone.event-cta-btn-aria-label": "Permanently delete this event and its data",
172171
"components.card-danger-zone.event-cta-btn-text": "Permanently delete event",
173172
"components.card-danger-zone.event-description": "Here's where you can delete this event. Please note that this is not a reversible action - all event data, support and resources will be permanently lost. If you have questions about this event, please contact us on our contact page. We'd be happy to help!",

0 commit comments

Comments
 (0)