Skip to content

Commit

Permalink
Add due date to Reminder toast notification
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencohn committed Oct 21, 2024
1 parent 6951686 commit afc9286
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion OneMore/Commands/CommandService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void Startup()
await server.WaitForConnectionAsync();
var buffer = new byte[MaxBytes];
await server.ReadAsync(buffer, 0, MaxBytes);
_ = await server.ReadAsync(buffer, 0, MaxBytes);
data = Encoding.UTF8.GetString(buffer, 0, buffer.Length).Trim((char)0);
//logger.WriteLine($"pipe received [{data}]");
Expand Down
1 change: 1 addition & 0 deletions OneMore/Commands/Reminders/ReminderService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ await ReminderIsValid(reminder, pageID, one))
Send(
string.Format(
Resx.Reminder_PastStart,
reminder.Start.ToShortFriendlyString(),
reminder.Due.ToShortFriendlyString(),
reminder.Subject
),
Expand Down
2 changes: 1 addition & 1 deletion OneMore/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion OneMore/Properties/Resources.ar-SA.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2518,7 +2518,7 @@ ISO-code then comma then language name</comment>
<comment>toast message</comment>
</data>
<data name="Reminder_PastStart" xml:space="preserve">
<value>تجاوزت المهمة تاريخ بدايتها في {0} ، "{1}". </value>
<value>لقد تجاوزت المهمة تاريخ بدايتها {0}؛ مستحق {1}. "{2}". انقر هنا للانتقال إلى هذه المهمة</value>
<comment>toast message</comment>
</data>
<data name="Reminder_ToastTitle" xml:space="preserve">
Expand Down
2 changes: 1 addition & 1 deletion OneMore/Properties/Resources.de-DE.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2516,7 +2516,7 @@ Aufgeschoben</value>
<comment>toast message</comment>
</data>
<data name="Reminder_PastStart" xml:space="preserve">
<value>Aufgabe hat das Startdatum {0}, "{1}" überschritten. </value>
<value>Die Aufgabe hat ihr Startdatum {0} überschritten; fällig {1}. „{2}“. Klicken Sie hier, um zu dieser Aufgabe zu navigieren</value>
<comment>toast message</comment>
</data>
<data name="Reminder_ToastTitle" xml:space="preserve">
Expand Down
2 changes: 1 addition & 1 deletion OneMore/Properties/Resources.es-ES.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2518,7 +2518,7 @@ Diferido</value>
<comment>toast message</comment>
</data>
<data name="Reminder_PastStart" xml:space="preserve">
<value>La tarea ha superado su fecha de inicio de {0}, "{1}". </value>
<value>La tarea ya pasó su fecha de inicio de {0}; debido {1}. "{2}". Haga clic aquí para navegar a esta tarea</value>
<comment>toast message</comment>
</data>
<data name="Reminder_ToastTitle" xml:space="preserve">
Expand Down
2 changes: 1 addition & 1 deletion OneMore/Properties/Resources.fr-FR.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2518,7 +2518,7 @@ Différé</value>
<comment>toast message</comment>
</data>
<data name="Reminder_PastStart" xml:space="preserve">
<value>La tâche a dépassé sa date de début de {0}, "{1}". </value>
<value>La tâche a dépassé sa date de début de {0} ; dû {1}. "{2}". Cliquez ici pour accéder à cette tâche</value>
<comment>toast message</comment>
</data>
<data name="Reminder_ToastTitle" xml:space="preserve">
Expand Down
2 changes: 1 addition & 1 deletion OneMore/Properties/Resources.he-IL.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2519,7 +2519,7 @@ ISO-code then comma then language name</comment>
<comment>toast message</comment>
</data>
<data name="Reminder_PastStart" xml:space="preserve">
<value>המשימה עברה את תאריך ההתחלה שלה של {0}, "{1}". לחץ כאן כדי לנווט למשימה זו</value>
<value>המשימה עברה את תאריך ההתחלה שלה של {0}; לפירעון {1}. "{2}". לחץ כאן כדי לנווט למשימה זו</value>
<comment>toast message</comment>
</data>
<data name="Reminder_ToastTitle" xml:space="preserve">
Expand Down
2 changes: 1 addition & 1 deletion OneMore/Properties/Resources.ja-JP.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2521,7 +2521,7 @@ ISO-code then comma then language name</comment>
<comment>toast message</comment>
</data>
<data name="Reminder_PastStart" xml:space="preserve">
<value>タスクの開始日 {0} が過ぎています: "{1}"。ここをクリックしてこのタスクに移動します</value>
<value>タスクは開始日 {0} を過ぎています。期限は {1} です。 「{2}」。このタスクに移動するにはここをクリックしてください</value>
<comment>toast message</comment>
</data>
<data name="Reminder_ToastTitle" xml:space="preserve">
Expand Down
2 changes: 1 addition & 1 deletion OneMore/Properties/Resources.nl-NL.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2519,7 +2519,7 @@ Verschoven</value>
<comment>toast message</comment>
</data>
<data name="Reminder_PastStart" xml:space="preserve">
<value>Taak is voorbij de startdatum van {0}, "{1}". </value>
<value>De taak heeft de startdatum van {0} overschreden; vervalt {1}. "{2}". Klik hier om naar deze taak te navigeren</value>
<comment>toast message</comment>
</data>
<data name="Reminder_ToastTitle" xml:space="preserve">
Expand Down
2 changes: 1 addition & 1 deletion OneMore/Properties/Resources.pl-PL.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2519,7 +2519,7 @@ Odroczony</value>
<comment>toast message</comment>
</data>
<data name="Reminder_PastStart" xml:space="preserve">
<value>Zadaniem jest data rozpoczęcia {0}, "{1}". Kliknij tutaj, aby przejść do tego zadania</value>
<value>Data rozpoczęcia zadania minęła {0}; termin {1}. „{2}”. Kliknij tutaj, aby przejść do tego zadania</value>
<comment>toast message</comment>
</data>
<data name="Reminder_ToastTitle" xml:space="preserve">
Expand Down
2 changes: 1 addition & 1 deletion OneMore/Properties/Resources.pt-BR.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2519,7 +2519,7 @@ Diferido</value>
<comment>toast message</comment>
</data>
<data name="Reminder_PastStart" xml:space="preserve">
<value>A tarefa já passou da data de início de {0}, "{1}". </value>
<value>A data de início da tarefa já passou de {0}; devido {1}. "{2}". Clique aqui para navegar até esta tarefa</value>
<comment>toast message</comment>
</data>
<data name="Reminder_ToastTitle" xml:space="preserve">
Expand Down
2 changes: 1 addition & 1 deletion OneMore/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2519,7 +2519,7 @@ Deferred</value>
<comment>toast message</comment>
</data>
<data name="Reminder_PastStart" xml:space="preserve">
<value>Task is past its start date of {0}, "{1}". Click here to navigate to this task</value>
<value>Task is past its start date of {0}; due {1}. "{2}". Click here to navigate to this task</value>
<comment>toast message</comment>
</data>
<data name="Reminder_ToastTitle" xml:space="preserve">
Expand Down
2 changes: 1 addition & 1 deletion OneMore/Properties/Resources.zh-CN.resx
Original file line number Diff line number Diff line change
Expand Up @@ -2517,7 +2517,7 @@ ISO-code then comma then language name</comment>
<comment>toast message</comment>
</data>
<data name="Reminder_PastStart" xml:space="preserve">
<value>任务已超过其开始日期 {0},“{1}”。</value>
<value>任务已超过其开始日期 {0};截止日期为{1}。 “{2}”。单击此处导航至此任务</value>
<comment>toast message</comment>
</data>
<data name="Reminder_ToastTitle" xml:space="preserve">
Expand Down

0 comments on commit afc9286

Please sign in to comment.