fix: fixed all progress at the last page of the book, closes #3383 (#3391)

This commit is contained in:
Huang Xin
2026-02-26 21:01:42 +08:00
committed by GitHub
parent 51468862a2
commit 6cb4278b98
31 changed files with 65 additions and 62 deletions
@@ -619,7 +619,6 @@
"Device": "الجهاز",
"E-Ink Mode": "وضع الحبر الإلكتروني",
"Highlight Colors": "ألوان التمييز",
"Auto Screen Brightness": "سطوع الشاشة التلقائي",
"Pagination": "التقسيم إلى صفحات",
"Disable Double Tap": "تعطيل النقر المزدوج",
"Tap to Paginate": "اضغط للتقسيم إلى صفحات",
@@ -1104,5 +1103,6 @@
"Push Highlights": "إرسال التمييزات",
"Highlights synced to Readwise": "تمت مزامنة التمييزات مع Readwise",
"Readwise sync failed: no internet connection": "فشلت مزامنة Readwise: لا يوجد اتصال بالإنترنت",
"Readwise sync failed: {{error}}": "فشلت مزامنة Readwise: {{error}}"
"Readwise sync failed: {{error}}": "فشلت مزامنة Readwise: {{error}}",
"System Screen Brightness": "سطوع شاشة النظام"
}
@@ -603,7 +603,6 @@
"Device": "যন্ত্র",
"E-Ink Mode": "ই-ইঙ্ক মোড",
"Highlight Colors": "হাইলাইট রঙ",
"Auto Screen Brightness": "স্বয়ংক্রিয় স্ক্রিন উজ্জ্বলতা",
"Pagination": "পৃষ্ঠা বিন্যাস",
"Disable Double Tap": "ডাবল ট্যাপ অক্ষম করুন",
"Tap to Paginate": "পৃষ্ঠায় যেতে ট্যাপ করুন",
@@ -1056,5 +1055,6 @@
"Push Highlights": "হাইলাইট পাঠান",
"Highlights synced to Readwise": "হাইলাইটগুলি Readwise এ সিঙ্ক করা হয়েছে",
"Readwise sync failed: no internet connection": "Readwise সিঙ্ক ব্যর্থ হয়েছে: ইন্টারনেট সংযোগ নেই",
"Readwise sync failed: {{error}}": "Readwise সিঙ্ক ব্যর্থ হয়েছে: {{error}}"
"Readwise sync failed: {{error}}": "Readwise সিঙ্ক ব্যর্থ হয়েছে: {{error}}",
"System Screen Brightness": "সিস্টেম স্ক্রিন উজ্জ্বলতা"
}
@@ -599,7 +599,6 @@
"Device": "རྐྱབ་སྐོར",
"E-Ink Mode": "ཡིག་སྒྱུར་སྤོ་བ",
"Highlight Colors": "མདོག་ཚད་ཀྱི་བསྡུར་བ།",
"Auto Screen Brightness": "རྒྱབ་སྐོར་གྱི་འོད་ཟེར་རང་འགུལ།",
"Pagination": "ཤོག་གདོང་།",
"Disable Double Tap": "བརྒྱབ་གདོང་གཉིས་མ་འགྱོད།",
"Tap to Paginate": "ཤོག་གདོང་ལ་ཐོག་འགྲོ།",
@@ -1044,5 +1043,6 @@
"Push Highlights": "བཀོད་མཆན་སྐྱེལ་བ།",
"Highlights synced to Readwise": "བཀོད་མཆན་ Readwise ལ་མཉམ་བྱུང་བྱས་ཟིན།",
"Readwise sync failed: no internet connection": "Readwise མཉམ་བྱུང་མ་ཐུབ། དྲ་རྒྱའི་མཐུད་ལམ་མི་འདུག",
"Readwise sync failed: {{error}}": "Readwise མཉམ་བྱུང་མ་ཐུབ། {{error}}"
"Readwise sync failed: {{error}}": "Readwise མཉམ་བྱུང་མ་ཐུབ། {{error}}",
"System Screen Brightness": "མ་ལག་ཤེལ་སྒོའི་གསལ་ཚད།"
}
@@ -603,7 +603,6 @@
"Device": "Gerät",
"E-Ink Mode": "E-Ink-Modus",
"Highlight Colors": "Hervorhebungsfarben",
"Auto Screen Brightness": "Automatische Bildschirmhelligkeit",
"Pagination": "Seitenumbruch",
"Disable Double Tap": "Doppeltippen deaktivieren",
"Tap to Paginate": "Tippen zum Blättern",
@@ -1056,5 +1055,6 @@
"Push Highlights": "Highlights übertragen",
"Highlights synced to Readwise": "Highlights mit Readwise synchronisiert",
"Readwise sync failed: no internet connection": "Readwise-Synchronisierung fehlgeschlagen: Keine Internetverbindung",
"Readwise sync failed: {{error}}": "Readwise-Synchronisierung fehlgeschlagen: {{error}}"
"Readwise sync failed: {{error}}": "Readwise-Synchronisierung fehlgeschlagen: {{error}}",
"System Screen Brightness": "System-Bildschirmhelligkeit"
}
@@ -603,7 +603,6 @@
"Device": "Συσκευή",
"E-Ink Mode": "Λειτουργία E-Ink",
"Highlight Colors": "Χρώματα επισήμανσης",
"Auto Screen Brightness": "Αυτόματη φωτεινότητα οθόνης",
"Pagination": "Σελιδοποίηση",
"Disable Double Tap": "Απενεργοποίηση διπλού ταπ",
"Tap to Paginate": "Ταπ για σελιδοποίηση",
@@ -1056,5 +1055,6 @@
"Push Highlights": "Προώθηση επισημάνσεων",
"Highlights synced to Readwise": "Οι επισημάνσεις συγχρονίστηκαν στο Readwise",
"Readwise sync failed: no internet connection": "Ο συγχρονισμός Readwise απέτυχε: δεν υπάρχει σύνδεση στο διαδίκτυο",
"Readwise sync failed: {{error}}": "Ο συγχρονισμός Readwise απέτυχε: {{error}}"
"Readwise sync failed: {{error}}": "Ο συγχρονισμός Readwise απέτυχε: {{error}}",
"System Screen Brightness": "Φωτεινότητα οθόνης συστήματος"
}
@@ -607,7 +607,6 @@
"Device": "Dispositivo",
"E-Ink Mode": "Modo E-Ink",
"Highlight Colors": "Colores de resaltado",
"Auto Screen Brightness": "Brillo automático de pantalla",
"Pagination": "Paginación",
"Disable Double Tap": "Deshabilitar Doble Toque",
"Tap to Paginate": "Tocar para Paginación",
@@ -1068,5 +1067,6 @@
"Push Highlights": "Enviar resaltados",
"Highlights synced to Readwise": "Resaltados sincronizados con Readwise",
"Readwise sync failed: no internet connection": "Error en la sincronización con Readwise: sin conexión a internet",
"Readwise sync failed: {{error}}": "Error en la sincronización con Readwise: {{error}}"
"Readwise sync failed: {{error}}": "Error en la sincronización con Readwise: {{error}}",
"System Screen Brightness": "Brillo de pantalla del sistema"
}
@@ -603,7 +603,6 @@
"Device": "دستگاه",
"E-Ink Mode": "حالت E-Ink",
"Highlight Colors": "رنگ‌های هایلایت",
"Auto Screen Brightness": "روشنایی خودکار صفحه",
"Pagination": "صفحه‌بندی",
"Disable Double Tap": "غیرفعال کردن کلیک دوبل",
"Tap to Paginate": "ضربه برای صفحه‌بندی",
@@ -1056,5 +1055,6 @@
"Push Highlights": "ارسال هایلایت‌ها",
"Highlights synced to Readwise": "هایلایت‌ها با Readwise همگام‌سازی شدند",
"Readwise sync failed: no internet connection": "همگام‌سازی Readwise ناموفق بود: اتصال اینترنت برقرار نیست",
"Readwise sync failed: {{error}}": "همگام‌سازی Readwise ناموفق بود: {{error}}"
"Readwise sync failed: {{error}}": "همگام‌سازی Readwise ناموفق بود: {{error}}",
"System Screen Brightness": "روشنایی صفحه نمایش سیستم"
}
@@ -607,7 +607,6 @@
"Device": "Appareil",
"E-Ink Mode": "Mode E-Ink",
"Highlight Colors": "Couleurs de Surlignage",
"Auto Screen Brightness": "Luminosité Automatique de l'Écran",
"Pagination": "Pagination",
"Disable Double Tap": "Désactiver le Double Tap",
"Tap to Paginate": "Tapoter pour Paginater",
@@ -1068,5 +1067,6 @@
"Push Highlights": "Pousser les surlignages",
"Highlights synced to Readwise": "Surlignages synchronisés avec Readwise",
"Readwise sync failed: no internet connection": "Échec de la synchronisation Readwise : pas de connexion internet",
"Readwise sync failed: {{error}}": "Échec de la synchronisation Readwise : {{error}}"
"Readwise sync failed: {{error}}": "Échec de la synchronisation Readwise : {{error}}",
"System Screen Brightness": "Luminosité de l'écran système"
}
@@ -878,7 +878,6 @@
"Device": "מכשיר",
"E-Ink Mode": "מצב E-Ink",
"Color E-Ink Mode": "מצב E-Ink צבעוני",
"Auto Screen Brightness": "בהירות מסך אוטומטית",
"Security": "אבטחה",
"Allow JavaScript": "אפשר JavaScript",
"Enable only if you trust the file.": "הפעל רק אם אתה בוטח בקובץ.",
@@ -1068,5 +1067,6 @@
"Push Highlights": "שלח הדגשות",
"Highlights synced to Readwise": "ההדגשות סונכרנו ל-Readwise",
"Readwise sync failed: no internet connection": "סנכרון Readwise נכשל: אין חיבור לאינטרנט",
"Readwise sync failed: {{error}}": "סנכרון Readwise נכשל: {{error}}"
"Readwise sync failed: {{error}}": "סנכרון Readwise נכשל: {{error}}",
"System Screen Brightness": "בהירות מסך המערכת"
}
@@ -603,7 +603,6 @@
"Device": "डिवाइस",
"E-Ink Mode": "ई-इंक मोड",
"Highlight Colors": "हाइलाइट रंग",
"Auto Screen Brightness": "स्वचालित स्क्रीन ब्राइटनेस",
"Pagination": "पृष्ठांकन",
"Disable Double Tap": "डबल टैप अक्षम करें",
"Tap to Paginate": "पृष्ठांकन के लिए टैप करें",
@@ -1056,5 +1055,6 @@
"Push Highlights": "हाइलाइट्स भेजें",
"Highlights synced to Readwise": "हाइलाइट्स Readwise में सिंक हो गए",
"Readwise sync failed: no internet connection": "Readwise सिंक विफल रहा: कोई इंटरनेट कनेक्शन नहीं",
"Readwise sync failed: {{error}}": "Readwise सिंक विफल रहा: {{error}}"
"Readwise sync failed: {{error}}": "Readwise सिंक विफल रहा: {{error}}",
"System Screen Brightness": "सिस्टम स्क्रीन चमक"
}
@@ -599,7 +599,6 @@
"Device": "Perangkat",
"E-Ink Mode": "Mode E-Ink",
"Highlight Colors": "Warna Sorotan",
"Auto Screen Brightness": "Auto Kecerahan Layar",
"Pagination": "Paginasi",
"Disable Double Tap": "Nonaktifkan Ketuk Ganda",
"Tap to Paginate": "Ketuk untuk Paginasi",
@@ -1044,5 +1043,6 @@
"Push Highlights": "Kirim Sorotan",
"Highlights synced to Readwise": "Sorotan disinkronkan ke Readwise",
"Readwise sync failed: no internet connection": "Sinkronisasi Readwise gagal: tidak ada koneksi internet",
"Readwise sync failed: {{error}}": "Sinkronisasi Readwise gagal: {{error}}"
"Readwise sync failed: {{error}}": "Sinkronisasi Readwise gagal: {{error}}",
"System Screen Brightness": "Kecerahan Layar Sistem"
}
@@ -607,7 +607,6 @@
"Device": "Dispositivo",
"E-Ink Mode": "Modalità E-Ink",
"Highlight Colors": "Colori Evidenziazione",
"Auto Screen Brightness": "Luminosità schermo automatica",
"Pagination": "Impaginazione",
"Disable Double Tap": "Disabilita Doppio Tap",
"Tap to Paginate": "Tocca per Impaginare",
@@ -1068,5 +1067,6 @@
"Push Highlights": "Invia evidenziazioni",
"Highlights synced to Readwise": "Evidenziazioni sincronizzate su Readwise",
"Readwise sync failed: no internet connection": "Sincronizzazione Readwise fallita: nessuna connessione internet",
"Readwise sync failed: {{error}}": "Sincronizzazione Readwise fallita: {{error}}"
"Readwise sync failed: {{error}}": "Sincronizzazione Readwise fallita: {{error}}",
"System Screen Brightness": "Luminosità dello schermo del sistema"
}
@@ -599,7 +599,6 @@
"Device": "デバイス",
"E-Ink Mode": "E-Inkモード",
"Highlight Colors": "ハイライトカラー",
"Auto Screen Brightness": "自動画面の明るさ",
"Pagination": "ページネーション",
"Disable Double Tap": "ダブルタップを無効にする",
"Tap to Paginate": "タップしてページを切り替える",
@@ -1044,5 +1043,6 @@
"Push Highlights": "ハイライトをプッシュ",
"Highlights synced to Readwise": "ハイライトが Readwise に同期されました",
"Readwise sync failed: no internet connection": "Readwise 同期失敗:インターネット接続がありません",
"Readwise sync failed: {{error}}": "Readwise 同期失敗:{{error}}"
"Readwise sync failed: {{error}}": "Readwise 同期失敗:{{error}}",
"System Screen Brightness": "システムの画面の明るさ"
}
@@ -599,7 +599,6 @@
"Device": "장치",
"E-Ink Mode": "E-Ink 모드",
"Highlight Colors": "하이라이트 색상",
"Auto Screen Brightness": "자동 화면 밝기",
"Pagination": "페이지 매김",
"Disable Double Tap": "더블 탭 비활성화",
"Tap to Paginate": "탭하여 페이지 매김",
@@ -1044,5 +1043,6 @@
"Push Highlights": "하이라이트 푸시",
"Highlights synced to Readwise": "하이라이트가 Readwise에 동기화되었습니다",
"Readwise sync failed: no internet connection": "Readwise 동기화 실패: 인터넷 연결 없음",
"Readwise sync failed: {{error}}": "Readwise 동기화 실패: {{error}}"
"Readwise sync failed: {{error}}": "Readwise 동기화 실패: {{error}}",
"System Screen Brightness": "시스템 화면 밝기"
}
@@ -517,7 +517,6 @@
"Paging Animation": "Animasi Halaman",
"Device": "Peranti",
"E-Ink Mode": "Mod E-Ink",
"Auto Screen Brightness": "Kecerahan Skrin Auto",
"Security": "Keselamatan",
"Allow JavaScript": "Benarkan JavaScript",
"Enable only if you trust the file.": "Aktifkan hanya jika anda mempercayai fail.",
@@ -1044,5 +1043,6 @@
"Push Highlights": "Hantar Sorotan",
"Highlights synced to Readwise": "Sorotan disinkronkan ke Readwise",
"Readwise sync failed: no internet connection": "Penyinkronan Readwise gagal: tiada sambungan internet",
"Readwise sync failed: {{error}}": "Penyinkronan Readwise gagal: {{error}}"
"Readwise sync failed: {{error}}": "Penyinkronan Readwise gagal: {{error}}",
"System Screen Brightness": "Kecerahan Skrin Sistem"
}
@@ -603,7 +603,6 @@
"Device": "Apparaat",
"E-Ink Mode": "E-Ink Modus",
"Highlight Colors": "Markeerkleuren",
"Auto Screen Brightness": "Automatische Schermhelderheid",
"Pagination": "Paginering",
"Disable Double Tap": "Schakel Dubbel Tikken Uit",
"Tap to Paginate": "Tik om te Pagineren",
@@ -1056,5 +1055,6 @@
"Push Highlights": "Markeringen verzenden",
"Highlights synced to Readwise": "Markeringen gesynchroniseerd met Readwise",
"Readwise sync failed: no internet connection": "Readwise-synchronisatie mislukt: geen internetverbinding",
"Readwise sync failed: {{error}}": "Readwise-synchronisatie mislukt: {{error}}"
"Readwise sync failed: {{error}}": "Readwise-synchronisatie mislukt: {{error}}",
"System Screen Brightness": "Systeemhelderheid van het scherm"
}
@@ -611,7 +611,6 @@
"Device": "Urządzenie",
"E-Ink Mode": "Tryb E-Ink",
"Highlight Colors": "Kolory wyróżnień",
"Auto Screen Brightness": "Automatyczna jasność ekranu",
"Pagination": "Stronicowanie",
"Disable Double Tap": "Wyłącz podwójne dotknięcie",
"Tap to Paginate": "Dotknij, aby stronicować",
@@ -1080,5 +1079,6 @@
"Push Highlights": "Wyślij wyróżnienia",
"Highlights synced to Readwise": "Wyróżnienia zsynchronizowane z Readwise",
"Readwise sync failed: no internet connection": "Synchronizacja Readwise nie powiodła się: brak połączenia z Internetem",
"Readwise sync failed: {{error}}": "Synchronizacja Readwise nie powiodła się: {{error}}"
"Readwise sync failed: {{error}}": "Synchronizacja Readwise nie powiodła się: {{error}}",
"System Screen Brightness": "Jasność ekranu systemowego"
}
@@ -607,7 +607,6 @@
"Device": "Dispositivo",
"E-Ink Mode": "Modo E-Ink",
"Highlight Colors": "Cores de Destaque",
"Auto Screen Brightness": "Brilho Automático da Tela",
"Pagination": "Paginação",
"Disable Double Tap": "Desativar Toque Duplo",
"Tap to Paginate": "Toque para Paginar",
@@ -1068,5 +1067,6 @@
"Push Highlights": "Enviar destaques",
"Highlights synced to Readwise": "Destaques sincronizados com o Readwise",
"Readwise sync failed: no internet connection": "Sincronização com o Readwise falhou: sem conexão com a internet",
"Readwise sync failed: {{error}}": "Sincronização com o Readwise falhou: {{error}}"
"Readwise sync failed: {{error}}": "Sincronização com o Readwise falhou: {{error}}",
"System Screen Brightness": "Brilho da tela do sistema"
}
@@ -611,7 +611,6 @@
"Device": "Устройство",
"E-Ink Mode": "E-Ink режим",
"Highlight Colors": "Цвета выделения",
"Auto Screen Brightness": "Автояркость экрана",
"Pagination": "Пагинация",
"Disable Double Tap": "Отключить двойной тап",
"Tap to Paginate": "Тапните, чтобы разбить на страницы",
@@ -1080,5 +1079,6 @@
"Push Highlights": "Отправить выделения",
"Highlights synced to Readwise": "Выделения синхронизированы с Readwise",
"Readwise sync failed: no internet connection": "Синхронизация Readwise не удалась: нет интернет-соединения",
"Readwise sync failed: {{error}}": "Синхронизация Readwise не удалась: {{error}}"
"Readwise sync failed: {{error}}": "Синхронизация Readwise не удалась: {{error}}",
"System Screen Brightness": "Систেমная яркость экрана"
}
@@ -603,7 +603,6 @@
"Device": "උපකරණය",
"E-Ink Mode": "E-Ink ආකාරය",
"Highlight Colors": "ඉස්මතු වර්ණ",
"Auto Screen Brightness": "ස්වයංක්‍රීය තිර දිදුලනුම",
"Pagination": "පිටුගත කිරීම",
"Disable Double Tap": "දෙවරක් ටැප් කිරීම අබල කරන්න",
"Tap to Paginate": "පිටුගත කිරීමට ටැප් කරන්න",
@@ -1056,5 +1055,6 @@
"Push Highlights": "විශේෂ අවස්ථා යොමු කරන්න",
"Highlights synced to Readwise": "විශේෂ අවස්ථා Readwise සමඟ සමමුහුර්ත විය",
"Readwise sync failed: no internet connection": "Readwise සමමුහුර්තකරණය අසාර්ථක විය: අන්තර්ජාල සම්බන්ධතාවයක් නොමැත",
"Readwise sync failed: {{error}}": "Readwise සමමුහුර්තකරණය අසාර්ථක විය: {{error}}"
"Readwise sync failed: {{error}}": "Readwise සමමුහුර්තකරණය අසාර්ථක විය: {{error}}",
"System Screen Brightness": "පද්ධති තිර දීප්තිය"
}
@@ -603,7 +603,6 @@
"Device": "Enhet",
"E-Ink Mode": "E-Ink-läge",
"Highlight Colors": "Markeringsfärger",
"Auto Screen Brightness": "Auto-skärmens ljusstyrka",
"Pagination": "Pagination",
"Disable Double Tap": "Inaktivera dubbeltryck",
"Tap to Paginate": "Tryck för att bläddra",
@@ -1056,5 +1055,6 @@
"Push Highlights": "Skicka markeringar",
"Highlights synced to Readwise": "Markeringar synkroniserade till Readwise",
"Readwise sync failed: no internet connection": "Readwise-synkronisering misslyckades: ingen internetanslutning",
"Readwise sync failed: {{error}}": "Readwise-synkronisering misslyckades: {{error}}"
"Readwise sync failed: {{error}}": "Readwise-synkronisering misslyckades: {{error}}",
"System Screen Brightness": "Systemets skärmljusstyrka"
}
@@ -603,7 +603,6 @@
"Device": "சாதனம்",
"E-Ink Mode": "E-Ink முறை",
"Highlight Colors": "முத்திரை நிறங்கள்",
"Auto Screen Brightness": "தானியங்கி திரை பிரகாசம்",
"Pagination": "பக்கமிடுதல்",
"Disable Double Tap": "இரட்டை தொடுதலை முடக்கு",
"Tap to Paginate": "பக்கம் மாற்ற தொடுங்கள்",
@@ -1056,5 +1055,6 @@
"Push Highlights": "சிறப்பம்சங்களை அனுப்பு",
"Highlights synced to Readwise": "சிறப்பம்சங்கள் Readwise உடன் ஒத்திசைக்கப்பட்டன",
"Readwise sync failed: no internet connection": "Readwise ஒத்திசைவு தோல்வியடைந்தது: இணைய இணைப்பு இல்லை",
"Readwise sync failed: {{error}}": "Readwise ஒத்திசைவு தோல்வியடைந்தது: {{error}}"
"Readwise sync failed: {{error}}": "Readwise ஒத்திசைவு தோல்வியடைந்தது: {{error}}",
"System Screen Brightness": "கணினித் திரை பிரகாசம்"
}
@@ -599,7 +599,6 @@
"Device": "อุปกรณ์",
"E-Ink Mode": "โหมด E-Ink",
"Highlight Colors": "สีไฮไลต์",
"Auto Screen Brightness": "ความสว่างหน้าจออัตโนมัติ",
"Pagination": "การแบ่งหน้า",
"Disable Double Tap": "ปิดการแตะสองครั้ง",
"Tap to Paginate": "แตะเพื่อแบ่งหน้า",
@@ -1044,5 +1043,6 @@
"Push Highlights": "พุชไฮไลต์",
"Highlights synced to Readwise": "ซิงค์ไฮไลต์ไปยัง Readwise แล้ว",
"Readwise sync failed: no internet connection": "การซิงค์ Readwise ล้มเหลว: ไม่มีการเชื่อมต่ออินเทอร์เน็ต",
"Readwise sync failed: {{error}}": "การซิงค์ Readwise ล้มเหลว: {{error}}"
"Readwise sync failed: {{error}}": "การซิงค์ Readwise ล้มเหลว: {{error}}",
"System Screen Brightness": "ความสว่างหน้าจอระบบ"
}
@@ -603,7 +603,6 @@
"Device": "Cihaz",
"E-Ink Mode": "E-Ink Modu",
"Highlight Colors": "Vurgu Renkleri",
"Auto Screen Brightness": "Otomatik Ekran Parlaklığı",
"Pagination": "Sayfalama",
"Disable Double Tap": "Çift Dokunmayı Devre Dışı Bırak",
"Tap to Paginate": "Sayfalamak için Dokunun",
@@ -1056,5 +1055,6 @@
"Push Highlights": "Vurguları Gönder",
"Highlights synced to Readwise": "Vurgular Readwise ile senkronize edildi",
"Readwise sync failed: no internet connection": "Readwise senkronizasyonu başarısız: internet bağlantısı yok",
"Readwise sync failed: {{error}}": "Readwise senkronizasyonu başarısız: {{error}}"
"Readwise sync failed: {{error}}": "Readwise senkronizasyonu başarısız: {{error}}",
"System Screen Brightness": "Sistem Ekran Parlaklığı"
}
@@ -611,7 +611,6 @@
"Device": "Пристрій",
"E-Ink Mode": "E-Ink режим",
"Highlight Colors": "Кольори виділення",
"Auto Screen Brightness": "Автоматична яскравість екрану",
"Pagination": "Розбиття на сторінки",
"Disable Double Tap": "Вимкнути подвійне натискання",
"Tap to Paginate": "Натисніть, щоб розбити на сторінки",
@@ -1080,5 +1079,6 @@
"Push Highlights": "Надіслати виділення",
"Highlights synced to Readwise": "Виділення синхронізовано з Readwise",
"Readwise sync failed: no internet connection": "Синхронізація Readwise не вдалася: немає інтернет-з'єднання",
"Readwise sync failed: {{error}}": "Синхронізація Readwise не вдалася: {{error}}"
"Readwise sync failed: {{error}}": "Синхронізація Readwise не вдалася: {{error}}",
"System Screen Brightness": "Системна яскравість екрана"
}
@@ -599,7 +599,6 @@
"Device": "Thiết bị",
"E-Ink Mode": "Chế độ E-Ink",
"Highlight Colors": "Màu nổi bật",
"Auto Screen Brightness": "Độ sáng màn hình tự động",
"Pagination": "Phân trang",
"Disable Double Tap": "Vô hiệu hóa chạm hai lần",
"Tap to Paginate": "Chạm để phân trang",
@@ -1044,5 +1043,6 @@
"Push Highlights": "Đẩy các phần đánh dấu",
"Highlights synced to Readwise": "Các phần đánh dấu đã được đồng bộ với Readwise",
"Readwise sync failed: no internet connection": "Đồng bộ Readwise thất bại: không có kết nối internet",
"Readwise sync failed: {{error}}": "Đồng bộ Readwise thất bại: {{error}}"
"Readwise sync failed: {{error}}": "Đồng bộ Readwise thất bại: {{error}}",
"System Screen Brightness": "Độ sáng màn hình hệ thống"
}
@@ -599,7 +599,6 @@
"Device": "设备",
"E-Ink Mode": "E-Ink 模式",
"Highlight Colors": "高亮颜色",
"Auto Screen Brightness": "自动屏幕亮度",
"Pagination": "翻页",
"Disable Double Tap": "禁用双击",
"Tap to Paginate": "点击翻页",
@@ -1044,5 +1043,6 @@
"Push Highlights": "推送高亮内容",
"Highlights synced to Readwise": "高亮内容已同步到 Readwise",
"Readwise sync failed: no internet connection": "Readwise 同步失败:无网络连接",
"Readwise sync failed: {{error}}": "Readwise 同步失败:{{error}}"
"Readwise sync failed: {{error}}": "Readwise 同步失败:{{error}}",
"System Screen Brightness": "系统屏幕亮度"
}
@@ -599,7 +599,6 @@
"Device": "設備",
"E-Ink Mode": "E-Ink 模式",
"Highlight Colors": "高亮顏色",
"Auto Screen Brightness": "自動螢幕亮度",
"Pagination": "翻頁",
"Disable Double Tap": "禁用雙擊",
"Tap to Paginate": "點擊翻頁",
@@ -1044,5 +1043,6 @@
"Push Highlights": "推送高亮內容",
"Highlights synced to Readwise": "高亮內容已同步到 Readwise",
"Readwise sync failed: no internet connection": "Readwise 同步失敗:無網路連線",
"Readwise sync failed: {{error}}": "Readwise 同步失敗:{{error}}"
"Readwise sync failed: {{error}}": "Readwise 同步失敗:{{error}}",
"System Screen Brightness": "系統螢幕亮度"
}
@@ -1,6 +1,6 @@
import React, { useEffect, useRef, useState, useCallback } from 'react';
import { convertBlobUrlToDataUrl, BookDoc, getDirection } from '@/libs/document';
import { BookConfig } from '@/types/book';
import { BookConfig, PageInfo } from '@/types/book';
import { FoliateView, wrappedFoliateView } from '@/types/view';
import { Insets } from '@/types/misc';
import { useEnv } from '@/context/EnvContext';
@@ -124,12 +124,16 @@ const FoliateViewer: React.FC<{
const progressRelocateHandler = (event: Event) => {
const detail = (event as CustomEvent).detail;
const atEnd = viewRef.current?.renderer.atEnd || false;
const { current, next, total } = detail.location as PageInfo;
const currentPage = atEnd && total > 0 ? total - 1 : current;
const pageInfo = { current: currentPage, next, total };
setProgress(
bookKey,
detail.cfi,
detail.tocItem,
detail.section,
detail.location,
pageInfo,
detail.time,
detail.range,
);
@@ -46,13 +46,12 @@ const ProgressInfoView: React.FC<PageInfoProps> = ({
: '{current} / {total}'
: '{percent}%';
const { page = 0, pages = 0, atEnd = false } = view?.renderer || {};
const lang = localStorage?.getItem('i18nextLng') || '';
const localize = isVertical && lang.toLowerCase().startsWith('zh');
const pageInfo = bookData?.isFixedLayout ? section : pageinfo;
const currentPage = atEnd && pageInfo?.total ? pageInfo.total - 1 : pageInfo?.current;
const progressInfo = formatProgress(currentPage, pageInfo?.total, template, localize, lang);
const progressInfo = formatProgress(pageInfo?.current, pageInfo?.total, template, localize, lang);
const { page = 0, pages = 0 } = view?.renderer || {};
const current = page;
const total = pages;
const pagesLeft = Math.max(total - current - 1, 0);
@@ -415,7 +415,7 @@ const ControlPanel: React.FC<SettingsPanelPanelProp> = ({ bookKey, onRegisterRes
)}
{appService?.isMobileApp && (
<div className='config-item'>
<span className=''>{_('Auto Screen Brightness')}</span>
<span className=''>{_('System Screen Brightness')}</span>
<input
type='checkbox'
className='toggle'