Immediate action + spelling

This commit is contained in:
stom79 2018-01-04 18:55:28 +01:00
parent 0b03e132f5
commit 67f8a96b7c
2 changed files with 2 additions and 1 deletions

View File

@ -1220,6 +1220,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
new TempMuteDAO(context, db).insert(account, targeted_id, new Date(time)); new TempMuteDAO(context, db).insert(account, targeted_id, new Date(time));
Toast.makeText(context,context.getString(R.string.timed_mute_date,status.getAccount().getAcct(),Helper.dateToString(context, date_mute)), Toast.LENGTH_LONG).show(); Toast.makeText(context,context.getString(R.string.timed_mute_date,status.getAccount().getAcct(),Helper.dateToString(context, date_mute)), Toast.LENGTH_LONG).show();
alertDialog.dismiss(); alertDialog.dismiss();
notifyDataSetChanged();
} }
} }
}); });

View File

@ -214,7 +214,7 @@
<string name="toot_scheduled_date">The scheduled date must be greater than the current hour!</string> <string name="toot_scheduled_date">The scheduled date must be greater than the current hour!</string>
<string name="warning_battery">Battery saver is enabled! It might not work as expected.</string> <string name="warning_battery">Battery saver is enabled! It might not work as expected.</string>
<!-- timed mute --> <!-- timed mute -->
<string name="timed_mute_date_error">The timed mute should be greater than one minute.</string> <string name="timed_mute_date_error">The time for muting should be greater than one minute.</string>
<string name="timed_mute_date">%1$s has been muted until %2$s.\n You can unmute this account from his\her profile page.</string> <string name="timed_mute_date">%1$s has been muted until %2$s.\n You can unmute this account from his\her profile page.</string>
<string name="timed_mute_profile">%1$s is muted until %2$s.\n Click here to unmute the account.</string> <string name="timed_mute_profile">%1$s is muted until %2$s.\n Click here to unmute the account.</string>
<!-- Notifications --> <!-- Notifications -->