From cd4fc107e14f65d695dace261dde63d8e523be80 Mon Sep 17 00:00:00 2001 From: Grishka Date: Sat, 26 Mar 2022 09:59:19 +0300 Subject: [PATCH] fix string --- .../android/fragments/NotificationsListFragment.java | 6 +----- mastodon/src/main/res/values/strings.xml | 3 ++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java index 2845e79b0..f7d65c527 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java @@ -5,12 +5,10 @@ import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import android.graphics.RectF; -import android.media.Image; import android.os.Bundle; import android.view.View; import org.joinmastodon.android.R; -import org.joinmastodon.android.api.requests.notifications.GetNotifications; import org.joinmastodon.android.api.session.AccountSessionManager; import org.joinmastodon.android.model.Notification; import org.joinmastodon.android.model.Poll; @@ -26,8 +24,6 @@ import org.parceler.Parcels; import java.util.ArrayList; import java.util.Arrays; -import java.util.Collections; -import java.util.EnumSet; import java.util.List; import java.util.Set; import java.util.stream.Collectors; @@ -54,7 +50,7 @@ public class NotificationsListFragment extends BaseStatusListFragment getString(R.string.user_followed_you); case FOLLOW_REQUEST -> getString(R.string.user_sent_follow_request); case MENTION, STATUS -> null; - case REBLOG -> getString(R.string.user_boosted); + case REBLOG -> getString(R.string.notification_boosted); case FAVORITE -> getString(R.string.user_favorited); case POLL -> getString(R.string.poll_ended); }; diff --git a/mastodon/src/main/res/values/strings.xml b/mastodon/src/main/res/values/strings.xml index d0f284493..db4955c25 100644 --- a/mastodon/src/main/res/values/strings.xml +++ b/mastodon/src/main/res/values/strings.xml @@ -10,13 +10,14 @@ OK Preparing for authentication… Finishing authentication… - boosted your toot + %s boosted In reply to %s Notifications followed you sent you a follow request favorited your toot + boosted your toot poll ended %ds