From 6b091455461323bcaae1310f9f5b2e44c8b7eb05 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Sat, 25 Jan 2025 00:55:53 +0100 Subject: [PATCH] ui: fix highlight text not clear in dark mode (#244) * ui: fix highlight background color in dark mode * i18n: more consistent tanslations --- apps/readest-app/public/locales/de/translation.json | 13 ++++++------- apps/readest-app/public/locales/el/translation.json | 13 ++++++------- apps/readest-app/public/locales/es/translation.json | 13 ++++++------- apps/readest-app/public/locales/fr/translation.json | 13 ++++++------- apps/readest-app/public/locales/hi/translation.json | 13 ++++++------- apps/readest-app/public/locales/id/translation.json | 13 ++++++------- apps/readest-app/public/locales/it/translation.json | 13 ++++++------- apps/readest-app/public/locales/ja/translation.json | 13 ++++++------- apps/readest-app/public/locales/ko/translation.json | 13 ++++++------- apps/readest-app/public/locales/pl/translation.json | 13 ++++++------- apps/readest-app/public/locales/pt/translation.json | 13 ++++++------- apps/readest-app/public/locales/ru/translation.json | 13 ++++++------- apps/readest-app/public/locales/tr/translation.json | 13 ++++++------- apps/readest-app/public/locales/uk/translation.json | 13 ++++++------- apps/readest-app/public/locales/vi/translation.json | 13 ++++++------- .../public/locales/zh-CN/translation.json | 13 ++++++------- .../public/locales/zh-TW/translation.json | 13 ++++++------- .../src/app/library/components/LibraryHeader.tsx | 4 ++-- .../app/reader/components/settings/DialogMenu.tsx | 2 +- .../app/reader/components/sidebar/BooknoteItem.tsx | 2 +- .../app/reader/components/sidebar/TabNavigation.tsx | 10 +++------- .../src/app/reader/hooks/useProgressSync.ts | 2 +- apps/readest-app/src/components/AboutWindow.tsx | 2 +- 23 files changed, 111 insertions(+), 132 deletions(-) diff --git a/apps/readest-app/public/locales/de/translation.json b/apps/readest-app/public/locales/de/translation.json index ee5c08bc..edfc85ed 100644 --- a/apps/readest-app/public/locales/de/translation.json +++ b/apps/readest-app/public/locales/de/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "Paralleles Lesen", "Published:": "Veröffentlicht:", "Publisher:": "Verlag:", - "Reading progress synced": "Lesevorgang synchronisiert", + "Reading Progress Synced": "Lesevorgang synchronisiert", "Reload Page": "Seite neu laden", "Reveal in File Explorer": "Im Datei-Explorer anzeigen", "Reveal in Finder": "Im Finder anzeigen", @@ -110,7 +110,6 @@ "Speak": "Sprechen", "Subjects:": "Themen:", "System Fonts": "System-Schriftarten", - "Table of Contents": "Inhaltsverzeichnis", "TTS not supported in this device": "TTS wird auf diesem Gerät nicht unterstützt", "Theme Color": "Themenfarbe", "Theme Mode": "Themenmodus", @@ -130,14 +129,14 @@ "Override Book Font": "Buch-Schriftart überschreiben", "Vertical Margins (px)": "Vertikale Ränder (px)", "Horizontal Margins (%)": "Horizontale Ränder (%)", - "Apply to all books": "Auf alle Bücher anwenden", - "Apply to this book": "Auf dieses Buch anwenden", + "Apply to All Books": "Auf alle Bücher anwenden", + "Apply to This Book": "Auf dieses Buch anwenden", "Unable to fetch the translation. Try again later.": "Übersetzung konnte nicht abgerufen werden. Versuchen Sie es später erneut.", "Update Now!": "Jetzt aktualisieren!", "Update": "Aktualisieren", - "Check update": "Aktualisierung prüfen", + "Check Update": "Aktualisierung prüfen", "Already the latest version": "Bereits die neueste Version", "Book Details": "Buchdetails", - "Import books": "Bücher importieren", - "From local file": "Aus lokaler Datei" + "From Local File": "Aus lokaler Datei", + "TOC": "Inhaltsverzeichnis" } diff --git a/apps/readest-app/public/locales/el/translation.json b/apps/readest-app/public/locales/el/translation.json index 63eaf9cd..827f8e8a 100644 --- a/apps/readest-app/public/locales/el/translation.json +++ b/apps/readest-app/public/locales/el/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "Παράλληλη ανάγνωση", "Published:": "Δημοσιεύτηκε:", "Publisher:": "Εκδότης:", - "Reading progress synced": "Ο συγχρονισμός προόδου ανάγνωσης ολοκληρώθηκε", + "Reading Progress Synced": "Ο συγχρονισμός προόδου ανάγνωσης ολοκληρώθηκε", "Reload Page": "Επαναφόρτωση σελίδας", "Reveal in File Explorer": "Εμφάνιση στον εξερευνητή αρχείων", "Reveal in Finder": "Εμφάνιση στον Finder", @@ -110,7 +110,6 @@ "Speak": "Ομιλία", "Subjects:": "Θέματα:", "System Fonts": "Γραμματοσειρές συστήματος", - "Table of Contents": "Πίνακας περιεχομένων", "TTS not supported in this device": "Η μετατροπή κειμένου σε ομιλία δεν υποστηρίζεται σε αυτή τη συσκευή", "Theme Color": "Χρώμα θέματος", "Theme Mode": "Λειτουργία θέματος", @@ -130,14 +129,14 @@ "Override Book Font": "Παράκαμψη γραμματοσειράς βιβλίου", "Vertical Margins (px)": "Κάθετα περιθώρια (px)", "Horizontal Margins (%)": "Οριζόντια περιθώρια (%)", - "Apply to all books": "Εφαρμογή σε όλα τα βιβλία", - "Apply to this book": "Εφαρμογή σε αυτό το βιβλίο", + "Apply to All Books": "Εφαρμογή σε όλα τα βιβλία", + "Apply to This Book": "Εφαρμογή σε αυτό το βιβλίο", "Unable to fetch the translation. Try again later.": "Αδυναμία λήψης της μετάφρασης. Δοκιμάστε ξανά αργότερα.", "Update Now!": "Ενημέρωση τώρα!", "Update": "Ενημέρωση", - "Check update": "Έλεγχος ενημέρωσης", + "Check Update": "Έλεγχος ενημέρωσης", "Already the latest version": "Ήδη η τελευταία έκδοση", "Book Details": "Λεπτομέρειες βιβλίου", - "Import books": "Εισαγωγή βιβλίων", - "From local file": "Από τοπικό αρχείο" + "From Local File": "Από τοπικό αρχείο", + "TOC": "Πίνακας περιεχομένων" } diff --git a/apps/readest-app/public/locales/es/translation.json b/apps/readest-app/public/locales/es/translation.json index c85abf65..b2a11482 100644 --- a/apps/readest-app/public/locales/es/translation.json +++ b/apps/readest-app/public/locales/es/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "Lectura paralela", "Published:": "Publicado:", "Publisher:": "Editorial:", - "Reading progress synced": "Progreso de lectura sincronizado", + "Reading Progress Synced": "Progreso de lectura sincronizado", "Reload Page": "Recargar página", "Reveal in File Explorer": "Mostrar en el Explorador de archivos", "Reveal in Finder": "Mostrar en Finder", @@ -110,7 +110,6 @@ "Speak": "Leer", "Subjects:": "Temas:", "System Fonts": "Fuentes del sistema", - "Table of Contents": "Tabla de contenidos", "TTS not supported in this device": "TTS no es compatible con este dispositivo", "Theme Color": "Color del tema", "Theme Mode": "Modo del tema", @@ -130,14 +129,14 @@ "Override Book Font": "Sobrescribir fuente del libro", "Vertical Margins (px)": "Márgenes verticales (px)", "Horizontal Margins (%)": "Márgenes horizontales (%)", - "Apply to all books": "Aplicar a todos los libros", - "Apply to this book": "Aplicar a este libro", + "Apply to All Books": "Aplicar a todos los libros", + "Apply to This Book": "Aplicar a este libro", "Unable to fetch the translation. Try again later.": "No se puede obtener la traducción. Inténtalo de nuevo más tarde.", "Update Now!": "¡Actualizar ahora!", "Update": "Actualizar", - "Check update": "Comprobar actualización", + "Check Update": "Comprobar actualización", "Already the latest version": "Ya es la última versión", "Book Details": "Detalles del libro", - "Import books": "Importar libros", - "From local file": "Desde archivo local" + "From Local File": "Desde archivo local", + "TOC": "Índice" } diff --git a/apps/readest-app/public/locales/fr/translation.json b/apps/readest-app/public/locales/fr/translation.json index 182828ba..1c3b2389 100644 --- a/apps/readest-app/public/locales/fr/translation.json +++ b/apps/readest-app/public/locales/fr/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "Lecture parallèle", "Published:": "Publié :", "Publisher:": "Éditeur :", - "Reading progress synced": "Progression de lecture synchronisée", + "Reading Progress Synced": "Progression de lecture synchronisée", "Reload Page": "Recharger la page", "Reveal in File Explorer": "Afficher dans l'explorateur de fichiers", "Reveal in Finder": "Afficher dans le Finder", @@ -110,7 +110,6 @@ "Speak": "Lire", "Subjects:": "Sujets :", "System Fonts": "Polices système", - "Table of Contents": "Table des matières", "TTS not supported in this device": "La synthèse vocale n'est pas prise en charge sur cet appareil", "Theme Color": "Couleur du thème", "Theme Mode": "Mode du thème", @@ -130,14 +129,14 @@ "Override Book Font": "Remplacer la police du livre", "Vertical Margins (px)": "Marges verticales (px)", "Horizontal Margins (%)": "Marges horizontales (%)", - "Apply to all books": "Appliquer à tous les livres", - "Apply to this book": "Appliquer à ce livre", + "Apply to All Books": "Appliquer à tous les livres", + "Apply to This Book": "Appliquer à ce livre", "Unable to fetch the translation. Try again later.": "Impossible de récupérer la traduction. Réessayez plus tard.", "Update Now!": "Mettre à jour maintenant !", "Update": "Mettre à jour", - "Check update": "Vérifier la mise à jour", + "Check Update": "Vérifier la mise à jour", "Already the latest version": "Déjà la dernière version", "Book Details": "Détails du livre", - "Import books": "Importer des livres", - "From local file": "Depuis un fichier local" + "From Local File": "Depuis un fichier local", + "TOC": "Table des matières" } diff --git a/apps/readest-app/public/locales/hi/translation.json b/apps/readest-app/public/locales/hi/translation.json index 75383f64..2e20d352 100644 --- a/apps/readest-app/public/locales/hi/translation.json +++ b/apps/readest-app/public/locales/hi/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "समानांतर पढ़ें", "Published:": "प्रकाशित:", "Publisher:": "प्रकाशक:", - "Reading progress synced": "पढ़ने की प्रगति सिंक की गई", + "Reading Progress Synced": "पढ़ने की प्रगति सिंक की गई", "Reload Page": "पृष्ठ रीलोड करें", "Reveal in File Explorer": "फ़ाइल एक्सप्लोरर में दिखाएं", "Reveal in Finder": "फाइंडर में दिखाएं", @@ -110,7 +110,6 @@ "Speak": "बोलें", "Subjects:": "विषय:", "System Fonts": "सिस्टम फ़ॉन्ट्स", - "Table of Contents": "विषय-सूची", "TTS not supported in this device": "यह डिवाइस TTS का समर्थन नहीं करता", "Theme Color": "थीम रंग", "Theme Mode": "थीम मोड", @@ -130,14 +129,14 @@ "Override Book Font": "पुस्तक फ़ॉन्ट ओवरराइड करें", "Vertical Margins (px)": "ऊर्ध्वाधर मार्जिन (px)", "Horizontal Margins (%)": "क्षैतिज मार्जिन (%)", - "Apply to all books": "सभी पुस्तकों पर लागू करें", - "Apply to this book": "इस पुस्तक पर लागू करें", + "Apply to All Books": "सभी पुस्तकों पर लागू करें", + "Apply to This Book": "इस पुस्तक पर लागू करें", "Unable to fetch the translation. Try again later.": "अनुवाद प्राप्त करने में असमर्थ। बाद में पुनः प्रयास करें।", "Update Now!": "अभी अपडेट करें!", "Update": "अपडेट करें", - "Check update": "अपडेट जांचें", + "Check Update": "अपडेट जांचें", "Already the latest version": "पहले से ही नवीनतम संस्करण", "Book Details": "पुस्तक विवरण", - "Import books": "पुस्तकें आयात करें", - "From local file": "स्थानीय फ़ाइल से" + "From Local File": "स्थानीय फ़ाइल से", + "TOC": "सामग्री" } diff --git a/apps/readest-app/public/locales/id/translation.json b/apps/readest-app/public/locales/id/translation.json index df62cde6..3a8ea047 100644 --- a/apps/readest-app/public/locales/id/translation.json +++ b/apps/readest-app/public/locales/id/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "Baca Paralel", "Published:": "Diterbitkan:", "Publisher:": "Penerbit:", - "Reading progress synced": "Progres membaca disinkronkan", + "Reading Progress Synced": "Progres membaca disinkronkan", "Reload Page": "Muat Ulang Halaman", "Reveal in File Explorer": "Tampilkan di File Explorer", "Reveal in Finder": "Tampilkan di Finder", @@ -110,7 +110,6 @@ "Speak": "Bicara", "Subjects:": "Subjek:", "System Fonts": "Font Sistem", - "Table of Contents": "Daftar Isi", "TTS not supported in this device": "TTS tidak didukung di perangkat ini", "Theme Color": "Warna Tema", "Theme Mode": "Mode Tema", @@ -130,14 +129,14 @@ "Override Book Font": "Ganti Font Buku", "Vertical Margins (px)": "Margin Vertikal (px)", "Horizontal Margins (%)": "Margin Horizontal (%)", - "Apply to all books": "Terapkan ke semua buku", - "Apply to this book": "Terapkan ke buku ini", + "Apply to All Books": "Terapkan ke semua buku", + "Apply to This Book": "Terapkan ke buku ini", "Unable to fetch the translation. Try again later.": "Tidak dapat mengambil terjemahan. Coba lagi nanti.", "Update Now!": "Perbarui Sekarang!", "Update": "Perbarui", - "Check update": "Periksa pembaruan", + "Check Update": "Periksa pembaruan", "Already the latest version": "Sudah versi terbaru", "Book Details": "Detail Buku", - "Import books": "Impor buku", - "From local file": "Dari file lokal" + "From Local File": "Dari file lokal", + "TOC": "Daftar Isi" } diff --git a/apps/readest-app/public/locales/it/translation.json b/apps/readest-app/public/locales/it/translation.json index cbcbfc30..2f4b399b 100644 --- a/apps/readest-app/public/locales/it/translation.json +++ b/apps/readest-app/public/locales/it/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "Lettura parallela", "Published:": "Pubblicato:", "Publisher:": "Editore:", - "Reading progress synced": "Progresso lettura sincronizzato", + "Reading Progress Synced": "Progresso lettura sincronizzato", "Reload Page": "Ricarica pagina", "Reveal in File Explorer": "Mostra in Esplora file", "Reveal in Finder": "Mostra nel Finder", @@ -110,7 +110,6 @@ "Speak": "Leggi", "Subjects:": "Argomenti:", "System Fonts": "Font di sistema", - "Table of Contents": "Indice", "TTS not supported in this device": "TTS non supportato su questo dispositivo", "Theme Color": "Colore tema", "Theme Mode": "Modalità tema", @@ -130,14 +129,14 @@ "Override Book Font": "Sovrascrivi font libro", "Vertical Margins (px)": "Margini verticali (px)", "Horizontal Margins (%)": "Margini orizzontali (%)", - "Apply to all books": "Applica a tutti i libri", - "Apply to this book": "Applica a questo libro", + "Apply to All Books": "Applica a tutti i libri", + "Apply to This Book": "Applica a questo libro", "Unable to fetch the translation. Try again later.": "Impossibile recuperare la traduzione. Riprova più tardi.", "Update Now!": "Aggiorna ora!", "Update": "Aggiorna", - "Check update": "Controlla aggiornamento", + "Check Update": "Controlla aggiornamento", "Already the latest version": "Già l'ultima versione", "Book Details": "Dettagli libro", - "Import books": "Importa libri", - "From local file": "Da file locale" + "From Local File": "Da file locale", + "TOC": "Sommario" } diff --git a/apps/readest-app/public/locales/ja/translation.json b/apps/readest-app/public/locales/ja/translation.json index fed43fa7..424d0c0b 100644 --- a/apps/readest-app/public/locales/ja/translation.json +++ b/apps/readest-app/public/locales/ja/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "並列読書", "Published:": "出版日:", "Publisher:": "出版社:", - "Reading progress synced": "読書進捗が同期されました", + "Reading Progress Synced": "読書進捗が同期されました", "Reload Page": "ページを再読み込み", "Reveal in File Explorer": "エクスプローラーで表示", "Reveal in Finder": "Finderで表示", @@ -110,7 +110,6 @@ "Speak": "読み上げ", "Subjects:": "主題:", "System Fonts": "システムフォント", - "Table of Contents": "目次", "TTS not supported in this device": "このデバイスではTTSがサポートされていません", "Theme Color": "テーマカラー", "Theme Mode": "テーマモード", @@ -130,14 +129,14 @@ "Override Book Font": "書籍フォントを上書き", "Vertical Margins (px)": "縦マージン(px)", "Horizontal Margins (%)": "横マージン(%)", - "Apply to all books": "すべての書籍に適用", - "Apply to this book": "この書籍に適用", + "Apply to All Books": "すべての書籍に適用", + "Apply to This Book": "この書籍に適用", "Unable to fetch the translation. Try again later.": "翻訳を取得できません。後で再試行してください。", "Update Now!": "今すぐ更新!", "Update": "更新", - "Check update": "更新を確認", + "Check Update": "更新を確認", "Already the latest version": "すでに最新バージョン", "Book Details": "書籍の詳細", - "Import books": "書籍をインポート", - "From local file": "ローカルファイルから" + "From Local File": "ローカルファイルから", + "TOC": "目次" } diff --git a/apps/readest-app/public/locales/ko/translation.json b/apps/readest-app/public/locales/ko/translation.json index e0cef48a..b33eeb22 100644 --- a/apps/readest-app/public/locales/ko/translation.json +++ b/apps/readest-app/public/locales/ko/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "병렬 읽기", "Published:": "출판일:", "Publisher:": "출판사:", - "Reading progress synced": "읽기 진행 상황 동기화됨", + "Reading Progress Synced": "읽기 진행 상황 동기화됨", "Reload Page": "페이지 새로고침", "Reveal in File Explorer": "파일 탐색기에서 표시", "Reveal in Finder": "Finder에서 표시", @@ -110,7 +110,6 @@ "Speak": "말하기", "Subjects:": "주제:", "System Fonts": "시스템 글꼴", - "Table of Contents": "목차", "TTS not supported in this device": "이 장치에서 TTS가 지원되지 않음", "Theme Color": "테마 색상", "Theme Mode": "테마 모드", @@ -130,14 +129,14 @@ "Override Book Font": "책 글꼴 덮어쓰기", "Vertical Margins (px)": "수직 여백 (px)", "Horizontal Margins (%)": "수평 여백 (%)", - "Apply to all books": "모든 책에 적용", - "Apply to this book": "이 책에 적용", + "Apply to All Books": "모든 책에 적용", + "Apply to This Book": "이 책에 적용", "Unable to fetch the translation. Try again later.": "번역을 가져올 수 없습니다. 나중에 다시 시도하세요.", "Update Now!": "지금 업데이트!", "Update": "업데이트", - "Check update": "업데이트 확인", + "Check Update": "업데이트 확인", "Already the latest version": "이미 최신 버전", "Book Details": "책 세부 정보", - "Import books": "책 가져오기", - "From local file": "로컬 파일에서" + "From Local File": "로컬 파일에서", + "TOC": "목차" } diff --git a/apps/readest-app/public/locales/pl/translation.json b/apps/readest-app/public/locales/pl/translation.json index c45307b1..0c501e4f 100644 --- a/apps/readest-app/public/locales/pl/translation.json +++ b/apps/readest-app/public/locales/pl/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "Czytanie równoległe", "Published:": "Opublikowano:", "Publisher:": "Wydawca:", - "Reading progress synced": "Zsynchronizowano postęp czytania", + "Reading Progress Synced": "Zsynchronizowano postęp czytania", "Reload Page": "Odśwież stronę", "Reveal in File Explorer": "Pokaż w Eksploratorze plików", "Reveal in Finder": "Pokaż w Finderze", @@ -110,7 +110,6 @@ "Speak": "Czytaj", "Subjects:": "Tematy:", "System Fonts": "Czcionki systemowe", - "Table of Contents": "Spis treści", "TTS not supported in this device": "TTS nie jest obsługiwane na tym urządzeniu", "Theme Color": "Kolor motywu", "Theme Mode": "Tryb motywu", @@ -130,14 +129,14 @@ "Override Book Font": "Nadpisz czcionkę książki", "Vertical Margins (px)": "Marginesy pionowe (px)", "Horizontal Margins (%)": "Marginesy poziome (%)", - "Apply to all books": "Zastosuj do wszystkich książek", - "Apply to this book": "Zastosuj do tej książki", + "Apply to All Books": "Zastosuj do wszystkich książek", + "Apply to This Book": "Zastosuj do tej książki", "Unable to fetch the translation. Try again later.": "Nie udało się pobrać tłumaczenia. Spróbuj ponownie później.", "Update Now!": "Zaktualizuj teraz!", "Update": "Zaktualizuj", - "Check update": "Sprawdź aktualizację", + "Check Update": "Sprawdź aktualizację", "Already the latest version": "Już najnowsza wersja", "Book Details": "Szczegóły książki", - "Import books": "Importuj książki", - "From local file": "Z pliku lokalnego" + "From Local File": "Z pliku lokalnego", + "TOC": "Spis treści" } diff --git a/apps/readest-app/public/locales/pt/translation.json b/apps/readest-app/public/locales/pt/translation.json index 951f8627..683733d1 100644 --- a/apps/readest-app/public/locales/pt/translation.json +++ b/apps/readest-app/public/locales/pt/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "Leitura Paralela", "Published:": "Publicado:", "Publisher:": "Editora:", - "Reading progress synced": "Progresso de leitura sincronizado", + "Reading Progress Synced": "Progresso de leitura sincronizado", "Reload Page": "Recarregar Página", "Reveal in File Explorer": "Mostrar no Explorador de Arquivos", "Reveal in Finder": "Mostrar no Finder", @@ -110,7 +110,6 @@ "Speak": "Falar", "Subjects:": "Assuntos:", "System Fonts": "Fontes do Sistema", - "Table of Contents": "Índice", "TTS not supported in this device": "TTS não suportado neste dispositivo", "Theme Color": "Cor do Tema", "Theme Mode": "Modo do Tema", @@ -130,14 +129,14 @@ "Override Book Font": "Sobrescrever Fonte do Livro", "Vertical Margins (px)": "Margens Verticais (px)", "Horizontal Margins (%)": "Margens Horizontais (%)", - "Apply to all books": "Aplicar a todos os livros", - "Apply to this book": "Aplicar a este livro", + "Apply to All Books": "Aplicar a todos os livros", + "Apply to This Book": "Aplicar a este livro", "Unable to fetch the translation. Try again later.": "Não foi possível buscar a tradução. Tente novamente mais tarde.", "Update Now!": "Atualizar Agora!", "Update": "Atualizar", - "Check update": "Verificar atualização", + "Check Update": "Verificar atualização", "Already the latest version": "Já é a versão mais recente", "Book Details": "Detalhes do Livro", - "Import books": "Importar livros", - "From local file": "Do arquivo local" + "From Local File": "Do arquivo local", + "TOC": "Índice" } diff --git a/apps/readest-app/public/locales/ru/translation.json b/apps/readest-app/public/locales/ru/translation.json index 43be91fb..985f10e2 100644 --- a/apps/readest-app/public/locales/ru/translation.json +++ b/apps/readest-app/public/locales/ru/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "Параллельное чтение", "Published:": "Опубликовано:", "Publisher:": "Издатель:", - "Reading progress synced": "Синхронизирован прогресс чтения", + "Reading Progress Synced": "Синхронизирован прогресс чтения", "Reload Page": "Перезагрузить страницу", "Reveal in File Explorer": "Показать в проводнике", "Reveal in Finder": "Показать в Finder", @@ -110,7 +110,6 @@ "Speak": "Произнести", "Subjects:": "Темы:", "System Fonts": "Системные шрифты", - "Table of Contents": "Содержание", "TTS not supported in this device": "TTS не поддерживается на этом устройстве", "Theme Color": "Цвет темы", "Theme Mode": "Режим темы", @@ -130,14 +129,14 @@ "Override Book Font": "Переопределить шрифт книги", "Vertical Margins (px)": "Вертикальные поля (px)", "Horizontal Margins (%)": "Горизонтальные поля (%)", - "Apply to all books": "Применить ко всем книгам", - "Apply to this book": "Применить к этой книге", + "Apply to All Books": "Применить ко всем книгам", + "Apply to This Book": "Применить к этой книге", "Unable to fetch the translation. Try again later.": "Не удалось получить перевод. Попробуйте позже.", "Update Now!": "Обновить сейчас!", "Update": "Обновить", - "Check update": "Проверить обновление", + "Check Update": "Проверить обновление", "Already the latest version": "Уже последняя версия", "Book Details": "Детали книги", - "Import books": "Импортировать книги", - "From local file": "Из локального файла" + "From Local File": "Из локального файла", + "TOC": "Содержание" } diff --git a/apps/readest-app/public/locales/tr/translation.json b/apps/readest-app/public/locales/tr/translation.json index ae6e421f..76050d16 100644 --- a/apps/readest-app/public/locales/tr/translation.json +++ b/apps/readest-app/public/locales/tr/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "Paralel Okuma", "Published:": "Yayınlanma:", "Publisher:": "Yayıncı:", - "Reading progress synced": "Okuma ilerlemesi senkronize edildi", + "Reading Progress Synced": "Okuma ilerlemesi senkronize edildi", "Reload Page": "Sayfayı Yenile", "Reveal in File Explorer": "Dosya Gezgininde Göster", "Reveal in Finder": "Finder'da Göster", @@ -110,7 +110,6 @@ "Speak": "Konuş", "Subjects:": "Konular:", "System Fonts": "Sistem Yazı Tipleri", - "Table of Contents": "İçindekiler", "TTS not supported in this device": "Bu cihazda TTS desteklenmiyor", "Theme Color": "Tema Rengi", "Theme Mode": "Tema Modu", @@ -130,14 +129,14 @@ "Override Book Font": "Kitap Yazı Tipini Geçersiz Kıl", "Vertical Margins (px)": "Dikey Kenar Boşlukları (px)", "Horizontal Margins (%)": "Yatay Kenar Boşlukları (%)", - "Apply to all books": "Tüm kitaplara uygula", - "Apply to this book": "Bu kitaba uygula", + "Apply to All Books": "Tüm kitaplara uygula", + "Apply to This Book": "Bu kitaba uygula", "Unable to fetch the translation. Try again later.": "Çeviri alınamıyor. Daha sonra tekrar deneyin.", "Update Now!": "Şimdi Güncelle!", "Update": "Güncelle", - "Check update": "Güncellemeyi kontrol et", + "Check Update": "Güncellemeyi kontrol et", "Already the latest version": "Zaten en son sürüm", "Book Details": "Kitap Detayları", - "Import books": "Kitapları içe aktar", - "From local file": "Yerel dosyadan" + "From Local File": "Yerel dosyadan", + "TOC": "İçindekiler" } diff --git a/apps/readest-app/public/locales/uk/translation.json b/apps/readest-app/public/locales/uk/translation.json index 9a289fa3..90de76cb 100644 --- a/apps/readest-app/public/locales/uk/translation.json +++ b/apps/readest-app/public/locales/uk/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "Паралельне читання", "Published:": "Опубліковано:", "Publisher:": "Видавець:", - "Reading progress synced": "Прогрес читання синхронізовано", + "Reading Progress Synced": "Прогрес читання синхронізовано", "Reload Page": "Перезавантажити сторінку", "Reveal in File Explorer": "Показати у провіднику", "Reveal in Finder": "Показати у Finder", @@ -110,7 +110,6 @@ "Speak": "Озвучити", "Subjects:": "Теми:", "System Fonts": "Системні шрифти", - "Table of Contents": "Зміст", "TTS not supported in this device": "TTS не підтримується на цьому пристрої", "Theme Color": "Колір теми", "Theme Mode": "Режим теми", @@ -130,14 +129,14 @@ "Override Book Font": "Перевизначити шрифт книги", "Vertical Margins (px)": "Вертикальні відступи (px)", "Horizontal Margins (%)": "Горизонтальні відступи (%)", - "Apply to all books": "Застосувати до всіх книг", - "Apply to this book": "Застосувати до цієї книги", + "Apply to All Books": "Застосувати до всіх книг", + "Apply to This Book": "Застосувати до цієї книги", "Unable to fetch the translation. Try again later.": "Не вдалося отримати переклад. Спробуйте пізніше.", "Update Now!": "Оновити зараз!", "Update": "Оновити", - "Check update": "Перевірити оновлення", + "Check Update": "Перевірити оновлення", "Already the latest version": "Вже остання версія", "Book Details": "Деталі книги", - "Import books": "Імпортувати книги", - "From local file": "З локального файлу" + "From Local File": "З локального файлу", + "TOC": "Зміст" } diff --git a/apps/readest-app/public/locales/vi/translation.json b/apps/readest-app/public/locales/vi/translation.json index fa55184f..a45c9ed6 100644 --- a/apps/readest-app/public/locales/vi/translation.json +++ b/apps/readest-app/public/locales/vi/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "Đọc song song", "Published:": "Xuất bản:", "Publisher:": "Nhà xuất bản:", - "Reading progress synced": "Tiến độ đọc đã được đồng bộ", + "Reading Progress Synced": "Tiến độ đọc đã được đồng bộ", "Reload Page": "Tải lại trang", "Reveal in File Explorer": "Hiển thị trong File Explorer", "Reveal in Finder": "Hiển thị trong Finder", @@ -110,7 +110,6 @@ "Speak": "Đọc", "Subjects:": "Chủ đề:", "System Fonts": "Phông chữ hệ thống", - "Table of Contents": "Mục lục", "TTS not supported in this device": "TTS không được hỗ trợ trên thiết bị này", "Theme Color": "Màu chủ đề", "Theme Mode": "Chế độ chủ đề", @@ -130,14 +129,14 @@ "Override Book Font": "Ghi đè phông chữ sách", "Vertical Margins (px)": "Lề dọc (px)", "Horizontal Margins (%)": "Lề ngang (%)", - "Apply to all books": "Áp dụng cho tất cả sách", - "Apply to this book": "Áp dụng cho sách này", + "Apply to All Books": "Áp dụng cho tất cả sách", + "Apply to This Book": "Áp dụng cho sách này", "Unable to fetch the translation. Try again later.": "Không thể tải dịch vụ. Vui lòng thử lại sau.", "Update Now!": "Cập nhật ngay!", "Update": "Cập nhật", - "Check update": "Kiểm tra cập nhật", + "Check Update": "Kiểm tra cập nhật", "Already the latest version": "Đã là phiên bản mới nhất", "Book Details": "Chi tiết sách", - "Import books": "Nhập sách", - "From local file": "Từ tệp địa phương" + "From Local File": "Từ tệp địa phương", + "TOC": "Mục lục" } diff --git a/apps/readest-app/public/locales/zh-CN/translation.json b/apps/readest-app/public/locales/zh-CN/translation.json index 2a652e1b..cd30eae8 100644 --- a/apps/readest-app/public/locales/zh-CN/translation.json +++ b/apps/readest-app/public/locales/zh-CN/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "并排阅读", "Published:": "出版日期", "Publisher:": "出版商", - "Reading progress synced": "阅读进度已同步", + "Reading Progress Synced": "阅读进度已同步", "Reload Page": "重新加载页面", "Reveal in File Explorer": "在文件管理器中显示", "Reveal in Finder": "在访达中显示", @@ -110,7 +110,6 @@ "Speak": "朗读", "Subjects:": "主题", "System Fonts": "系统字体", - "Table of Contents": "目录", "TTS not supported in this device": "此设备不支持 TTS", "Theme Color": "主题颜色", "Theme Mode": "主题模式", @@ -130,14 +129,14 @@ "Override Book Font": "覆盖书籍字体", "Vertical Margins (px)": "垂直边距(px)", "Horizontal Margins (%)": "水平边距(%)", - "Apply to all books": "应用于所有书籍", - "Apply to this book": "应用于此书籍", + "Apply to All Books": "应用于所有书籍", + "Apply to This Book": "应用于此书籍", "Unable to fetch the translation. Try again later.": "无法获取翻译,请稍后重试。", "Update Now!": "立即更新!", "Update": "更新", - "Check update": "检查更新", + "Check Update": "检查更新", "Already the latest version": "已经是最新版本", "Book Details": "书籍详情", - "Import books": "导入书籍", - "From local file": "从本地文件导入" + "From Local File": "从本地文件导入", + "TOC": "目录" } diff --git a/apps/readest-app/public/locales/zh-TW/translation.json b/apps/readest-app/public/locales/zh-TW/translation.json index ef47a1dd..1bd12ad2 100644 --- a/apps/readest-app/public/locales/zh-TW/translation.json +++ b/apps/readest-app/public/locales/zh-TW/translation.json @@ -84,7 +84,7 @@ "Parallel Read": "並排閱讀", "Published:": "出版日期", "Publisher:": "出版商", - "Reading progress synced": "閱讀進度已同步", + "Reading Progress Synced": "閱讀進度已同步", "Reload Page": "重新載入頁面", "Reveal in File Explorer": "在檔案管理器中顯示", "Reveal in Finder": "在訪達中顯示", @@ -110,7 +110,6 @@ "Speak": "朗讀", "Subjects:": "主題", "System Fonts": "系統字體", - "Table of Contents": "目錄", "TTS not supported in this device": "此設備不支持 TTS", "Theme Color": "主題顏色", "Theme Mode": "主題模式", @@ -130,14 +129,14 @@ "Override Book Font": "覆蓋書籍字體", "Vertical Margins (px)": "垂直邊距(px)", "Horizontal Margins (%)": "水平邊距(%)", - "Apply to all books": "應用於所有書籍", - "Apply to this book": "應用於此書籍", + "Apply to All Books": "應用於所有書籍", + "Apply to This Book": "應用於此書籍", "Unable to fetch the translation. Try again later.": "無法獲取翻譯,請稍後再試。", "Update Now!": "立即更新!", "Update": "更新", - "Check update": "檢查更新", + "Check Update": "檢查更新", "Already the latest version": "已經是最新版本", "Book Details": "書籍詳情", - "Import books": "導入書籍", - "From local file": "從本地文件導入" + "From Local File": "從本地文件導入", + "TOC": "目錄" } diff --git a/apps/readest-app/src/app/library/components/LibraryHeader.tsx b/apps/readest-app/src/app/library/components/LibraryHeader.tsx index ed338b93..6e5b7b67 100644 --- a/apps/readest-app/src/app/library/components/LibraryHeader.tsx +++ b/apps/readest-app/src/app/library/components/LibraryHeader.tsx @@ -68,7 +68,7 @@ const LibraryHeader: React.FC = ({
-
+
    = ({ >
diff --git a/apps/readest-app/src/app/reader/components/settings/DialogMenu.tsx b/apps/readest-app/src/app/reader/components/settings/DialogMenu.tsx index 43f8933e..e0572345 100644 --- a/apps/readest-app/src/app/reader/components/settings/DialogMenu.tsx +++ b/apps/readest-app/src/app/reader/components/settings/DialogMenu.tsx @@ -34,7 +34,7 @@ const DialogMenu: React.FC = ({ toggleDropdown }) => {
{_('Global Settings')} diff --git a/apps/readest-app/src/app/reader/components/sidebar/BooknoteItem.tsx b/apps/readest-app/src/app/reader/components/sidebar/BooknoteItem.tsx index bf088f01..36f2eb83 100644 --- a/apps/readest-app/src/app/reader/components/sidebar/BooknoteItem.tsx +++ b/apps/readest-app/src/app/reader/components/sidebar/BooknoteItem.tsx @@ -93,7 +93,7 @@ const BooknoteItem: React.FC = ({ bookKey, item }) => { item.note && 'text-xs text-gray-500', (item.style === 'underline' || item.style === 'squiggly') && 'underline decoration-2', - item.style === 'highlight' && `bg-${item.color}-100`, + item.style === 'highlight' && `bg-${item.color}-500 bg-opacity-40`, item.style === 'underline' && `decoration-${item.color}-400`, item.style === 'squiggly' && `decoration-wavy decoration-${item.color}-400`, )} diff --git a/apps/readest-app/src/app/reader/components/sidebar/TabNavigation.tsx b/apps/readest-app/src/app/reader/components/sidebar/TabNavigation.tsx index 0903fa6a..f31bd665 100644 --- a/apps/readest-app/src/app/reader/components/sidebar/TabNavigation.tsx +++ b/apps/readest-app/src/app/reader/components/sidebar/TabNavigation.tsx @@ -16,13 +16,13 @@ const TabNavigation: React.FC<{ return (
onTabChange(tab)}> diff --git a/apps/readest-app/src/app/reader/hooks/useProgressSync.ts b/apps/readest-app/src/app/reader/hooks/useProgressSync.ts index 4fdadd4c..9e7c2833 100644 --- a/apps/readest-app/src/app/reader/hooks/useProgressSync.ts +++ b/apps/readest-app/src/app/reader/hooks/useProgressSync.ts @@ -101,7 +101,7 @@ export const useProgressSync = (bookKey: string) => { view?.goToFraction(syncedFraction); eventDispatcher.dispatch('toast', { type: 'success', - message: _('Reading progress synced'), + message: _('Reading Progress Synced'), }); } } diff --git a/apps/readest-app/src/components/AboutWindow.tsx b/apps/readest-app/src/components/AboutWindow.tsx index 42778b4a..ac515078 100644 --- a/apps/readest-app/src/components/AboutWindow.tsx +++ b/apps/readest-app/src/components/AboutWindow.tsx @@ -46,7 +46,7 @@ export const AboutWindow = () => {

{hasUpdater() && !isUpdated && ( - {_('Check update')} + {_('Check Update')} )} {isUpdated && (