test alert fix

This commit is contained in:
Milos Kozak 2016-07-08 13:39:27 +02:00
parent aeae32cc79
commit e37917dae4
6 changed files with 8 additions and 8 deletions

View file

@ -174,9 +174,9 @@ public class MainActivity extends AppCompatActivity {
REQUEST_CODE_ASK_PERMISSIONS REQUEST_CODE_ASK_PERMISSIONS
); );
} }
Intent alarmServiceIntent = new Intent(getApplicationContext(), AlertService.class); Intent alertServiceIntent = new Intent(getApplicationContext(), AlertService.class);
alarmServiceIntent.putExtra("alarmText", getString(R.string.nav_test_alarm)); alertServiceIntent.putExtra("alertText", getString(R.string.nav_test_alert));
getApplicationContext().startService(alarmServiceIntent); getApplicationContext().startService(alertServiceIntent);
break; break;
case R.id.nav_exit: case R.id.nav_exit:
log.debug("Exiting"); log.debug("Exiting");

View file

@ -15,7 +15,7 @@
android:title="@string/nav_import" /> android:title="@string/nav_import" />
<item <item
android:id="@+id/nav_test_alarm" android:id="@+id/nav_test_alarm"
android:title="@string/nav_test_alarm" /> android:title="@string/nav_test_alert" />
<item <item
android:id="@+id/nav_exit" android:id="@+id/nav_exit"
android:title="@string/nav_exit" /> android:title="@string/nav_exit" />

View file

@ -88,7 +88,7 @@
<string name="nav_preferences">Опции</string> <string name="nav_preferences">Опции</string>
<string name="nav_refreshtreatments">Обнови събития от NS</string> <string name="nav_refreshtreatments">Обнови събития от NS</string>
<string name="nav_resetdb">Нулирай базата данни</string> <string name="nav_resetdb">Нулирай базата данни</string>
<string name="nav_test_alarm">Тест на аларми</string> <string name="nav_test_alert">Тест на аларми</string>
<string name="noapsselected">Не е избран APS или </string> <string name="noapsselected">Не е избран APS или </string>
<string name="nochangerequested">Не се изискват промени</string> <string name="nochangerequested">Не се изискват промени</string>
<string name="noprofile">Не е зареден профил от NS</string> <string name="noprofile">Не е зареден профил от NS</string>

View file

@ -83,7 +83,7 @@
<string name="nav_preferences">Nastavení</string> <string name="nav_preferences">Nastavení</string>
<string name="nav_refreshtreatments">Aktualizuj ošetření z NS</string> <string name="nav_refreshtreatments">Aktualizuj ošetření z NS</string>
<string name="nav_resetdb">Inicializuj databáze</string> <string name="nav_resetdb">Inicializuj databáze</string>
<string name="nav_test_alarm">Test alarmu</string> <string name="nav_test_alert">Test alarmu</string>
<string name="noapsselected">ŽÁDNÉ APS NEVYBRÁNO NEBO NEVRÁTILO VÝSLEDEK</string> <string name="noapsselected">ŽÁDNÉ APS NEVYBRÁNO NEBO NEVRÁTILO VÝSLEDEK</string>
<string name="nochangerequested">Změna nepožadována</string> <string name="nochangerequested">Změna nepožadována</string>
<string name="noprofile">Dosud nebyl načten profil z NS</string> <string name="noprofile">Dosud nebyl načten profil z NS</string>

View file

@ -148,7 +148,7 @@
<string name="noprofile">Bisher noch kein Profil von NS geladen</string> <string name="noprofile">Bisher noch kein Profil von NS geladen</string>
<string name="nochangerequested">No change requested</string> <string name="nochangerequested">No change requested</string>
<string name="noapsselected">NO APS SELECTED OR PROVIDED RESULT</string> <string name="noapsselected">NO APS SELECTED OR PROVIDED RESULT</string>
<string name="nav_test_alarm">Test Alarm</string> <string name="nav_test_alert">Test Alarm</string>
<string name="avgdelta">Avg. delta:</string> <string name="avgdelta">Avg. delta:</string>
<string name="bolusconstraintapplied">Bolus constraint applied</string> <string name="bolusconstraintapplied">Bolus constraint applied</string>
<string name="careportal_announcement">Ankündigung</string> <string name="careportal_announcement">Ankündigung</string>

View file

@ -7,7 +7,7 @@
<string name="nav_preferences">Preferences</string> <string name="nav_preferences">Preferences</string>
<string name="nav_refreshtreatments">Refresh treatments from NS</string> <string name="nav_refreshtreatments">Refresh treatments from NS</string>
<string name="nav_backup">Backup</string> <string name="nav_backup">Backup</string>
<string name="nav_test_alarm">Test alarm</string> <string name="nav_test_alert">Test alarm</string>
<string name="nav_resetdb">Reset databases</string> <string name="nav_resetdb">Reset databases</string>
<string name="nav_exit">Exit</string> <string name="nav_exit">Exit</string>
<string name="danar_useextended_title">Use extended boluses for >200%</string> <string name="danar_useextended_title">Use extended boluses for >200%</string>