update tranlation key in account_modal

This commit is contained in:
evanpelle
2025-12-11 16:23:59 -08:00
parent af17fb85dd
commit ef0aff12e2
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -157,7 +157,7 @@
}, },
"account_modal": { "account_modal": {
"title": "Account", "title": "Account",
"logged_in_as": "Logged in as {account_name}", "linked_account": "Logged in as {account_name}",
"fetching_account": "Fetching account information...", "fetching_account": "Fetching account information...",
"logged_in_with_discord": "Logged in with Discord", "logged_in_with_discord": "Logged in with Discord",
"recovery_email_sent": "Recovery email sent to {email}", "recovery_email_sent": "Recovery email sent to {email}",
+5 -5
View File
@@ -113,14 +113,14 @@ export class AccountModal extends LitElement {
const me = this.userMeResponse?.user; const me = this.userMeResponse?.user;
if (me?.discord) { if (me?.discord) {
return html`<p> return html`<p>
${translateText("account_modal.logged_in_as", { ${translateText("account_modal.linked_account", {
account_name: me.discord.global_name ?? "", account_name: me.discord.global_name ?? "",
})} })}
</p> </p>
${this.renderLogoutButton()}`; ${this.renderLogoutButton()}`;
} else if (me?.email) { } else if (me?.email) {
return html`<p> return html`<p>
${translateText("account_modal.logged_in_as", { ${translateText("account_modal.linked_account", {
account_name: me.email, account_name: me.email,
})} })}
</p> </p>
@@ -368,11 +368,11 @@ export class AccountButton extends LitElement {
let buttonTitle = ""; let buttonTitle = "";
if (this.loggedInEmail) { if (this.loggedInEmail) {
buttonTitle = translateText("account_modal.logged_in_as", { buttonTitle = translateText("account_modal.linked_account", {
email: this.loggedInEmail, account_name: this.loggedInEmail,
}); });
} else if (this.loggedInDiscord) { } else if (this.loggedInDiscord) {
buttonTitle = translateText("account_modal.logged_in_with_discord"); buttonTitle = translateText("account_modal.linked_account");
} }
return html` return html`