Skip to content

Commit 22a9f6f

Browse files
committed
Fixing broken strings
1 parent 6ddb5b3 commit 22a9f6f

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

app/src/main/java/org/thoughtcrime/securesms/preferences/prosettings/ProSettingsHomeScreen.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ fun ProStats(
289289
title = pluralStringResource(
290290
R.plurals.proBadgesSent,
291291
data.proBadges,
292-
NumberUtil.getFormattedNumber(data.proBadges.toLong())
292+
NumberUtil.getFormattedNumber(data.proBadges.toLong()),
293+
NonTranslatableStringConstants.PRO
293294
),
294295
icon = R.drawable.ic_rectangle_ellipsis
295296

app/src/main/res/values/strings.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -906,8 +906,8 @@
906906
<string name="proBadges">Badges</string>
907907
<string name="proBadgesDescription">Show your support for {app_name} with an exclusive badge next to your display name.</string>
908908
<plurals name="proBadgesSent">
909-
<item quantity="one">%1$d %2$s Badge Sent</item>
910-
<item quantity="other">%1$d %2$s Badges Sent</item>
909+
<item quantity="one">%1$s %2$s Badge Sent</item>
910+
<item quantity="other">%1$s %2$s Badges Sent</item>
911911
</plurals>
912912
<string name="proBilledAnnually">{price} Billed Annually</string>
913913
<string name="proBilledMonthly">{price} Billed Monthly</string>
@@ -932,8 +932,8 @@
932932
<string name="proGroupActivated">Group Activated</string>
933933
<string name="proGroupActivatedDescription">This group has expanded capacity! It can support up to 300 members because a group admin has</string>
934934
<plurals name="proGroupsUpgraded">
935-
<item quantity="one">%1$d Group Upgraded</item>
936-
<item quantity="other">%1$d Groups Upgraded</item>
935+
<item quantity="one">%1$s Group Upgraded</item>
936+
<item quantity="other">%1$s Groups Upgraded</item>
937937
</plurals>
938938
<string name="proImportantDescription">Requesting a refund is final. If approved, your {pro} plan will be canceled immediately and you will lose access to all {pro} features.</string>
939939
<string name="proIncreasedAttachmentSizeFeature">Increased Attachment Size</string>
@@ -943,14 +943,14 @@
943943
<string name="proLongerMessages">Longer Messages</string>
944944
<string name="proLongerMessagesDescription">You can send messages up to 10,000 characters in all conversations.</string>
945945
<plurals name="proLongerMessagesSent">
946-
<item quantity="one">%1$d Longer Message Sent</item>
947-
<item quantity="other">%1$d Longer Messages Sent</item>
946+
<item quantity="one">%1$s Longer Message Sent</item>
947+
<item quantity="other">%1$s Longer Messages Sent</item>
948948
</plurals>
949949
<string name="proMessageInfoFeatures">This message used the following {app_pro} features:</string>
950950
<string name="proPercentOff">{percent}% Off</string>
951951
<plurals name="proPinnedConversations">
952-
<item quantity="one">%1$d Pinned Conversation</item>
953-
<item quantity="other">%1$d Pinned Conversations</item>
952+
<item quantity="one">%1$s Pinned Conversation</item>
953+
<item quantity="other">%1$s Pinned Conversations</item>
954954
</plurals>
955955
<string name="proPlanActivatedAuto">Your {app_pro} plan is active!\n\nYour plan will automatically renew for another <b>{current_plan}</b> on <b>{date}</b>. Updates to your plan take effect when {pro} is next renewed.</string>
956956
<string name="proPlanActivatedAutoShort">Your {app_pro} plan is active!\n\nYour plan will automatically renew for another <b>{current_plan}</b> on <b>{date}</b>.</string>

0 commit comments

Comments
 (0)