Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

fix(app): send verification email from verify prompts (#3517)

Hampus92321aa330e3
diff --git a/fluxer_app/src/features/app/components/dialogs/components/EmailVerificationAlert.tsx b/fluxer_app/src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
index 5642303a1..ca95eea58 100644
--- a/fluxer_app/src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+++ b/fluxer_app/src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
@@ -1,55 +1,12 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
-import i18n from '@app/app/I18n';
-import {GenericErrorModal} from '@app/features/app/components/alerts/GenericErrorModal';
import RuntimeConfig from '@app/features/app/state/RuntimeConfig';
-import * as AuthenticationCommands from '@app/features/auth/commands/AuthenticationCommands';
-import {VerificationResult} from '@app/features/auth/commands/AuthenticationCommands';
-import {currentInstanceTarget} from '@app/features/platform/transport/InstanceHTTP';
+import {useResendVerificationEmail} from '@app/features/auth/hooks/useVerifyEmailAction';
import {Button} from '@app/features/ui/button/Button';
-import * as ModalCommands from '@app/features/ui/commands/ModalCommands';
-import {modal} from '@app/features/ui/commands/ModalCommands';
-import * as ToastCommands from '@app/features/ui/commands/ToastCommands';
import {WarningAlert} from '@app/features/ui/warning_alert/WarningAlert';
-import {msg} from '@lingui/core/macro';
-import {Trans, useLingui} from '@lingui/react/macro';
+import {Trans} from '@lingui/react/macro';
import {observer} from 'mobx-react-lite';
import type React from 'react';
-import {useState} from 'react';
-
-const VERIFICATION_EMAIL_SENT_PLEASE_CHECK_YOUR_INBOX_DESCRIPTOR = msg({
- message: 'Verification email sent. Check your inbox.',
- comment: 'Toast confirmation in the email verification alert after a verification email has been sent.',
-});
-const TOO_MANY_REQUESTS_TITLE_DESCRIPTOR = msg({
- message: "You're going too fast",
- comment: 'Title of the error modal shown when resending a verification email is rate-limited.',
-});
-const TOO_MANY_REQUESTS_MESSAGE_DESCRIPTOR = msg({
- message: "You've requested too many verification emails. Please wait a moment and try again.",
- comment: 'Body of the error modal shown when resending a verification email is rate-limited.',
-});
-const SEND_FAILED_TITLE_DESCRIPTOR = msg({
- message: "Couldn't send the verification email",
- comment: 'Title of the error modal shown when sending the verification email fails unexpectedly.',
-});
-const SEND_FAILED_MESSAGE_DESCRIPTOR = msg({
- message: 'Something went wrong while sending your verification email. Please try again in a moment.',
- comment: 'Body of the error modal shown when sending the verification email fails unexpectedly.',
-});
-
-function showVerificationEmailErrorModal(result: VerificationResult): void {
- const isRateLimited = result === VerificationResult.RATE_LIMITED;
- ModalCommands.push(
- modal(() => (
- <GenericErrorModal
- title={i18n._(isRateLimited ? TOO_MANY_REQUESTS_TITLE_DESCRIPTOR : SEND_FAILED_TITLE_DESCRIPTOR)}
- message={i18n._(isRateLimited ? TOO_MANY_REQUESTS_MESSAGE_DESCRIPTOR : SEND_FAILED_MESSAGE_DESCRIPTOR)}
- data-flx="app.email-verification-alert.resend.generic-error-modal"
- />
- )),
- );
-}
interface EmailVerificationAlertProps {
title?: React.ReactNode;
@@ -57,25 +14,7 @@ interface EmailVerificationAlertProps {
}
export const EmailVerificationAlert = observer(({title, children}: EmailVerificationAlertProps) => {
- const {i18n} = useLingui();
- const [isResending, setIsResending] = useState(false);
- const handleResend = async () => {
- if (isResending) return;
- setIsResending(true);
- const result = await AuthenticationCommands.resendVerificationEmail(currentInstanceTarget());
- switch (result) {
- case VerificationResult.SUCCESS:
- ToastCommands.success(i18n._(VERIFICATION_EMAIL_SENT_PLEASE_CHECK_YOUR_INBOX_DESCRIPTOR));
- break;
- case VerificationResult.RATE_LIMITED:
- showVerificationEmailErrorModal(VerificationResult.RATE_LIMITED);
- break;
- case VerificationResult.SERVER_ERROR:
- showVerificationEmailErrorModal(VerificationResult.SERVER_ERROR);
- break;
- }
- setIsResending(false);
- };
+ const {isSending, resend} = useResendVerificationEmail();
if (!RuntimeConfig.emailsEnabled) {
return null;
}
@@ -86,9 +25,9 @@ export const EmailVerificationAlert = observer(({title, children}: EmailVerifica
<Button
variant="primary"
small
- disabled={isResending}
- submitting={isResending}
- onClick={handleResend}
+ disabled={isSending}
+ submitting={isSending}
+ onClick={resend}
data-flx="app.email-verification-alert.button.resend"
>
<Trans>Resend email</Trans>
diff --git a/fluxer_app/src/features/app/components/dialogs/shared/StatusSlate.tsx b/fluxer_app/src/features/app/components/dialogs/shared/StatusSlate.tsx
index 0fee50ec0..2ee26591f 100644
--- a/fluxer_app/src/features/app/components/dialogs/shared/StatusSlate.tsx
+++ b/fluxer_app/src/features/app/components/dialogs/shared/StatusSlate.tsx
@@ -10,6 +10,7 @@ interface StatusAction {
onClick: () => void;
variant?: React.ComponentProps<typeof Button>['variant'];
fitContent?: boolean;
+ submitting?: boolean;
}
interface StatusSlateProps {
@@ -45,7 +46,8 @@ export const StatusSlate: React.FC<StatusSlateProps> = observer(
variant={action.variant ?? 'primary'}
fitContent={action.fitContent ?? true}
onClick={action.onClick}
- submitting={false}
+ disabled={action.submitting}
+ submitting={action.submitting ?? false}
data-flx="app.status-slate.button.click"
>
{action.text}
diff --git a/fluxer_app/src/features/app/components/layout/app_layout/nagbars/EmailVerificationNagbar.tsx b/fluxer_app/src/features/app/components/layout/app_layout/nagbars/EmailVerificationNagbar.tsx
index b40db6ab3..1ed4a0b49 100644
--- a/fluxer_app/src/features/app/components/layout/app_layout/nagbars/EmailVerificationNagbar.tsx
+++ b/fluxer_app/src/features/app/components/layout/app_layout/nagbars/EmailVerificationNagbar.tsx
@@ -1,11 +1,10 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
-import {UserSettingsModal} from '@app/features/app/components/dialogs/LoadableSettingsModals';
import {Nagbar} from '@app/features/app/components/layout/Nagbar';
import {NagbarButton} from '@app/features/app/components/layout/NagbarButton';
import {NagbarContent} from '@app/features/app/components/layout/NagbarContent';
import {NAGBAR_TONES, NagbarToneKind} from '@app/features/app/components/layout/NagbarTones';
-import {OPEN_SETTINGS_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';
+import {useVerifyEmailAction} from '@app/features/auth/hooks/useVerifyEmailAction';
import * as ModalCommands from '@app/features/ui/commands/ModalCommands';
import {modal} from '@app/features/ui/commands/ModalCommands';
import {BouncedEmailChangeModal} from '@app/features/user/components/modals/BouncedEmailChangeModal';
@@ -32,6 +31,7 @@ const ADD_A_WORKING_EMAIL_BUTTON_DESCRIPTOR = msg({
export const EmailVerificationNagbar = observer(({isMobile}: {isMobile: boolean}) => {
const {i18n} = useLingui();
const user = Users.currentUser;
+ const verifyEmailAction = useVerifyEmailAction();
if (!user) {
return null;
}
@@ -43,19 +43,6 @@ export const EmailVerificationNagbar = observer(({isMobile}: {isMobile: boolean}
)),
);
};
- const openUserSettings = () => {
- ModalCommands.push(
- modal(
- () => (
- <UserSettingsModal
- initialTab="account_security"
- data-flx="app.app-layout.nagbars.email-verification-nagbar.open-user-settings.user-settings-modal"
- />
- ),
- 'user-settings',
- ),
- );
- };
return (
<Nagbar
isMobile={isMobile}
@@ -81,10 +68,12 @@ export const EmailVerificationNagbar = observer(({isMobile}: {isMobile: boolean}
) : (
<NagbarButton
isMobile={isMobile}
- onClick={openUserSettings}
- data-flx="app.app-layout.nagbars.email-verification-nagbar.nagbar-button.open-user-settings"
+ onClick={verifyEmailAction.onClick}
+ disabled={verifyEmailAction.submitting}
+ submitting={verifyEmailAction.submitting}
+ data-flx="app.app-layout.nagbars.email-verification-nagbar.nagbar-button.verify-email"
>
- {i18n._(OPEN_SETTINGS_DESCRIPTOR)}
+ {verifyEmailAction.text}
</NagbarButton>
)
}
diff --git a/fluxer_app/src/features/auth/hooks/useVerifyEmailAction.tsx b/fluxer_app/src/features/auth/hooks/useVerifyEmailAction.tsx
new file mode 100644
index 000000000..ee7233304
--- /dev/null
+++ b/fluxer_app/src/features/auth/hooks/useVerifyEmailAction.tsx
@@ -0,0 +1,129 @@
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
+import i18n from '@app/app/I18n';
+import {GenericErrorModal} from '@app/features/app/components/alerts/GenericErrorModal';
+import {UserSettingsModal} from '@app/features/app/components/dialogs/LoadableSettingsModals';
+import RuntimeConfig from '@app/features/app/state/RuntimeConfig';
+import * as AuthenticationCommands from '@app/features/auth/commands/AuthenticationCommands';
+import {VerificationResult} from '@app/features/auth/commands/AuthenticationCommands';
+import {VERIFY_EMAIL_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';
+import {currentInstanceTarget} from '@app/features/platform/transport/InstanceHTTP';
+import * as ModalCommands from '@app/features/ui/commands/ModalCommands';
+import {modal} from '@app/features/ui/commands/ModalCommands';
+import * as ToastCommands from '@app/features/ui/commands/ToastCommands';
+import {BouncedEmailChangeModal} from '@app/features/user/components/modals/BouncedEmailChangeModal';
+import type {User} from '@app/features/user/models/User';
+import Users from '@app/features/user/state/Users';
+import {msg} from '@lingui/core/macro';
+import {useLingui} from '@lingui/react/macro';
+import {useState} from 'react';
+
+const VERIFICATION_EMAIL_SENT_PLEASE_CHECK_YOUR_INBOX_DESCRIPTOR = msg({
+ message: 'Verification email sent. Check your inbox.',
+ comment: 'Toast confirmation shown after a verification email has been sent.',
+});
+const TOO_MANY_REQUESTS_TITLE_DESCRIPTOR = msg({
+ message: "You're going too fast",
+ comment: 'Title of the error modal shown when resending a verification email is rate-limited.',
+});
+const TOO_MANY_REQUESTS_MESSAGE_DESCRIPTOR = msg({
+ message: "You've requested too many verification emails. Please wait a moment and try again.",
+ comment: 'Body of the error modal shown when resending a verification email is rate-limited.',
+});
+const SEND_FAILED_TITLE_DESCRIPTOR = msg({
+ message: "Couldn't send the verification email",
+ comment: 'Title of the error modal shown when sending the verification email fails unexpectedly.',
+});
+const SEND_FAILED_MESSAGE_DESCRIPTOR = msg({
+ message: 'Something went wrong while sending your verification email. Please try again in a moment.',
+ comment: 'Body of the error modal shown when sending the verification email fails unexpectedly.',
+});
+const SEND_VERIFICATION_EMAIL_DESCRIPTOR = msg({
+ message: 'Send verification email',
+ comment:
+ 'Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.',
+});
+const RESEND_EMAIL_DESCRIPTOR = msg({
+ message: 'Resend email',
+ comment: 'Button label that sends another verification email after one was already sent. Keep it concise.',
+});
+
+function showVerificationEmailErrorModal(result: VerificationResult): void {
+ const isRateLimited = result === VerificationResult.RATE_LIMITED;
+ ModalCommands.push(
+ modal(() => (
+ <GenericErrorModal
+ title={i18n._(isRateLimited ? TOO_MANY_REQUESTS_TITLE_DESCRIPTOR : SEND_FAILED_TITLE_DESCRIPTOR)}
+ message={i18n._(isRateLimited ? TOO_MANY_REQUESTS_MESSAGE_DESCRIPTOR : SEND_FAILED_MESSAGE_DESCRIPTOR)}
+ data-flx="auth.verify-email-action.resend.generic-error-modal"
+ />
+ )),
+ );
+}
+
+export function canResendVerificationEmail(user: User | null | undefined): boolean {
+ return Boolean(
+ RuntimeConfig.emailsEnabled &&
+ user?.isClaimed() &&
+ !RuntimeConfig.usesUsernameSignIn &&
+ user.email &&
+ !user.verified,
+ );
+}
+
+export function useResendVerificationEmail() {
+ const {i18n} = useLingui();
+ const [isSending, setIsSending] = useState(false);
+ const [sent, setSent] = useState(false);
+ const resend = async () => {
+ if (isSending) return;
+ setIsSending(true);
+ const result = await AuthenticationCommands.resendVerificationEmail(currentInstanceTarget());
+ switch (result) {
+ case VerificationResult.SUCCESS:
+ setSent(true);
+ ToastCommands.success(i18n._(VERIFICATION_EMAIL_SENT_PLEASE_CHECK_YOUR_INBOX_DESCRIPTOR));
+ break;
+ case VerificationResult.RATE_LIMITED:
+ showVerificationEmailErrorModal(VerificationResult.RATE_LIMITED);
+ break;
+ case VerificationResult.SERVER_ERROR:
+ showVerificationEmailErrorModal(VerificationResult.SERVER_ERROR);
+ break;
+ }
+ setIsSending(false);
+ };
+ return {isSending, sent, resend};
+}
+
+function openAccountSecuritySettings(): void {
+ ModalCommands.push(
+ modal(
+ () => <UserSettingsModal initialTab="account_security" data-flx="auth.verify-email-action.user-settings-modal" />,
+ 'user-settings',
+ ),
+ );
+}
+
+function openBouncedEmailChange(): void {
+ ModalCommands.push(
+ modal(() => <BouncedEmailChangeModal data-flx="auth.verify-email-action.bounced-email-change-modal" />),
+ );
+}
+
+export function useVerifyEmailAction() {
+ const {i18n} = useLingui();
+ const {isSending, sent, resend} = useResendVerificationEmail();
+ const user = Users.currentUser;
+ if (user?.emailBounced === true) {
+ return {text: i18n._(VERIFY_EMAIL_DESCRIPTOR), onClick: openBouncedEmailChange, submitting: false};
+ }
+ if (!canResendVerificationEmail(user)) {
+ return {text: i18n._(VERIFY_EMAIL_DESCRIPTOR), onClick: openAccountSecuritySettings, submitting: false};
+ }
+ return {
+ text: i18n._(sent ? RESEND_EMAIL_DESCRIPTOR : SEND_VERIFICATION_EMAIL_DESCRIPTOR),
+ onClick: () => void resend(),
+ submitting: isSending,
+ };
+}
diff --git a/fluxer_app/src/features/channel/components/barriers/BarrierComponents.tsx b/fluxer_app/src/features/channel/components/barriers/BarrierComponents.tsx
index 9978e3b77..d3dc66042 100644
--- a/fluxer_app/src/features/channel/components/barriers/BarrierComponents.tsx
+++ b/fluxer_app/src/features/channel/components/barriers/BarrierComponents.tsx
@@ -1,24 +1,20 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
-import {UserSettingsModal} from '@app/features/app/components/dialogs/LoadableSettingsModals';
import {getActiveInstanceProductName} from '@app/features/app/state/ActiveInstanceProductName';
import RuntimeConfig from '@app/features/app/state/RuntimeConfig';
import {openClaimAccountModal} from '@app/features/auth/components/modals/ClaimAccountModal';
+import {useVerifyEmailAction} from '@app/features/auth/hooks/useVerifyEmailAction';
import styles from '@app/features/channel/components/barriers/BarrierComponents.module.css';
import {openChannelFollowModal} from '@app/features/channel/components/modals/ChannelFollowModal';
import wrapperStyles from '@app/features/channel/components/textarea/InputWrapper.module.css';
import textareaStyles from '@app/features/channel/components/textarea/TextareaInput.module.css';
import {FOLLOW_DESCRIPTOR} from '@app/features/channel/utils/ChannelFollowUtils';
-import {CLAIM_ACCOUNT_DESCRIPTOR, VERIFY_EMAIL_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';
+import {CLAIM_ACCOUNT_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';
import {getCachedNumberFormat} from '@app/features/i18n/utils/IntlCache';
import {unblockUser} from '@app/features/relationship/utils/RelationshipActionUtils';
import {remFromPx} from '@app/features/theme/layout/RemFromPx';
import {Button} from '@app/features/ui/button/Button';
-import * as ModalCommands from '@app/features/ui/commands/ModalCommands';
-import {modal} from '@app/features/ui/commands/ModalCommands';
-import {BouncedEmailChangeModal} from '@app/features/user/components/modals/BouncedEmailChangeModal';
import {openMessagingPausedHelpModal} from '@app/features/user/components/modals/MessagingPausedHelpModal';
-import Users from '@app/features/user/state/Users';
import {ACCOUNT_LIMITED_NOTICE_DESCRIPTOR} from '@app/features/user/utils/AccountLimitUtils';
import {TEXT_DID_NOT_GO_THROUGH_DESCRIPTOR} from '@app/features/user/utils/MessagingPausedHelpEmail';
import {msg} from '@lingui/core/macro';
@@ -168,7 +164,7 @@ export const UnclaimedAccountBarrier = observer(() => {
);
});
export const UnverifiedEmailBarrier = observer(() => {
- const {i18n} = useLingui();
+ const verifyEmailAction = useVerifyEmailAction();
return (
<BarrierBase
message={<Trans>You need to verify your email to send messages in this community.</Trans>}
@@ -182,26 +178,12 @@ export const UnverifiedEmailBarrier = observer(() => {
action={
<Button
small={true}
- onClick={() => {
- const bounced = Users.currentUser?.emailBounced === true;
- ModalCommands.push(
- modal(
- () =>
- bounced ? (
- <BouncedEmailChangeModal data-flx="channel.barriers.barrier-components.unverified-email-barrier.bounced-email-change-modal" />
- ) : (
- <UserSettingsModal
- initialTab="account_security"
- data-flx="channel.barriers.barrier-components.unverified-email-barrier.user-settings-modal"
- />
- ),
- bounced ? undefined : 'user-settings',
- ),
- );
- }}
+ onClick={verifyEmailAction.onClick}
+ disabled={verifyEmailAction.submitting}
+ submitting={verifyEmailAction.submitting}
data-flx="channel.barriers.barrier-components.unverified-email-barrier.button.action"
>
- {i18n._(VERIFY_EMAIL_DESCRIPTOR)}
+ {verifyEmailAction.text}
</Button>
}
data-flx="channel.barriers.barrier-components.unverified-email-barrier.barrier-base"
diff --git a/fluxer_app/src/features/channel/components/direct_message/AddFriendForm.tsx b/fluxer_app/src/features/channel/components/direct_message/AddFriendForm.tsx
index 46588365e..88f1d76b4 100644
--- a/fluxer_app/src/features/channel/components/direct_message/AddFriendForm.tsx
+++ b/fluxer_app/src/features/channel/components/direct_message/AddFriendForm.tsx
@@ -1,19 +1,17 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
-import {UserSettingsModal} from '@app/features/app/components/dialogs/LoadableSettingsModals';
import {StatusSlate} from '@app/features/app/components/dialogs/shared/StatusSlate';
import {EXAMPLE_FLUXER_TAG_FULL, EXAMPLE_USERNAME} from '@app/features/app/config/I18nDisplayConstants';
import RuntimeConfig from '@app/features/app/state/RuntimeConfig';
import {openClaimAccountModal} from '@app/features/auth/components/modals/ClaimAccountModal';
+import {useVerifyEmailAction} from '@app/features/auth/hooks/useVerifyEmailAction';
import styles from '@app/features/channel/components/direct_message/AddFriendForm.module.css';
-import {CLAIM_ACCOUNT_DESCRIPTOR, VERIFY_EMAIL_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';
+import {CLAIM_ACCOUNT_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';
import {failureCode, failureMessage} from '@app/features/platform/utils/ResponseInspection';
import * as RelationshipCommands from '@app/features/relationship/commands/RelationshipCommands';
import {getSendFriendRequestErrorMessage} from '@app/features/relationship/utils/RelationshipActionUtils';
import {OUTGOING_FRIEND_REQUEST_STATUS_DESCRIPTOR} from '@app/features/relationship/utils/RelationshipMessageDescriptors';
import {Button} from '@app/features/ui/button/Button';
-import * as ModalCommands from '@app/features/ui/commands/ModalCommands';
-import {modal} from '@app/features/ui/commands/ModalCommands';
import {Input} from '@app/features/ui/components/form/FormInput';
import MobileLayout from '@app/features/ui/state/MobileLayout';
import Users from '@app/features/user/state/Users';
@@ -59,6 +57,7 @@ export const AddFriendForm: React.FC<AddFriendFormProps> = observer(({onSuccess}
const [resultStatus, setResultStatus] = useState<'success' | 'error' | null>(null);
const [errorCode, setErrorCode] = useState<string | null>(null);
const [errorMessage, setErrorMessage] = useState<string | null>(null);
+ const verifyEmailAction = useVerifyEmailAction();
const currentUser = Users.currentUser;
const usernameOnly = RuntimeConfig.usesUniqueUsernames;
const isClaimed = currentUser?.isClaimed() ?? true;
@@ -87,19 +86,9 @@ export const AddFriendForm: React.FC<AddFriendFormProps> = observer(({onSuccess}
description={<Trans>You need to verify your email address before you can send friend requests.</Trans>}
actions={[
{
- text: i18n._(VERIFY_EMAIL_DESCRIPTOR),
- onClick: () =>
- ModalCommands.push(
- modal(
- () => (
- <UserSettingsModal
- initialTab="account_security"
- data-flx="channel.direct-message.add-friend-form.on-click.user-settings-modal"
- />
- ),
- 'user-settings',
- ),
- ),
+ text: verifyEmailAction.text,
+ onClick: verifyEmailAction.onClick,
+ submitting: verifyEmailAction.submitting,
variant: 'primary',
},
]}
diff --git a/fluxer_app/src/features/channel/utils/CreateDMModalUtils.tsx b/fluxer_app/src/features/channel/utils/CreateDMModalUtils.tsx
index 3bce47000..68d41de99 100644
--- a/fluxer_app/src/features/channel/utils/CreateDMModalUtils.tsx
+++ b/fluxer_app/src/features/channel/utils/CreateDMModalUtils.tsx
@@ -2,15 +2,15 @@
import i18n from '@app/app/I18n';
import {showDmActionErrorModal} from '@app/features/app/components/alerts/DmActionErrorModal';
-import {UserSettingsModal} from '@app/features/app/components/dialogs/LoadableSettingsModals';
import {StatusSlate} from '@app/features/app/components/dialogs/shared/StatusSlate';
import {openClaimAccountModal} from '@app/features/auth/components/modals/ClaimAccountModal';
+import {useVerifyEmailAction} from '@app/features/auth/hooks/useVerifyEmailAction';
import * as PrivateChannelCommands from '@app/features/channel/commands/PrivateChannelCommands';
import type {UnaddableRecipient} from '@app/features/channel/components/modals/UnaddableRecipientsConfirmModal';
import {UnaddableRecipientsConfirmModal} from '@app/features/channel/components/modals/UnaddableRecipientsConfirmModal';
import type {Channel} from '@app/features/channel/models/Channel';
import {getDuplicateGroupDMChannels, getMaxGroupDmOtherRecipients} from '@app/features/channel/utils/GroupDmUtils';
-import {CLAIM_ACCOUNT_DESCRIPTOR, VERIFY_EMAIL_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';
+import {CLAIM_ACCOUNT_DESCRIPTOR} from '@app/features/i18n/utils/CommonMessageDescriptors';
import {focusChannelTextareaAfterNavigation} from '@app/features/messaging/utils/ChannelTextareaFocusUtils';
import * as NavigationCommands from '@app/features/navigation/commands/NavigationCommands';
import {HttpError} from '@app/features/platform/types/EndpointError';
@@ -150,6 +150,7 @@ export const CreateDMRestrictionSlate: React.FC<
> = ({restriction, fullHeight = true, ...props}) => {
const {i18n: lingui} = useLingui();
const isUnclaimed = restriction === 'unclaimed';
+ const verifyEmailAction = useVerifyEmailAction();
return (
<div data-flx="channel.create-dm-modal-utils.create-dm-restriction-slate.div" {...props}>
<StatusSlate
@@ -157,27 +158,18 @@ export const CreateDMRestrictionSlate: React.FC<
title={lingui._(isUnclaimed ? CLAIM_YOUR_ACCOUNT_DESCRIPTOR : VERIFY_YOUR_EMAIL_DESCRIPTOR)}
description={getCreateDMRestrictionMessage(lingui, restriction)}
actions={[
- {
- text: lingui._(isUnclaimed ? CLAIM_ACCOUNT_DESCRIPTOR : VERIFY_EMAIL_DESCRIPTOR),
- onClick: () => {
- if (isUnclaimed) {
- openClaimAccountModal({force: true});
- return;
+ isUnclaimed
+ ? {
+ text: lingui._(CLAIM_ACCOUNT_DESCRIPTOR),
+ onClick: () => openClaimAccountModal({force: true}),
+ variant: 'primary',
}
- ModalCommands.push(
- modal(
- () => (
- <UserSettingsModal
- initialTab="account_security"
- data-flx="channel.create-dm-modal-utils.restriction-slate.user-settings-modal"
- />
- ),
- 'user-settings',
- ),
- );
- },
- variant: 'primary',
- },
+ : {
+ text: verifyEmailAction.text,
+ onClick: verifyEmailAction.onClick,
+ submitting: verifyEmailAction.submitting,
+ variant: 'primary',
+ },
]}
fullHeight={fullHeight}
data-flx="channel.create-dm-modal-utils.create-dm-restriction-slate.status-slate"
diff --git a/fluxer_app/src/features/guild/components/modals/add_guild_modal/GuildCreateForm.tsx b/fluxer_app/src/features/guild/components/modals/add_guild_modal/GuildCreateForm.tsx
index 3dcc3b142..16f1a7500 100644
--- a/fluxer_app/src/features/guild/components/modals/add_guild_modal/GuildCreateForm.tsx
+++ b/fluxer_app/src/features/guild/components/modals/add_guild_modal/GuildCreateForm.tsx
@@ -86,7 +86,7 @@ export const GuildCreateForm = observer(() => {
);
return () => modalFooterContext?.setFooterContent(null);
}, [handleSubmit, isSubmitting, modalFooterContext, nameValue]);
- const accountGate = renderGuildCreateAccountGate(i18n, 'guild.add-guild-modal.guild-create-form');
+ const accountGate = renderGuildCreateAccountGate('guild.add-guild-modal.guild-create-form');
if (accountGate) {
return accountGate;
}
diff --git a/fluxer_app/src/features/guild/components/modals/add_guild_modal/GuildCreateShared.tsx b/fluxer_app/src/features/guild/components/modals/add_guild_modal/GuildCreateShared.tsx
index 392257801..8169413bc 100644
--- a/fluxer_app/src/features/guild/components/modals/add_guild_modal/GuildCreateShared.tsx
+++ b/fluxer_app/src/features/guild/components/modals/add_guild_modal/GuildCreateShared.tsx
@@ -2,12 +2,12 @@
import {Routes} from '@app/app/Routes';
import {showGenericErrorModal} from '@app/features/app/components/alerts/GenericErrorModalCommands';
-import {UserSettingsModal} from '@app/features/app/components/dialogs/LoadableSettingsModals';
import {ExternalLink} from '@app/features/app/components/shared/ExternalLink';
import {AVATAR_RECOMMENDED_SIZE_LABEL, STATIC_IMAGE_FORMATS} from '@app/features/app/config/I18nDisplayConstants';
import RuntimeConfig from '@app/features/app/state/RuntimeConfig';
import {GlobalLimits} from '@app/features/app/utils/GlobalLimits';
import {openClaimAccountModal} from '@app/features/auth/components/modals/ClaimAccountModal';
+import {useVerifyEmailAction} from '@app/features/auth/hooks/useVerifyEmailAction';
import {AssetCropModal, AssetType} from '@app/features/expressions/components/modals/AssetCropModal';
import {openAssetSourceModal} from '@app/features/expressions/components/modals/AssetSourceModal';
import {isAnimatedFile} from '@app/features/expressions/utils/AnimatedImageUtils';
@@ -23,7 +23,6 @@ import {
import {
FAILED_TO_PROCESS_CROPPED_IMAGE_DESCRIPTOR,
INVALID_IMAGE_TRY_ANOTHER_DESCRIPTOR,
- VERIFY_EMAIL_DESCRIPTOR,
} from '@app/features/i18n/utils/CommonMessageDescriptors';
import {openFilePicker} from '@app/features/messaging/utils/FilePickerUtils';
import {formatFileSize} from '@app/features/messaging/utils/FileUtils';
@@ -149,7 +148,21 @@ export function useGuildCreateIconField({
return {previewIconUrl, iconName, handleOpenIconUpload, handleClearIcon};
}
-export function renderGuildCreateAccountGate(i18n: I18n, dataFlx: string): React.ReactNode {
+const GuildCreateVerifyEmailButton = ({dataFlx}: {dataFlx: string}) => {
+ const verifyEmailAction = useVerifyEmailAction();
+ return (
+ <Button
+ onClick={verifyEmailAction.onClick}
+ disabled={verifyEmailAction.submitting}
+ submitting={verifyEmailAction.submitting}
+ data-flx={`${dataFlx}.button.push`}
+ >
+ {verifyEmailAction.text}
+ </Button>
+ );
+};
+
+export function renderGuildCreateAccountGate(dataFlx: string): React.ReactNode {
const currentUser = Users.currentUser;
if (currentUser != null && !currentUser.isClaimed()) {
return (
@@ -177,19 +190,10 @@ export function renderGuildCreateAccountGate(i18n: I18n, dataFlx: string): React
<p data-flx={`${dataFlx}.p--2`}>
<Trans>You need to verify your email address before you can create a community.</Trans>
</p>
- <Button
- onClick={() =>
- ModalCommands.push(
- modal(
- () => <UserSettingsModal initialTab="account_security" data-flx={`${dataFlx}.user-settings-modal`} />,
- 'user-settings',
- ),
- )
- }
- data-flx={`${dataFlx}.button.push`}
- >
- {i18n._(VERIFY_EMAIL_DESCRIPTOR)}
- </Button>
+ <GuildCreateVerifyEmailButton
+ dataFlx={dataFlx}
+ data-flx="guild.add-guild-modal.guild-create-shared.render-guild-create-account-gate.guild-create-verify-email-button"
+ />
</div>
</div>
);
diff --git a/fluxer_app/src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx b/fluxer_app/src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx
index 584928823..4d0f6f4d1 100644
--- a/fluxer_app/src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx
+++ b/fluxer_app/src/features/guild/components/modals/add_guild_modal/TemplateImportForm.tsx
@@ -407,7 +407,7 @@ export const TemplateImportForm = observer(() => {
urlValue,
jsonValue,
]);
- const accountGate = renderGuildCreateAccountGate(i18n, 'guild.add-guild-modal.template-import-form');
+ const accountGate = renderGuildCreateAccountGate('guild.add-guild-modal.template-import-form');
if (accountGate) {
return accountGate;
}
diff --git a/fluxer_app/src/features/i18n/locales/ar/messages.po b/fluxer_app/src/features/i18n/locales/ar/messages.po
index 7fcd8dd5f..7c7baf73c 100644
--- a/fluxer_app/src/features/i18n/locales/ar/messages.po
+++ b/fluxer_app/src/features/i18n/locales/ar/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "تعذّر إرسال طلب الصداقة. حاول مرة أخرى."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "تعذّر إرسال رسالة التحقق عبر البريد الإلكتروني"
@@ -27910,8 +27910,10 @@ msgstr "إعادة الإرسال ({secondsRemaining}ث)"
msgid "Resend code"
msgstr "إعادة إرسال الرمز"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "إعادة إرسال البريد الإلكتروني"
@@ -29939,6 +29941,11 @@ msgstr "إرسال رسائل تحويل النص إلى كلام"
msgid "Send verification code"
msgstr "إرسال رمز التحقق"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "إرسال بريد التحقق"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "حدث خطأ أثناء حفظ هذا الإعداد. الرجاء المحاولة مرة أخرى بعد قليل."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "حدث خطأ أثناء إرسال رسالة التحقق عبر البريد الإلكتروني. يُرجى المحاولة مرة أخرى بعد قليل."
@@ -37744,8 +37751,8 @@ msgstr "رمز التحقق"
msgid "Verification code sent"
msgstr "تم إرسال رمز التحقق"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "تم إرسال رسالة تحقق إلى بريدك الإلكتروني. تحقق من صندوق الوارد."
@@ -40176,7 +40183,7 @@ msgstr "أنت تعدّل الرسائل بسرعة كبيرة"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "لقد تلقيت هدية"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "لقد طلبت عددًا كبيرًا جدًا من رسائل البريد الإلكتروني للتحقق. يُرجى الانتظار لحظة والمحاولة مرة أخرى."
diff --git a/fluxer_app/src/features/i18n/locales/auto-i18n-reviewed-unchanged.json b/fluxer_app/src/features/i18n/locales/auto-i18n-reviewed-unchanged.json
index 5a93c53ff..81dc765c9 100644
--- a/fluxer_app/src/features/i18n/locales/auto-i18n-reviewed-unchanged.json
+++ b/fluxer_app/src/features/i18n/locales/auto-i18n-reviewed-unchanged.json
@@ -1427,6 +1427,7 @@
"Send messages in threads",
"Send messages, images, GIFs and emoji",
"Send report",
+ "Send verification email",
"Sends both channels of a stereo microphone. Needs all processing off and a channel at 64 kbps or higher.",
"Sequential send",
"Serial send",
diff --git a/fluxer_app/src/features/i18n/locales/bg/messages.po b/fluxer_app/src/features/i18n/locales/bg/messages.po
index ef935d392..117b44f4c 100644
--- a/fluxer_app/src/features/i18n/locales/bg/messages.po
+++ b/fluxer_app/src/features/i18n/locales/bg/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Поканата за приятелство не можа да бъде изпратена. Опитай отново."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Неуспешно изпращане на имейл за потвърждение"
@@ -27910,8 +27910,10 @@ msgstr "Изпрати отново ({secondsRemaining}с)"
msgid "Resend code"
msgstr "Изпрати кода отново"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Изпрати имейла отново"
@@ -29939,6 +29941,11 @@ msgstr "Изпращане на TTS съобщения"
msgid "Send verification code"
msgstr "Изпращане на код за потвърждение"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Изпрати имейл за потвърждение"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Нещо се обърка при запазването на тази настройка. Опитай отново след малко."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Нещо се обърка при изпращането на имейла за потвърждение. Опитай отново след малко."
@@ -37744,8 +37751,8 @@ msgstr "Код за потвърждение"
msgid "Verification code sent"
msgstr "Кодът за потвърждение е изпратен"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Изпратен е имейл за потвърждение. Провери входящата си поща."
@@ -40176,7 +40183,7 @@ msgstr "Редактираш съобщения твърде бързо"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Получи подарък"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Поиска твърде много имейли за потвърждение. Изчакай малко и опитай отново."
diff --git a/fluxer_app/src/features/i18n/locales/cs/messages.po b/fluxer_app/src/features/i18n/locales/cs/messages.po
index 01e46e313..f98615f97 100644
--- a/fluxer_app/src/features/i18n/locales/cs/messages.po
+++ b/fluxer_app/src/features/i18n/locales/cs/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Nepodařilo se odeslat žádost o přátelství. Zkuste to znovu."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Ověřovací e-mail se nepodařilo odeslat"
@@ -27910,8 +27910,10 @@ msgstr "Znovu odeslat ({secondsRemaining} s)"
msgid "Resend code"
msgstr "Znovu odeslat kód"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Znovu odeslat e-mail"
@@ -29939,6 +29941,11 @@ msgstr "Odesílat zprávy převodem textu na řeč"
msgid "Send verification code"
msgstr "Odeslat ověřovací kód"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Odeslat ověřovací e-mail"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Při ukládání tohoto nastavení se něco pokazilo. Zkuste to prosím za chvíli znovu."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Při odesílání ověřovacího e-mailu se něco pokazilo. Zkuste to prosím za chvíli znovu."
@@ -37744,8 +37751,8 @@ msgstr "Ověřovací kód"
msgid "Verification code sent"
msgstr "Ověřovací kód odeslán"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Ověřovací e-mail byl odeslán. Zkontrolujte si doručenou poštu."
@@ -40176,7 +40183,7 @@ msgstr "Zprávy upravujete příliš rychle"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Dostali jste dárek"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Vyžádali jste si příliš mnoho ověřovacích e-mailů. Počkejte chvíli a zkuste to znovu."
diff --git a/fluxer_app/src/features/i18n/locales/da/messages.po b/fluxer_app/src/features/i18n/locales/da/messages.po
index aaa0154d1..57b058202 100644
--- a/fluxer_app/src/features/i18n/locales/da/messages.po
+++ b/fluxer_app/src/features/i18n/locales/da/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Kunne ikke sende venneanmodningen. Prøv igen."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Kunne ikke sende bekræftelsesmailen"
@@ -27910,8 +27910,10 @@ msgstr "Send igen ({secondsRemaining} sek.)"
msgid "Resend code"
msgstr "Send kode igen"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Send mail igen"
@@ -29939,6 +29941,11 @@ msgstr "Send TTS-beskeder"
msgid "Send verification code"
msgstr "Send bekræftelseskode"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Send bekræftelsesmail"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Der opstod en fejl under forsøget på at gemme denne indstilling. Prøv venligst igen om et øjeblik."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Der opstod en fejl under afsendelse af din bekræftelsesmail. Prøv venligst igen om et øjeblik."
@@ -37744,8 +37751,8 @@ msgstr "Bekræftelseskode"
msgid "Verification code sent"
msgstr "Bekræftelseskode sendt"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Bekræftelsesmail sendt. Tjek din indbakke."
@@ -40176,7 +40183,7 @@ msgstr "Du redigerer beskeder for hurtigt"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Du har modtaget en gave"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Du har anmodet om for mange bekræftelsesmails. Vent et øjeblik, og prøv igen."
diff --git a/fluxer_app/src/features/i18n/locales/de/messages.po b/fluxer_app/src/features/i18n/locales/de/messages.po
index 3feb4812a..c73081319 100644
--- a/fluxer_app/src/features/i18n/locales/de/messages.po
+++ b/fluxer_app/src/features/i18n/locales/de/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Freundschaftsanfrage konnte nicht gesendet werden. Versuche es noch einmal."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Verifizierungs-E-Mail konnte nicht gesendet werden"
@@ -27910,8 +27910,10 @@ msgstr "Erneut senden ({secondsRemaining}s)"
msgid "Resend code"
msgstr "Code erneut senden"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "E-Mail erneut senden"
@@ -29939,6 +29941,11 @@ msgstr "TTS-Nachrichten senden"
msgid "Send verification code"
msgstr "Verifizierungscode senden"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Verifizierungs-E-Mail senden"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Beim Speichern dieser Einstellung ist ein Fehler aufgetreten. Bitte versuche es gleich erneut."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Beim Senden deiner Bestätigungs-E-Mail ist ein Fehler aufgetreten. Bitte versuche es gleich noch einmal."
@@ -37744,8 +37751,8 @@ msgstr "Bestätigungscode"
msgid "Verification code sent"
msgstr "Verifizierungscode gesendet"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Verifizierungs-E-Mail gesendet. Posteingang prüfen."
@@ -40176,7 +40183,7 @@ msgstr "Du bearbeitest Nachrichten zu schnell"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Du hast ein Geschenk erhalten"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Du hast zu viele Verifizierungs-E-Mails angefordert. Bitte warte einen Moment und versuche es erneut."
diff --git a/fluxer_app/src/features/i18n/locales/el/messages.po b/fluxer_app/src/features/i18n/locales/el/messages.po
index 7f0d5ec28..b35c1bc5d 100644
--- a/fluxer_app/src/features/i18n/locales/el/messages.po
+++ b/fluxer_app/src/features/i18n/locales/el/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Δεν ήταν δυνατή η αποστολή του αιτήματος φιλίας. Δοκιμάστε ξανά."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Δεν ήταν δυνατή η αποστολή του email επαλήθευσης"
@@ -27910,8 +27910,10 @@ msgstr "Επανάληψη αποστολής ({secondsRemaining}δ)"
msgid "Resend code"
msgstr "Επανάληψη αποστολής κωδικού"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Επανάληψη αποστολής email"
@@ -29939,6 +29941,11 @@ msgstr "Αποστολή μηνυμάτων κειμένου σε ομιλία"
msgid "Send verification code"
msgstr "Αποστολή κωδικού επαλήθευσης"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Αποστολή email επαλήθευσης"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Κάτι πήγε στραβά κατά την αποθήκευση αυτής της ρύθμισης. Δοκιμάστε ξανά σε λίγο."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Κάτι πήγε στραβά κατά την αποστολή του email επαλήθευσης. Δοκιμάστε ξανά σε λίγο."
@@ -37744,8 +37751,8 @@ msgstr "Κωδικός επαλήθευσης"
msgid "Verification code sent"
msgstr "Ο κωδικός επαλήθευσης στάλθηκε"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Στάλθηκε email επαλήθευσης. Ελέγξτε τα εισερχόμενά σας."
@@ -40176,7 +40183,7 @@ msgstr "Επεξεργάζεστε μηνύματα πολύ γρήγορα"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Λάβατε ένα δώρο"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Έχετε ζητήσει πάρα πολλά email επαλήθευσης. Περιμένετε λίγο και δοκιμάστε ξανά."
diff --git a/fluxer_app/src/features/i18n/locales/en-GB/messages.po b/fluxer_app/src/features/i18n/locales/en-GB/messages.po
index b52e0a887..91a28bc22 100644
--- a/fluxer_app/src/features/i18n/locales/en-GB/messages.po
+++ b/fluxer_app/src/features/i18n/locales/en-GB/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Couldn't send the friend request. Try again."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Couldn't send the verification email"
@@ -27910,8 +27910,10 @@ msgstr "Resend ({secondsRemaining}s)"
msgid "Resend code"
msgstr "Resend code"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Resend email"
@@ -29939,6 +29941,11 @@ msgstr "Send TTS messages"
msgid "Send verification code"
msgstr "Send verification code"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Send verification email"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Something went wrong while saving this setting. Please try again in a moment."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Something went wrong while sending your verification email. Please try again in a moment."
@@ -37744,8 +37751,8 @@ msgstr "Verification code"
msgid "Verification code sent"
msgstr "Verification code sent"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Verification email sent. Check your inbox."
@@ -40176,7 +40183,7 @@ msgstr "You're editing messages too quickly"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "You've received a gift"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "You've requested too many verification emails. Please wait a moment and try again."
diff --git a/fluxer_app/src/features/i18n/locales/en-US/messages.po b/fluxer_app/src/features/i18n/locales/en-US/messages.po
index b824c139e..5cb32e06c 100644
--- a/fluxer_app/src/features/i18n/locales/en-US/messages.po
+++ b/fluxer_app/src/features/i18n/locales/en-US/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Couldn't send the friend request. Try again."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Couldn't send the verification email"
@@ -27910,8 +27910,10 @@ msgstr "Resend ({secondsRemaining}s)"
msgid "Resend code"
msgstr "Resend code"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Resend email"
@@ -29939,6 +29941,11 @@ msgstr "Send TTS messages"
msgid "Send verification code"
msgstr "Send verification code"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Send verification email"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Something went wrong while saving this setting. Please try again in a moment."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Something went wrong while sending your verification email. Please try again in a moment."
@@ -37744,8 +37751,8 @@ msgstr "Verification code"
msgid "Verification code sent"
msgstr "Verification code sent"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Verification email sent. Check your inbox."
@@ -40176,7 +40183,7 @@ msgstr "You're editing messages too quickly"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "You've received a gift"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "You've requested too many verification emails. Please wait a moment and try again."
diff --git a/fluxer_app/src/features/i18n/locales/es-419/messages.po b/fluxer_app/src/features/i18n/locales/es-419/messages.po
index 8b62c4d56..2c9a6aecc 100644
--- a/fluxer_app/src/features/i18n/locales/es-419/messages.po
+++ b/fluxer_app/src/features/i18n/locales/es-419/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "No se pudo enviar la solicitud de amistad. Intenta de nuevo."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "No se pudo enviar el correo de verificación"
@@ -27910,8 +27910,10 @@ msgstr "Reenviar ({secondsRemaining} s)"
msgid "Resend code"
msgstr "Reenviar código"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Reenviar correo"
@@ -29939,6 +29941,11 @@ msgstr "Enviar mensajes con síntesis de voz"
msgid "Send verification code"
msgstr "Enviar código de verificación"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Enviar correo de verificación"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Algo salió mal al guardar esta configuración. Intenta de nuevo en un momento."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Algo salió mal al enviar tu correo electrónico de verificación. Intenta de nuevo en un momento."
@@ -37744,8 +37751,8 @@ msgstr "Código de verificación"
msgid "Verification code sent"
msgstr "Código de verificación enviado"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Correo electrónico de verificación enviado. Revisa tu bandeja de entrada."
@@ -40176,7 +40183,7 @@ msgstr "Estás editando mensajes muy rápido"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Recibiste un regalo"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Has solicitado demasiados correos de verificación. Espera un momento y vuelve a intentarlo."
diff --git a/fluxer_app/src/features/i18n/locales/es-ES/messages.po b/fluxer_app/src/features/i18n/locales/es-ES/messages.po
index 2a0490d0d..45b9a3fad 100644
--- a/fluxer_app/src/features/i18n/locales/es-ES/messages.po
+++ b/fluxer_app/src/features/i18n/locales/es-ES/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "No se pudo enviar la solicitud de amistad. Inténtalo de nuevo."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "No se pudo enviar el correo de verificación"
@@ -27910,8 +27910,10 @@ msgstr "Reenviar ({secondsRemaining} s)"
msgid "Resend code"
msgstr "Reenviar código"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Reenviar correo"
@@ -29939,6 +29941,11 @@ msgstr "Enviar mensajes con síntesis de voz"
msgid "Send verification code"
msgstr "Enviar código de verificación"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Enviar correo de verificación"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Algo salió mal al guardar este ajuste. Por favor, inténtalo de nuevo en un momento."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Algo salió mal al enviar tu correo de verificación. Por favor, inténtalo de nuevo en un momento."
@@ -37744,8 +37751,8 @@ msgstr "Código de verificación"
msgid "Verification code sent"
msgstr "Código de verificación enviado"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Correo electrónico de verificación enviado. Revisa tu bandeja de entrada."
@@ -40176,7 +40183,7 @@ msgstr "Estás editando mensajes demasiado rápido"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Has recibido un regalo"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Has solicitado demasiados correos de verificación. Espera un momento y vuelve a intentarlo."
diff --git a/fluxer_app/src/features/i18n/locales/fi/messages.po b/fluxer_app/src/features/i18n/locales/fi/messages.po
index c76b07772..a1441a99c 100644
--- a/fluxer_app/src/features/i18n/locales/fi/messages.po
+++ b/fluxer_app/src/features/i18n/locales/fi/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Kaveripyyntöä ei voitu lähettää. Yritä uudelleen."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Vahvistussähköpostin lähetys epäonnistui"
@@ -27910,8 +27910,10 @@ msgstr "Lähetä uudelleen ({secondsRemaining} s)"
msgid "Resend code"
msgstr "Lähetä koodi uudelleen"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Lähetä sähköposti uudelleen"
@@ -29939,6 +29941,11 @@ msgstr "Lähetä tekstistä puheeksi -viestejä"
msgid "Send verification code"
msgstr "Lähetä vahvistuskoodi"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Lähetä vahvistussähköposti"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Jokin meni pieleen asetusta tallennettaessa. Yritä uudelleen hetken kuluttua."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Jokin meni pieleen vahvistussähköpostia lähetettäessä. Yritä uudelleen hetken kuluttua."
@@ -37744,8 +37751,8 @@ msgstr "Vahvistuskoodi"
msgid "Verification code sent"
msgstr "Vahvistuskoodi lähetetty"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Vahvistussähköposti lähetetty. Tarkista saapuneet-kansiosi."
@@ -40176,7 +40183,7 @@ msgstr "Muokkaat viestejä liian nopeasti"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Olet saanut lahjan"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Olet pyytänyt liian monta vahvistussähköpostia. Odota hetki ja yritä uudelleen."
diff --git a/fluxer_app/src/features/i18n/locales/fr/messages.po b/fluxer_app/src/features/i18n/locales/fr/messages.po
index 855c166b8..1f592fcea 100644
--- a/fluxer_app/src/features/i18n/locales/fr/messages.po
+++ b/fluxer_app/src/features/i18n/locales/fr/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Impossible d'envoyer la demande d'ami. Veuillez réessayer."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Impossible d’envoyer l’e-mail de vérification"
@@ -27910,8 +27910,10 @@ msgstr "Renvoyer ({secondsRemaining} s)"
msgid "Resend code"
msgstr "Renvoyer le code"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Renvoyer l'e-mail"
@@ -29939,6 +29941,11 @@ msgstr "Envoyer des messages de synthèse vocale"
msgid "Send verification code"
msgstr "Envoyer le code de vérification"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Envoyer l'e-mail de vérification"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Un problème est survenu lors de l’enregistrement de ce paramètre. Veuillez réessayer dans un instant."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Un problème est survenu lors de l'envoi de votre e-mail de vérification. Veuillez réessayer dans un instant."
@@ -37744,8 +37751,8 @@ msgstr "Code de vérification"
msgid "Verification code sent"
msgstr "Code de vérification envoyé"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "E-mail de vérification envoyé. Vérifiez votre boîte de réception."
@@ -40176,7 +40183,7 @@ msgstr "Vous modifiez les messages trop rapidement"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Vous avez reçu un cadeau"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Vous avez demandé trop d’e-mails de vérification. Veuillez patienter un instant et réessayer."
diff --git a/fluxer_app/src/features/i18n/locales/he/messages.po b/fluxer_app/src/features/i18n/locales/he/messages.po
index 230abae15..a0e7bed63 100644
--- a/fluxer_app/src/features/i18n/locales/he/messages.po
+++ b/fluxer_app/src/features/i18n/locales/he/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "לא ניתן לשלוח את בקשת החברות. יש לנסות שוב."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "לא ניתן היה לשלוח את אימייל האימות"
@@ -27910,8 +27910,10 @@ msgstr "שלח שוב ({secondsRemaining} שנ')"
msgid "Resend code"
msgstr "שלח קוד שוב"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "שלח אימייל שוב"
@@ -29939,6 +29941,11 @@ msgstr "שליחת הודעות טקסט לדיבור"
msgid "Send verification code"
msgstr "שלח קוד אימות"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "שלח אימייל אימות"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "משהו השתבש במהלך שמירת ההגדרה הזו. יש לנסות שוב בעוד רגע."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "משהו השתבש במהלך שליחת אימייל האימות שלך. יש לנסות שוב בעוד רגע."
@@ -37744,8 +37751,8 @@ msgstr "קוד אימות"
msgid "Verification code sent"
msgstr "קוד האימות נשלח"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "נשלחה הודעת אימות. יש לבדוק את תיבת הדואר הנכנס."
@@ -40176,7 +40183,7 @@ msgstr "אתה עורך הודעות מהר מדי"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "קיבלת מתנה"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "ביקשת יותר מדי אימיילי אימות. המתן רגע ונסה שוב."
diff --git a/fluxer_app/src/features/i18n/locales/hi/messages.po b/fluxer_app/src/features/i18n/locales/hi/messages.po
index dc5c5d574..7cad86f83 100644
--- a/fluxer_app/src/features/i18n/locales/hi/messages.po
+++ b/fluxer_app/src/features/i18n/locales/hi/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "फ्रेंड रिक्वेस्ट नहीं भेजी जा सकी। फिर से कोशिश करें।"
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "पुष्टि करने वाला ईमेल भेजा नहीं जा सका"
@@ -27910,8 +27910,10 @@ msgstr "फिर से भेजें ({secondsRemaining}से)"
msgid "Resend code"
msgstr "कोड फिर से भेजें"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "ईमेल फिर से भेजें"
@@ -29939,6 +29941,11 @@ msgstr "TTS मैसेज भेजें"
msgid "Send verification code"
msgstr "वेरिफ़िकेशन कोड भेजें"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "सत्यापन ईमेल भेजें"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "इस सेटिंग को सेव करते समय कुछ गड़बड़ हो गई। कृपया कुछ देर बाद फिर से कोशिश करें।"
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "आपका वेरिफ़िकेशन ईमेल भेजने में कुछ गड़बड़ हो गई। कृपया कुछ देर बाद फिर से कोशिश करें।"
@@ -37744,8 +37751,8 @@ msgstr "वेरिफ़िकेशन कोड"
msgid "Verification code sent"
msgstr "वेरिफ़िकेशन कोड भेजा गया"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "वेरिफ़िकेशन ईमेल भेजा गया है। अपना इनबॉक्स देखें।"
@@ -40176,7 +40183,7 @@ msgstr "आप बहुत तेज़ी से मैसेज एडिट
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "आपको एक उपहार मिला है"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "आपने बहुत ज़्यादा वेरिफ़िकेशन ईमेल का अनुरोध किया है। कृपया कुछ देर इंतज़ार करें और फिर से कोशिश करें।"
diff --git a/fluxer_app/src/features/i18n/locales/hr/messages.po b/fluxer_app/src/features/i18n/locales/hr/messages.po
index 16f41e020..d0c73f60d 100644
--- a/fluxer_app/src/features/i18n/locales/hr/messages.po
+++ b/fluxer_app/src/features/i18n/locales/hr/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Nije moguće poslati zahtjev za prijateljstvo. Pokušajte ponovno."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Nije moguće poslati e-poštu za potvrdu"
@@ -27910,8 +27910,10 @@ msgstr "Ponovno pošalji ({secondsRemaining}s)"
msgid "Resend code"
msgstr "Ponovno pošalji kod"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Ponovno pošalji e-poštu"
@@ -29939,6 +29941,11 @@ msgstr "Slanje TTS poruka"
msgid "Send verification code"
msgstr "Pošalji kod za provjeru"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Pošalji e-poruku za provjeru"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Došlo je do pogreške prilikom spremanja ove postavke. Pokušajte ponovno za nekoliko trenutaka."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Nešto je pošlo po zlu prilikom slanja e-pošte za potvrdu. Pokušajte ponovno za nekoliko trenutaka."
@@ -37744,8 +37751,8 @@ msgstr "Kod za provjeru"
msgid "Verification code sent"
msgstr "Kod za provjeru poslan"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "E-pošta za potvrdu poslana. Provjerite svoju pristiglu poštu."
@@ -40176,7 +40183,7 @@ msgstr "Prebrzo uređujete poruke"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Primili ste poklon"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Previše ste puta zatražili e-poštu za potvrdu. Pričekajte trenutak pa pokušajte ponovno."
diff --git a/fluxer_app/src/features/i18n/locales/hu/messages.po b/fluxer_app/src/features/i18n/locales/hu/messages.po
index 2d3a192be..cd24d30f3 100644
--- a/fluxer_app/src/features/i18n/locales/hu/messages.po
+++ b/fluxer_app/src/features/i18n/locales/hu/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Nem sikerült elküldeni az ismerősjelölést. Próbáld újra."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Nem sikerült elküldeni az ellenőrző e-mailt"
@@ -27910,8 +27910,10 @@ msgstr "Újraküldés ({secondsRemaining} mp)"
msgid "Resend code"
msgstr "Kód újraküldése"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "E-mail újraküldése"
@@ -29939,6 +29941,11 @@ msgstr "TTS-üzenetek küldése"
msgid "Send verification code"
msgstr "Ellenőrző kód küldése"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Küldj egy ellenőrző e-mailt"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Hiba történt a beállítás mentésekor. Próbáld újra egy kis idő múlva."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Hiba történt a megerősítő e-mail elküldésekor. Próbáld újra egy kis idő múlva."
@@ -37744,8 +37751,8 @@ msgstr "Ellenőrző kód"
msgid "Verification code sent"
msgstr "Ellenőrző kód elküldve"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Ellenőrző e-mail elküldve. Nézd meg a beérkező üzeneteidet."
@@ -40176,7 +40183,7 @@ msgstr "Túl gyorsan szerkeszted az üzeneteket"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Ajándékot kaptál"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Túl sok ellenőrző e-mailt kértél. Kérjük, várj egy kicsit, majd próbáld újra."
diff --git a/fluxer_app/src/features/i18n/locales/id/messages.po b/fluxer_app/src/features/i18n/locales/id/messages.po
index db216beba..50697a165 100644
--- a/fluxer_app/src/features/i18n/locales/id/messages.po
+++ b/fluxer_app/src/features/i18n/locales/id/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Tidak dapat mengirim permintaan pertemanan. Coba lagi."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Tidak dapat mengirim email verifikasi"
@@ -27910,8 +27910,10 @@ msgstr "Kirim ulang ({secondsRemaining} dtk)"
msgid "Resend code"
msgstr "Kirim ulang kode"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Kirim ulang email"
@@ -29939,6 +29941,11 @@ msgstr "Kirim pesan TTS"
msgid "Send verification code"
msgstr "Kirim kode verifikasi"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Kirim email verifikasi"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Terjadi kesalahan saat menyimpan pengaturan ini. Silakan coba lagi sebentar lagi."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Terjadi kesalahan saat mengirim email verifikasimu. Silakan coba lagi sebentar lagi."
@@ -37744,8 +37751,8 @@ msgstr "Kode verifikasi"
msgid "Verification code sent"
msgstr "Kode verifikasi terkirim"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Email verifikasi telah dikirim. Periksa kotak masukmu."
@@ -40176,7 +40183,7 @@ msgstr "Kamu mengedit pesan terlalu cepat"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Kamu menerima hadiah"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Kamu sudah terlalu banyak meminta email verifikasi. Tunggu sebentar lalu coba lagi."
diff --git a/fluxer_app/src/features/i18n/locales/it/messages.po b/fluxer_app/src/features/i18n/locales/it/messages.po
index 7962ca3ab..924347a9d 100644
--- a/fluxer_app/src/features/i18n/locales/it/messages.po
+++ b/fluxer_app/src/features/i18n/locales/it/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Impossibile inviare la richiesta di amicizia. Riprova."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Impossibile inviare l'email di verifica"
@@ -27910,8 +27910,10 @@ msgstr "Invia di nuovo ({secondsRemaining}s)"
msgid "Resend code"
msgstr "Reinvia codice"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Invia di nuovo l'email"
@@ -29939,6 +29941,11 @@ msgstr "Invia messaggi TTS"
msgid "Send verification code"
msgstr "Invia codice di verifica"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Invia email di verifica"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Si è verificato un errore durante il salvataggio di questa impostazione. Riprova tra qualche istante."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Si è verificato un errore durante l'invio dell'email di verifica. Riprova tra qualche istante."
@@ -37744,8 +37751,8 @@ msgstr "Codice di verifica"
msgid "Verification code sent"
msgstr "Codice di verifica inviato"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Email di verifica inviata. Controlla la tua casella di posta."
@@ -40176,7 +40183,7 @@ msgstr "Stai modificando i messaggi troppo velocemente"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Hai ricevuto un regalo"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Hai richiesto troppe email di verifica. Attendi un momento e riprova."
diff --git a/fluxer_app/src/features/i18n/locales/ja/messages.po b/fluxer_app/src/features/i18n/locales/ja/messages.po
index cad87dd2a..8e0f02fa2 100644
--- a/fluxer_app/src/features/i18n/locales/ja/messages.po
+++ b/fluxer_app/src/features/i18n/locales/ja/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "友達リクエストを送信できませんでした。もう一度お試しください。"
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "確認メールを送信できませんでした"
@@ -27910,8 +27910,10 @@ msgstr "再送({secondsRemaining}秒)"
msgid "Resend code"
msgstr "コードを再送"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "メールを再送"
@@ -29939,6 +29941,11 @@ msgstr "TTSメッセージを送信"
msgid "Send verification code"
msgstr "認証コードを送信"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "確認メールを送信"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "設定の保存中に問題が発生しました。しばらくしてからもう一度お試しください。"
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "確認メールの送信中に問題が発生しました。しばらくしてからもう一度お試しください。"
@@ -37744,8 +37751,8 @@ msgstr "認証コード"
msgid "Verification code sent"
msgstr "認証コードを送信しました"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "確認メールを送信しました。受信トレイをご確認ください。"
@@ -40176,7 +40183,7 @@ msgstr "メッセージの編集ペースが速すぎます"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "ギフトが届きました"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "確認メールの送信回数が多すぎます。しばらく待ってからもう一度お試しください。"
diff --git a/fluxer_app/src/features/i18n/locales/ko/messages.po b/fluxer_app/src/features/i18n/locales/ko/messages.po
index 909c8b2d1..1307c6026 100644
--- a/fluxer_app/src/features/i18n/locales/ko/messages.po
+++ b/fluxer_app/src/features/i18n/locales/ko/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "친구 요청을 보낼 수 없습니다. 다시 시도해 주세요."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "인증 이메일을 보낼 수 없습니다"
@@ -27910,8 +27910,10 @@ msgstr "재전송 ({secondsRemaining}초)"
msgid "Resend code"
msgstr "코드 재전송"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "이메일 재전송"
@@ -29939,6 +29941,11 @@ msgstr "TTS 메시지 보내기"
msgid "Send verification code"
msgstr "인증 코드 전송"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "인증 이메일 보내기"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "설정 저장 중 문제가 발생했습니다. 잠시 후 다시 시도해 주세요."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "인증 이메일을 보내는 중 문제가 발생했습니다. 잠시 후 다시 시도해 주세요."
@@ -37744,8 +37751,8 @@ msgstr "인증 코드"
msgid "Verification code sent"
msgstr "인증 코드 전송됨"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "인증 이메일을 보냈습니다. 받은편지함을 확인해 주세요."
@@ -40176,7 +40183,7 @@ msgstr "메시지를 너무 빨리 수정하고 있습니다"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "선물을 받았어요"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "인증 이메일을 너무 많이 요청했습니다. 잠시 기다렸다가 다시 시도해 주세요."
diff --git a/fluxer_app/src/features/i18n/locales/lt/messages.po b/fluxer_app/src/features/i18n/locales/lt/messages.po
index eb411e794..b62e2c02f 100644
--- a/fluxer_app/src/features/i18n/locales/lt/messages.po
+++ b/fluxer_app/src/features/i18n/locales/lt/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Nepavyko išsiųsti draugystės užklausos. Bandykite dar kartą."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Nepavyko išsiųsti patvirtinimo el. laiško"
@@ -27911,8 +27911,10 @@ msgstr "Siųsti iš naujo ({secondsRemaining} s)"
msgid "Resend code"
msgstr "Siųsti kodą iš naujo"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Iš naujo siųsti el. laišką"
@@ -29940,6 +29942,11 @@ msgstr "Siųsti TTS žinutes"
msgid "Send verification code"
msgstr "Siųsti patvirtinimo kodą"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Siųsti patvirtinimo el. laišką"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31696,7 +31703,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Nepavyko išsaugoti šio nustatymo. Bandykite dar kartą po akimirkos."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Nepavyko išsiųsti patvirtinimo el. laiško. Bandykite dar kartą po akimirkos."
@@ -37745,8 +37752,8 @@ msgstr "Patvirtinimo kodas"
msgid "Verification code sent"
msgstr "Patvirtinimo kodas išsiųstas"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Patvirtinimo el. laiškas išsiųstas. Patikrinkite gautuosius."
@@ -40177,7 +40184,7 @@ msgstr "Per greitai redaguojate žinutes"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40341,7 +40348,7 @@ msgid "You've received a gift"
msgstr "Gavote dovaną"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Išsiuntėte per daug patvirtinimo el. laiškų. Palaukite ir bandykite dar kartą."
diff --git a/fluxer_app/src/features/i18n/locales/nl/messages.po b/fluxer_app/src/features/i18n/locales/nl/messages.po
index a397e6dec..b6696ec11 100644
--- a/fluxer_app/src/features/i18n/locales/nl/messages.po
+++ b/fluxer_app/src/features/i18n/locales/nl/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Vriendschapsverzoek kon niet worden verzonden. Probeer het opnieuw."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Verificatie-e-mail kon niet worden verzonden"
@@ -27910,8 +27910,10 @@ msgstr "Opnieuw verzenden ({secondsRemaining} s)"
msgid "Resend code"
msgstr "Code opnieuw verzenden"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "E-mail opnieuw verzenden"
@@ -29939,6 +29941,11 @@ msgstr "TTS-berichten verzenden"
msgid "Send verification code"
msgstr "Verificatiecode verzenden"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Verificatiemail verzenden"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Er is iets misgegaan bij het opslaan van deze instelling. Probeer het over een ogenblik opnieuw."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Er is iets misgegaan bij het verzenden van je verificatie-e-mail. Probeer het over een ogenblik opnieuw."
@@ -37744,8 +37751,8 @@ msgstr "Verificatiecode"
msgid "Verification code sent"
msgstr "Verificatiecode verzonden"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Verificatie-e-mail verzonden. Controleer je inbox."
@@ -40176,7 +40183,7 @@ msgstr "Je bewerkt berichten te snel"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Je hebt een cadeau ontvangen"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Je hebt te veel verificatie-e-mails aangevraagd. Wacht even en probeer het opnieuw."
diff --git a/fluxer_app/src/features/i18n/locales/no/messages.po b/fluxer_app/src/features/i18n/locales/no/messages.po
index 1bb16ee04..4c7a187d9 100644
--- a/fluxer_app/src/features/i18n/locales/no/messages.po
+++ b/fluxer_app/src/features/i18n/locales/no/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Kunne ikke sende venneforespørselen. Prøv igjen."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Kunne ikke sende bekreftelseseposten"
@@ -27910,8 +27910,10 @@ msgstr "Send på nytt ({secondsRemaining} s)"
msgid "Resend code"
msgstr "Send kode på nytt"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Send e-post på nytt"
@@ -29939,6 +29941,11 @@ msgstr "Send tekst-til-tale-meldinger"
msgid "Send verification code"
msgstr "Send bekreftelseskode"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Send bekreftelsesepost"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Noe gikk galt under lagring av denne innstillingen. Prøv igjen om en liten stund."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Noe gikk galt under sending av bekreftelses-e-posten din. Prøv igjen om et øyeblikk."
@@ -37744,8 +37751,8 @@ msgstr "Bekreftelseskode"
msgid "Verification code sent"
msgstr "Bekreftelseskode sendt"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "E-post for bekreftelse er sendt. Sjekk innboksen din."
@@ -40176,7 +40183,7 @@ msgstr "Du redigerer meldinger for raskt"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Du har mottatt en gave"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Du har bedt om for mange bekreftelses-e-poster. Vent litt og prøv igjen."
diff --git a/fluxer_app/src/features/i18n/locales/pl/messages.po b/fluxer_app/src/features/i18n/locales/pl/messages.po
index 5402f6460..db841a896 100644
--- a/fluxer_app/src/features/i18n/locales/pl/messages.po
+++ b/fluxer_app/src/features/i18n/locales/pl/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Nie udało się wysłać zaproszenia do znajomych. Spróbuj ponownie."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Nie udało się wysłać e-maila weryfikacyjnego"
@@ -27910,8 +27910,10 @@ msgstr "Wyślij ponownie ({secondsRemaining} s)"
msgid "Resend code"
msgstr "Wyślij kod ponownie"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Wyślij e-mail ponownie"
@@ -29939,6 +29941,11 @@ msgstr "Wysyłanie wiadomości TTS"
msgid "Send verification code"
msgstr "Wyślij kod weryfikacyjny"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Wyślij e-mail weryfikacyjny"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Coś poszło nie tak podczas zapisywania tego ustawienia. Spróbuj ponownie za chwilę."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Coś poszło nie tak podczas wysyłania e-maila weryfikacyjnego. Spróbuj ponownie za chwilę."
@@ -37744,8 +37751,8 @@ msgstr "Kod weryfikacyjny"
msgid "Verification code sent"
msgstr "Kod weryfikacyjny wysłany"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Wysłano e-mail weryfikacyjny. Sprawdź swoją skrzynkę odbiorczą."
@@ -40176,7 +40183,7 @@ msgstr "Zbyt szybko edytujesz wiadomości"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Otrzymano prezent"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Wysłano zbyt wiele próśb o e-maile weryfikacyjne. Poczekaj chwilę i spróbuj ponownie."
diff --git a/fluxer_app/src/features/i18n/locales/pt-BR/messages.po b/fluxer_app/src/features/i18n/locales/pt-BR/messages.po
index b0ab6c6b5..bcaade3d1 100644
--- a/fluxer_app/src/features/i18n/locales/pt-BR/messages.po
+++ b/fluxer_app/src/features/i18n/locales/pt-BR/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Não foi possível enviar o pedido de amizade. Tente novamente."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Não foi possível enviar o e-mail de verificação"
@@ -27910,8 +27910,10 @@ msgstr "Reenviar ({secondsRemaining}s)"
msgid "Resend code"
msgstr "Reenviar código"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Reenviar e-mail"
@@ -29939,6 +29941,11 @@ msgstr "Enviar mensagens TTS"
msgid "Send verification code"
msgstr "Enviar código de verificação"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Enviar e-mail de verificação"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Ocorreu um erro ao salvar esta configuração. Tente novamente em alguns instantes."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Algo deu errado ao enviar seu e-mail de verificação. Tente novamente em alguns instantes."
@@ -37744,8 +37751,8 @@ msgstr "Código de verificação"
msgid "Verification code sent"
msgstr "Código de verificação enviado"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "E-mail de verificação enviado. Verifique sua caixa de entrada."
@@ -40176,7 +40183,7 @@ msgstr "Você está editando mensagens muito rápido"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Você recebeu um presente"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Você solicitou muitos e-mails de verificação. Aguarde um momento e tente novamente."
diff --git a/fluxer_app/src/features/i18n/locales/ro/messages.po b/fluxer_app/src/features/i18n/locales/ro/messages.po
index 49e1282bb..4de5dacae 100644
--- a/fluxer_app/src/features/i18n/locales/ro/messages.po
+++ b/fluxer_app/src/features/i18n/locales/ro/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Nu s-a putut trimite cererea de prietenie. Încearcă din nou."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Nu s-a putut trimite e-mailul de verificare"
@@ -27910,8 +27910,10 @@ msgstr "Retrimite ({secondsRemaining}s)"
msgid "Resend code"
msgstr "Retrimite codul"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Retrimite e-mailul"
@@ -29939,6 +29941,11 @@ msgstr "Trimite mesaje TTS"
msgid "Send verification code"
msgstr "Trimite codul de verificare"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Trimite email de verificare"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "A apărut o eroare la salvarea acestei setări. Te rugăm să încerci din nou mai târziu."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "A apărut o eroare la trimiterea e-mailului de verificare. Te rugăm să încerci din nou mai târziu."
@@ -37744,8 +37751,8 @@ msgstr "Cod de verificare"
msgid "Verification code sent"
msgstr "Codul de verificare a fost trimis"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "E-mailul de verificare a fost trimis. Verifică-ți căsuța de e-mail."
@@ -40176,7 +40183,7 @@ msgstr "Editezi mesajele prea repede"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Ai primit un cadou"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Ai solicitat prea multe e-mailuri de verificare. Așteaptă un moment și încearcă din nou."
diff --git a/fluxer_app/src/features/i18n/locales/ru/messages.po b/fluxer_app/src/features/i18n/locales/ru/messages.po
index ba893448b..94382d0c6 100644
--- a/fluxer_app/src/features/i18n/locales/ru/messages.po
+++ b/fluxer_app/src/features/i18n/locales/ru/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Не удалось отправить запрос на добавление в друзья. Повторите попытку."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Не удалось отправить письмо для подтверждения"
@@ -27910,8 +27910,10 @@ msgstr "Отправить повторно ({secondsRemaining} с)"
msgid "Resend code"
msgstr "Отправить код повторно"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Отправить письмо повторно"
@@ -29939,6 +29941,11 @@ msgstr "Отправлять сообщения TTS"
msgid "Send verification code"
msgstr "Отправить код подтверждения"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Отправить письмо для подтверждения"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Что-то пошло не так при сохранении этой настройки. Повторите попытку через минуту."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Что-то пошло не так при отправке письма для подтверждения. Повторите попытку через минуту."
@@ -37744,8 +37751,8 @@ msgstr "Код подтверждения"
msgid "Verification code sent"
msgstr "Код подтверждения отправлен"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Письмо для подтверждения отправлено. Проверьте входящие."
@@ -40176,7 +40183,7 @@ msgstr "Вы слишком быстро редактируете сообщен
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Вы получили подарок"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Вы запросили слишком много писем с подтверждением. Подождите немного и попробуйте снова."
diff --git a/fluxer_app/src/features/i18n/locales/sv-SE/messages.po b/fluxer_app/src/features/i18n/locales/sv-SE/messages.po
index 0dc000d72..ff7b9ecf4 100644
--- a/fluxer_app/src/features/i18n/locales/sv-SE/messages.po
+++ b/fluxer_app/src/features/i18n/locales/sv-SE/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Kunde inte skicka vänförfrågan. Försök igen."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Kunde inte skicka verifieringsmeddelandet"
@@ -27910,8 +27910,10 @@ msgstr "Skicka igen ({secondsRemaining} s)"
msgid "Resend code"
msgstr "Skicka kod igen"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Skicka e-post igen"
@@ -29939,6 +29941,11 @@ msgstr "Skicka TTS-meddelanden"
msgid "Send verification code"
msgstr "Skicka verifieringskod"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Skicka verifieringsmejl"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Något gick fel när inställningen skulle sparas. Försök igen om en liten stund."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Något gick fel när vi skulle skicka ditt verifieringsmejl. Försök igen om en liten stund."
@@ -37744,8 +37751,8 @@ msgstr "Verifieringskod"
msgid "Verification code sent"
msgstr "Verifieringskod skickad"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Verifieringsmejl skickat. Kolla din inkorg."
@@ -40176,7 +40183,7 @@ msgstr "Du redigerar meddelanden för snabbt"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Du har fått en present"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Du har begärt för många verifieringsmejl. Vänta en stund och försök igen."
diff --git a/fluxer_app/src/features/i18n/locales/th/messages.po b/fluxer_app/src/features/i18n/locales/th/messages.po
index 330dbb14e..f3ed21173 100644
--- a/fluxer_app/src/features/i18n/locales/th/messages.po
+++ b/fluxer_app/src/features/i18n/locales/th/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "ส่งคำขอเป็นเพื่อนไม่สำเร็จ ลองอีกครั้ง"
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "ส่งอีเมลยืนยันไม่ได้"
@@ -27910,8 +27910,10 @@ msgstr "ส่งอีกครั้ง ({secondsRemaining} วินาที
msgid "Resend code"
msgstr "ส่งรหัสอีกครั้ง"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "ส่งอีเมลอีกครั้ง"
@@ -29939,6 +29941,11 @@ msgstr "ส่งข้อความ TTS"
msgid "Send verification code"
msgstr "ส่งรหัสยืนยัน"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "ส่งอีเมลยืนยัน"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "เกิดข้อผิดพลาดขณะบันทึกการตั้งค่านี้ โปรดลองอีกครั้งในภายหลัง"
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "เกิดข้อผิดพลาดขณะส่งอีเมลยืนยันของคุณ โปรดลองอีกครั้งในภายหลัง"
@@ -37744,8 +37751,8 @@ msgstr "รหัสยืนยัน"
msgid "Verification code sent"
msgstr "ส่งรหัสยืนยันแล้ว"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "ส่งอีเมลยืนยันแล้ว โปรดตรวจสอบกล่องจดหมายเข้าของคุณ"
@@ -40176,7 +40183,7 @@ msgstr "คุณแก้ไขข้อความเร็วเกินไ
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "คุณได้รับของขวัญ"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "คุณส่งคำขออีเมลยืนยันมากเกินไปแล้ว โปรดรอสักครู่แล้วลองอีกครั้ง"
diff --git a/fluxer_app/src/features/i18n/locales/tr/messages.po b/fluxer_app/src/features/i18n/locales/tr/messages.po
index 121324f12..157c76bbb 100644
--- a/fluxer_app/src/features/i18n/locales/tr/messages.po
+++ b/fluxer_app/src/features/i18n/locales/tr/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Arkadaşlık isteği gönderilemedi. Tekrar deneyin."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Doğrulama e-postası gönderilemedi"
@@ -27910,8 +27910,10 @@ msgstr "Tekrar gönder ({secondsRemaining}sn)"
msgid "Resend code"
msgstr "Kodu tekrar gönder"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "E-postayı tekrar gönder"
@@ -29939,6 +29941,11 @@ msgstr "TTS mesajları gönder"
msgid "Send verification code"
msgstr "Doğrulama kodu gönder"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Doğrulama e-postası gönder"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Bu ayarı kaydederken bir sorun oluştu. Lütfen bir süre sonra tekrar deneyin."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Doğrulama e-postanızı gönderirken bir sorun oluştu. Lütfen bir süre sonra tekrar deneyin."
@@ -37744,8 +37751,8 @@ msgstr "Doğrulama kodu"
msgid "Verification code sent"
msgstr "Doğrulama kodu gönderildi"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Doğrulama e-postası gönderildi. Gelen kutunuzu kontrol edin."
@@ -40176,7 +40183,7 @@ msgstr "Mesajları çok hızlı düzenliyorsunuz"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Bir hediye aldınız"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Çok fazla doğrulama e-postası istediniz. Lütfen bir süre bekleyip tekrar deneyin."
diff --git a/fluxer_app/src/features/i18n/locales/uk/messages.po b/fluxer_app/src/features/i18n/locales/uk/messages.po
index ba9863ccd..efa0bc248 100644
--- a/fluxer_app/src/features/i18n/locales/uk/messages.po
+++ b/fluxer_app/src/features/i18n/locales/uk/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Не вдалося надіслати запит на додавання в друзі. Спробуйте ще раз."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Не вдалося надіслати лист для підтвердження"
@@ -27910,8 +27910,10 @@ msgstr "Надіслати повторно ({secondsRemaining} с)"
msgid "Resend code"
msgstr "Надіслати код повторно"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Надіслати лист повторно"
@@ -29939,6 +29941,11 @@ msgstr "Надсилати TTS-повідомлення"
msgid "Send verification code"
msgstr "Надіслати код підтвердження"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Надіслати лист для підтвердження"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Під час збереження цього параметра сталася помилка. Спробуйте ще раз за мить."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Під час надсилання листа для підтвердження сталася помилка. Спробуйте ще раз за мить."
@@ -37744,8 +37751,8 @@ msgstr "Код підтвердження"
msgid "Verification code sent"
msgstr "Код підтвердження надіслано"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Лист із підтвердженням надіслано. Перевірте свою поштову скриньку."
@@ -40176,7 +40183,7 @@ msgstr "Ви надто швидко редагуєте повідомлення
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Ви отримали подарунок"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Ви надіслали забагато листів для підтвердження. Зачекайте трохи й спробуйте знову."
diff --git a/fluxer_app/src/features/i18n/locales/vi/messages.po b/fluxer_app/src/features/i18n/locales/vi/messages.po
index 515198cda..aa50bcc65 100644
--- a/fluxer_app/src/features/i18n/locales/vi/messages.po
+++ b/fluxer_app/src/features/i18n/locales/vi/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "Không gửi được lời mời kết bạn. Vui lòng thử lại."
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "Không thể gửi email xác minh"
@@ -27910,8 +27910,10 @@ msgstr "Gửi lại ({secondsRemaining}s)"
msgid "Resend code"
msgstr "Gửi lại mã"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "Gửi lại email"
@@ -29939,6 +29941,11 @@ msgstr "Gửi tin nhắn TTS"
msgid "Send verification code"
msgstr "Gửi mã xác minh"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "Gửi email xác minh"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "Đã xảy ra lỗi khi lưu cài đặt này. Vui lòng thử lại sau giây lát."
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "Đã xảy ra lỗi khi gửi email xác minh của bạn. Vui lòng thử lại sau giây lát."
@@ -37744,8 +37751,8 @@ msgstr "Mã xác minh"
msgid "Verification code sent"
msgstr "Đã gửi mã xác minh"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "Đã gửi email xác minh. Kiểm tra hộp thư đến của bạn."
@@ -40176,7 +40183,7 @@ msgstr "Bạn đang chỉnh sửa tin nhắn quá nhanh"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "Bạn đã nhận được quà"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "Bạn đã yêu cầu quá nhiều email xác minh. Vui lòng đợi một lát rồi thử lại."
diff --git a/fluxer_app/src/features/i18n/locales/zh-CN/messages.po b/fluxer_app/src/features/i18n/locales/zh-CN/messages.po
index 40ab57708..09756d79c 100644
--- a/fluxer_app/src/features/i18n/locales/zh-CN/messages.po
+++ b/fluxer_app/src/features/i18n/locales/zh-CN/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "无法发送好友请求。请重试。"
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "无法发送验证邮件"
@@ -27910,8 +27910,10 @@ msgstr "重新发送({secondsRemaining} 秒)"
msgid "Resend code"
msgstr "重新发送验证码"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "重新发送邮件"
@@ -29939,6 +29941,11 @@ msgstr "发送 TTS 消息"
msgid "Send verification code"
msgstr "发送验证码"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "发送验证邮件"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "保存此设置时出错了。请稍后重试。"
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "发送验证邮件时出错了。请稍后重试。"
@@ -37744,8 +37751,8 @@ msgstr "验证码"
msgid "Verification code sent"
msgstr "验证码已发送"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "验证邮件已发送。请检查你的收件箱。"
@@ -40176,7 +40183,7 @@ msgstr "你编辑消息的速度太快了"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "你收到了一份礼物"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "你请求的验证邮件过多。请稍候片刻,然后重试。"
diff --git a/fluxer_app/src/features/i18n/locales/zh-TW/messages.po b/fluxer_app/src/features/i18n/locales/zh-TW/messages.po
index a90cf7064..75ea1f591 100644
--- a/fluxer_app/src/features/i18n/locales/zh-TW/messages.po
+++ b/fluxer_app/src/features/i18n/locales/zh-TW/messages.po
@@ -10451,7 +10451,7 @@ msgid "Couldn't send the friend request. Try again."
msgstr "無法傳送好友邀請。請再試一次。"
#. Title of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Couldn't send the verification email"
msgstr "無法傳送驗證電子郵件"
@@ -27910,8 +27910,10 @@ msgstr "重新傳送({secondsRemaining} 秒)"
msgid "Resend code"
msgstr "重新傳送驗證碼"
+#. Button label that sends another verification email after one was already sent. Keep it concise.
#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
#: src/features/auth/flow/IpAuthorizationScreen.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Resend email"
msgstr "重寄驗證信"
@@ -29939,6 +29941,11 @@ msgstr "傳送 TTS 訊息"
msgid "Send verification code"
msgstr "傳送驗證碼"
+#. Button label on prompts that ask the user to verify their email, such as the add friend form. Sends a verification email right away. Keep it concise.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
+msgid "Send verification email"
+msgstr "寄送驗證信件"
+
#. Accessible label and tooltip for the send button after recording a voice message.
#. Keyboard shortcut action label that opens the desktop voice message composer.
#. Plus menu item that opens the desktop voice message composer to record and send a voice clip.
@@ -31695,7 +31702,7 @@ msgid "Something went wrong while saving this setting. Please try again in a mom
msgstr "儲存此設定時發生錯誤。請稍後再試一次。"
#. Body of the error modal shown when sending the verification email fails unexpectedly.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Something went wrong while sending your verification email. Please try again in a moment."
msgstr "傳送驗證電子郵件時發生錯誤。請稍後再試一次。"
@@ -37744,8 +37751,8 @@ msgstr "驗證碼"
msgid "Verification code sent"
msgstr "驗證碼已送出"
-#. Toast confirmation in the email verification alert after a verification email has been sent.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#. Toast confirmation shown after a verification email has been sent.
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "Verification email sent. Check your inbox."
msgstr "驗證電子郵件已寄出。請檢查您的收件匣。"
@@ -40176,7 +40183,7 @@ msgstr "您編輯訊息的速度太快了"
#. Title of the error modal shown when resending a verification email is rate-limited.
#. Title of the error modal shown when sharing or sending a theme link is rate limited.
#: src/features/app/components/alerts/CommonErrorModalDescriptors.ts
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
#: src/features/discovery/commands/DiscoveryJoinCommands.tsx
#: src/features/emoji/components/emojis/EmojiListItem.tsx
#: src/features/theme/components/modals/ShareThemeModal.tsx
@@ -40340,7 +40347,7 @@ msgid "You've received a gift"
msgstr "您收到一份禮物"
#. Body of the error modal shown when resending a verification email is rate-limited.
-#: src/features/app/components/dialogs/components/EmailVerificationAlert.tsx
+#: src/features/auth/hooks/useVerifyEmailAction.tsx
msgid "You've requested too many verification emails. Please wait a moment and try again."
msgstr "您已要求傳送太多驗證電子郵件。請稍候片刻再試一次。"
diff --git a/fluxer_app/src/features/user/components/modals/tabs/account_security_tab/AccountTab.tsx b/fluxer_app/src/features/user/components/modals/tabs/account_security_tab/AccountTab.tsx
index 5bb60f77e..6c5a2d659 100644
--- a/fluxer_app/src/features/user/components/modals/tabs/account_security_tab/AccountTab.tsx
+++ b/fluxer_app/src/features/user/components/modals/tabs/account_security_tab/AccountTab.tsx
@@ -4,6 +4,7 @@ import {EmailVerificationAlert} from '@app/features/app/components/dialogs/compo
import {UnclaimedAccountAlert} from '@app/features/app/components/dialogs/components/UnclaimedAccountAlert';
import RuntimeConfig from '@app/features/app/state/RuntimeConfig';
import {openClaimAccountModal} from '@app/features/auth/components/modals/ClaimAccountModal';
+import {canResendVerificationEmail} from '@app/features/auth/hooks/useVerifyEmailAction';
import {Button} from '@app/features/ui/button/Button';
import * as ModalCommands from '@app/features/ui/commands/ModalCommands';
import {modal} from '@app/features/ui/commands/ModalCommands';
@@ -177,7 +178,7 @@ export const AccountTabContent: React.FC<AccountTabProps> = observer(
/>
)}
</AccountSecurityCard>
- {RuntimeConfig.emailsEnabled && isClaimed && !usesUsernameSignIn && user.email && !user.verified && (
+ {canResendVerificationEmail(user) && (
<EmailVerificationAlert data-flx="user.account-security-tab.account-tab.account-tab-content.email-verification-alert" />
)}
</>