From 7ff59867a539ff378644c8312e9b54522412868b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Fri, 11 Sep 2026 07:05:12 +0300 Subject: [PATCH] =?UTF-8?q?im-web:=20home=20+=20email-confirm=20titles=20j?= =?UTF-8?q?oin=20the=20'Page=20=C2=B7=20im'=20family=20form?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/im-web/src/i18n.rs | 7 +++++-- crates/im-web/src/pages.rs | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/crates/im-web/src/i18n.rs b/crates/im-web/src/i18n.rs index e468493..3244b0a 100644 --- a/crates/im-web/src/i18n.rs +++ b/crates/im-web/src/i18n.rs @@ -129,6 +129,7 @@ pub enum Key { TitleForgot, TitleReset, TitleAdmin, + TitleAccount, // Signed-in landing and person page, shared. TwoFaOn, @@ -500,6 +501,8 @@ pub fn t(lang: Lang, key: Key) -> &'static str { (TitleReset, Tr) => "Yeni parola · im", (TitleAdmin, En) => "Admin · im", (TitleAdmin, Tr) => "Yönetici · im", + (TitleAccount, En) => "Account · im", + (TitleAccount, Tr) => "Hesap · im", (TwoFaOn, En) => "2FA on", (TwoFaOn, Tr) => "2FA açık", @@ -608,8 +611,8 @@ pub fn t(lang: Lang, key: Key) -> &'static str { (EmailChangeButton, Tr) => "Adresi değiştir", (EmailChangeNote, En) => "Both addresses confirm: one mail to the old one, one to the new.", (EmailChangeNote, Tr) => "İki adres de onaylar: eskiye bir, yeniye bir posta.", - (EmailConfirmTitle, En) => "Confirm email change", - (EmailConfirmTitle, Tr) => "E-posta değişikliğini onayla", + (EmailConfirmTitle, En) => "Confirm email change · im", + (EmailConfirmTitle, Tr) => "E-posta değişikliğini onayla · im", (ConfirmEmailButton, En) => "Confirm", (ConfirmEmailButton, Tr) => "Onayla", (OkRevoked, En) => "Sessions revoked — every device is signed out.", diff --git a/crates/im-web/src/pages.rs b/crates/im-web/src/pages.rs index 961d43e..a87a84c 100644 --- a/crates/im-web/src/pages.rs +++ b/crates/im-web/src/pages.rs @@ -972,7 +972,7 @@ async fn signed_in<'a>(cx: &'a Cx, user: im_core::model::User) -> Result (crate::layout::avatar_script(cx, lang).await?.first().await?) }; - shell(cx, "im", Some(user), Child::new(stage)).await.map(ViewExt::boxed) + shell(cx, t(lang, Key::TitleAccount), Some(user), Child::new(stage)).await.map(ViewExt::boxed) } /// "Forgot it?" — the self-serve reset ask. It answers the same whether the