fix string

This commit is contained in:
Grishka 2022-03-26 09:59:19 +03:00
parent e087cf03cc
commit cd4fc107e1
2 changed files with 3 additions and 6 deletions

View File

@ -5,12 +5,10 @@ import android.graphics.Canvas;
import android.graphics.Paint; import android.graphics.Paint;
import android.graphics.Rect; import android.graphics.Rect;
import android.graphics.RectF; import android.graphics.RectF;
import android.media.Image;
import android.os.Bundle; import android.os.Bundle;
import android.view.View; import android.view.View;
import org.joinmastodon.android.R; import org.joinmastodon.android.R;
import org.joinmastodon.android.api.requests.notifications.GetNotifications;
import org.joinmastodon.android.api.session.AccountSessionManager; import org.joinmastodon.android.api.session.AccountSessionManager;
import org.joinmastodon.android.model.Notification; import org.joinmastodon.android.model.Notification;
import org.joinmastodon.android.model.Poll; import org.joinmastodon.android.model.Poll;
@ -26,8 +24,6 @@ import org.parceler.Parcels;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections;
import java.util.EnumSet;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
import java.util.stream.Collectors; import java.util.stream.Collectors;
@ -54,7 +50,7 @@ public class NotificationsListFragment extends BaseStatusListFragment<Notificati
case FOLLOW -> getString(R.string.user_followed_you); case FOLLOW -> getString(R.string.user_followed_you);
case FOLLOW_REQUEST -> getString(R.string.user_sent_follow_request); case FOLLOW_REQUEST -> getString(R.string.user_sent_follow_request);
case MENTION, STATUS -> null; 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 FAVORITE -> getString(R.string.user_favorited);
case POLL -> getString(R.string.poll_ended); case POLL -> getString(R.string.poll_ended);
}; };

View File

@ -10,13 +10,14 @@
<string name="ok">OK</string> <string name="ok">OK</string>
<string name="preparing_auth">Preparing for authentication…</string> <string name="preparing_auth">Preparing for authentication…</string>
<string name="finishing_auth">Finishing authentication…</string> <string name="finishing_auth">Finishing authentication…</string>
<string name="user_boosted">boosted your toot</string> <string name="user_boosted">%s boosted</string>
<string name="in_reply_to">In reply to %s</string> <string name="in_reply_to">In reply to %s</string>
<string name="notifications">Notifications</string> <string name="notifications">Notifications</string>
<string name="user_followed_you">followed you</string> <string name="user_followed_you">followed you</string>
<string name="user_sent_follow_request">sent you a follow request</string> <string name="user_sent_follow_request">sent you a follow request</string>
<string name="user_favorited">favorited your toot</string> <string name="user_favorited">favorited your toot</string>
<string name="notification_boosted">boosted your toot</string>
<string name="poll_ended">poll ended</string> <string name="poll_ended">poll ended</string>
<string name="time_seconds">%ds</string> <string name="time_seconds">%ds</string>