From 46a0d5a341066401cde2da970ee090fb865160dd Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Tue, 17 Feb 2026 13:29:42 -0800 Subject: [PATCH] Split off an instance of icu:view --- _locales/en/messages.json | 11 ++++++----- ts/components/Avatar.dom.tsx | 8 ++++++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index d50bb1a9f5..fb9ac12cb5 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -6,11 +6,7 @@ { "path": "*/messageformat", "key": "{*}/messageformat", - "instruction": "*/description" - }, - { - "key": "{*}/message", - "path": "*/message", + "character_limit": "*/limit", "instruction": "*/description" } ] @@ -7476,6 +7472,11 @@ "messageformat": "admins", "description": "Clickable text describing administrators of a group, used in the message an admin label" }, + "icu:Avatar__View": { + "messageformat": "View", + "limit": 7, + "description": "Used as a label on a button allowing user to see the unblurred avatar of a contact" + }, "icu:AvatarEditor--choose": { "messageformat": "Select an avatar", "description": "Label for the avatar selector" diff --git a/ts/components/Avatar.dom.tsx b/ts/components/Avatar.dom.tsx index 892921a4d7..f53b4e5f83 100644 --- a/ts/components/Avatar.dom.tsx +++ b/ts/components/Avatar.dom.tsx @@ -190,7 +190,9 @@ export function Avatar({ }} /> {blur === AvatarBlur.BlurPictureWithClickToView && ( -
{i18n('icu:view')}
+
+ {i18n('icu:Avatar__View')} +
)} ); @@ -222,7 +224,9 @@ export function Avatar({ }} /> {blur === AvatarBlur.BlurPictureWithClickToView && ( -
{i18n('icu:view')}
+
+ {i18n('icu:Avatar__View')} +
)} );