diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/SmsCommunicator/SmsCommunicatorPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/SmsCommunicator/SmsCommunicatorPlugin.java index fb05787a2a..4f65995948 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/SmsCommunicator/SmsCommunicatorPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/SmsCommunicator/SmsCommunicatorPlugin.java @@ -209,13 +209,13 @@ public class SmsCommunicatorPlugin implements PluginBase { int agoMin = (int) (agoMsec / 60d / 1000d); if (actualBG != null) { - reply = MainApp.sResources.getString(R.string.actualbg) + " " + actualBG.valueToUnitsToString(units) + ", "; + reply = MainApp.sResources.getString(R.string.sms_actualbg) + " " + actualBG.valueToUnitsToString(units) + ", "; } else if (lastBG != null) { - reply = MainApp.sResources.getString(R.string.lastbg) + " " + lastBG.valueToUnitsToString(units) + " " + String.format(MainApp.sResources.getString(R.string.minago), agoMin) + ", "; + reply = MainApp.sResources.getString(R.string.sms_lastbg) + " " + lastBG.valueToUnitsToString(units) + " " + String.format(MainApp.sResources.getString(R.string.sms_minago), agoMin) + ", "; } DatabaseHelper.GlucoseStatus glucoseStatus = MainApp.getDbHelper().getGlucoseStatusData(); if (glucoseStatus != null) - reply += MainApp.sResources.getString(R.string.delta) + ": " + NSProfile.toUnitsString(glucoseStatus.delta, glucoseStatus.delta * Constants.MGDL_TO_MMOLL, units) + " " + units + ", "; + reply += MainApp.sResources.getString(R.string.sms_delta) + " " + NSProfile.toUnitsString(glucoseStatus.delta, glucoseStatus.delta * Constants.MGDL_TO_MMOLL, units) + " " + units + ", "; MainApp.getConfigBuilder().getActiveTreatments().updateTotalIOB(); IobTotal bolusIob = MainApp.getConfigBuilder().getActiveTreatments().getLastCalculation().round(); @@ -224,9 +224,9 @@ public class SmsCommunicatorPlugin implements PluginBase { IobTotal basalIob = MainApp.getConfigBuilder().getActiveTempBasals().getLastCalculation().round(); if (basalIob == null) basalIob = new IobTotal(); - reply += MainApp.sResources.getString(R.string.treatments_iob_label_string) + " " + DecimalFormatter.to2Decimal(bolusIob.iob + basalIob.basaliob) + "U (" - + MainApp.sResources.getString(R.string.bolus) + ": " + DecimalFormatter.to2Decimal(bolusIob.iob) + "U " - + MainApp.sResources.getString(R.string.basal) + ": " + DecimalFormatter.to2Decimal(basalIob.basaliob) + "U)"; + reply += MainApp.sResources.getString(R.string.sms_iob) + " " + DecimalFormatter.to2Decimal(bolusIob.iob + basalIob.basaliob) + "U (" + + MainApp.sResources.getString(R.string.sms_bolus) + " " + DecimalFormatter.to2Decimal(bolusIob.iob) + "U " + + MainApp.sResources.getString(R.string.sms_basal) + " " + DecimalFormatter.to2Decimal(basalIob.basaliob) + "U)"; sendSMS(new Sms(receivedSms.phoneNumber, reply, new Date())); receivedSms.processed = true; @@ -314,7 +314,7 @@ public class SmsCommunicatorPlugin implements PluginBase { resetWaitingMessages(); sendSMS(cancelTempBasalWaitingForConfirmation = new Sms(receivedSms.phoneNumber, reply, new Date(), passCode)); } else { - reply = MainApp.sResources.getString(R.string.remotebasalnotallowed); + reply = MainApp.sResources.getString(R.string.smscommunicator_remotebasalnotallowed); sendSMS(new Sms(receivedSms.phoneNumber, reply, new Date())); } } else { @@ -328,7 +328,7 @@ public class SmsCommunicatorPlugin implements PluginBase { sendSMS(tempBasalWaitingForConfirmation = new Sms(receivedSms.phoneNumber, reply, new Date(), passCode)); tempBasalWaitingForConfirmation.tempBasal = tempBasal; } else { - reply = MainApp.sResources.getString(R.string.remotebasalnotallowed); + reply = MainApp.sResources.getString(R.string.smscommunicator_remotebasalnotallowed); sendSMS(new Sms(receivedSms.phoneNumber, reply, new Date())); } } @@ -336,7 +336,7 @@ public class SmsCommunicatorPlugin implements PluginBase { break; case "BOLUS": if (new Date().getTime() - lastRemoteBolusTime.getTime() < Constants.remoteBolusMinDistance) { - reply = MainApp.sResources.getString(R.string.remotebolusnotallowed); + reply = MainApp.sResources.getString(R.string.smscommunicator_remotebolusnotallowed); sendSMS(new Sms(receivedSms.phoneNumber, reply, new Date())); } else if (splited.length > 1) { amount = SafeParse.stringToDouble(splited[1]); @@ -350,7 +350,7 @@ public class SmsCommunicatorPlugin implements PluginBase { sendSMS(bolusWaitingForConfirmation = new Sms(receivedSms.phoneNumber, reply, new Date(), passCode)); bolusWaitingForConfirmation.bolusRequested = amount; } else { - reply = MainApp.sResources.getString(R.string.remotebolusnotallowed); + reply = MainApp.sResources.getString(R.string.smscommunicator_remotebolusnotallowed); sendSMS(new Sms(receivedSms.phoneNumber, reply, new Date())); } } @@ -364,12 +364,12 @@ public class SmsCommunicatorPlugin implements PluginBase { danaRPlugin = (DanaRPlugin) MainApp.getSpecificPlugin(DanaRPlugin.class); PumpEnactResult result = pumpInterface.deliverTreatment(bolusWaitingForConfirmation.bolusRequested, 0, null); if (result.success) { - reply = String.format(MainApp.sResources.getString(R.string.bolusdelivered), result.bolusDelivered); + reply = String.format(MainApp.sResources.getString(R.string.smscommunicator_bolusdelivered), result.bolusDelivered); if (danaRPlugin != null) reply += "\n" + danaRPlugin.shortStatus(); lastRemoteBolusTime = new Date(); sendSMSToAllNumbers(new Sms(receivedSms.phoneNumber, reply, new Date())); } else { - reply = MainApp.sResources.getString(R.string.bolusfailed); + reply = MainApp.sResources.getString(R.string.smscommunicator_bolusfailed); if (danaRPlugin != null) reply += "\n" + danaRPlugin.shortStatus(); sendSMS(new Sms(receivedSms.phoneNumber, reply, new Date())); } diff --git a/app/src/main/res/values-bg/strings.xml b/app/src/main/res/values-bg/strings.xml index 72bab37a12..3557e5d27b 100644 --- a/app/src/main/res/values-bg/strings.xml +++ b/app/src/main/res/values-bg/strings.xml @@ -213,7 +213,7 @@ MUST NOT BE USED TO MAKE MEDICAL DECISIONS. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. +XXXXXXXXXX;+YYYYYYYYYY Болус %.2fU беше подаден успешно - Болусът не е доставен + Болусът не е доставен Откажи временен базал Последно свързване: Изчаква резултат @@ -221,7 +221,7 @@ Позволени телефонни номера Успех За да доставите болус %.2fU отговорете с код %s - Отдалечен болус не е разрешен + Отдалечен болус не е разрешен Обнови профила Процент Сензор @@ -307,7 +307,7 @@ Премахни Бърз болус Настройки за бърз болус - Не са позволени отдалечени настройки + Не са позволени отдалечени настройки To start basal %.2fU/h reply with code %s To stop temp basal reply with code %s Loop has been disabled @@ -355,13 +355,13 @@ Базал: Базалните стойности са под минимума. Не е зададен профил! Батерията на помпата е изтощена - КЗ: + КЗ: Забрани EasyUI режим в помпата Разреши удължен болус в помпата Промени режима от U/d на U/h в помпата DanaR за Корея Горна линия - Последна КЗ: + Последна КЗ: Долна линия Изтощена батерия Отвори Опции на часовника diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 3746313c22..61aa07e13f 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -226,8 +226,8 @@ Poslední spojení: Zrušit dočasný bazál Bolus %.2fU aplikován úspěšně - Chyba při aplikování bolusu - Vzdálený bolus není momentálně povolen + Chyba při aplikování bolusu + Vzdálený bolus není momentálně povolen K potvzení bolusu %.2fU odpověz SMS s kódem %s SMS komunikátor Povolená tel. čísla @@ -300,7 +300,7 @@ Spanish Není vybrán žádný profil Hodnota %s je mimo přednastavený rozsah - Vzdálené posílání příkazů není povoleno + Vzdálené posílání příkazů není povoleno Na spuštění bazálu %.2fU/h odpověz SMS s kódem %s Na ukončení bazálu odpověz SMS s kódem %s Dočaný bazál zastaven @@ -373,7 +373,15 @@ Vybrán špatný ovladač pumpy Hodnota bazálu pod minimem. Nenastaveno! Pera - Glykémie: - Poslední glykémie: + Glykémie: + Poslední glykémie: před %d min + Bazál: + Bolus: + Rozdíl: + IOB: + před %d min + Bolus %.2fU aplikován úspěšně + Průběžné oznámení + ZASTARALÉ diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 9de913ce2d..fc536ee468 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -197,7 +197,7 @@ Nightscout +XXXXXXXXXX;+YYYYYYYYYY Absolut - Bolus fehlgeschlagen + Bolus fehlgeschlagen Temp Basal abbrechen Temoräres Ziel Temoräres Ziel abbrechen @@ -240,7 +240,7 @@ Nightscout Profil zur Pumpe synchronisieren auf Pumpenergebnis warten Kein Bluetoothadapter gefunden - Remote Bolus nicht erlaubt + Remote Bolus nicht erlaubt Um Bolus %.2fU bitte mit %s antworten Korean Limit erreicht diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 1d585c4912..ec979b5df3 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -239,10 +239,10 @@ Números de teléfono permitidos XXXXXXXXXX +; + YYYYYYYYYY Para entregar bolo% .2fU responder con código% s - bolo falló + bolo falló Bolo% .2fU entregado con éxito Entregando% .2fU - Bolo remoto no permitido + Bolo remoto no permitido Dedo Sensor Manual @@ -333,7 +333,7 @@ NS solo subida. No efectivo con SGV salvo que este seleccionada una fuente local como xDrip. No efectivo en perfiles usando perfiles NS Otros ¡Bomba no iniciada! - No permitidos ajustes basales remotos + No permitidos ajustes basales remotos ¿Realmente quiere resetear la base de datos? Comando desconocido o respuesta incorrecta ¡Por favor asegurar que la cantidad coincide con la especificación del set de infusión! diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index c0b1a65d53..8a950cf344 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -241,11 +241,11 @@ 허가된 전화번호 +XXXXXXXXXX;+YYYYYYYYYY 식사주입 %.2fU 을 실행하려면 %s 를 입력하고 답장하세요 - Bolus failed + Bolus failed Bolus %.2fU delivered successfully %.2fU 주입중 SMS 원격 명령 사용하기 - 원격 식사주입 허용되지 않음 + 원격 식사주입 허용되지 않음 Finger Sensor Manual @@ -310,7 +310,7 @@ Loop가 중지중입니다. Loop가 실행중입니다. 값 %s 은 하드리밋(Hard Limit)를 벗어났습니다 - 원격 기초주입설정이 허가되지 않았습니다 + 원격 기초주입설정이 허가되지 않았습니다 기초주입 %.2fU/h 을 실행하려면 %s 를 입력하고 답장하세요 Temp basal %.2fU/h for %d min started successfully Temp basal start failed @@ -379,7 +379,7 @@ 펌프에서 확장식사기능을 활성화 하세요 펌프에서 U/d에서 U/h로 모드를 변경하세요 기초주입값이 최소값 이하입니다. 프로파일이 설정되지 않습니다! - BG: - Last BG: + BG: + Last BG: MDI diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d5b7e123aa..b147ca2fbc 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -31,6 +31,7 @@ Insulin: Carbs: IOB: + IOB: Activity: Toal IOB: Total IOB activity: @@ -75,6 +76,7 @@ Reason Glucose Delta + Delta: Avg. delta Config Builder @@ -122,7 +124,9 @@ Confirmation Enter new treatment: Bolus + Bolus: Basal + Basal: Carbs Change your input! Set new extended bolus: @@ -244,11 +248,12 @@ Allowed phone numbers +XXXXXXXXXX;+YYYYYYYYYY To deliver bolus %.2fU reply with code %s - Bolus failed + Bolus failed Bolus %.2fU delivered successfully + Bolus %.2fU delivered successfully Delivering %.2fU Allow remote commands via SMS - Remote bolus not allowed + Remote bolus not allowed Finger Sensor Manual @@ -313,7 +318,7 @@ Loop is disabled Loop is enabled Value %s is out of hard limits - Remote basal setting is not allowed + Remote basal setting is not allowed To start basal %.2fU/h reply with code %s Temp basal %.2fU/h for %d min started successfully Temp basal start failed @@ -383,10 +388,11 @@ Enable extended boluses on pump Change mode from U/d to U/h on pump Basal value below minimum. Profile not set! - BG: - Last BG: + BG: + Last BG: MDI Ongoing Notification OLD DATA %dmin ago + %dmin ago