Skip to content

Commit

Permalink
Updated translations, fixed crash
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGuidarini committed Jun 14, 2024
1 parent 112b689 commit b852ae2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public Dialog onCreateDialog(Bundle savedInstances) {

infoDialog.getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(false);

thisDose = nativeDb.getDoseById(doseId);
thisDose = doseId != -1 ? nativeDb.getDoseById(doseId) : new Dose();

timeTaken = infoDialog.findViewById(R.id.dose_time_taken);
dateTaken = infoDialog.findViewById(R.id.dose_date_taken);
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<string name="medication_dosage">Dosierung</string>
<string name="medication_frequency">Häufigkeit</string>
<string name="taken_every">Eingenommen jeden</string>
<string name="units">Einheiten</string>
<string name="units">Dosierungseinheit</string>
<string name="taken">Eingenommen</string>
<string name="frequency">Häufigkeit</string>
<string name="multiple_times_per_day">Mehrmals pro Tag</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<string name="medication_dosage">Dosis</string>
<string name="medication_frequency">Frecuencia</string>
<string name="taken_every">Tomado cada</string>
<string name="units">Unidades</string>
<string name="units">Unidad de Dosis</string>
<string name="taken">Tomado</string>
<string name="frequency">Frecuencia</string>
<string name="multiple_times_per_day">Varias veces por día</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<string name="medication_dosage">Dosage</string>
<string name="medication_frequency">Frequency</string>
<string name="taken_every">Taken Every</string>
<string name="units">Units</string>
<string name="units">Dosage Unit</string>
<string name="taken">Taken</string>
<string name="frequency">Frequency</string>
<string name="multiple_times_per_day">Multiple Times per Day</string>
Expand Down

0 comments on commit b852ae2

Please sign in to comment.