mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-15 15:02:49 +01:00
rename self hosted to SyncYomi
This commit is contained in:
parent
84eb68e1ba
commit
bb89e9f1f5
@ -46,7 +46,7 @@ object SettingsSyncScreen : SearchableSettings {
|
||||
title = stringResource(R.string.pref_sync_service),
|
||||
entries = mapOf(
|
||||
0 to stringResource(R.string.off),
|
||||
1 to stringResource(R.string.self_host),
|
||||
1 to stringResource(R.string.syncyomi),
|
||||
),
|
||||
onValueChanged = { true },
|
||||
),
|
||||
|
@ -49,7 +49,7 @@ class SyncManager(
|
||||
|
||||
enum class SyncService(val value: Int) {
|
||||
NONE(0),
|
||||
SELF_HOSTED(1),
|
||||
SYNCYOMI(1),
|
||||
;
|
||||
|
||||
companion object {
|
||||
@ -95,7 +95,7 @@ class SyncManager(
|
||||
|
||||
// Handle sync based on the selected service
|
||||
val syncService = when (val syncService = SyncService.fromInt(syncPreferences.syncService().get())) {
|
||||
SyncService.SELF_HOSTED -> {
|
||||
SyncService.SYNCYOMI -> {
|
||||
SyncYomiSyncService(
|
||||
context,
|
||||
json,
|
||||
|
@ -547,7 +547,7 @@
|
||||
<string name="pref_sync_service_summ">Select the service to sync your library with</string>
|
||||
<string name="pref_sync_service_category">Automatic Synchronization</string>
|
||||
<string name="pref_sync_interval">Synchronization frequency</string>
|
||||
<string name="self_host">Self-hosted (SyncYomi)</string>
|
||||
<string name="syncyomi">SyncYomi</string>
|
||||
<string name="sync_completed_message">Done in %1$s</string>
|
||||
<string name="last_synchronization">Last Synchronization</string>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user