diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt index af34c995d..4f4ef9c6e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/MainActivity.kt @@ -142,7 +142,7 @@ class MainActivity : SimpleActivity(), NavigationListener { menuInflater.inflate(R.menu.menu_main, menu) menu.findItem(R.id.filter).isVisible = mShouldFilterBeVisible menu.findItem(R.id.go_to_today).isVisible = shouldGoToTodayBeVisible() - menu.findItem(R.id.refresh_caldav_accounts).isVisible = config.caldavSync + menu.findItem(R.id.refresh_caldav_calendars).isVisible = config.caldavSync return true } @@ -151,7 +151,7 @@ class MainActivity : SimpleActivity(), NavigationListener { R.id.change_view -> showViewDialog() R.id.go_to_today -> goToToday() R.id.filter -> showFilterDialog() - R.id.refresh_caldav_accounts -> refreshCalDAVAccounts() + R.id.refresh_caldav_calendars -> refreshCalDAVCalendars() R.id.add_holidays -> addHolidays() R.id.import_events -> tryImportEvents() R.id.export_events -> tryExportEvents() @@ -220,7 +220,7 @@ class MainActivity : SimpleActivity(), NavigationListener { } } - private fun refreshCalDAVAccounts() { + private fun refreshCalDAVCalendars() { toast(R.string.refreshing) val uri = CalendarContract.Calendars.CONTENT_URI contentResolver.registerContentObserver(uri, false, calDAVSyncObserver) diff --git a/app/src/main/res/menu/menu_main.xml b/app/src/main/res/menu/menu_main.xml index 617827947..2843757be 100644 --- a/app/src/main/res/menu/menu_main.xml +++ b/app/src/main/res/menu/menu_main.xml @@ -17,9 +17,9 @@ android:title="@string/filter" app:showAsAction="ifRoom"/> Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index ac9ee8eab..197fe464d 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -196,7 +196,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index c94865bea..ad19eec0b 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -196,7 +196,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-hi-rIN/strings.xml b/app/src/main/res/values-hi-rIN/strings.xml index 1ace08e32..8abc52b7f 100644 --- a/app/src/main/res/values-hi-rIN/strings.xml +++ b/app/src/main/res/values-hi-rIN/strings.xml @@ -196,7 +196,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 5f974822c..15024f373 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -196,7 +196,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index ac0adb8a1..82719ad16 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -196,7 +196,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-iw/strings.xml b/app/src/main/res/values-iw/strings.xml index 5757653e0..354e9866d 100644 --- a/app/src/main/res/values-iw/strings.xml +++ b/app/src/main/res/values-iw/strings.xml @@ -196,7 +196,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 76bcc42ba..efada712f 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -196,7 +196,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 3f27ddf57..835000a43 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -201,7 +201,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 1f5cfb83e..e9666ce7b 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -196,7 +196,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 28cb50aec..f8a7e4391 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -196,7 +196,7 @@ Selecione os calendários a sincronizar Gerir calendários sincronizados Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 58a5644f7..4416301c3 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -210,7 +210,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index de89fb3a1..626c9ea21 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -203,7 +203,7 @@ Zvoľte kalendáre pre synchronizáciu Spravovať synchronizované kalendáre Uložiť iba lokálne - Obnoviť CalDAV účty + Obnoviť CalDAV kalendáre Obnovuje sa… Obnovovanie ukončené diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index cea00a05c..bc6872992 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -196,7 +196,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index b7c74cea5..f9912840e 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -196,7 +196,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c8388baa9..71750727f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -196,7 +196,7 @@ Select calendars to sync Manage synced calendars Store locally only - Refresh CalDAV accounts + Refresh CalDAV calendars Refreshing… Refreshing complete