From 660f0e90c3fd94e77da7695441d0e836ced7afe0 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Thu, 28 Sep 2023 22:02:34 +0200 Subject: [PATCH] do not pass `+NUM` to translations i just checked all translations from Signal, they all use `+NUM` or very few `+ NUM` (the latter might be a typo as transifex makes it easy to mess up with spaces). also, the string would be hard to explain to translators and would probably result in quite some questions. if a language pops up that need sth. different, we can still iterate. --- res/values/strings.xml | 3 --- .../securesms/reactions/ReactionsConversationView.java | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 814b77f04..4f73f0b16 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -722,9 +722,6 @@ Symbols Flags - - +%1$d - Delete Old Messages Delete Messages from Device diff --git a/src/org/thoughtcrime/securesms/reactions/ReactionsConversationView.java b/src/org/thoughtcrime/securesms/reactions/ReactionsConversationView.java index aa3651d62..ff52a794b 100644 --- a/src/org/thoughtcrime/securesms/reactions/ReactionsConversationView.java +++ b/src/org/thoughtcrime/securesms/reactions/ReactionsConversationView.java @@ -109,7 +109,7 @@ public class ReactionsConversationView extends LinearLayout { } else { emojiView.setVisibility(GONE); spacer.setVisibility(GONE); - countView.setText(context.getString(R.string.ReactionsConversationView_plus, reaction.getCount())); + countView.setText("+" + reaction.getCount()); } if (reaction.isFromSelf()) {