rename refresh_caldav_accounts to refresh_caldav_calendars
This commit is contained in:
parent
345b9a2efa
commit
2c36d51536
18 changed files with 21 additions and 21 deletions
|
@ -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)
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
android:title="@string/filter"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/refresh_caldav_accounts"
|
||||
android:id="@+id/refresh_caldav_calendars"
|
||||
android:icon="@drawable/ic_repeat"
|
||||
android:title="@string/refresh_caldav_accounts"
|
||||
android:title="@string/refresh_caldav_calendars"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/add_holidays"
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -201,7 +201,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Selecione os calendários a sincronizar</string>
|
||||
<string name="manage_synced_calendars">Gerir calendários sincronizados</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -210,7 +210,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@
|
|||
<string name="select_caldav_calendars">Zvoľte kalendáre pre synchronizáciu</string>
|
||||
<string name="manage_synced_calendars">Spravovať synchronizované kalendáre</string>
|
||||
<string name="store_locally_only">Uložiť iba lokálne</string>
|
||||
<string name="refresh_caldav_accounts">Obnoviť CalDAV účty</string>
|
||||
<string name="refresh_caldav_calendars">Obnoviť CalDAV kalendáre</string>
|
||||
<string name="refreshing">Obnovuje sa…</string>
|
||||
<string name="refreshing_complete">Obnovovanie ukončené</string>
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
<string name="select_caldav_calendars">Select calendars to sync</string>
|
||||
<string name="manage_synced_calendars">Manage synced calendars</string>
|
||||
<string name="store_locally_only">Store locally only</string>
|
||||
<string name="refresh_caldav_accounts">Refresh CalDAV accounts</string>
|
||||
<string name="refresh_caldav_calendars">Refresh CalDAV calendars</string>
|
||||
<string name="refreshing">Refreshing…</string>
|
||||
<string name="refreshing_complete">Refreshing complete</string>
|
||||
|
||||
|
|
Loading…
Reference in a new issue