From 338e16414330ad87e3c6192772e97094c5c35950 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Sat, 4 Mar 2023 10:07:28 -0300 Subject: [PATCH] refactor: moving "notification_action_replied" string to strings_mo.xml --- .../org/joinmastodon/android/PushNotificationReceiver.java | 2 +- mastodon/src/main/res/values/strings_mo.xml | 2 ++ mastodon/src/main/res/values/strings_sk.xml | 6 ------ 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java b/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java index b72a57025..6086029d9 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java +++ b/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java @@ -290,7 +290,7 @@ public class PushNotificationReceiver extends BroadcastReceiver{ .setDefaults(Notification.DEFAULT_SOUND | Notification.DEFAULT_VIBRATE); Notification repliedNotification = builder.setSmallIcon(R.drawable.ic_ntf_logo) - .setContentText(context.getString(R.string.sk_notification_action_replied, notification.status.account.getDisplayUsername())) + .setContentText(context.getString(R.string.mo_notification_action_replied, notification.status.account.getDisplayUsername())) .build(); notificationManager.notify(accountID, notificationId, repliedNotification); } diff --git a/mastodon/src/main/res/values/strings_mo.xml b/mastodon/src/main/res/values/strings_mo.xml index b38d0afff..5fe578501 100644 --- a/mastodon/src/main/res/values/strings_mo.xml +++ b/mastodon/src/main/res/values/strings_mo.xml @@ -26,6 +26,8 @@ Disable "Relocate publish button" to allow customization Disable reminder to add alt text Add a custom server\'s local timeline + Successfully replied to the post by %s + Add new poll option diff --git a/mastodon/src/main/res/values/strings_sk.xml b/mastodon/src/main/res/values/strings_sk.xml index 863e5bb0d..362a6ef1a 100644 --- a/mastodon/src/main/res/values/strings_sk.xml +++ b/mastodon/src/main/res/values/strings_sk.xml @@ -262,10 +262,4 @@ Follow from other account Followed from %s Auto-hide Compose button - Favorite - Bookmark - Boost - Unboost - Reply - Successfully replied to the post by %s \ No newline at end of file