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": {
"title": "Account",
"logged_in_as": "Logged in as {account_name}",
"linked_account": "Logged in as {account_name}",
"fetching_account": "Fetching account information...",
"logged_in_with_discord": "Logged in with Discord",
"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;
if (me?.discord) {
return html`<p>
${translateText("account_modal.logged_in_as", {
${translateText("account_modal.linked_account", {
account_name: me.discord.global_name ?? "",
})}
</p>
${this.renderLogoutButton()}`;
} else if (me?.email) {
return html`<p>
${translateText("account_modal.logged_in_as", {
${translateText("account_modal.linked_account", {
account_name: me.email,
})}
</p>
@@ -368,11 +368,11 @@ export class AccountButton extends LitElement {
let buttonTitle = "";
if (this.loggedInEmail) {
buttonTitle = translateText("account_modal.logged_in_as", {
email: this.loggedInEmail,
buttonTitle = translateText("account_modal.linked_account", {
account_name: this.loggedInEmail,
});
} else if (this.loggedInDiscord) {
buttonTitle = translateText("account_modal.logged_in_with_discord");
buttonTitle = translateText("account_modal.linked_account");
}
return html`