Fix a few spelling mistakes across the tree

This commit is contained in:
Faidon Liambotis 2022-10-18 03:32:17 +03:00
parent 22d478b06a
commit 1abdeac8b9
12 changed files with 20 additions and 20 deletions

View file

@ -19,7 +19,7 @@ Coding convetions
1. Use Android Studio with default indents (4 chars, use spaces) 1. Use Android Studio with default indents (4 chars, use spaces)
2. Use autoformat feature CTRL-ALT-L in every changed file before commit 2. Use autoformat feature CTRL-ALT-L in every changed file before commit
Commiting Changes / Pull Requests Committing Changes / Pull Requests
--------------------------------- ---------------------------------
1. Make fork of repository on github 1. Make fork of repository on github

View file

@ -395,7 +395,7 @@
<string name="key_patient_name" translatable="false">patient_name</string> <string name="key_patient_name" translatable="false">patient_name</string>
<string name="key_i_understand" translatable="false">I_understand</string> <string name="key_i_understand" translatable="false">I_understand</string>
<string name="Glimp">Glimp</string> <string name="Glimp">Glimp</string>
<string name="needwhitelisting">%1$s needs battery optimalization whitelisting for proper performance</string> <string name="needwhitelisting">%1$s needs battery optimization whitelisting for proper performance</string>
<string name="loopsuspended">Loop suspended</string> <string name="loopsuspended">Loop suspended</string>
<string name="loopsuspendedfor">Suspended (%1$d m)</string> <string name="loopsuspendedfor">Suspended (%1$d m)</string>
<string name="suspendloopfor1h">Suspend loop for 1h</string> <string name="suspendloopfor1h">Suspend loop for 1h</string>
@ -857,7 +857,7 @@
<string name="profile_total">== ∑ %1$s U</string> <string name="profile_total">== ∑ %1$s U</string>
<string name="key_dexcom_lognssensorchange" translatable="false">dexcom_lognssensorchange</string> <string name="key_dexcom_lognssensorchange" translatable="false">dexcom_lognssensorchange</string>
<string name="dexcom_lognssensorchange_title">Log sensor change to NS</string> <string name="dexcom_lognssensorchange_title">Log sensor change to NS</string>
<string name="dexcom_lognssensorchange_summary">Create event \"Sensor Change\" in NS automaticaly on sensor start</string> <string name="dexcom_lognssensorchange_summary">Create event \"Sensor Change\" in NS automatically on sensor start</string>
<string name="tomato">Tomato (MiaoMiao)</string> <string name="tomato">Tomato (MiaoMiao)</string>
<string name="tomato_short">Tomato</string> <string name="tomato_short">Tomato</string>
<string name="key_tidepool_username" translatable="false">tidepool_username</string> <string name="key_tidepool_username" translatable="false">tidepool_username</string>
@ -1008,7 +1008,7 @@
<string name="smscommunicator_otp_step3_test_header">3. Test One-Time-Password</string> <string name="smscommunicator_otp_step3_test_header">3. Test One-Time-Password</string>
<string name="smscommunicator_otp_reset_header">Reset Authenticators</string> <string name="smscommunicator_otp_reset_header">Reset Authenticators</string>
<string name="smscommunicator_otp_install_info">On each follower phone install Authenticator app that support RFC 6238 TOTP tokens. Popular free apps are:\n • Authy\n • Google Authenticator\n • LastPass Authenticator\n • FreeOTP Authenticator</string> <string name="smscommunicator_otp_install_info">On each follower phone install Authenticator app that support RFC 6238 TOTP tokens. Popular free apps are:\n • Authy\n • Google Authenticator\n • LastPass Authenticator\n • FreeOTP Authenticator</string>
<string name="smscommunicator_otp_reset_warning">By reseting authenticator you make all already provisioned authenticators invalid. You will need to set up them again!</string> <string name="smscommunicator_otp_reset_warning">By resetting authenticator you make all already provisioned authenticators invalid. You will need to set up them again!</string>
<string name="overview_show_predictions">Predictions</string> <string name="overview_show_predictions">Predictions</string>
<string name="overview_show_treatments">Treatments</string> <string name="overview_show_treatments">Treatments</string>
<string name="overview_show_deviationslope">Deviation slope</string> <string name="overview_show_deviationslope">Deviation slope</string>

View file

@ -85,7 +85,7 @@ interface IobCobCalculator {
fun getExtendedBolus(timestamp: Long): ExtendedBolus? fun getExtendedBolus(timestamp: Long): ExtendedBolus?
/** /**
* Calculate IOB of base basal insulin (usualy not accounted towards IOB) * Calculate IOB of base basal insulin (usually not accounted towards IOB)
* *
* @param toTime * @param toTime
* @return IobTotal * @return IobTotal
@ -106,4 +106,4 @@ interface IobCobCalculator {
* @return IobTotal * @return IobTotal
*/ */
fun calculateIobFromTempBasalsIncludingConvertedExtended(): IobTotal fun calculateIobFromTempBasalsIncludingConvertedExtended(): IobTotal
} }

View file

@ -84,7 +84,7 @@ class AutosensDataStore {
} }
/** /**
* Provide last GlucoseValue or null if none exists withing last 9 minutes * Provide last GlucoseValue or null if none exists within the last 9 minutes
* *
* @return GlucoseValue or null * @return GlucoseValue or null
*/ */
@ -354,4 +354,4 @@ class AutosensDataStore {
} }
return if (count != 0) sum / count else 0.0 return if (count != 0) sum / count else 0.0
} }
} }

View file

@ -6,7 +6,7 @@ import info.nightscout.androidaps.database.entities.TemporaryTarget
import info.nightscout.androidaps.database.entities.TherapyEvent import info.nightscout.androidaps.database.entities.TherapyEvent
import info.nightscout.androidaps.database.entities.ValueWithUnit import info.nightscout.androidaps.database.entities.ValueWithUnit
sealed class ValueWithUnitMapper { //I use a sealed class because of StringResource that containts a listOf as second parameter sealed class ValueWithUnitMapper { //I use a sealed class because of StringResource that contains a listOf as second parameter
object UNKNOWN : ValueWithUnitMapper() // formerly None used as fallback object UNKNOWN : ValueWithUnitMapper() // formerly None used as fallback
@ -89,4 +89,4 @@ sealed class ValueWithUnitMapper { //I use a sealed class because of St
else -> null else -> null
} }
} }
} }

View file

@ -597,8 +597,8 @@
<string name="autotune_log_ic_isf" translatable="false">| %1$4.4s | %2$3.3f |\t%3$3.3f |\n</string> <string name="autotune_log_ic_isf" translatable="false">| %1$4.4s | %2$3.3f |\t%3$3.3f |\n</string>
<string name="autotune_log_basal" translatable="false">|\t%1$02.0f\t| %2$3.3f |%3$3.3f\t| %5$.0f%% / %4$d\n</string> <string name="autotune_log_basal" translatable="false">|\t%1$02.0f\t| %2$3.3f |%3$3.3f\t| %5$.0f%% / %4$d\n</string>
<string name="autotune_log_sum_basal" translatable="false">|\t∑\t|\t%1$3.1f |\t%2$3.1f |\n</string> <string name="autotune_log_sum_basal" translatable="false">|\t∑\t|\t%1$3.1f |\t%2$3.1f |\n</string>
<string name="autotune_run_without_autoswitch">Autotune runned without profile switch</string> <string name="autotune_run_without_autoswitch">Autotune ran without profile switch</string>
<string name="autotune_run_with_autoswitch">Autotune runned and profile automatically switched</string> <string name="autotune_run_with_autoswitch">Autotune ran and profile automatically switched</string>
<string name="autotune_run_with_error">Error during last Autotune run</string> <string name="autotune_run_with_error">Error during last Autotune run</string>
<string name="autotune_run_cancelled">Another run of Autotune is detected, run cancelled</string> <string name="autotune_run_cancelled">Another run of Autotune is detected, run cancelled</string>
<string name="needconnectpermission">Application needs bluetooth permission</string> <string name="needconnectpermission">Application needs bluetooth permission</string>

View file

@ -302,7 +302,7 @@ public class DanaRPlugin extends AbstractDanaRPlugin {
return result; return result;
} }
// Now set new extended, no need to to stop previous (if running) because it's replaced // Now set new extended, no need to stop previous (if running) because it's replaced
double extendedAmount = extendedRateToSet / 2 * durationInHalfHours; double extendedAmount = extendedRateToSet / 2 * durationInHalfHours;
aapsLogger.debug(LTag.PUMP, "setTempBasalAbsolute: Setting extended: " + extendedAmount + "U half hours: " + durationInHalfHours); aapsLogger.debug(LTag.PUMP, "setTempBasalAbsolute: Setting extended: " + extendedAmount + "U half hours: " + durationInHalfHours);
result = setExtendedBolus(extendedAmount, durationInMinutes); result = setExtendedBolus(extendedAmount, durationInMinutes);

View file

@ -35,7 +35,7 @@ class AppConfirmSettingResponsePacket(
failed = true failed = true
return return
} }
// The bolus progress diallog opens only when the confirm result is successfull // The bolus progress dialog opens only when the confirm result is successful
if(diaconnG8Pump.bolusConfirmMessage == 0x07.toByte()) { if(diaconnG8Pump.bolusConfirmMessage == 0x07.toByte()) {
diaconnG8Pump.isReadyToBolus = true diaconnG8Pump.isReadyToBolus = true
} }
@ -44,4 +44,4 @@ class AppConfirmSettingResponsePacket(
override fun getFriendlyName(): String { override fun getFriendlyName(): String {
return "PUMP_APP_CONFIRM_SETTING_RESPONSE" return "PUMP_APP_CONFIRM_SETTING_RESPONSE"
} }
} }

View file

@ -13,7 +13,7 @@ interface PumpBLESelector {
fun onResume() fun onResume()
/** /**
* Called on destory * Called on destroy
*/ */
fun onDestroy() fun onDestroy()
@ -44,7 +44,7 @@ interface PumpBLESelector {
fun onStopLeDeviceScan(context: Context) fun onStopLeDeviceScan(context: Context)
/** /**
* operations when scan was stopped manualy (press on button) * operations when scan was stopped manually (press on button)
*/ */
fun onManualStopLeDeviceScan(context: Context) fun onManualStopLeDeviceScan(context: Context)

View file

@ -30,7 +30,7 @@ public enum RileyLinkServiceState {
// error // error
PumpConnectorReady(R.string.rileylink_state_connected), // (OK) RileyLink Ready for Pump Communication PumpConnectorReady(R.string.rileylink_state_connected), // (OK) RileyLink Ready for Pump Communication
// Initializing, // get all parameters required for connection (if not possible -> Disabled, if sucessful -> // Initializing, // get all parameters required for connection (if not possible -> Disabled, if successful ->
// EnableBluetooth) // EnableBluetooth)
// EnableBlueTooth, // enable BT (if error no BT interface -> Disabled, BT not enabled -> BluetoothError) // EnableBlueTooth, // enable BT (if error no BT interface -> Disabled, BT not enabled -> BluetoothError)

View file

@ -36,7 +36,7 @@ interface ResourceHelper {
*/ */
@ColorInt fun gac(context: Context?, @AttrRes attributeId: Int): Int @ColorInt fun gac(context: Context?, @AttrRes attributeId: Int): Int
/** /**
* Get themed context -->> context dependend on light or darkmode * Get themed context -->> context dependent on light or darkmode
*/ */
fun getThemedCtx(context: Context): Context fun getThemedCtx(context: Context): Context
} }

View file

@ -103,7 +103,7 @@
<string name="action_preset_1">Preset 1</string> <string name="action_preset_1">Preset 1</string>
<string name="action_preset_2">Preset 2</string> <string name="action_preset_2">Preset 2</string>
<string name="action_preset_3">Preset 3</string> <string name="action_preset_3">Preset 3</string>
<string name="action_free_amount" comment="In prime/fill menu, allows to enter any amount to be used for priming/filling">Free amount</string> <string name="action_free_amount" comment="In prime/fill menu, allows one to enter any amount to be used for priming/filling">Free amount</string>
<string name="action_confirm">CONFIRM</string> <string name="action_confirm">CONFIRM</string>
<string name="action_timeshift">timeshift</string> <string name="action_timeshift">timeshift</string>
<string name="action_bolus">Bolus</string> <string name="action_bolus">Bolus</string>