feat(mail): enable autoreply on specific days or at a specific time

Fixes #5328
This commit is contained in:
Francis Lachapelle
2021-12-02 14:03:46 -05:00
parent 6807d1df8b
commit 2ecd441f32
10 changed files with 498 additions and 141 deletions
@@ -44,11 +44,18 @@
"Add default email addresses" = "Add default email addresses";
"Days between responses" = "Days between responses";
"Do not send responses to mailing lists" = "Do not send responses to mailing lists";
"Activation Constraints" = "Activation Constraints";
"Enable auto reply on" = "Enable auto reply on";
"First day of vacation" = "First day of vacation";
"Disable auto reply on" = "Disable auto reply on";
"Last day of vacation" = "Last day of vacation";
"Enter date" = "Enter date";
/* Enable auto reply at this time of the day */
"Enable auto reply at" = "Enable auto reply at";
"Enter time" = "Enter time";
/* Disable auto reply at this time of the day */
"Disable auto reply at" = "Disable auto reply at";
"Enable auto reply on these days" = "Enable auto reply on these days";
"Always send vacation message response" = "Always send vacation message response";
"The vacation message is sent prior to apply your filters." = "The vacation message is sent prior to apply your filters.";
"Discard incoming mails during vacation" = "Discard incoming mails during vacation";
+9
View File
@@ -506,6 +506,15 @@ static NSArray *reminderValues = nil;
return iCalWeekDayString[i];
}
- (int) numberForWeekDay
{
unsigned int i;
i = [[self shortWeekDaysList] indexOfObject: item];
return i;
}
//
// Used by wox template
//