Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent Add/Invite buttons in projects and orgs #1078

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions frontend/src/lib/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,7 @@ the [Linguistics Institute at Payap University](https://li.payap.ac.th/) in Chia
"__comment_modal_title": "Should become 'Add or invite a Member ...' once email invitations implemented for orgs",
"submit_button": "Add Member",
"empty_user_field": "Please enter an email address or login",
"submit_button_email": "Add Member",
"__comment_submit_button_email": "Should become 'Add or invite Member' once email invitations implemented for orgs",
"submit_button_email": "Add/Invite Member",
"org_not_found": "Organization not found. Please refresh the page.",
"username_not_found": "No user was found with this login",
"user_must_be_verified": "User needs a verified email address",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
/>
</svelte:fragment>
<span slot="submitText">
{#if $form.usernameOrEmail.includes('@')}
{#if $form.canInvite && $form.usernameOrEmail.includes('@')}
{$t('org_page.add_user.submit_button_email')}
{:else}
{$t('org_page.add_user.submit_button')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
/>
</svelte:fragment>
<span slot="submitText">
{#if $form.canInvite}
{#if $form.canInvite && $form.usernameOrEmail.includes('@')}
{$t('project_page.add_user.submit_button_invite')}
{:else}
{$t('project_page.add_user.submit_button')}
Expand Down