1
0
forked from GRIN/grim

goblin: shorten Username name-authority copy + add Learn more link

Replace the long name-authority blurb on the Username page with one brief
line, plus a "Learn more" link that opens the name-authority docs chapter
(https://docs.goblin.st/features/name-authority.html) via the same
open_url idiom used elsewhere in Settings. Authority list, free-type and
save behaviour are unchanged. New goblin.username.learn_more key and the
shortened authority_blurb across all eight locales; drift + call-site
tests green.
This commit is contained in:
2ro
2026-07-07 00:37:11 -04:00
parent b8894998fa
commit 17145899eb
9 changed files with 32 additions and 8 deletions
+2 -1
View File
@@ -606,7 +606,8 @@ goblin:
username:
title: "Benutzername"
authority: "Namensautorität"
authority_blurb: "Wo dein Benutzername registriert und überprüft wird. Wähle eine bekannte aus oder richte Goblin auf eine andere Instanz, um dort gehostete Namen zu nutzen."
authority_blurb: "Als Standard belassen oder auf eine andere Instanz verweisen, um dort gehostete Namen zu nutzen."
learn_more: "Mehr erfahren"
custom: "Eigene Autorität"
advprivacy:
intro: "Steuere, was deine Benachrichtigungen preisgeben, und verbirg dein Guthaben und deinen Verlauf auf diesem Gerät."
+2 -1
View File
@@ -606,7 +606,8 @@ goblin:
username:
title: "Username"
authority: "Name authority"
authority_blurb: "Where your username is registered and verified. Pick a known one or point Goblin at another instance to use names hosted there."
authority_blurb: "Leave as default, or point to another instance to use names hosted there."
learn_more: "Learn more"
custom: "Custom authority"
advprivacy:
intro: "Control what your notifications reveal, and hide your balance and history on this device."
+2 -1
View File
@@ -606,7 +606,8 @@ goblin:
username:
title: "Nombre de usuario"
authority: "Autoridad de nombres"
authority_blurb: "Dónde se registra y verifica tu nombre de usuario. Elige una conocida o apunta Goblin a otra instancia para usar los nombres alojados allí."
authority_blurb: "Déjala por defecto o apunta a otra instancia para usar los nombres alojados allí."
learn_more: "Más información"
custom: "Autoridad personalizada"
advprivacy:
intro: "Controla lo que revelan tus notificaciones, y oculta tu saldo e historial en este dispositivo."
+2 -1
View File
@@ -606,7 +606,8 @@ goblin:
username:
title: "Nom d'utilisateur"
authority: "Autorité de noms"
authority_blurb: "Là où votre nom d'utilisateur est enregistré et vérifié. Choisissez-en une connue ou pointez Goblin vers une autre instance pour utiliser les noms qui y sont hébergés."
authority_blurb: "Laissez la valeur par défaut ou pointez vers une autre instance pour utiliser les noms qui y sont hébergés."
learn_more: "En savoir plus"
custom: "Autorité personnalisée"
advprivacy:
intro: "Contrôlez ce que révèlent vos notifications, et masquez votre solde et votre historique sur cet appareil."
+2 -1
View File
@@ -606,7 +606,8 @@ goblin:
username:
title: "사용자 이름"
authority: "이름 기관"
authority_blurb: "사용자 이름이 등록되고 검증되는 곳입니다. 알려진 기관을 선택하거나, Goblin이 다른 인스턴스를 가리키게 해서 그곳에서 호스팅하는 이름을 사용하세요."
authority_blurb: "기본값으로 두거나, 다른 인스턴스를 가리 그곳에서 호스팅하는 이름을 사용하세요."
learn_more: "자세히 보기"
custom: "사용자 지정 기관"
advprivacy:
intro: "알림이 무엇을 드러내는지 제어하고, 이 기기에서 잔액과 기록을 숨기세요."
+2 -1
View File
@@ -606,7 +606,8 @@ goblin:
username:
title: "Имя пользователя"
authority: "Центр имён"
authority_blurb: "Где регистрируется и проверяется ваше имя. Выберите известный центр или укажите Goblin другой сервер, чтобы использовать размещённые там имена."
authority_blurb: "Оставьте по умолчанию или укажите другой сервер, чтобы использовать размещённые там имена."
learn_more: "Подробнее"
custom: "Свой центр"
advprivacy:
intro: "Управляйте тем, что раскрывают уведомления, и скрывайте баланс и историю на этом устройстве."
+2 -1
View File
@@ -606,7 +606,8 @@ goblin:
username:
title: "Kullanıcı adı"
authority: "İsim otoritesi"
authority_blurb: "Kullanıcı adının kaydedildiği ve doğrulandığı yer. Bilinen birini seç ya da orada barındırılan isimleri kullanmak için Goblin'i başka bir sunucuya yönlendir."
authority_blurb: "Varsayılan bırak ya da orada barındırılan isimleri kullanmak için başka bir sunucuya yönlendir."
learn_more: "Daha fazla bilgi"
custom: "Özel otorite"
advprivacy:
intro: "Bildirimlerinin neyi açığa çıkardığını denetle ve bu cihazda bakiyeni ve geçmişini gizle."
+2 -1
View File
@@ -606,7 +606,8 @@ goblin:
username:
title: "用户名"
authority: "名称机构"
authority_blurb: "你的用户名注册和验证的地方。选择一个已知机构,或将 Goblin 指向其他实例以使用其托管的名称。"
authority_blurb: "保持默认,或指向其他实例以使用其托管的名称。"
learn_more: "了解更多"
custom: "自定义机构"
advprivacy:
intro: "控制通知会透露的内容,并在此设备上隐藏你的余额和历史记录。"
+16
View File
@@ -4233,6 +4233,22 @@ impl GoblinWalletView {
.font(FontId::new(13.0, fonts::regular()))
.color(t.text_dim),
);
ui.add_space(6.0);
// "Learn more" opens the name-authority docs chapter in the
// browser (same open_url idiom used elsewhere in Settings).
let learn = ui
.add(
egui::Label::new(
RichText::new(t!("goblin.username.learn_more"))
.font(FontId::new(13.0, fonts::semibold()))
.color(t.accent),
)
.sense(Sense::click()),
)
.on_hover_cursor(egui::CursorIcon::PointingHand);
if learn.clicked() {
open_url(ui, "https://docs.goblin.st/features/name-authority.html");
}
ui.add_space(10.0);
let cur_server = wallet
.nostr_service()