Skip to content

Commit

Permalink
Implement swipe-to-delete for history treatments (#314)
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Mårtensson <jon.m@live.se>
  • Loading branch information
dnzxy and Jon-b-m authored Nov 19, 2023
1 parent 1bd7250 commit 2e3bd3c
Show file tree
Hide file tree
Showing 23 changed files with 182 additions and 159 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Temp Targets";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Delete carbs?";
"Delete Carbs?" = "Delete Carbs?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Delete insulin?";
"Delete Insulin?" = "Delete Insulin?";

/* Treatments list */
"Treatments" = "Treatments";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistics and Home View";

/* Alert text */
"Delete carb equivalents?" = "Delete carb equivalents?";
"Delete Carb Equivalents?" = "Delete Carb Equivalents?";

/* */
"Meal Presets" = "Meal Presets";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Temp Targets";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Delete carbs?";
"Delete Carbs?" = "Delete Carbs?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Delete insulin?";
"Delete Insulin?" = "Delete Insulin?";

/* Treatments list */
"Treatments" = "Treatments";
Expand Down Expand Up @@ -1250,7 +1250,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistics and Home View";

/* Alert text */
"Delete carb equivalents?" = "Delete carb equivalents?";
"Delete Carb Equivalents?" = "Delete Carb Equivalents?";

/* */
"Meal Presets" = "Meal Presets";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Midlertidige Mål";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Slet kulhydrater?";
"Delete Carbs?" = "Slet kulhydrater?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Slet insulin?";
"Delete Insulin?" = "Slet insulin?";

/* Treatments list */
"Treatments" = "Behandlinger";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistics and Home View";

/* Alert text */
"Delete carb equivalents?" = "Delete carb equivalents?";
"Delete Carb Equivalents?" = "Delete Carb Equivalents?";

/* */
"Meal Presets" = "Meal Presets";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Temporäre Ziele";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Kohlenhydrate löschen?";
"Delete Carbs?" = "Kohlenhydrate löschen?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Insulin löschen?";
"Delete Insulin?" = "Insulin löschen?";

/* Treatments list */
"Treatments" = "Behandlungen";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistiken und Home-Ansicht";

/* Alert text */
"Delete carb equivalents?" = "Kohlenhydratäquivalente löschen?";
"Delete Carb Equivalents?" = "Kohlenhydratäquivalente löschen?";

/* */
"Meal Presets" = "Mahlzeit Voreinstellungen";
Expand Down
12 changes: 9 additions & 3 deletions FreeAPS/Sources/Localizations/Main/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Temp Targets";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Delete carbs?";
"Delete Carbs?" = "Delete Carbs?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Delete insulin?";
"Delete Insulin?" = "Delete Insulin?";

/* Treatments list */
"Treatments" = "Treatments";
Expand Down Expand Up @@ -1369,7 +1369,13 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistics and Home View";

/* Alert text */
"Delete carb equivalents?" = "Delete carb equivalents?";
"Delete Carb Equivalents?" = "Delete Carb Equivalents?";

/* */
"All FPUs of the meal will be deleted." = "All FPUs of the meal will be deleted.";

/* */
"Delete Glucose?" = "Delete Glucose?";

/* */
"Meal Presets" = "Meal Presets";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Temp Targets";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "¿Eliminar carbohidratos?";
"Delete Carbs?" = "¿Eliminar carbohidratos?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Delete insulin?";
"Delete Insulin?" = "Delete Insulin?";

/* Treatments list */
"Treatments" = "Tratamientos";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistics and Home View";

/* Alert text */
"Delete carb equivalents?" = "Delete carb equivalents?";
"Delete Carb Equivalents?" = "Delete Carb Equivalents?";

/* */
"Meal Presets" = "Meal Presets";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Temp Targets";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Delete carbs?";
"Delete Carbs?" = "Delete Carbs?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Delete insulin?";
"Delete Insulin?" = "Delete Insulin?";

/* Treatments list */
"Treatments" = "Treatments";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistics and Home View";

/* Alert text */
"Delete carb equivalents?" = "Delete carb equivalents?";
"Delete Carb Equivalents?" = "Delete Carb Equivalents?";

/* */
"Meal Presets" = "Meal Presets";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Cibles temporaires";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Supprimer les glucides ?";
"Delete Carbs?" = "Supprimer les glucides ?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Delete insulin?";
"Delete Insulin?" = "Delete Insulin?";

/* Treatments list */
"Treatments" = "Traitements";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistics and Home View";

/* Alert text */
"Delete carb equivalents?" = "Delete carb equivalents?";
"Delete Carb Equivalents?" = "Delete Carb Equivalents?";

/* */
"Meal Presets" = "Meal Presets";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Temp Targets";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Delete carbs?";
"Delete Carbs?" = "Delete Carbs?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Delete insulin?";
"Delete Insulin?" = "Delete Insulin?";

/* Treatments list */
"Treatments" = "Treatments";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistics and Home View";

/* Alert text */
"Delete carb equivalents?" = "Delete carb equivalents?";
"Delete Carb Equivalents?" = "Delete Carb Equivalents?";

/* */
"Meal Presets" = "Meal Presets";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Obiettivi Temporanei";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Cancella carboidrati?";
"Delete Carbs?" = "Cancella carboidrati?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Cancella l'insulina?";
"Delete Insulin?" = "Cancella l'insulina?";

/* Treatments list */
"Treatments" = "Trattamenti";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistiche e Vista Iniziale";

/* Alert text */
"Delete carb equivalents?" = "Cancella i carb equivalenti?";
"Delete Carb Equivalents?" = "Cancella i carb equivalenti?";

/* */
"Meal Presets" = "Pasto Predefinito";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Midlertidige mål";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Slette karbohydrater?";
"Delete Carbs?" = "Slette karbohydrater?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Slette insulin?";
"Delete Insulin?" = "Slette insulin?";

/* Treatments list */
"Treatments" = "Behandlinger";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistikk og startskjerm";

/* Alert text */
"Delete carb equivalents?" = "Slette karboekvivalenter?";
"Delete Carb Equivalents?" = "Slette karboekvivalenter?";

/* */
"Meal Presets" = "Forvalg av måltid";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Tijdelijk streefdoel";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Koolhydraten verwijderen?";
"Delete Carbs?" = "Koolhydraten verwijderen?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Insuline verwijderen?";
"Delete Insulin?" = "Insuline verwijderen?";

/* Treatments list */
"Treatments" = "Behandelingen";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistieken en Home View";

/* Alert text */
"Delete carb equivalents?" = "Verwijder koolhydraten?";
"Delete Carb Equivalents?" = "Verwijder koolhydraten?";

/* */
"Meal Presets" = "Maaltijd voorinstellingen";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -578,10 +578,10 @@ Połączono z Nightscout!";
"Temp Targets" = "Temp Targets";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Delete carbs?";
"Delete Carbs?" = "Delete Carbs?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Delete insulin?";
"Delete Insulin?" = "Delete Insulin?";

/* Treatments list */
"Treatments" = "Treatments";
Expand Down Expand Up @@ -1370,7 +1370,7 @@ Połączono z Nightscout!";
"Statistics and Home View" = "Statistics and Home View";

/* Alert text */
"Delete carb equivalents?" = "Delete carb equivalents?";
"Delete Carb Equivalents?" = "Delete Carb Equivalents?";

/* */
"Meal Presets" = "Meal Presets";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Alvos Temporários";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Deletar carboidratos?";
"Delete Carbs?" = "Deletar carboidratos?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Delete insulin?";
"Delete Insulin?" = "Delete Insulin?";

/* Treatments list */
"Treatments" = "Tratamentos";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistics and Home View";

/* Alert text */
"Delete carb equivalents?" = "Delete carb equivalents?";
"Delete Carb Equivalents?" = "Delete Carb Equivalents?";

/* */
"Meal Presets" = "Meal Presets";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Temp Targets";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Delete carbs?";
"Delete Carbs?" = "Delete Carbs?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Delete insulin?";
"Delete Insulin?" = "Delete Insulin?";

/* Treatments list */
"Treatments" = "Treatments";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistics and Home View";

/* Alert text */
"Delete carb equivalents?" = "Delete carb equivalents?";
"Delete Carb Equivalents?" = "Delete Carb Equivalents?";

/* */
"Meal Presets" = "Meal Presets";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Временные цели";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Удалить углеводы?";
"Delete Carbs?" = "Удалить углеводы?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Удалить инсулин?";
"Delete Insulin?" = "Удалить инсулин?";

/* Treatments list */
"Treatments" = "События";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Статистика и экран";

/* Alert text */
"Delete carb equivalents?" = "Удалить эквиваленты углеводов?";
"Delete Carb Equivalents?" = "Удалить эквиваленты углеводов?";

/* */
"Meal Presets" = "Шаблоны";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ Enact a temp Basal or a temp target */
"Temp Targets" = "Temp Targets";

/* Delete carbs from data table and Nightscout */
"Delete carbs?" = "Delete carbs?";
"Delete Carbs?" = "Delete Carbs?";

/* Delete insulin from pump history and Nightscout */
"Delete insulin?" = "Delete insulin?";
"Delete Insulin?" = "Delete Insulin?";

/* Treatments list */
"Treatments" = "Treatments";
Expand Down Expand Up @@ -1368,7 +1368,7 @@ Enact a temp Basal or a temp target */
"Statistics and Home View" = "Statistics and Home View";

/* Alert text */
"Delete carb equivalents?" = "Delete carb equivalents?";
"Delete Carb Equivalents?" = "Delete Carb Equivalents?";

/* */
"Meal Presets" = "Meal Presets";
Expand Down
Loading

0 comments on commit 2e3bd3c

Please sign in to comment.