Separate action names

This commit is contained in:
M66B 2018-11-06 12:27:49 +00:00
parent 4f9c630ed3
commit c63463b3b6
2 changed files with 7 additions and 3 deletions

View File

@ -472,17 +472,17 @@ public class ServiceSynchronize extends LifecycleService {
Notification.Action.Builder actionSeen = new Notification.Action.Builder(
Icon.createWithResource(this, R.drawable.baseline_visibility_24),
getString(R.string.title_seen),
getString(R.string.title_action_seen),
piSeen);
Notification.Action.Builder actionArchive = new Notification.Action.Builder(
Icon.createWithResource(this, R.drawable.baseline_archive_24),
getString(R.string.title_archive),
getString(R.string.title_action_archive),
piArchive);
Notification.Action.Builder actionTrash = new Notification.Action.Builder(
Icon.createWithResource(this, R.drawable.baseline_delete_24),
getString(R.string.title_trash),
getString(R.string.title_action_trash),
piTrash);
Notification.Builder mbuilder;

View File

@ -263,6 +263,10 @@
<string name="title_answer_template_name">$name$ will be replaced by the sender full name</string>
<string name="title_answer_template_email">$email$ will be replaced by the sender email address</string>
<string name="title_action_seen">Mark read</string>
<string name="title_action_archive">Archive</string>
<string name="title_action_trash">Trash</string>
<string name="title_legend_inbox">Inbox</string>
<string name="title_legend_unified">Unified inbox</string>
<string name="title_legend_archive">Archive</string>