diff --git a/DysonNetwork.Pass/Account/AccountService.cs b/DysonNetwork.Pass/Account/AccountService.cs index 8207c30..d9c7f12 100644 --- a/DysonNetwork.Pass/Account/AccountService.cs +++ b/DysonNetwork.Pass/Account/AccountService.cs @@ -447,10 +447,10 @@ public class AccountService( } await mailer - .SendTemplatedEmailAsync( + .SendTemplatedEmailAsync( account.Nick, contact.Content, - emailLocalizer["EmailCodeTitle"], + emailLocalizer["CodeEmailTitle"], new VerificationEmailModel { Name = account.Name, diff --git a/DysonNetwork.Pass/Account/MagicSpellService.cs b/DysonNetwork.Pass/Account/MagicSpellService.cs index 572489e..4b007c2 100644 --- a/DysonNetwork.Pass/Account/MagicSpellService.cs +++ b/DysonNetwork.Pass/Account/MagicSpellService.cs @@ -94,10 +94,10 @@ public class MagicSpellService( switch (spell.Type) { case MagicSpellType.AccountActivation: - await email.SendTemplatedEmailAsync( + await email.SendTemplatedEmailAsync( contact.Account.Nick, contact.Content, - localizer["EmailLandingTitle"], + localizer["RegConfirmTitle"], new LandingEmailModel { Name = contact.Account.Name, @@ -109,7 +109,7 @@ public class MagicSpellService( await email.SendTemplatedEmailAsync( contact.Account.Nick, contact.Content, - localizer["EmailAccountDeletionTitle"], + localizer["AccountDeletionTitle"], new AccountDeletionEmailModel { Name = contact.Account.Name, @@ -121,7 +121,7 @@ public class MagicSpellService( await email.SendTemplatedEmailAsync( contact.Account.Nick, contact.Content, - localizer["EmailPasswordResetTitle"], + localizer["PasswordResetTitle"], new PasswordResetEmailModel { Name = contact.Account.Name, @@ -135,7 +135,7 @@ public class MagicSpellService( await email.SendTemplatedEmailAsync( contact.Account.Nick, contactMethod!, - localizer["EmailContactVerificationTitle"], + localizer["ContractVerificationTitle"], new ContactVerificationEmailModel { Name = contact.Account.Name, diff --git a/DysonNetwork.Pass/Emails/AccountDeletionEmail.razor b/DysonNetwork.Pass/Emails/AccountDeletionEmail.razor index 2d4f94c..25a54d2 100644 --- a/DysonNetwork.Pass/Emails/AccountDeletionEmail.razor +++ b/DysonNetwork.Pass/Emails/AccountDeletionEmail.razor @@ -2,36 +2,106 @@ @using Microsoft.Extensions.Localization - - -

@(Localizer["AccountDeletionHeader"])

-

@(Localizer["AccountDeletionPara1"]) @@@Name,

-

@(Localizer["AccountDeletionPara2"])

-

@(Localizer["AccountDeletionPara3"])

- - - +
+ @Localizer["AccountDeletionHeader"] +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +
+
+
+
- - + + @code { diff --git a/DysonNetwork.Pass/Emails/ContactVerificationEmail.razor b/DysonNetwork.Pass/Emails/ContactVerificationEmail.razor index 1af0c55..b491274 100644 --- a/DysonNetwork.Pass/Emails/ContactVerificationEmail.razor +++ b/DysonNetwork.Pass/Emails/ContactVerificationEmail.razor @@ -3,36 +3,106 @@ @using EmailResource = DysonNetwork.Pass.Localization.EmailResource - - - - - - -@code { - [Parameter] public required string Name { get; set; } - [Parameter] public required string Link { get; set; } - - [Inject] IStringLocalizer Localizer { get; set; } = null!; -} \ No newline at end of file diff --git a/DysonNetwork.Pass/Emails/PasswordResetEmail.razor b/DysonNetwork.Pass/Emails/PasswordResetEmail.razor index 2b867d9..7de6321 100644 --- a/DysonNetwork.Pass/Emails/PasswordResetEmail.razor +++ b/DysonNetwork.Pass/Emails/PasswordResetEmail.razor @@ -3,36 +3,106 @@ @using EmailResource = DysonNetwork.Pass.Localization.EmailResource - - - - - - -@code { - [Parameter] public required string Name { get; set; } - [Parameter] public required string Code { get; set; } - - [Inject] IStringLocalizer Localizer { get; set; } = null!; - [Inject] IStringLocalizer LocalizerShared { get; set; } = null!; -} diff --git a/DysonNetwork.Pass/Mailart/.github/dependabot.yml b/DysonNetwork.Pass/Mailart/.github/dependabot.yml deleted file mode 100644 index 4872c5a..0000000 --- a/DysonNetwork.Pass/Mailart/.github/dependabot.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: 2 -updates: -- package-ecosystem: npm - directory: "/" - schedule: - interval: daily - open-pull-requests-limit: 10 diff --git a/DysonNetwork.Pass/Mailart/.gitignore b/DysonNetwork.Pass/Mailart/.gitignore index 84fae54..e5f85f2 100644 --- a/DysonNetwork.Pass/Mailart/.gitignore +++ b/DysonNetwork.Pass/Mailart/.gitignore @@ -1,3 +1,4 @@ .idea .vscode node_modules +build_production diff --git a/DysonNetwork.Pass/Mailart/emails/confirm-alt.html b/DysonNetwork.Pass/Mailart/emails/confirm-alt.html new file mode 100644 index 0000000..233cc1f --- /dev/null +++ b/DysonNetwork.Pass/Mailart/emails/confirm-alt.html @@ -0,0 +1,86 @@ +--- +bodyClass: bg-slate-50 +preheader: Registeration Confirmation +--- + + +
+
- - + -
+
+ - + +
- - @(Localizer["AccountDeletionButton"]) + + + Solar Network Logo +
+

+ @Localizer["UsernameFormat", Name] +

+

+ @Localizer["AccountDeletionBody"] +

+ +
+

+ Thanks, +
+ Solar Network Team +

+
+ ‍ +
+

+ @Localizer["AccountDeletionHint"] +

+

+ @Localizer["AlternativeLinkHint"] + @Link +

+
+ + + -
+

+ © 2025 Solsynth LLC. All rights + reserved. +

- -

@(Localizer["AccountDeletionPara4"])

-
-

@(Localizer["ContactVerificationHeader"])

-

@(Localizer["ContactVerificationPara1"]) @Name,

-

@(Localizer["ContactVerificationPara2"])

- - - +
+ @Localizer["ContactVerificationHeader"] +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +
+
+
+
- - + + @code { diff --git a/DysonNetwork.Pass/Emails/EmailLayout.razor b/DysonNetwork.Pass/Emails/EmailLayout.razor index c3f22ff..ca59c39 100644 --- a/DysonNetwork.Pass/Emails/EmailLayout.razor +++ b/DysonNetwork.Pass/Emails/EmailLayout.razor @@ -1,334 +1,62 @@ @inherits LayoutComponentBase - - + + - - - + + + + + - -
- - + -
+
+ - + +
- - @(Localizer["ContactVerificationButton"]) + + + Solar Network Logo +
+

+ @Localizer["UsernameFormat", Name] +

+

+ @Localizer["ContactVerificationBody"] +

+ +
+

+ Thanks, +
+ Solar Network Team +

+
+ ‍ +
+

+ @Localizer["ContactVerificationHint"] +

+

+ @Localizer["AlternativeLinkHint"] + @Link +

+
+ + + -
+

+ © 2025 Solsynth LLC. All rights + reserved. +

- -

@(Localizer["ContactVerificationPara3"])

-

@(Localizer["ContactVerificationPara4"])

-
- - - - - - + +@ChildContent diff --git a/DysonNetwork.Pass/Emails/FactorCodeEmail.razor b/DysonNetwork.Pass/Emails/FactorCodeEmail.razor new file mode 100644 index 0000000..8e49e78 --- /dev/null +++ b/DysonNetwork.Pass/Emails/FactorCodeEmail.razor @@ -0,0 +1,107 @@ +@using DysonNetwork.Pass.Localization +@using Microsoft.Extensions.Localization +@using EmailResource = DysonNetwork.Pass.Localization.EmailResource + + +
+ @Localizer["CodeEmailHeader"] +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +
+
+
+ + + + +
+
+ + + + +
+ + Solar Network Logo + +
+

+ @Localizer["UsernameFormat", Name] +

+

+ @Localizer["CodeEmailBody"] +

+

+ @Code +

+
+

+ Thanks, +
+ Solar Network Team +

+
+ ‍ +
+

+ @Localizer["CodeEmailHint"] +

+

+ @Localizer["CodeEmailHintSecondary"] +

+
+ + + + +
+

+ © 2025 Solsynth LLC. All rights + reserved. +

+
+
+
+
+
+ +@code { + [Parameter] public required string Name { get; set; } + [Parameter] public required string Code { get; set; } + + [Inject] IStringLocalizer Localizer { get; set; } = null!; + [Inject] IStringLocalizer LocalizerShared { get; set; } = null!; +} diff --git a/DysonNetwork.Pass/Emails/LandingEmail.razor b/DysonNetwork.Pass/Emails/LandingEmail.razor deleted file mode 100644 index df1e79e..0000000 --- a/DysonNetwork.Pass/Emails/LandingEmail.razor +++ /dev/null @@ -1,43 +0,0 @@ -@using DysonNetwork.Pass.Localization -@using Microsoft.Extensions.Localization -@using EmailResource = DysonNetwork.Pass.Localization.EmailResource - - -
-

@(Localizer["LandingHeader1"])

-

@(Localizer["LandingPara1"]) @@@Name,

-

@(Localizer["LandingPara2"])

-

@(Localizer["LandingPara3"])

- - - - - - - - - -

@(Localizer["LandingPara4"])

-
-

@(Localizer["PasswordResetHeader"])

-

@(Localizer["PasswordResetPara1"]) @@@Name,

-

@(Localizer["PasswordResetPara2"])

-

@(Localizer["PasswordResetPara3"])

- - - +
+ @Localizer["PasswordResetHeader"] +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +
+
+
+
- - + + @code { diff --git a/DysonNetwork.Pass/Emails/RegistrationConfirmEmail.razor b/DysonNetwork.Pass/Emails/RegistrationConfirmEmail.razor new file mode 100644 index 0000000..e1a9efd --- /dev/null +++ b/DysonNetwork.Pass/Emails/RegistrationConfirmEmail.razor @@ -0,0 +1,109 @@ +@using Microsoft.Extensions.Localization +@using EmailResource = DysonNetwork.Pass.Localization.EmailResource + + +
+ @Localizer["RegConfirmHeader"] +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +  ͏  ͏  ͏  ͏  ͏ +
+
+
+
- - + -
+
+ - + +
- - @(Localizer["PasswordResetButton"]) + + + Solar Network Logo +
+

+ @Localizer["UsernameFormat", Name] +

+

+ @Localizer["PasswordResetBody"] +

+ +
+

+ Thanks, +
+ Solar Network Team +

+
+ ‍ +
+

+ @Localizer["PasswordResetHint"] +

+

+ @Localizer["AlternativeLinkHint"] + @Link +

+
+ + + -
+

+ © 2025 Solsynth LLC. All rights + reserved. +

- -

@(Localizer["PasswordResetPara4"])

-
+ + + +
+
+ + + + +
+ + Solar Network Logo + +
+

+ @Localizer["UsernameFormat", Name] +

+

+ @Localizer["RegConfirmBody"] +

+ +
+

+ Thanks, +
+ Solar Network Team +

+
+ ‍ +
+

+ @Localizer["AlternativeLinkHint"] + @Link +

+
+ + + + +
+

+ © 2025 Solsynth LLC. All rights + reserved. +

+
+
+ + + + +@code { + [Parameter] public required string Name { get; set; } + [Parameter] public required string Link { get; set; } + + [Inject] IStringLocalizer Localizer { get; set; } = null!; +} \ No newline at end of file diff --git a/DysonNetwork.Pass/Emails/VerificationEmail.razor b/DysonNetwork.Pass/Emails/VerificationEmail.razor deleted file mode 100644 index d3492cd..0000000 --- a/DysonNetwork.Pass/Emails/VerificationEmail.razor +++ /dev/null @@ -1,27 +0,0 @@ -@using DysonNetwork.Pass.Localization -@using Microsoft.Extensions.Localization -@using EmailResource = DysonNetwork.Pass.Localization.EmailResource - - -
-

@(Localizer["CodeHeader1"])

-

@(Localizer["CodePara1"]) @@@Name,

-

@(Localizer["CodePara2"])

-

@(Localizer["CodePara3"])

- -

@Code

- -

@(Localizer["CodePara4"])

-

@(Localizer["CodePara5"])

-
+ + + +
+ + + + + + +
+ + Solar Network Logo + + + + +

+ Dear, {{ Name }} +

+ +

+ We're happy to have you joining our community! Please confirm + your registeration in order to activate your account to unlock + all the features available: +

+ + + Confirm + + + + +

+ Thanks, +
+ Solar Network Team +

+ + + +

+ The link will expires in 24 hours, if you didn't request + this code, you can safety ignore this email. +

+ +

+ If you're having trouble clicking the "Confirm" button, copy + and paste the following URL into your web browser: + {{ URL }} +

+
+ + + + + +
+

+ © {{ new Date().getFullYear() }} Solsynth LLC. All rights + reserved. +

+
+
+ + diff --git a/DysonNetwork.Pass/Mailart/emails/reg-confirm.html b/DysonNetwork.Pass/Mailart/emails/confirm.html similarity index 98% rename from DysonNetwork.Pass/Mailart/emails/reg-confirm.html rename to DysonNetwork.Pass/Mailart/emails/confirm.html index f94b8f1..95a4c58 100644 --- a/DysonNetwork.Pass/Mailart/emails/reg-confirm.html +++ b/DysonNetwork.Pass/Mailart/emails/confirm.html @@ -27,7 +27,7 @@ preheader: Registeration Confirmation

- Hello there! + Dear, {{ Name }}

diff --git a/DysonNetwork.Pass/Mailart/emails/factor-code.html b/DysonNetwork.Pass/Mailart/emails/factor-code.html new file mode 100644 index 0000000..b3563ff --- /dev/null +++ b/DysonNetwork.Pass/Mailart/emails/factor-code.html @@ -0,0 +1,74 @@ +--- +bodyClass: bg-slate-50 +preheader: Registeration Confirmation +--- + + +

+ + + + +
+ + + + + + +
+ + Solar Network Logo + + + + +

+ Dear, {{ Name }} +

+ +

+ Someone trying to use email auth factor to authorize an access + request. If that is you, enter the code below to continue. +

+ +

+ 000000 +

+ + + +

+ Thanks, +
+ Solar Network Team +

+ + + +

+ The code will expires in 30 minutes, if you didn't request + this code, you can safety ignore this email. +

+
+ + + + + +
+

+ © {{ new Date().getFullYear() }} Solsynth LLC. All rights + reserved. +

+
+
+
+ diff --git a/DysonNetwork.Pass/Resources/Localization/EmailResource.resx b/DysonNetwork.Pass/Resources/Localization/EmailResource.resx index b4a0b9f..f92ba77 100644 --- a/DysonNetwork.Pass/Resources/Localization/EmailResource.resx +++ b/DysonNetwork.Pass/Resources/Localization/EmailResource.resx @@ -18,49 +18,34 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + Welcome to the Solar Network! - - Dear, + + We're happy to have you joining our community! Please confirm your registeration in order to activate your account to unlock all the features available. - - Thank you for creating an account on the Solar Network. We're excited to have you join our community! - - - To access all features and ensure the security of your account, please confirm your registration by clicking the button below: - - + Confirm Registration - - If you didn't create this account, please ignore this email. - - + Confirm your registration Account Deletion Confirmation - - Dear, - - - We've received a request to delete your Solar Network account. We're sorry to see you go. - - - To confirm your account deletion, please click the button below. Please note that this action is permanent and cannot be undone. + + We've received a request to delete your Solar Network account. We're sorry to see you go. To confirm your account deletion, please click the button below. Please note that this action is permanent and cannot be undone. Confirm Account Deletion - + If you did not request to delete your account, please ignore this email or contact our support team immediately. Confirm your account deletion - + Reset your password @@ -69,61 +54,46 @@ Password Reset Request - - Dear, - - - We recieved a request to reset your Solar Network account password. - - - You can click the button below to continue reset your password. - - + If you didn't request this, you can ignore this email safety. - - Verify your email address + + Verify Contact Method - Verify Your Contact Information + Verify Contact Method - - Dear, - - - Thank you for updating your contact information on the Solar Network. To ensure your account security, we need to verify this change. - - - Please click the button below to verify your contact information: + + Thank you for updating your contact method on the Solar Network. To ensure your account security, we need to verify this change. Please click the button below to verify your contact method: - Verify Contact Information + Verify - + If you didn't request this change, please contact our support team immediately. - - Verify your contact information - - + Your email one-time-password - + Email One-time-password - - Dear, + + Someone trying to use email auth factor to authorize an access request. If that is you, enter the code below to continue. - - Someone trying to use email auth factor to authorize an access request - - - If that is you, enter the code below to continue - - + This code will expire in 30 minutes. - + If you didn't request this, you can ignore this email safely + + Dear, {0} + + + If you're having trouble clicking the button, copy and paste the following URL into your web browser: + + + We recieved a request to reset your Solar Network account password. Click the button below to continue and reset it. + \ No newline at end of file diff --git a/DysonNetwork.Pass/Resources/Localization/EmailResource.zh-hans.resx b/DysonNetwork.Pass/Resources/Localization/EmailResource.zh-hans.resx index 749af41..f192dfa 100644 --- a/DysonNetwork.Pass/Resources/Localization/EmailResource.zh-hans.resx +++ b/DysonNetwork.Pass/Resources/Localization/EmailResource.zh-hans.resx @@ -11,43 +11,28 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + 欢迎来到 Solar Network! - + 尊敬的 - + 确认注册 - - 感谢你在 Solar Network 上注册帐号,我们很激动你即将加入我们的社区! - - - 点击下方按钮来确认你的注册以获得所有功能的权限。 - - - 如果你并没有注册帐号,你可以忽略此邮件。 - - + 确认你的注册 账户删除确认 - - 尊敬的 - - - 我们收到了删除您 Solar Network 账户的请求。我们很遗憾看到您的离开。 - - - 请点击下方按钮确认删除您的账户。请注意,此操作是永久性的,无法撤销。 + + 我们收到了删除您 Solar Network 账户的请求。我们很遗憾看到您的离开。请点击下方按钮确认删除您的账户。请注意,此操作是永久性的,无法撤销。 确认删除账户 - + 如果您并未请求删除账户,请忽略此邮件或立即联系我们的支持团队。 @@ -56,67 +41,52 @@ 密码重置请求 - - 尊敬的 - - - 我们收到了重置您 Solar Network 账户密码的请求。 - - - 请点击下方按钮重置您的密码。此链接将在24小时后失效。 - 重置密码 - + 如果您并未请求重置密码,你可以安全地忽略此邮件。 - + 重置您的密码 - - 验证您的电子邮箱 + + 验证您的联系方式 - 验证您的联系信息 + 验证您的联系方式 - - 尊敬的 - - - 感谢您更新 Solar Network 上的联系信息。为确保您的账户安全,我们需要验证此更改。 - - - 请点击下方按钮验证您的联系信息: + + 感谢您更新 Solar Network 上的联系方式。为确保您的账户安全,我们需要验证此更改。请点击下方按钮验证您的联系方式。 - 验证联系信息 + 验证 - + 如果您没有请求此更改,请立即联系我们的支持团队。 - - 验证您的联系信息 - - + 您的一次性邮件验证码 - + 邮件一次性验证码 - - 尊敬的 + + 有人正在尝试使用邮件验证码作为验证因子授权访问。如果那位用户就是您,输入下方的验证码来继续访问。 - - 有人正在尝试使用邮件验证码作为验证因子授权访问 - - - 如果那位用户就是您,输入下方的验证码来继续访问 - - + 验证码会在 30 分钟后过期 - + 如果您未申请过本验证码,您可以安全的忽略这封邮件 + + 尊敬的 {0} + + + 如果您无法点击上面的按钮,您也可以尝试复制下面的连接到浏览器访问 + + + 我们收到了重置您 Solar Network 账户密码的请求。请点击下方按钮重置您的密码 + \ No newline at end of file