From 8e00b04f71648d868384e8b9cf6c6625db915790 Mon Sep 17 00:00:00 2001 From: lyyn Date: Wed, 14 Feb 2024 01:57:19 +0300 Subject: [PATCH] Fix missing case for STATUS notification title --- .../java/org/joinmastodon/android/model/PushNotification.java | 1 + mastodon/src/main/res/values/strings_sk.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/mastodon/src/main/java/org/joinmastodon/android/model/PushNotification.java b/mastodon/src/main/java/org/joinmastodon/android/model/PushNotification.java index 1e7ce594e3..951591d36b 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/model/PushNotification.java +++ b/mastodon/src/main/java/org/joinmastodon/android/model/PushNotification.java @@ -45,6 +45,7 @@ public static PushNotification fromNotification(Context context, Notification no case REBLOG -> R.string.notification_boosted; case FAVORITE -> R.string.user_favorited; case POLL -> R.string.poll_ended; + case STATUS -> R.string.sk_posted; case UPDATE -> R.string.sk_post_edited; case SIGN_UP -> R.string.sk_signed_up; case REPORT -> R.string.sk_reported; diff --git a/mastodon/src/main/res/values/strings_sk.xml b/mastodon/src/main/res/values/strings_sk.xml index c98a9ec63a..9795f7cc98 100644 --- a/mastodon/src/main/res/values/strings_sk.xml +++ b/mastodon/src/main/res/values/strings_sk.xml @@ -264,6 +264,7 @@ Hashtag must not be empty ALT GIF + %s posted edited Edited posts Edits a boosted post