show some toast messages around caldav syncing

This commit is contained in:
tibbi 2017-10-21 16:49:10 +02:00
parent 044d51d4ea
commit e5bc145b27
19 changed files with 38 additions and 0 deletions

View File

@ -142,6 +142,7 @@ class SettingsActivity : SimpleActivity() {
settings_manage_synced_calendars_holder.beVisibleIf(newCalendarIds.isNotEmpty())
settings_caldav_sync.isChecked = newCalendarIds.isNotEmpty()
config.caldavSync = newCalendarIds.isNotEmpty()
toast(R.string.syncing)
Thread({
if (newCalendarIds.isNotEmpty()) {
@ -165,6 +166,7 @@ class SettingsActivity : SimpleActivity() {
}
}
dbHelper.deleteEventTypesWithCalendarId(TextUtils.join(",", removedCalendarIds))
toast(R.string.synchronization_completed)
}).start()
}
}

View File

@ -217,6 +217,8 @@
<string name="refreshing">Obnovuji…</string>
<string name="refreshing_complete">Obnovování dokončeno</string>
<string name="editing_calendar_failed">Editování kalendáře se nezdařilo</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minutu</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">Aktualisiere…</string>
<string name="refreshing_complete">Aktualisierung abgeschlossen</string>
<string name="editing_calendar_failed">Ändern des Kalenders fehlgeschlagen</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minute</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">Refreshing…</string>
<string name="refreshing_complete">Refreshing complete</string>
<string name="editing_calendar_failed">Editing calendar failed</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minute</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">Rafraîchissement…</string>
<string name="refreshing_complete">Rafraîchissement terminé</string>
<string name="editing_calendar_failed">Edition du calendrier échouée</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minute</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">Refreshing…</string>
<string name="refreshing_complete">Refreshing complete</string>
<string name="editing_calendar_failed">Editing calendar failed</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minute</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">Refreshing…</string>
<string name="refreshing_complete">Refreshing complete</string>
<string name="editing_calendar_failed">Editing calendar failed</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minute</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">Refreshing…</string>
<string name="refreshing_complete">Refreshing complete</string>
<string name="editing_calendar_failed">Editing calendar failed</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minute</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">Refreshing…</string>
<string name="refreshing_complete">Refreshing complete</string>
<string name="editing_calendar_failed">Editing calendar failed</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minute</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">Refreshing…</string>
<string name="refreshing_complete">Refreshing complete</string>
<string name="editing_calendar_failed">Editing calendar failed</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minute</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">새로고침 중…</string>
<string name="refreshing_complete">새로고침 완료</string>
<string name="editing_calendar_failed">Editing calendar failed</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d 분</item>

View File

@ -215,6 +215,8 @@
<string name="refreshing">Refreshing…</string>
<string name="refreshing_complete">Refreshing complete</string>
<string name="editing_calendar_failed">Editing calendar failed</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minutę</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">Refreshing…</string>
<string name="refreshing_complete">Refreshing complete</string>
<string name="editing_calendar_failed">Editing calendar failed</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minute</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">A atualizar…</string>
<string name="refreshing_complete">Atualização terminada</string>
<string name="editing_calendar_failed">Falha ao editar o calendário</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minuto</item>

View File

@ -224,6 +224,8 @@
<string name="refreshing">Обновление…</string>
<string name="refreshing_complete">Обновление завершено</string>
<string name="editing_calendar_failed">Не удалось изменить календарь</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d минута</item>

View File

@ -217,6 +217,8 @@
<string name="refreshing">Obnovuje sa…</string>
<string name="refreshing_complete">Obnovovanie ukončené</string>
<string name="editing_calendar_failed">Úprava kalendára zlyhala</string>
<string name="syncing">Synchronizujem…</string>
<string name="synchronization_completed">Synchronizácia ukončená</string>
<plurals name="by_minutes">
<item quantity="one">%d minútu</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">Uppdaterar…</string>
<string name="refreshing_complete">Uppdateringen är klar</string>
<string name="editing_calendar_failed">Det gick inte att redigera kalendern</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minut</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">Refreshing…</string>
<string name="refreshing_complete">Refreshing complete</string>
<string name="editing_calendar_failed">Editing calendar failed</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minute</item>

View File

@ -210,6 +210,8 @@
<string name="refreshing">Refreshing…</string>
<string name="refreshing_complete">Refreshing complete</string>
<string name="editing_calendar_failed">Editing calendar failed</string>
<string name="syncing">Syncing…</string>
<string name="synchronization_completed">Sync completed</string>
<plurals name="by_minutes">
<item quantity="one">%d minute</item>