fix(alarms): name a pause's last day, and switch on an alarm given a date
"Paused, back on" named the day after the pause, which for a weekday alarm can be a Saturday it never rings on. A pause under way now reads "Paused through Wed, Oct 28". Picking a date on a switched-off alarm switches it on, the pause picker cannot confirm a range that is already over, a spent pause stored with its ends reversed is cleared too, and the widget formats its date in the app's own locale.
This commit is contained in:
1 parent
1dcd743e5b
commit
247dbcb751
10 files changed
+59
-13
No files matched your search
@@ -122,8 +122,8 @@
|
||||
<string name="alarm_scheduled_for">Scheduled for %1$s</string>
|
||||
<!-- %1$s is a date range such as "Oct 26 – 28" -->
|
||||
<string name="alarm_paused_dates">Paused %1$s</string>
|
||||
<!-- %1$s is the first date the alarm rings again, such as "Thu, Oct 29": the pause has already begun -->
|
||||
<string name="alarm_paused_back_on">Paused, back on %1$s</string>
|
||||
<!-- %1$s is the pause's last day, such as "Wed, Oct 28", which is itself still paused: the pause has already begun -->
|
||||
<string name="alarm_paused_through">Paused through %1$s</string>
|
||||
<string name="alarm_summary_separator" translatable="false">" \u00b7 "</string>
|
||||
|
||||
<!-- M5: the alarm editor -->
|
||||
|
||||
Reference in new issue
Block a user