From 0ece2db350f85fc7cb914cb3f82dc5ecaee202cd Mon Sep 17 00:00:00 2001 From: Arne Date: Mon, 9 Dec 2024 20:58:41 +0100 Subject: [PATCH] Add string --- .../eu/siacs/conversations/services/NotificationService.java | 2 +- src/main/res/values/strings.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index 875bc0259..ee00ea618 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -537,7 +537,7 @@ public class NotificationService { final var message = reactingTo.reply(); final var quoteable = reactingTo.getQuoteableBody(); final var parentTxt = reactingTo.isOOb() ? "media" : "'" + (quoteable.length() > 35 ? quoteable.substring(0, 35) + "…" : quoteable) + "'"; - message.appendBody(String.join(" ", newReactions) + " to " + parentTxt); + message.appendBody(String.join(" ", newReactions) + " " + mXmppConnectionService.getString(R.string.reaction_to) + " " + parentTxt); message.setCounterpart(counterpart); message.setOccupantId(occupantId); message.setStatus(Message.STATUS_RECEIVED); diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 700441b73..42ae10710 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -1399,4 +1399,5 @@ Add extension Show media in gallery? Would you like to show received and sent media in your system gallery? + to \ No newline at end of file