From 7ddf5dd5f6bf24bc516b0140768153e6a7599476 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Mon, 15 Jul 2019 12:33:03 +0200 Subject: [PATCH] make translation easier --- .../java/info/nightscout/androidaps/utils/DateUtil.java | 8 ++++---- app/src/main/res/values/strings.xml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/utils/DateUtil.java b/app/src/main/java/info/nightscout/androidaps/utils/DateUtil.java index 4b19c6d114..951ed08407 100644 --- a/app/src/main/java/info/nightscout/androidaps/utils/DateUtil.java +++ b/app/src/main/java/info/nightscout/androidaps/utils/DateUtil.java @@ -223,13 +223,13 @@ public class DateUtil { t = t / 60; if (t != 1) unit = MainApp.gs(R.string.unit_hours); if (t > 24) { - unit = MainApp.gs(R.string.unit_day); + unit = MainApp.gs(R.string.unit_day) + "\""; t = t / 24; - if (t != 1) unit = MainApp.gs(R.string.unit_days); + if (t != 1) unit = MainApp.gs(R.string.unit_days) + "\""; if (t > 28) { - unit = MainApp.gs(R.string.unit_week); + unit = MainApp.gs(R.string.unit_week) + "\""; t = t / 7; - if (t != 1) unit = MainApp.gs(R.string.unit_weeks); + if (t != 1) unit = MainApp.gs(R.string.unit_weeks) + "\""; } } } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5e65be2532..7c3841210b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1320,13 +1320,13 @@ second minute hour - day" - week" + day + week seconds minutes hours - days" - weeks" + days + weeks tidepool_username tidepool_password tidepool_dev_servers