show some toast messages around caldav syncing
This commit is contained in:
parent
044d51d4ea
commit
e5bc145b27
|
@ -142,6 +142,7 @@ class SettingsActivity : SimpleActivity() {
|
||||||
settings_manage_synced_calendars_holder.beVisibleIf(newCalendarIds.isNotEmpty())
|
settings_manage_synced_calendars_holder.beVisibleIf(newCalendarIds.isNotEmpty())
|
||||||
settings_caldav_sync.isChecked = newCalendarIds.isNotEmpty()
|
settings_caldav_sync.isChecked = newCalendarIds.isNotEmpty()
|
||||||
config.caldavSync = newCalendarIds.isNotEmpty()
|
config.caldavSync = newCalendarIds.isNotEmpty()
|
||||||
|
toast(R.string.syncing)
|
||||||
|
|
||||||
Thread({
|
Thread({
|
||||||
if (newCalendarIds.isNotEmpty()) {
|
if (newCalendarIds.isNotEmpty()) {
|
||||||
|
@ -165,6 +166,7 @@ class SettingsActivity : SimpleActivity() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dbHelper.deleteEventTypesWithCalendarId(TextUtils.join(",", removedCalendarIds))
|
dbHelper.deleteEventTypesWithCalendarId(TextUtils.join(",", removedCalendarIds))
|
||||||
|
toast(R.string.synchronization_completed)
|
||||||
}).start()
|
}).start()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -217,6 +217,8 @@
|
||||||
<string name="refreshing">Obnovuji…</string>
|
<string name="refreshing">Obnovuji…</string>
|
||||||
<string name="refreshing_complete">Obnovování dokončeno</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="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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minutu</item>
|
<item quantity="one">%d minutu</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">Aktualisiere…</string>
|
<string name="refreshing">Aktualisiere…</string>
|
||||||
<string name="refreshing_complete">Aktualisierung abgeschlossen</string>
|
<string name="refreshing_complete">Aktualisierung abgeschlossen</string>
|
||||||
<string name="editing_calendar_failed">Ändern des Kalenders fehlgeschlagen</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minute</item>
|
<item quantity="one">%d minute</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">Refreshing…</string>
|
<string name="refreshing">Refreshing…</string>
|
||||||
<string name="refreshing_complete">Refreshing complete</string>
|
<string name="refreshing_complete">Refreshing complete</string>
|
||||||
<string name="editing_calendar_failed">Editing calendar failed</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minute</item>
|
<item quantity="one">%d minute</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">Rafraîchissement…</string>
|
<string name="refreshing">Rafraîchissement…</string>
|
||||||
<string name="refreshing_complete">Rafraîchissement terminé</string>
|
<string name="refreshing_complete">Rafraîchissement terminé</string>
|
||||||
<string name="editing_calendar_failed">Edition du calendrier échouée</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minute</item>
|
<item quantity="one">%d minute</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">Refreshing…</string>
|
<string name="refreshing">Refreshing…</string>
|
||||||
<string name="refreshing_complete">Refreshing complete</string>
|
<string name="refreshing_complete">Refreshing complete</string>
|
||||||
<string name="editing_calendar_failed">Editing calendar failed</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minute</item>
|
<item quantity="one">%d minute</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">Refreshing…</string>
|
<string name="refreshing">Refreshing…</string>
|
||||||
<string name="refreshing_complete">Refreshing complete</string>
|
<string name="refreshing_complete">Refreshing complete</string>
|
||||||
<string name="editing_calendar_failed">Editing calendar failed</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minute</item>
|
<item quantity="one">%d minute</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">Refreshing…</string>
|
<string name="refreshing">Refreshing…</string>
|
||||||
<string name="refreshing_complete">Refreshing complete</string>
|
<string name="refreshing_complete">Refreshing complete</string>
|
||||||
<string name="editing_calendar_failed">Editing calendar failed</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minute</item>
|
<item quantity="one">%d minute</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">Refreshing…</string>
|
<string name="refreshing">Refreshing…</string>
|
||||||
<string name="refreshing_complete">Refreshing complete</string>
|
<string name="refreshing_complete">Refreshing complete</string>
|
||||||
<string name="editing_calendar_failed">Editing calendar failed</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minute</item>
|
<item quantity="one">%d minute</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">Refreshing…</string>
|
<string name="refreshing">Refreshing…</string>
|
||||||
<string name="refreshing_complete">Refreshing complete</string>
|
<string name="refreshing_complete">Refreshing complete</string>
|
||||||
<string name="editing_calendar_failed">Editing calendar failed</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minute</item>
|
<item quantity="one">%d minute</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">새로고침 중…</string>
|
<string name="refreshing">새로고침 중…</string>
|
||||||
<string name="refreshing_complete">새로고침 완료</string>
|
<string name="refreshing_complete">새로고침 완료</string>
|
||||||
<string name="editing_calendar_failed">Editing calendar failed</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d 분</item>
|
<item quantity="one">%d 분</item>
|
||||||
|
|
|
@ -215,6 +215,8 @@
|
||||||
<string name="refreshing">Refreshing…</string>
|
<string name="refreshing">Refreshing…</string>
|
||||||
<string name="refreshing_complete">Refreshing complete</string>
|
<string name="refreshing_complete">Refreshing complete</string>
|
||||||
<string name="editing_calendar_failed">Editing calendar failed</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minutę</item>
|
<item quantity="one">%d minutę</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">Refreshing…</string>
|
<string name="refreshing">Refreshing…</string>
|
||||||
<string name="refreshing_complete">Refreshing complete</string>
|
<string name="refreshing_complete">Refreshing complete</string>
|
||||||
<string name="editing_calendar_failed">Editing calendar failed</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minute</item>
|
<item quantity="one">%d minute</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">A atualizar…</string>
|
<string name="refreshing">A atualizar…</string>
|
||||||
<string name="refreshing_complete">Atualização terminada</string>
|
<string name="refreshing_complete">Atualização terminada</string>
|
||||||
<string name="editing_calendar_failed">Falha ao editar o calendário</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minuto</item>
|
<item quantity="one">%d minuto</item>
|
||||||
|
|
|
@ -224,6 +224,8 @@
|
||||||
<string name="refreshing">Обновление…</string>
|
<string name="refreshing">Обновление…</string>
|
||||||
<string name="refreshing_complete">Обновление завершено</string>
|
<string name="refreshing_complete">Обновление завершено</string>
|
||||||
<string name="editing_calendar_failed">Не удалось изменить календарь</string>
|
<string name="editing_calendar_failed">Не удалось изменить календарь</string>
|
||||||
|
<string name="syncing">Syncing…</string>
|
||||||
|
<string name="synchronization_completed">Sync completed</string>
|
||||||
|
|
||||||
<plurals name="by_minutes">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d минута</item>
|
<item quantity="one">%d минута</item>
|
||||||
|
|
|
@ -217,6 +217,8 @@
|
||||||
<string name="refreshing">Obnovuje sa…</string>
|
<string name="refreshing">Obnovuje sa…</string>
|
||||||
<string name="refreshing_complete">Obnovovanie ukončené</string>
|
<string name="refreshing_complete">Obnovovanie ukončené</string>
|
||||||
<string name="editing_calendar_failed">Úprava kalendára zlyhala</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minútu</item>
|
<item quantity="one">%d minútu</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">Uppdaterar…</string>
|
<string name="refreshing">Uppdaterar…</string>
|
||||||
<string name="refreshing_complete">Uppdateringen är klar</string>
|
<string name="refreshing_complete">Uppdateringen är klar</string>
|
||||||
<string name="editing_calendar_failed">Det gick inte att redigera kalendern</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minut</item>
|
<item quantity="one">%d minut</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">Refreshing…</string>
|
<string name="refreshing">Refreshing…</string>
|
||||||
<string name="refreshing_complete">Refreshing complete</string>
|
<string name="refreshing_complete">Refreshing complete</string>
|
||||||
<string name="editing_calendar_failed">Editing calendar failed</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minute</item>
|
<item quantity="one">%d minute</item>
|
||||||
|
|
|
@ -210,6 +210,8 @@
|
||||||
<string name="refreshing">Refreshing…</string>
|
<string name="refreshing">Refreshing…</string>
|
||||||
<string name="refreshing_complete">Refreshing complete</string>
|
<string name="refreshing_complete">Refreshing complete</string>
|
||||||
<string name="editing_calendar_failed">Editing calendar failed</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">
|
<plurals name="by_minutes">
|
||||||
<item quantity="one">%d minute</item>
|
<item quantity="one">%d minute</item>
|
||||||
|
|
Loading…
Reference in New Issue