Skip to content

Commit

Permalink
fix(notifications/filter): update reset button title
Browse files Browse the repository at this point in the history
  • Loading branch information
FineFindus committed Nov 14, 2023
1 parent e80348a commit cb7586f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
getLocalPrefs().save();

this.allNotificationsFragment.reload();
}).setNeutralButton(R.string.clear, (d, which) -> {
}).setNeutralButton(R.string.mo_notification_filter_reset, (d, which) -> {
Arrays.fill(checkedItems, true);
getLocalPrefs().notificationFilters.mention=checkedItems[0];
getLocalPrefs().notificationFilters.reblog=checkedItems[1];
Expand Down
5 changes: 3 additions & 2 deletions mastodon/src/main/res/values/strings_mo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,11 @@
<string name="mo_confirm_unfollow">Confirm to unfollow %s</string>
<string name="mo_recent_emoji_cleared">Recent emoji cleared</string>
<string name="mo_show_media_preview">Show media preview in timelines</string>
<string name="mo_notification_filter_reset">Reset to default</string>

<!-- Temporary Strings. They exist in strings_sk.xml, but are not available on Megalodon's weblate-->
<!-- Temporary Strings. They exist in strings_sk.xml, but are not available on Megalodon's weblate-->
<string name="mo_muted_accounts">Muted accounts</string>
<!-- <string name="mo_mutes">Mutes</string>-->
<!-- <string name="mo_mutes">Mutes</string>-->
<string name="mo_blocked_accounts">Blocked accounts</string>
<!-- <string name="mo_blocks">Blocks</string>-->
</resources>

0 comments on commit cb7586f

Please sign in to comment.