From a472b18d6e20e5e42a34c1ef3b66cba1aa6bc63c Mon Sep 17 00:00:00 2001 From: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com> Date: Tue, 12 Dec 2023 11:15:34 -0800 Subject: [PATCH] Fix localization plural noun objects --- _locales/en/messages.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index de23e72c8..9c09db307 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1805,7 +1805,7 @@ "description": "Shown in the calling lobby to describe who is in the call" }, "icu:calling__pre-call-info--many-people-in-call": { - "messageformat": "{first}, {second}, and {others} others are in this call", + "messageformat": "{first}, {second}, and {others, plural, other {#}} others are in this call", "description": "Shown in the calling lobby to describe who is in the call" }, "icu:calling__pre-call-info--will-ring-1": { @@ -1821,7 +1821,7 @@ "description": "Shown in the calling lobby to describe who will be rang" }, "icu:calling__pre-call-info--will-ring-many": { - "messageformat": "Signal will ring {first}, {second}, and {others} others", + "messageformat": "Signal will ring {first}, {second}, and {others, plural, other {#}} others", "description": "Shown in the calling lobby to describe who will be rang" }, "icu:calling__pre-call-info--will-notify-1": { @@ -1837,7 +1837,7 @@ "description": "Shown in the calling lobby to describe who will be notified" }, "icu:calling__pre-call-info--will-notify-many": { - "messageformat": "{first}, {second}, and {others} others will be notified", + "messageformat": "{first}, {second}, and {others, plural, other {#}} others will be notified", "description": "Shown in the calling lobby to describe who will be notified" }, "icu:calling__in-this-call--zero": { @@ -3428,7 +3428,7 @@ "description": "Shown in the conversation hero to indicate this user is a member of four mutual groups" }, "icu:member-of-more-than-3-groups--multiple-more": { - "messageformat": "Member of {group1}, {group2}, {group3} and {remainingCount, number} more", + "messageformat": "Member of {group1}, {group2}, {group3} and {remainingCount, plural, other {#}} more", "description": "Shown in the conversation hero to indicate this user is a member of 5+ mutual groups." }, "icu:ConversationHero--membership-added": { @@ -3608,7 +3608,7 @@ "description": "Shown in a call when 2 persons raise their hands." }, "icu:CallControls__RaiseHandsToast--more": { - "messageformat": "{name}, {otherName}, and {overflowCount, number} more raised a hand.", + "messageformat": "{name}, {otherName}, and {overflowCount, plural, other {#}} more raised a hand.", "description": "Shown in a call when 3 or more persons raise their hands." }, "icu:CallControls__RaiseHands--open-queue": { @@ -3792,7 +3792,7 @@ "description": "Title in popup dialog when attempting to edit a message too many times." }, "icu:MessageMaxEditsModal__Description": { - "messageformat": "Only {max, number} edits can be applied to this message.", + "messageformat": "Only {max, plural, other {#}} edits can be applied to this message.", "description": "Description text in popup dialog when attempting to edit a message too many times." }, "icu:unknown-sgnl-link": { @@ -4216,7 +4216,7 @@ "description": "Shown in timeline or conversation preview when v2 group changes" }, "icu:GroupV2--pending-add--many--other": { - "messageformat": "{memberName} invited {count, number} people to the group.", + "messageformat": "{memberName} invited {count, plural, other {#}} people to the group.", "description": "Shown in timeline or conversation preview when v2 group changes" }, "icu:GroupV2--pending-add--many--you": { @@ -4224,7 +4224,7 @@ "description": "Shown in timeline or conversation preview when v2 group changes" }, "icu:GroupV2--pending-add--many--unknown": { - "messageformat": "{count, number} people were invited to the group.", + "messageformat": "{count, plural, other {#}} people were invited to the group.", "description": "Shown in timeline or conversation preview when v2 group changes" }, "icu:GroupV2--pending-remove--decline--other": { @@ -4300,7 +4300,7 @@ "description": "Shown in timeline or conversation preview when v2 group changes" }, "icu:GroupV2--pending-remove--revoke-invite-from--many--other": { - "messageformat": "{adminName} revoked invitations to the group for {count, number} people invited by {memberName}.", + "messageformat": "{adminName} revoked invitations to the group for {count, plural, other {#}} people invited by {memberName}.", "description": "Shown in timeline or conversation preview when v2 group changes" }, "icu:GroupV2--pending-remove--revoke-invite-from--many--you": { @@ -4540,7 +4540,7 @@ "description": "Shown in timeline when a group is upgraded and one person was removed entirely during the upgrade" }, "icu:GroupV1--Migration--removed--many": { - "messageformat": "{count, number} members were removed from the group.", + "messageformat": "{count, plural, other {#}} members were removed from the group.", "description": "Shown in timeline when a group is upgraded and some people were removed entirely during the upgrade" }, "icu:close": { @@ -4928,7 +4928,7 @@ "description": "conversation > in select mode > composition area actions > exit select mode > accessibility label" }, "icu:SelectModeActions--selectedMessages": { - "messageformat": "{count, number} selected", + "messageformat": "{count, plural, other {#}} selected", "description": "conversation > in select mode > composition area actions > count of selected messsages" }, "icu:SelectModeActions--deleteSelectedMessages": { @@ -6336,7 +6336,7 @@ "description": "Input label to create a block list" }, "icu:StoriesSettings__mine__exclude--description": { - "messageformat": "{num, number} people excluded", + "messageformat": "{num, plural, other {#}} people excluded", "description": "Description of how many people are excluded in a list" }, "icu:StoriesSettings__mine__only--label": {