1
0
mirror of https://github.com/etesync/android synced 2024-12-23 15:18:14 +00:00

Rename queryCapabilites to prepareFetch

This commit is contained in:
Tom Hacohen 2019-03-21 14:50:49 +00:00
parent 44c516a868
commit 0a2a3b2d99
4 changed files with 6 additions and 7 deletions

View File

@ -124,9 +124,9 @@ constructor(protected val context: Context, protected val account: Account, prot
if (Thread.interrupted())
throw InterruptedException()
syncPhase = R.string.sync_phase_query_capabilities
syncPhase = R.string.sync_phase_prepare_fetch
Logger.log.info("Sync phase: " + context.getString(syncPhase))
queryCapabilities()
prepareFetch()
do {
if (Thread.interrupted())
@ -315,8 +315,7 @@ constructor(protected val context: Context, protected val account: Account, prot
}
@Throws(IOException::class, CalendarStorageException::class, ContactsStorageException::class)
protected fun queryCapabilities() {
// FIXME: Needs to rename this function
protected fun prepareFetch() {
remoteCTag = journalEntity.getLastUid(data)
}

View File

@ -189,7 +189,7 @@
<string name="sync_error_local_storage">Datenbankfehler beim %s</string>
<string name="sync_phase_prepare">Synchronisation wird vorbereitet</string>
<string name="sync_phase_journals">Synchronisiere Journale</string>
<string name="sync_phase_query_capabilities">Frage Ressourcen ab</string>
<string name="sync_phase_prepare_fetch">Frage Ressourcen ab</string>
<string name="sync_phase_prepare_local">Bereite lokale Einträge vorbereitet</string>
<string name="sync_phase_create_local_entries">Erstelle lokale Einträge</string>
<string name="sync_phase_fetch_entries">Rufe ferne Einträge ab</string>

View File

@ -286,7 +286,7 @@
<string name="sync_error_local_storage">Błąd bazy danych podczas %s</string>
<string name="sync_phase_prepare">przygotowywanie synchronizacji</string>
<string name="sync_phase_journals">synchronizacja dzienników</string>
<string name="sync_phase_query_capabilities">odpytywanie możliwości</string>
<string name="sync_phase_prepare_fetch">odpytywanie możliwości</string>
<string name="sync_phase_prepare_local">przygotowywanie lokalnych wejść</string>
<string name="sync_phase_create_local_entries">tworzenie lokalnych wejść</string>
<string name="sync_phase_fetch_entries">otrzymywanie zdalnych wejść</string>

View File

@ -339,7 +339,7 @@
<string name="sync_error_journal_readonly">Journal is read only</string>
<string name="sync_phase_prepare">preparing synchronization</string>
<string name="sync_phase_journals">syncronizing journals</string>
<string name="sync_phase_query_capabilities">querying capabilities</string>
<string name="sync_phase_prepare_fetch">preparing for fetch</string>
<string name="sync_phase_prepare_local">preparing local entries</string>
<string name="sync_phase_create_local_entries">creating local entries</string>
<string name="sync_phase_fetch_entries">fetching remote entries</string>