fix(kobo-sync): use KoboSpan for progress sync (#253)

This commit is contained in:
Alex
2026-04-23 13:36:15 +01:00
committed by GitHub
parent bfca35b03c
commit f21cf1aee9
60 changed files with 2770 additions and 161 deletions
@@ -60,7 +60,9 @@ export interface Book extends FileInfo {
}
export interface EpubProgress {
cfi: string;
cfi?: string | null;
href?: string;
contentSourceProgressPercent?: number | null;
percentage: number;
}
@@ -74,6 +74,7 @@ import {ViewEvent} from './core/view-manager.service';
})
export class EbookReaderComponent implements OnInit {
private readonly destroyRef = inject(DestroyRef);
private static readonly MAX_CHAPTER_PROGRESS_PERCENT = 99.9;
private loaderService = inject(ReaderLoaderService);
private styleService = inject(ReaderStyleService);
private bookService = inject(BookService);
@@ -101,6 +102,7 @@ export class EbookReaderComponent implements OnInit {
private visibilityManager!: ReaderHeaderFooterVisibilityManager;
private relocateTimeout?: ReturnType<typeof setTimeout>;
private sectionFractionsTimeout?: ReturnType<typeof setTimeout>;
private pendingInitialChapterRestore: { href: string; contentSourceProgressPercent: number } | null = null;
isLoading = signal(true);
showQuickSettings = signal(false);
@@ -251,6 +253,8 @@ export class EbookReaderComponent implements OnInit {
this.hasLoadedOnce = true;
if (book.epubProgress?.cfi) {
return this.viewManager.goTo(book.epubProgress.cfi);
} else if (book.epubProgress?.href) {
return this.viewManager.goTo(book.epubProgress.href);
} else if (book.epubProgress?.percentage && book.epubProgress.percentage > 0) {
return this.viewManager.goToFraction(book.epubProgress.percentage / 100);
} else {
@@ -287,7 +291,6 @@ export class EbookReaderComponent implements OnInit {
this.viewManager.createView(container);
return of(undefined);
}
private loadBookBlob(): Observable<void> {
return this.bookFileService.getFileContent(this.bookId, this.altBookType).pipe(
switchMap(fileBlob => {
@@ -309,6 +312,14 @@ export class EbookReaderComponent implements OnInit {
this.updateSectionFractions();
break;
case 'relocate':
if (this.handlePendingInitialChapterRestore(event.detail)) {
if (this.sectionFractionsTimeout) clearTimeout(this.sectionFractionsTimeout);
this.sectionFractionsTimeout = setTimeout(() => {
this.updateSectionFractions();
}, 500);
break;
}
if (this.relocateTimeout) clearTimeout(this.relocateTimeout);
this.relocateTimeout = setTimeout(() => {
this.progressService.handleRelocateEvent(event.detail);
@@ -382,6 +393,98 @@ export class EbookReaderComponent implements OnInit {
this.sectionFractions.set(this.viewManager.getSectionFractions());
}
private restoreSavedPosition(book: Book): Observable<void> {
const progress = book.epubProgress;
if (progress?.cfi) {
return this.viewManager.goTo(progress.cfi);
}
if (progress?.href) {
const chapterProgress = progress.contentSourceProgressPercent;
if (typeof chapterProgress === 'number' && Number.isFinite(chapterProgress) && chapterProgress > 0) {
this.pendingInitialChapterRestore = {
href: this.normalizeHref(progress.href),
contentSourceProgressPercent: chapterProgress
};
} else {
this.pendingInitialChapterRestore = null;
}
return this.viewManager.goTo(progress.href);
}
this.pendingInitialChapterRestore = null;
if (progress?.percentage && progress.percentage > 0) {
return this.viewManager.goToFraction(progress.percentage / 100);
}
return this.viewManager.goTo(0);
}
private handlePendingInitialChapterRestore(detail: RelocateProgressData): boolean {
if (!this.pendingInitialChapterRestore) {
return false;
}
const currentHref = this.normalizeHref(detail.pageItem?.href ?? detail.tocItem?.href ?? null);
if (!currentHref || !this.hrefsMatch(currentHref, this.pendingInitialChapterRestore.href)) {
return false;
}
const targetFraction = this.resolveChapterFraction(
detail.section?.current,
this.pendingInitialChapterRestore.contentSourceProgressPercent
);
if (targetFraction === null) {
return false;
}
if (typeof detail.fraction === 'number' && Math.abs(detail.fraction - targetFraction) < 0.0001) {
this.pendingInitialChapterRestore = null;
return false;
}
this.pendingInitialChapterRestore = null;
this.viewManager.goToFraction(targetFraction)
.pipe(takeUntilDestroyed(this.destroyRef))
.subscribe();
return true;
}
private resolveChapterFraction(sectionIndex: number | undefined, chapterProgressPercent: number): number | null {
if (sectionIndex === undefined) {
return null;
}
const sectionFractions = this.viewManager.getSectionFractions();
const start = sectionFractions[sectionIndex];
const end = sectionFractions[sectionIndex + 1];
if (start === undefined || end === undefined || end <= start) {
return null;
}
const normalizedProgress = Math.min(
Math.max(chapterProgressPercent, 0),
EbookReaderComponent.MAX_CHAPTER_PROGRESS_PERCENT
) / 100;
return start + ((end - start) * normalizedProgress);
}
private normalizeHref(href: string | null | undefined): string {
return (href ?? '').split('#')[0].replace(/^(\.\/|\/)+/, '');
}
private hrefsMatch(leftHref: string, rightHref: string): boolean {
return leftHref === rightHref
|| leftHref.endsWith(`/${rightHref}`)
|| rightHref.endsWith(`/${leftHref}`);
}
private updateBookmarkIndicator(): void {
const currentCfi = this.progressService.currentCfi;
const isBookmarked = currentCfi
@@ -60,6 +60,16 @@
<br>
<strong>{{ t('kobo.twoWaySyncNote') }}</strong>
</p>
@if (syncForm.controls.twoWayProgressSync.value && !koboSettings.convertToKepub) {
<p class="setting-warning" role="status" aria-live="polite" aria-atomic="true">
<i class="pi pi-exclamation-triangle" aria-hidden="true"></i>
@if (isAdmin) {
{{ t('kobo.twoWaySyncKepubWarningAdmin') }}
} @else {
{{ t('kobo.twoWaySyncKepubWarning') }}
}
</p>
}
</div>
</div>
}
@@ -118,6 +118,12 @@
line-height: 1.5;
margin: 0;
}
.setting-warning {
@include settings.settings-warning-notice;
margin-top: 0.75rem;
}
}
.setting-control {
@@ -91,10 +91,10 @@ describe('KoboSyncSettingsComponent', () => {
const component = fixture.componentInstance;
TestBed.flushEffects();
expect(component.koboSettings.convertToKepub).toBe(false);
expect(component.koboSettings.convertToKepub).toBe(true);
appSettingsState.set(buildAppSettings({
convertToKepub: true,
convertToKepub: false,
conversionLimitInMb: 42,
convertCbxToEpub: true,
conversionImageCompressionPercentage: 73,
@@ -106,7 +106,7 @@ describe('KoboSyncSettingsComponent', () => {
TestBed.flushEffects();
expect(component.koboSettings).toEqual({
convertToKepub: true,
convertToKepub: false,
conversionLimitInMb: 42,
convertCbxToEpub: true,
conversionImageCompressionPercentage: 73,
@@ -58,7 +58,7 @@ export class KoboSyncSettingsComponent implements OnInit {
});
koboSettings: KoboSettings = {
convertToKepub: false,
convertToKepub: true,
conversionLimitInMb: 100,
convertCbxToEpub: false,
conversionImageCompressionPercentage: 85,
@@ -110,6 +110,16 @@ export class KoboSyncSettingsComponent implements OnInit {
protected hasHydratedKoboAdmin = false;
private readonly syncKepubSettingEffect = effect(() => {
const user = this.userService.currentUser();
const settings = this.appSettingsService.appSettings();
if (!user?.permissions.canSyncKobo || !settings) {
return;
}
this.koboSettings.convertToKepub = settings.koboSettings?.convertToKepub ?? true;
});
private readonly syncAdminSettingsEffect = effect(() => {
const user = this.userService.currentUser();
const settings = this.appSettingsService.appSettings();
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "",
"twoWaySyncDesc": "",
"twoWaySyncNote": "",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "",
"twoWaySyncDisabled": "",
"autoAddEnabled": "",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "Bidirektionale Lesefortschrittssynchronisierung",
"twoWaySyncDesc": "Aktivieren Sie die bidirektionale Synchronisierung zwischen Grimmorys Web-Reader und Ihrem Kobo-Gerät. Der Lesefortschritt auf beiden Plattformen wird gegenseitig übernommen.",
"twoWaySyncNote": "Hinweis: Aufgrund unterschiedlicher Positionsformate ist die Synchronisierungsgenauigkeit bestmöglich. In den meisten Fällen ist der Fortschritt auf Kapitelebene genau.",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "Bidirektionale Fortschrittssynchronisierung aktiviert",
"twoWaySyncDisabled": "Bidirektionale Fortschrittssynchronisierung deaktiviert",
"autoAddEnabled": "Neue Bücher werden automatisch zum Kobo-Regal hinzugefügt",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "Two-Way Reading Progress Sync",
"twoWaySyncDesc": "Enable bidirectional sync between Grimmory's web reader and your Kobo device. Reading progress made on either platform will be reflected on the other.",
"twoWaySyncNote": "Note: Due to different position formats, sync accuracy is best-effort. In most cases progress will be accurate to the chapter level.",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "Two-way progress sync enabled",
"twoWaySyncDisabled": "Two-way progress sync disabled",
"autoAddEnabled": "New books will be automatically added to Kobo shelf",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "Sincronización bidireccional del progreso de lectura",
"twoWaySyncDesc": "Habilita la sincronización bidireccional entre el lector web de Grimmory y tu dispositivo Kobo. El progreso de lectura realizado en cualquiera de las plataformas se reflejará en la otra.",
"twoWaySyncNote": "Nota: Debido a los diferentes formatos de posición, la precisión de la sincronización es aproximada. En la mayoría de los casos, el progreso será preciso a nivel de capítulo.",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "Sincronización bidireccional de progreso habilitada",
"twoWaySyncDisabled": "Sincronización bidireccional de progreso deshabilitada",
"autoAddEnabled": "Los libros nuevos se añadirán automáticamente al estante Kobo",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "Synchronisation bidirectionnelle de la progression",
"twoWaySyncDesc": "Activez la synchronisation bidirectionnelle entre le lecteur web de Grimmory et votre appareil Kobo. La progression de lecture effectuée sur l'une ou l'autre plateforme sera reflétée sur l'autre.",
"twoWaySyncNote": "Note : En raison de formats de position différents, la précision de la synchronisation est approximative. Dans la plupart des cas, la progression sera précise au niveau du chapitre.",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "Synchronisation bidirectionnelle de la progression activée",
"twoWaySyncDisabled": "Synchronisation bidirectionnelle de la progression désactivée",
"autoAddEnabled": "Les nouveaux livres seront automatiquement ajoutés à l'étagère Kobo",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "Dvosmjerna sinkronizacija napretka čitanja",
"twoWaySyncDesc": "Omogući dvosmjernu sinkronizaciju između Grimmory web čitača i vašeg Kobo uređaja. Napredak čitanja na bilo kojoj platformi odrazit će se na drugoj.",
"twoWaySyncNote": "Napomena: Zbog različitih formata pozicije, točnost sinkronizacije je na razini najboljeg napora. U većini slučajeva napredak će biti točan na razini poglavlja.",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "Dvosmjerna sinkronizacija napretka omogućena",
"twoWaySyncDisabled": "Dvosmjerna sinkronizacija napretka onemogućena",
"autoAddEnabled": "Nove knjige će se automatski dodavati na Kobo policu",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "",
"twoWaySyncDesc": "",
"twoWaySyncNote": "",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "",
"twoWaySyncDisabled": "",
"autoAddEnabled": "",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "",
"twoWaySyncDesc": "",
"twoWaySyncNote": "",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "",
"twoWaySyncDisabled": "",
"autoAddEnabled": "",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "Sincronizzazione bidirezionale progresso di lettura",
"twoWaySyncDesc": "Abilita la sincronizzazione bidirezionale tra il lettore web di Grimmory e il tuo dispositivo Kobo. Il progresso di lettura effettuato su una delle piattaforme verrà riflesso sull'altra.",
"twoWaySyncNote": "Nota: A causa dei diversi formati di posizione, la precisione della sincronizzazione è basata sul miglior risultato possibile. Nella maggior parte dei casi il progresso sarà preciso a livello di capitolo.",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "Sincronizzazione bidirezionale del progresso abilitata",
"twoWaySyncDisabled": "Sincronizzazione bidirezionale del progresso disabilitata",
"autoAddEnabled": "I nuovi libri verranno automaticamente aggiunti allo scaffale Kobo",
+4 -2
View File
@@ -62,8 +62,8 @@
"adminSettings": "管理者設定",
"adminSettingsDesc": "このサーバーのすべてのユーザーに影響する高度なKobo同期設定を構成します。",
"convertKepub": "KEPUBに変換",
"convertKepubPros": "KEPUB形式により、より良いタイポグラフィ、読書統計、高速なページめくりなどのKobo拡張機能が有効になります。",
"convertKepubCons": "変換には追加の処理時間がかかり、複雑なレイアウトでは失敗する場合があります。以下のサイズ制限を超える本は自動的に変換をスキップします。",
"convertKepubPros": "KEPUB format enables enhanced Kobo features like better typography, reading stats, and faster page turns. Required for reading progress sync to work.",
"convertKepubCons": "Conversion adds processing time during download. Books over the size limit below will skip conversion and sync as regular EPUB without progress tracking.",
"conversionSizeLimit": "変換サイズ制限: {{value}} MB",
"conversionSizeLimitDesc": "大きなファイル(100MB以上)は変換タイムアウトやサーバー負荷を引き起こす可能性があります。制限を低くすると同期が高速になりますが、大きな本の変換がスキップされる場合があります。",
"conversionSizeLimitRec": "ほとんどのライブラリでは50~100MB。非常に大きな本はこの設定に関係なく通常のEPUBとして同期されます。",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "双方向読書進捗同期",
"twoWaySyncDesc": "GrimmoryのWebリーダーとKoboデバイス間の双方向同期を有効にします。どちらのプラットフォームでの読書進捗も、もう一方に反映されます。",
"twoWaySyncNote": "注意:位置形式が異なるため、同期精度はベストエフォートです。ほとんどの場合、チャプターレベルで正確になります。",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "双方向進捗同期が有効になりました",
"twoWaySyncDisabled": "双方向進捗同期が無効になりました",
"autoAddEnabled": "新しい本はKoboシェルフに自動的に追加されます",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "",
"twoWaySyncDesc": "",
"twoWaySyncNote": "",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "",
"twoWaySyncDisabled": "",
"autoAddEnabled": "",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "Dwukierunkowa synchronizacja postępu czytania",
"twoWaySyncDesc": "Włącz dwukierunkową synchronizację między czytnikiem internetowym Grimmory a urządzeniem Kobo. Postęp czytania z jednej platformy będzie widoczny na drugiej.",
"twoWaySyncNote": "Uwaga: Ze względu na różne formaty pozycji, dokładność synchronizacji jest w najlepszym przypadku przybliżona. W większości przypadków postęp będzie dokładny na poziomie rozdziałów.",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "Dwukierunkowa synchronizacja postępu włączona",
"twoWaySyncDisabled": "Dwukierunkowa synchronizacja postępu wyłączona",
"autoAddEnabled": "Nowe książki będą automatycznie dodawane do półki Kobo",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "Sincronização Bidirecional de Progresso de Leitura",
"twoWaySyncDesc": "Ative a sincronização bidirecional entre o leitor web do Grimmory e o seu dispositivo Kobo. O progresso de leitura feito em qualquer plataforma será refletido na outra.",
"twoWaySyncNote": "Nota: Devido a formatos de posição diferentes, a precisão da sincronização é aproximada. Na maioria dos casos, o progresso será preciso ao nível de capítulo.",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "Sincronização bidirecional de progresso ativada",
"twoWaySyncDisabled": "Sincronização bidirecional de progresso desativada",
"autoAddEnabled": "Novos livros serão adicionados automaticamente à prateleira Kobo",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "Двунаправленная синхронизация прогресса чтения",
"twoWaySyncDesc": "Включить двунаправленную синхронизацию между веб-читалкой Grimmory и Вашим устройством Kobo. Прогресс чтения на любой из платформ будет отражаться на другой.",
"twoWaySyncNote": "Примечание: из-за различий форматов позиции точность синхронизации обеспечивается на уровне «лучших усилий». В большинстве случаев прогресс будет точен на уровне главы.",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "Двунаправленная синхронизация прогресса включена",
"twoWaySyncDisabled": "Двунаправленная синхронизация прогресса отключена",
"autoAddEnabled": "Новые книги будут автоматически добавляться на полку Kobo",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "",
"twoWaySyncDesc": "",
"twoWaySyncNote": "",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "",
"twoWaySyncDisabled": "",
"autoAddEnabled": "",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "Dvosmerna sinhronizacija napredka branja",
"twoWaySyncDesc": "Omogoči dvosmerno sinhronizacijo med spletnim bralnikom Grimmory in tvojo napravo Kobo. Napredek na kateri koli platformi se bo odrazil na drugi.",
"twoWaySyncNote": "Opomba: Zaradi različnih formatov lokacij je natančnost sinhronizacije po principu \"najboljšega truda\". V večini primerov bo napredek natančen na nivoju poglavja.",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "Dvosmerna sinhronizacija napredka omogočena",
"twoWaySyncDisabled": "Dvosmerna sinhronizacija napredka onemogočena",
"autoAddEnabled": "Nove knjige bodo samodejno dodane na polico Kobo",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "Dubbelriktad läsframstegssynk",
"twoWaySyncDesc": "Aktivera dubbelriktad synk mellan Grimmorys webbläsare och din Kobo-enhet. Läsframsteg gjorda på endera plattformen reflekteras på den andra.",
"twoWaySyncNote": "Obs: På grund av olika positionsformat är synknoggrannheten bäst-ansträngning. I de flesta fall är framstegen korrekta på kapitelnivå.",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "Dubbelriktad framstegssynk aktiverad",
"twoWaySyncDisabled": "Dubbelriktad framstegssynk inaktiverad",
"autoAddEnabled": "Nya böcker läggs automatiskt till på Kobo-hyllan",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "Двостороння синхронізація прогресу читання",
"twoWaySyncDesc": "Увімкніть двосторонню синхронізацію між веб-рідером Grimmory та вашим пристроєм Kobo. Прогрес читання, зроблений на будь-якій платформі, буде відображений на іншій.",
"twoWaySyncNote": "Примітка: через різні формати позицій точність синхронізації є найкращим можливим наближенням. У більшості випадків прогрес буде точним до рівня розділу.",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "Двосторонню синхронізацію прогресу увімкнено",
"twoWaySyncDisabled": "Двосторонню синхронізацію прогресу вимкнено",
"autoAddEnabled": "Нові книги автоматично додаватимуться на полицю Kobo",
@@ -97,6 +97,8 @@
"twoWaySyncLabel": "双向阅读进度同步",
"twoWaySyncDesc": "启用 Grimmory 网页阅读器与 Kobo 设备之间的双向同步。在任一平台上的阅读进度都将反映到另一个平台。",
"twoWaySyncNote": "注意:由于位置格式不同,同步精度是尽力而为的。大多数情况下进度将精确到章节级别。",
"twoWaySyncKepubWarning": "KEPUB conversion is currently disabled. Two-way progress sync requires KEPUB conversion to be enabled by an administrator.",
"twoWaySyncKepubWarningAdmin": "KEPUB conversion is currently disabled. Enable it in the Administrator Settings below for two-way progress sync to work.",
"twoWaySyncEnabled": "双向进度同步已启用",
"twoWaySyncDisabled": "双向进度同步已禁用",
"autoAddEnabled": "新图书将自动添加到 Kobo 书架",