From cb2c7b5c89ac43b57ac8da933fc7e573d7d35422 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Fri, 27 Dec 2024 11:33:38 +0100 Subject: [PATCH] Update missing translations (#55) --- apps/readest-app/i18next-scanner.config.js | 4 +- .../public/locales/de/translation.json | 13 +++ .../public/locales/es/translation.json | 13 +++ .../public/locales/fr/translation.json | 13 +++ .../public/locales/id/translation.json | 105 ++++++++++++++++++ .../public/locales/it/translation.json | 13 +++ .../public/locales/ja/translation.json | 13 +++ .../public/locales/ko/translation.json | 13 +++ .../public/locales/pt/translation.json | 13 +++ .../public/locales/ru/translation.json | 13 +++ .../public/locales/tr/translation.json | 13 +++ .../public/locales/vi/translation.json | 13 +++ .../public/locales/zh-CN/translation.json | 13 +++ .../public/locales/zh-TW/translation.json | 13 +++ .../reader/components/settings/ColorPanel.tsx | 2 +- .../reader/components/settings/FontPanel.tsx | 4 +- .../components/settings/LayoutPanel.tsx | 2 +- .../reader/components/settings/MiscPanel.tsx | 2 +- .../reader/components/sidebar/BookMenu.tsx | 2 +- apps/readest-app/src/hooks/useTranslation.ts | 4 - apps/readest-app/src/i18n/i18n.ts | 15 +-- apps/readest-app/src/styles/themes.ts | 19 ++-- apps/readest-app/src/utils/misc.ts | 4 + apps/readest-app/src/utils/os.ts | 2 +- 24 files changed, 292 insertions(+), 29 deletions(-) create mode 100644 apps/readest-app/public/locales/id/translation.json diff --git a/apps/readest-app/i18next-scanner.config.js b/apps/readest-app/i18next-scanner.config.js index c48b5f8a..c70aed40 100644 --- a/apps/readest-app/i18next-scanner.config.js +++ b/apps/readest-app/i18next-scanner.config.js @@ -8,7 +8,7 @@ module.exports = { list: ['_'], extensions: ['.js', '.jsx', '.ts', '.tsx'], }, - lngs: ['de', 'ja', 'es', 'fr', 'it', 'ko', 'pt', 'ru', 'tr', 'vi', 'zh-CN', 'zh-TW'], + lngs: ['de', 'ja', 'es', 'fr', 'it', 'ko', 'pt', 'ru', 'tr', 'id', 'vi', 'zh-CN', 'zh-TW'], ns: ['translation'], defaultNs: 'translation', defaultValue: '__STRING_NOT_TRANSLATED__', @@ -18,7 +18,7 @@ module.exports = { jsonIndent: 2, lineEnding: '\n', }, - keySeparator: true, + keySeparator: false, nsSeparator: false, interpolation: { prefix: '{{', diff --git a/apps/readest-app/public/locales/de/translation.json b/apps/readest-app/public/locales/de/translation.json index 24ec9b11..110734ae 100644 --- a/apps/readest-app/public/locales/de/translation.json +++ b/apps/readest-app/public/locales/de/translation.json @@ -9,16 +9,20 @@ "Bookmark": "Lesezeichen", "Cancel": "Abbrechen", "Chapter": "Kapitel", + "Cherry": "Kirschrot", "Color": "Farbe", "Confirm": "Bestätigen", "Confirm Deletion": "Löschen bestätigen", "Custom CSS": "Benutzerdefiniertes CSS", "Dark Mode": "Dunkelmodus", + "Default": "Standard", "Default Font": "Standardschriftart", + "Default Font Size": "Standard-Schriftgröße", "Delete": "Löschen", "Disable Click-to-Flip": "Klick zum Blättern deaktivieren", "Download Readest": "Readest herunterladen", "Edit": "Bearbeiten", + "Enter your custom CSS here...": "Geben Sie hier Ihr benutzerdefiniertes CSS ein...", "Excerpts": "Auszüge", "Font": "Schriftart", "Font & Layout": "Schrift & Layout", @@ -33,6 +37,9 @@ "Go Forward": "Vorwärts", "Go Left": "Nach links", "Go Right": "Nach rechts", + "Grass": "Grasgrün", + "Gray": "Grau", + "Gruvbox": "Gruvbox", "Hyphenation": "Silbentrennung", "Identifier:": "Kennung:", "Import Books": "Bücher importieren", @@ -40,6 +47,7 @@ "Language:": "Sprache:", "Layout": "Layout", "Light Mode": "Hellmodus", + "Line Height": "Zeilenhöhe", "Loading...": "Wird geladen...", "Loc. {{currentPage}} / {{totalPage}}": "Pos. {{currentPage}} / {{totalPage}}", "Logged in": "Angemeldet", @@ -51,9 +59,11 @@ "Maximum Block Size": "Maximale Blockgröße", "Maximum Inline Size": "Maximale Zeilengröße", "Maximum Number of Columns": "Maximale Spaltenanzahl", + "Minimum Font Size": "Minimale Schriftgröße", "Misc": "Sonstiges", "Monospace Font": "Monospace-Schriftart", "More Info": "Weitere Informationen", + "Nord": "Nord", "Notebook": "Notizbuch", "Notes": "Notizen", "Open": "Öffnen", @@ -75,10 +85,13 @@ "Search...": "Suchen...", "Select books": "Bücher auswählen", "Select multiple books": "Mehrere Bücher auswählen", + "Sepia": "Sepia", "Serif Font": "Serifenschrift", "Sidebar": "Seitenleiste", "Sign In": "Anmelden", "Sign Out": "Abmelden", + "Sky": "Himmelblau", + "Solarized": "Solarisiert", "Subjects:": "Themen:", "Theme Color": "Themenfarbe", "Theme Mode": "Themenmodus", diff --git a/apps/readest-app/public/locales/es/translation.json b/apps/readest-app/public/locales/es/translation.json index 5bb4c440..710123e2 100644 --- a/apps/readest-app/public/locales/es/translation.json +++ b/apps/readest-app/public/locales/es/translation.json @@ -9,16 +9,20 @@ "Bookmark": "Marcador", "Cancel": "Cancelar", "Chapter": "Capítulo", + "Cherry": "Cereza", "Color": "Color", "Confirm": "Confirmar", "Confirm Deletion": "Confirmar eliminación", "Custom CSS": "CSS personalizado", "Dark Mode": "Modo oscuro", + "Default": "Predeterminado", "Default Font": "Fuente predeterminada", + "Default Font Size": "Tamaño de fuente predeterminado", "Delete": "Eliminar", "Disable Click-to-Flip": "Desactivar clic para voltear", "Download Readest": "Descargar Readest", "Edit": "Editar", + "Enter your custom CSS here...": "Introduce tu CSS personalizado aquí...", "Excerpts": "Extractos", "Font": "Fuente", "Font & Layout": "Fuente y diseño", @@ -33,6 +37,9 @@ "Go Forward": "Avanzar", "Go Left": "Ir a la izquierda", "Go Right": "Ir a la derecha", + "Grass": "Hierba", + "Gray": "Gris", + "Gruvbox": "Gruvbox", "Hyphenation": "Guionización", "Identifier:": "Identificador:", "Import Books": "Importar libros", @@ -40,6 +47,7 @@ "Language:": "Idioma:", "Layout": "Diseño", "Light Mode": "Modo claro", + "Line Height": "Altura de línea", "Loading...": "Cargando...", "Loc. {{currentPage}} / {{totalPage}}": "Pos. {{currentPage}} / {{totalPage}}", "Logged in": "Sesión iniciada", @@ -51,9 +59,11 @@ "Maximum Block Size": "Tamaño máximo de bloque", "Maximum Inline Size": "Tamaño máximo en línea", "Maximum Number of Columns": "Número máximo de columnas", + "Minimum Font Size": "Tamaño de fuente mínimo", "Misc": "Varios", "Monospace Font": "Fuente monoespaciada", "More Info": "Más información", + "Nord": "Nord", "Notebook": "Cuaderno", "Notes": "Notas", "Open": "Abrir", @@ -75,10 +85,13 @@ "Search...": "Buscar...", "Select books": "Seleccionar libros", "Select multiple books": "Seleccionar varios libros", + "Sepia": "Sepia", "Serif Font": "Fuente serif", "Sidebar": "Barra lateral", "Sign In": "Iniciar sesión", "Sign Out": "Cerrar sesión", + "Sky": "Cielo", + "Solarized": "Solarizado", "Subjects:": "Temas:", "Theme Color": "Color del tema", "Theme Mode": "Modo del tema", diff --git a/apps/readest-app/public/locales/fr/translation.json b/apps/readest-app/public/locales/fr/translation.json index 40247aae..82d89f57 100644 --- a/apps/readest-app/public/locales/fr/translation.json +++ b/apps/readest-app/public/locales/fr/translation.json @@ -9,16 +9,20 @@ "Bookmark": "Signet", "Cancel": "Annuler", "Chapter": "Chapitre", + "Cherry": "Cerise", "Color": "Couleur", "Confirm": "Confirmer", "Confirm Deletion": "Confirmer la suppression", "Custom CSS": "CSS personnalisé", "Dark Mode": "Mode sombre", + "Default": "Par défaut", "Default Font": "Police par défaut", + "Default Font Size": "Taille de police par défaut", "Delete": "Supprimer", "Disable Click-to-Flip": "Désactiver le clic pour tourner", "Download Readest": "Télécharger Readest", "Edit": "Modifier", + "Enter your custom CSS here...": "Saisissez votre CSS personnalisé ici...", "Excerpts": "Extraits", "Font": "Police", "Font & Layout": "Police et mise en page", @@ -33,6 +37,9 @@ "Go Forward": "Avancer", "Go Left": "Aller à gauche", "Go Right": "Aller à droite", + "Grass": "Herbe", + "Gray": "Gris", + "Gruvbox": "Gruvbox", "Hyphenation": "Césure", "Identifier:": "Identifiant :", "Import Books": "Importer des livres", @@ -40,6 +47,7 @@ "Language:": "Langue :", "Layout": "Mise en page", "Light Mode": "Mode clair", + "Line Height": "Hauteur de ligne", "Loading...": "Chargement...", "Loc. {{currentPage}} / {{totalPage}}": "Pos. {{currentPage}} / {{totalPage}}", "Logged in": "Connecté", @@ -51,9 +59,11 @@ "Maximum Block Size": "Taille maximale du bloc", "Maximum Inline Size": "Taille maximale en ligne", "Maximum Number of Columns": "Nombre maximal de colonnes", + "Minimum Font Size": "Taille minimale de police", "Misc": "Divers", "Monospace Font": "Police monospace", "More Info": "Plus d'informations", + "Nord": "Nord", "Notebook": "Carnet de notes", "Notes": "Notes", "Open": "Ouvrir", @@ -75,10 +85,13 @@ "Search...": "Rechercher...", "Select books": "Sélectionner des livres", "Select multiple books": "Sélectionner plusieurs livres", + "Sepia": "Sépia", "Serif Font": "Police avec empattement", "Sidebar": "Barre latérale", "Sign In": "Se connecter", "Sign Out": "Se déconnecter", + "Sky": "Ciel", + "Solarized": "Solarisé", "Subjects:": "Sujets :", "Theme Color": "Couleur du thème", "Theme Mode": "Mode du thème", diff --git a/apps/readest-app/public/locales/id/translation.json b/apps/readest-app/public/locales/id/translation.json new file mode 100644 index 00000000..d91f8e31 --- /dev/null +++ b/apps/readest-app/public/locales/id/translation.json @@ -0,0 +1,105 @@ +{ + "About Readest": "Tentang Readest", + "Add your notes here...": "Tambahkan catatan Anda di sini...", + "Animation": "Animasi", + "Auto Mode": "Mode Otomatis", + "Behavior": "Perilaku", + "Book": "Buku", + "Book Cover": "Sampul Buku", + "Bookmark": "Penanda", + "Cancel": "Batal", + "Chapter": "Bab", + "Cherry": "Ceri", + "Color": "Warna", + "Confirm": "Konfirmasi", + "Confirm Deletion": "Konfirmasi Penghapusan", + "Custom CSS": "CSS Kustom", + "Dark Mode": "Mode Gelap", + "Default": "Default", + "Default Font": "Font Default", + "Default Font Size": "Ukuran Font Default", + "Delete": "Hapus", + "Disable Click-to-Flip": "Nonaktifkan Klik untuk Membalik", + "Download Readest": "Unduh Readest", + "Edit": "Edit", + "Enter your custom CSS here...": "Masukkan CSS kustom Anda di sini...", + "Excerpts": "Kutipan", + "Font": "Font", + "Font & Layout": "Font & Tata Letak", + "Font Face": "Jenis Font", + "Font Family": "Keluarga Font", + "Font Size": "Ukuran Font", + "From Local File": "Dari File Lokal", + "Full Justification": "Rata Penuh", + "Gaps (%)": "Jarak (%)", + "Global Settings": "Pengaturan Global", + "Go Back": "Kembali", + "Go Forward": "Maju", + "Go Left": "Ke Kiri", + "Go Right": "Ke Kanan", + "Grass": "Rumput", + "Gray": "Abu-abu", + "Gruvbox": "Gruvbox", + "Hyphenation": "Pemenggalan Kata", + "Identifier:": "Pengenal:", + "Import Books": "Impor Buku", + "Invert Colors in Dark Mode": "Balik Warna di Mode Gelap", + "Language:": "Bahasa:", + "Layout": "Tata Letak", + "Light Mode": "Mode Terang", + "Line Height": "Tinggi Baris", + "Loading...": "Memuat...", + "Loc. {{currentPage}} / {{totalPage}}": "Lok. {{currentPage}} / {{totalPage}}", + "Logged in": "Sudah Masuk", + "Logged in as {{userDisplayName}}": "Masuk sebagai {{userDisplayName}}", + "Margins (px)": "Margin (px)", + "Match Case": "Cocokkan Huruf Besar/Kecil", + "Match Diacritics": "Cocokkan Diakritik", + "Match Whole Words": "Cocokkan Kata Utuh", + "Maximum Block Size": "Ukuran Blok Maksimum", + "Maximum Inline Size": "Ukuran Sebaris Maksimum", + "Maximum Number of Columns": "Jumlah Kolom Maksimum", + "Minimum Font Size": "Ukuran Font Minimum", + "Misc": "Lain-lain", + "Monospace Font": "Font Monospace", + "More Info": "Info Lebih Lanjut", + "Nord": "Nord", + "Notebook": "Buku Catatan", + "Notes": "Catatan", + "Open": "Buka", + "Override Publisher Font": "Ganti Font Penerbit", + "Page": "Halaman", + "Paging Animation": "Animasi Halaman", + "Paragraph": "Paragraf", + "Parallel Read": "Baca Paralel", + "Published:": "Diterbitkan:", + "Publisher:": "Penerbit:", + "Reload Page": "Muat Ulang Halaman", + "Reveal in File Explorer": "Tampilkan di File Explorer", + "Reveal in Finder": "Tampilkan di Finder", + "Reveal in Folder": "Tampilkan di Folder", + "Sans-Serif Font": "Font Sans-Serif", + "Save": "Simpan", + "Scrolled Mode": "Mode Gulir", + "Search books...": "Cari buku...", + "Search...": "Cari...", + "Select books": "Pilih buku", + "Select multiple books": "Pilih beberapa buku", + "Sepia": "Sepia", + "Serif Font": "Font Serif", + "Sidebar": "Bilah Samping", + "Sign In": "Masuk", + "Sign Out": "Keluar", + "Sky": "Langit", + "Solarized": "Solarized", + "Subjects:": "Subjek:", + "Theme Color": "Warna Tema", + "Theme Mode": "Mode Tema", + "Unknown": "Tidak Diketahui", + "Untitled": "Tanpa Judul", + "Updated:": "Diperbarui:", + "User avatar": "Avatar Pengguna", + "Version {{version}}": "Versi {{version}}", + "Welcome to your library. You can import your books here and read them anytime.": "Selamat datang di perpustakaan Anda. Anda dapat mengimpor buku-buku Anda di sini dan membacanya kapan saja.", + "Your Library": "Perpustakaan Anda" +} diff --git a/apps/readest-app/public/locales/it/translation.json b/apps/readest-app/public/locales/it/translation.json index 47a6efad..df029db4 100644 --- a/apps/readest-app/public/locales/it/translation.json +++ b/apps/readest-app/public/locales/it/translation.json @@ -9,16 +9,20 @@ "Bookmark": "Segnalibro", "Cancel": "Annulla", "Chapter": "Capitolo", + "Cherry": "Ciliegia", "Color": "Colore", "Confirm": "Conferma", "Confirm Deletion": "Conferma eliminazione", "Custom CSS": "CSS personalizzato", "Dark Mode": "Modalità scura", + "Default": "Predefinito", "Default Font": "Font predefinito", + "Default Font Size": "Dimensione font predefinita", "Delete": "Elimina", "Disable Click-to-Flip": "Disattiva click per voltare pagina", "Download Readest": "Scarica Readest", "Edit": "Modifica", + "Enter your custom CSS here...": "Inserisci qui il tuo CSS personalizzato...", "Excerpts": "Estratti", "Font": "Font", "Font & Layout": "Font e Layout", @@ -33,6 +37,9 @@ "Go Forward": "Avanti", "Go Left": "Vai a sinistra", "Go Right": "Vai a destra", + "Grass": "Erba", + "Gray": "Grigio", + "Gruvbox": "Gruvbox", "Hyphenation": "Sillabazione", "Identifier:": "Identificatore:", "Import Books": "Importa libri", @@ -40,6 +47,7 @@ "Language:": "Lingua:", "Layout": "Layout", "Light Mode": "Modalità chiara", + "Line Height": "Altezza riga", "Loading...": "Caricamento...", "Loc. {{currentPage}} / {{totalPage}}": "Pos. {{currentPage}} / {{totalPage}}", "Logged in": "Accesso effettuato", @@ -51,9 +59,11 @@ "Maximum Block Size": "Dimensione massima blocco", "Maximum Inline Size": "Dimensione massima in linea", "Maximum Number of Columns": "Numero massimo di colonne", + "Minimum Font Size": "Dimensione minima font", "Misc": "Varie", "Monospace Font": "Font monospazio", "More Info": "Maggiori informazioni", + "Nord": "Nord", "Notebook": "Quaderno", "Notes": "Note", "Open": "Apri", @@ -75,10 +85,13 @@ "Search...": "Cerca...", "Select books": "Seleziona libri", "Select multiple books": "Seleziona più libri", + "Sepia": "Seppia", "Serif Font": "Font serif", "Sidebar": "Barra laterale", "Sign In": "Accedi", "Sign Out": "Esci", + "Sky": "Cielo", + "Solarized": "Solarizzato", "Subjects:": "Argomenti:", "Theme Color": "Colore tema", "Theme Mode": "Modalità tema", diff --git a/apps/readest-app/public/locales/ja/translation.json b/apps/readest-app/public/locales/ja/translation.json index 281c0336..2da83b42 100644 --- a/apps/readest-app/public/locales/ja/translation.json +++ b/apps/readest-app/public/locales/ja/translation.json @@ -9,16 +9,20 @@ "Bookmark": "ブックマーク", "Cancel": "キャンセル", "Chapter": "章", + "Cherry": "チェリー", "Color": "色", "Confirm": "確認", "Confirm Deletion": "削除の確認", "Custom CSS": "カスタムCSS", "Dark Mode": "ダークモード", + "Default": "デフォルト", "Default Font": "デフォルトフォント", + "Default Font Size": "デフォルトフォントサイズ", "Delete": "削除", "Disable Click-to-Flip": "クリックめくりを無効化", "Download Readest": "Readestをダウンロード", "Edit": "編集", + "Enter your custom CSS here...": "ここにカスタムCSSを入力...", "Excerpts": "抜粋", "Font": "フォント", "Font & Layout": "フォントとレイアウト", @@ -33,6 +37,9 @@ "Go Forward": "進む", "Go Left": "左へ", "Go Right": "右へ", + "Grass": "グリーン", + "Gray": "グレー", + "Gruvbox": "グルーブボックス", "Hyphenation": "ハイフネーション", "Identifier:": "識別子:", "Import Books": "書籍をインポート", @@ -40,6 +47,7 @@ "Language:": "言語:", "Layout": "レイアウト", "Light Mode": "ライトモード", + "Line Height": "行間", "Loading...": "読み込み中...", "Loc. {{currentPage}} / {{totalPage}}": "位置 {{currentPage}} / {{totalPage}}", "Logged in": "ログイン済み", @@ -51,9 +59,11 @@ "Maximum Block Size": "最大ブロックサイズ", "Maximum Inline Size": "最大インラインサイズ", "Maximum Number of Columns": "最大列数", + "Minimum Font Size": "最小フォントサイズ", "Misc": "その他", "Monospace Font": "等幅フォント", "More Info": "詳細情報", + "Nord": "ノルド", "Notebook": "ノート", "Notes": "メモ", "Open": "開く", @@ -75,10 +85,13 @@ "Search...": "検索...", "Select books": "書籍を選択", "Select multiple books": "複数の書籍を選択", + "Sepia": "セピア", "Serif Font": "明朝体", "Sidebar": "サイドバー", "Sign In": "サインイン", "Sign Out": "サインアウト", + "Sky": "スカイ", + "Solarized": "ソーラライズド", "Subjects:": "主題:", "Theme Color": "テーマカラー", "Theme Mode": "テーマモード", diff --git a/apps/readest-app/public/locales/ko/translation.json b/apps/readest-app/public/locales/ko/translation.json index a54b24c8..2d4fe6b9 100644 --- a/apps/readest-app/public/locales/ko/translation.json +++ b/apps/readest-app/public/locales/ko/translation.json @@ -9,16 +9,20 @@ "Bookmark": "북마크", "Cancel": "취소", "Chapter": "챕터", + "Cherry": "벚꽃색", "Color": "색상", "Confirm": "확인", "Confirm Deletion": "삭제 확인", "Custom CSS": "사용자 정의 CSS", "Dark Mode": "다크 모드", + "Default": "기본값", "Default Font": "기본 글꼴", + "Default Font Size": "기본 글꼴 크기", "Delete": "삭제", "Disable Click-to-Flip": "클릭 넘기기 비활성화", "Download Readest": "Readest 다운로드", "Edit": "편집", + "Enter your custom CSS here...": "여기에 사용자 정의 CSS를 입력하세요...", "Excerpts": "발췌", "Font": "글꼴", "Font & Layout": "글꼴 및 레이아웃", @@ -33,6 +37,9 @@ "Go Forward": "앞으로", "Go Left": "왼쪽으로", "Go Right": "오른쪽으로", + "Grass": "잔디색", + "Gray": "회색", + "Gruvbox": "그러브박스", "Hyphenation": "하이픈 넣기", "Identifier:": "식별자:", "Import Books": "책 가져오기", @@ -40,6 +47,7 @@ "Language:": "언어:", "Layout": "레이아웃", "Light Mode": "라이트 모드", + "Line Height": "줄 간격", "Loading...": "로딩 중...", "Loc. {{currentPage}} / {{totalPage}}": "위치 {{currentPage}} / {{totalPage}}", "Logged in": "로그인됨", @@ -51,9 +59,11 @@ "Maximum Block Size": "최대 블록 크기", "Maximum Inline Size": "최대 인라인 크기", "Maximum Number of Columns": "최대 열 수", + "Minimum Font Size": "최소 글꼴 크기", "Misc": "기타", "Monospace Font": "고정폭 글꼴", "More Info": "추가 정보", + "Nord": "노드", "Notebook": "노트북", "Notes": "메모", "Open": "열기", @@ -75,10 +85,13 @@ "Search...": "검색...", "Select books": "책 선택", "Select multiple books": "여러 책 선택", + "Sepia": "세피아", "Serif Font": "세리프체", "Sidebar": "사이드바", "Sign In": "로그인", "Sign Out": "로그아웃", + "Sky": "하늘색", + "Solarized": "솔라라이즈드", "Subjects:": "주제:", "Theme Color": "테마 색상", "Theme Mode": "테마 모드", diff --git a/apps/readest-app/public/locales/pt/translation.json b/apps/readest-app/public/locales/pt/translation.json index 90aebfc2..8f550b73 100644 --- a/apps/readest-app/public/locales/pt/translation.json +++ b/apps/readest-app/public/locales/pt/translation.json @@ -9,16 +9,20 @@ "Bookmark": "Marcador", "Cancel": "Cancelar", "Chapter": "Capítulo", + "Cherry": "Cereja", "Color": "Cor", "Confirm": "Confirmar", "Confirm Deletion": "Confirmar Exclusão", "Custom CSS": "CSS Personalizado", "Dark Mode": "Modo Escuro", + "Default": "Padrão", "Default Font": "Fonte Padrão", + "Default Font Size": "Tamanho da Fonte Padrão", "Delete": "Excluir", "Disable Click-to-Flip": "Desativar Clique para Virar", "Download Readest": "Baixar Readest", "Edit": "Editar", + "Enter your custom CSS here...": "Insira seu CSS personalizado aqui...", "Excerpts": "Trechos", "Font": "Fonte", "Font & Layout": "Fonte e Layout", @@ -33,6 +37,9 @@ "Go Forward": "Avançar", "Go Left": "Ir para Esquerda", "Go Right": "Ir para Direita", + "Grass": "Grama", + "Gray": "Cinza", + "Gruvbox": "Gruvbox", "Hyphenation": "Hifenização", "Identifier:": "Identificador:", "Import Books": "Importar Livros", @@ -40,6 +47,7 @@ "Language:": "Idioma:", "Layout": "Layout", "Light Mode": "Modo Claro", + "Line Height": "Altura da Linha", "Loading...": "Carregando...", "Loc. {{currentPage}} / {{totalPage}}": "Loc. {{currentPage}} / {{totalPage}}", "Logged in": "Conectado", @@ -51,9 +59,11 @@ "Maximum Block Size": "Tamanho Máximo do Bloco", "Maximum Inline Size": "Tamanho Máximo em Linha", "Maximum Number of Columns": "Número Máximo de Colunas", + "Minimum Font Size": "Tamanho Mínimo da Fonte", "Misc": "Diversos", "Monospace Font": "Fonte Monoespaçada", "More Info": "Mais Informações", + "Nord": "Nord", "Notebook": "Caderno", "Notes": "Notas", "Open": "Abrir", @@ -75,10 +85,13 @@ "Search...": "Pesquisar...", "Select books": "Selecionar livros", "Select multiple books": "Selecionar múltiplos livros", + "Sepia": "Sépia", "Serif Font": "Fonte Serif", "Sidebar": "Barra Lateral", "Sign In": "Entrar", "Sign Out": "Sair", + "Sky": "Céu", + "Solarized": "Solarizado", "Subjects:": "Assuntos:", "Theme Color": "Cor do Tema", "Theme Mode": "Modo do Tema", diff --git a/apps/readest-app/public/locales/ru/translation.json b/apps/readest-app/public/locales/ru/translation.json index 49c32e0f..53afd129 100644 --- a/apps/readest-app/public/locales/ru/translation.json +++ b/apps/readest-app/public/locales/ru/translation.json @@ -9,16 +9,20 @@ "Bookmark": "Закладка", "Cancel": "Отмена", "Chapter": "Глава", + "Cherry": "Вишня", "Color": "Цвет", "Confirm": "Подтвердить", "Confirm Deletion": "Подтвердить удаление", "Custom CSS": "Пользовательский CSS", "Dark Mode": "Тёмная тема", + "Default": "По умолчанию", "Default Font": "Шрифт по умолчанию", + "Default Font Size": "Размер шрифта по умолчанию", "Delete": "Удалить", "Disable Click-to-Flip": "Отключить переворот по клику", "Download Readest": "Скачать Readest", "Edit": "Редактировать", + "Enter your custom CSS here...": "Введите ваш пользовательский CSS здесь...", "Excerpts": "Отрывки", "Font": "Шрифт", "Font & Layout": "Шрифт и макет", @@ -33,6 +37,9 @@ "Go Forward": "Вперёд", "Go Left": "Влево", "Go Right": "Вправо", + "Grass": "Трава", + "Gray": "Серый", + "Gruvbox": "Gruvbox", "Hyphenation": "Перенос слов", "Identifier:": "Идентификатор:", "Import Books": "Импорт книг", @@ -40,6 +47,7 @@ "Language:": "Язык:", "Layout": "Макет", "Light Mode": "Светлая тема", + "Line Height": "Межстрочный интервал", "Loading...": "Загрузка...", "Loc. {{currentPage}} / {{totalPage}}": "Поз. {{currentPage}} / {{totalPage}}", "Logged in": "Выполнен вход", @@ -51,9 +59,11 @@ "Maximum Block Size": "Максимальный размер блока", "Maximum Inline Size": "Максимальный размер строки", "Maximum Number of Columns": "Максимальное количество колонок", + "Minimum Font Size": "Минимальный размер шрифта", "Misc": "Разное", "Monospace Font": "Моноширинный шрифт", "More Info": "Подробнее", + "Nord": "Nord", "Notebook": "Блокнот", "Notes": "Заметки", "Open": "Открыть", @@ -75,10 +85,13 @@ "Search...": "Поиск...", "Select books": "Выбрать книги", "Select multiple books": "Выбрать несколько книг", + "Sepia": "Сепия", "Serif Font": "Шрифт с засечками", "Sidebar": "Боковая панель", "Sign In": "Войти", "Sign Out": "Выйти", + "Sky": "Небесный", + "Solarized": "Солнечный", "Subjects:": "Темы:", "Theme Color": "Цвет темы", "Theme Mode": "Режим темы", diff --git a/apps/readest-app/public/locales/tr/translation.json b/apps/readest-app/public/locales/tr/translation.json index 84bbf5fa..bb820fc7 100644 --- a/apps/readest-app/public/locales/tr/translation.json +++ b/apps/readest-app/public/locales/tr/translation.json @@ -9,16 +9,20 @@ "Bookmark": "Yer İmi", "Cancel": "İptal", "Chapter": "Bölüm", + "Cherry": "Kiraz", "Color": "Renk", "Confirm": "Onayla", "Confirm Deletion": "Silmeyi Onayla", "Custom CSS": "Özel CSS", "Dark Mode": "Karanlık Mod", + "Default": "Varsayılan", "Default Font": "Varsayılan Yazı Tipi", + "Default Font Size": "Varsayılan Yazı Boyutu", "Delete": "Sil", "Disable Click-to-Flip": "Tıkla-Çevir'i Devre Dışı Bırak", "Download Readest": "Readest'i İndir", "Edit": "Düzenle", + "Enter your custom CSS here...": "Özel CSS'nizi buraya girin...", "Excerpts": "Alıntılar", "Font": "Yazı Tipi", "Font & Layout": "Yazı Tipi ve Düzen", @@ -33,6 +37,9 @@ "Go Forward": "İleri Git", "Go Left": "Sola Git", "Go Right": "Sağa Git", + "Grass": "Çimen", + "Gray": "Gri", + "Gruvbox": "Gruvbox", "Hyphenation": "Heceleme", "Identifier:": "Tanımlayıcı:", "Import Books": "Kitapları İçe Aktar", @@ -40,6 +47,7 @@ "Language:": "Dil:", "Layout": "Düzen", "Light Mode": "Aydınlık Mod", + "Line Height": "Satır Yüksekliği", "Loading...": "Yükleniyor...", "Loc. {{currentPage}} / {{totalPage}}": "Konum {{currentPage}} / {{totalPage}}", "Logged in": "Giriş Yapıldı", @@ -51,9 +59,11 @@ "Maximum Block Size": "Maksimum Blok Boyutu", "Maximum Inline Size": "Maksimum Satır İçi Boyut", "Maximum Number of Columns": "Maksimum Sütun Sayısı", + "Minimum Font Size": "Minimum Yazı Boyutu", "Misc": "Diğer", "Monospace Font": "Eş Aralıklı Yazı Tipi", "More Info": "Daha Fazla Bilgi", + "Nord": "Nord", "Notebook": "Not Defteri", "Notes": "Notlar", "Open": "Aç", @@ -75,10 +85,13 @@ "Search...": "Ara...", "Select books": "Kitapları seç", "Select multiple books": "Birden fazla kitap seç", + "Sepia": "Sepya", "Serif Font": "Serif Yazı Tipi", "Sidebar": "Kenar Çubuğu", "Sign In": "Giriş Yap", "Sign Out": "Çıkış Yap", + "Sky": "Gökyüzü", + "Solarized": "Solarized", "Subjects:": "Konular:", "Theme Color": "Tema Rengi", "Theme Mode": "Tema Modu", diff --git a/apps/readest-app/public/locales/vi/translation.json b/apps/readest-app/public/locales/vi/translation.json index e5504ce2..b39e1768 100644 --- a/apps/readest-app/public/locales/vi/translation.json +++ b/apps/readest-app/public/locales/vi/translation.json @@ -9,16 +9,20 @@ "Bookmark": "Đánh dấu", "Cancel": "Hủy", "Chapter": "Chương", + "Cherry": "Đỏ anh đào", "Color": "Màu sắc", "Confirm": "Xác nhận", "Confirm Deletion": "Xác nhận xóa", "Custom CSS": "CSS tùy chỉnh", "Dark Mode": "Chế độ tối", + "Default": "Mặc định", "Default Font": "Phông chữ mặc định", + "Default Font Size": "Cỡ chữ mặc định", "Delete": "Xóa", "Disable Click-to-Flip": "Tắt tính năng nhấp để lật trang", "Download Readest": "Tải Readest", "Edit": "Chỉnh sửa", + "Enter your custom CSS here...": "Nhập CSS tùy chỉnh của bạn vào đây...", "Excerpts": "Trích dẫn", "Font": "Phông chữ", "Font & Layout": "Phông chữ & Bố cục", @@ -33,6 +37,9 @@ "Go Forward": "Tiến tới", "Go Left": "Sang trái", "Go Right": "Sang phải", + "Grass": "Xanh cỏ", + "Gray": "Xám", + "Gruvbox": "Gruvbox", "Hyphenation": "Gạch nối từ", "Identifier:": "Định danh:", "Import Books": "Nhập sách", @@ -40,6 +47,7 @@ "Language:": "Ngôn ngữ:", "Layout": "Bố cục", "Light Mode": "Chế độ sáng", + "Line Height": "Độ cao dòng", "Loading...": "Đang tải...", "Loc. {{currentPage}} / {{totalPage}}": "Vị trí {{currentPage}} / {{totalPage}}", "Logged in": "Đã đăng nhập", @@ -51,9 +59,11 @@ "Maximum Block Size": "Kích thước khối tối đa", "Maximum Inline Size": "Kích thước nội tuyến tối đa", "Maximum Number of Columns": "Số cột tối đa", + "Minimum Font Size": "Cỡ chữ tối thiểu", "Misc": "Khác", "Monospace Font": "Phông chữ đơn cách", "More Info": "Thông tin thêm", + "Nord": "Nord", "Notebook": "Sổ ghi chép", "Notes": "Ghi chú", "Open": "Mở", @@ -75,10 +85,13 @@ "Search...": "Tìm kiếm...", "Select books": "Chọn sách", "Select multiple books": "Chọn nhiều sách", + "Sepia": "Nâu cổ", "Serif Font": "Phông chữ có chân", "Sidebar": "Thanh bên", "Sign In": "Đăng nhập", "Sign Out": "Đăng xuất", + "Sky": "Xanh trời", + "Solarized": "Solarized", "Subjects:": "Chủ đề:", "Theme Color": "Màu chủ đề", "Theme Mode": "Chế độ chủ đề", diff --git a/apps/readest-app/public/locales/zh-CN/translation.json b/apps/readest-app/public/locales/zh-CN/translation.json index 63f57c55..6d1691b4 100644 --- a/apps/readest-app/public/locales/zh-CN/translation.json +++ b/apps/readest-app/public/locales/zh-CN/translation.json @@ -9,16 +9,20 @@ "Bookmark": "书签", "Cancel": "取消", "Chapter": "章节", + "Cherry": "樱粉", "Color": "颜色", "Confirm": "确认", "Confirm Deletion": "确认删除", "Custom CSS": "自定义 CSS", "Dark Mode": "深色主题", + "Default": "默认", "Default Font": "默认字体", + "Default Font Size": "默认字号", "Delete": "删除", "Disable Click-to-Flip": "禁用点击翻页", "Download Readest": "下载 Readest", "Edit": "编辑", + "Enter your custom CSS here...": "在此处输入您的自定义 CSS...", "Excerpts": "摘录", "Font": "字体", "Font & Layout": "字体和布局", @@ -33,6 +37,9 @@ "Go Forward": "前进", "Go Left": "向左", "Go Right": "向右", + "Grass": "青草", + "Gray": "素雅", + "Gruvbox": "暖橘", "Hyphenation": "断字", "Identifier:": "识别码", "Import Books": "导入书籍", @@ -40,6 +47,7 @@ "Language:": "语言", "Layout": "布局", "Light Mode": "浅色主题", + "Line Height": "行高", "Loading...": "加载中...", "Loc. {{currentPage}} / {{totalPage}}": "位置 {{currentPage}} / {{totalPage}}", "Logged in": "已登录", @@ -51,9 +59,11 @@ "Maximum Block Size": "内容最大宽度", "Maximum Inline Size": "每栏最大宽度", "Maximum Number of Columns": "分栏数", + "Minimum Font Size": "最小字号", "Misc": "杂项", "Monospace Font": "等宽字体", "More Info": "更多信息", + "Nord": "极光", "Notebook": "笔记本", "Notes": "笔记", "Open": "打开", @@ -75,10 +85,13 @@ "Search...": "搜索...", "Select books": "选择书籍", "Select multiple books": "选择多本书籍", + "Sepia": "旧韵", "Serif Font": "衬线字体", "Sidebar": "侧边栏", "Sign In": "登录", "Sign Out": "登出", + "Sky": "天青", + "Solarized": "日晖", "Subjects:": "主题", "Theme Color": "主题颜色", "Theme Mode": "主题模式", diff --git a/apps/readest-app/public/locales/zh-TW/translation.json b/apps/readest-app/public/locales/zh-TW/translation.json index 28400d1a..890e9991 100644 --- a/apps/readest-app/public/locales/zh-TW/translation.json +++ b/apps/readest-app/public/locales/zh-TW/translation.json @@ -9,16 +9,20 @@ "Bookmark": "書籤", "Cancel": "取消", "Chapter": "章節", + "Cherry": "櫻粉", "Color": "顏色", "Confirm": "確認", "Confirm Deletion": "確認刪除", "Custom CSS": "自定義 CSS", "Dark Mode": "深色主題", + "Default": "預設", "Default Font": "預設字體", + "Default Font Size": "預設字號", "Delete": "刪除", "Disable Click-to-Flip": "禁用點擊翻頁", "Download Readest": "下載 Readest", "Edit": "編輯", + "Enter your custom CSS here...": "在此處輸入您的自定義 CSS...", "Excerpts": "摘錄", "Font": "字體", "Font & Layout": "字體和版面", @@ -33,6 +37,9 @@ "Go Forward": "前進", "Go Left": "向左", "Go Right": "向右", + "Grass": "青草", + "Gray": "素雅", + "Gruvbox": "暖橘", "Hyphenation": "斷字", "Identifier:": "識別碼", "Import Books": "導入書籍", @@ -40,6 +47,7 @@ "Language:": "語言", "Layout": "版面", "Light Mode": "淺色主題", + "Line Height": "行高", "Loading...": "載入中...", "Loc. {{currentPage}} / {{totalPage}}": "位置 {{currentPage}} / {{totalPage}}", "Logged in": "已登入", @@ -51,9 +59,11 @@ "Maximum Block Size": "內容最大寬度", "Maximum Inline Size": "每欄最大寬度", "Maximum Number of Columns": "分欄數", + "Minimum Font Size": "最小字號", "Misc": "雜項", "Monospace Font": "等寬字體", "More Info": "更多信息", + "Nord": "極光", "Notebook": "筆記本", "Notes": "筆記", "Open": "打開", @@ -75,10 +85,13 @@ "Search...": "搜索...", "Select books": "選擇書籍", "Select multiple books": "選擇多本書籍", + "Sepia": "舊韻", "Serif Font": "襯線字體", "Sidebar": "側邊欄", "Sign In": "登入", "Sign Out": "登出", + "Sky": "天青", + "Solarized": "日暉", "Subjects:": "主題", "Theme Color": "主題顏色", "Theme Mode": "主題模式", diff --git a/apps/readest-app/src/app/reader/components/settings/ColorPanel.tsx b/apps/readest-app/src/app/reader/components/settings/ColorPanel.tsx index 3f92b516..a18570fa 100644 --- a/apps/readest-app/src/app/reader/components/settings/ColorPanel.tsx +++ b/apps/readest-app/src/app/reader/components/settings/ColorPanel.tsx @@ -84,7 +84,7 @@ const ColorPanel: React.FC<{ bookKey: string }> = ({ bookKey }) => { ) : ( )} - {label} + {_(label)} ))} diff --git a/apps/readest-app/src/app/reader/components/settings/FontPanel.tsx b/apps/readest-app/src/app/reader/components/settings/FontPanel.tsx index 02ddec25..00485f88 100644 --- a/apps/readest-app/src/app/reader/components/settings/FontPanel.tsx +++ b/apps/readest-app/src/app/reader/components/settings/FontPanel.tsx @@ -152,7 +152,7 @@ const FontPanel: React.FC<{ bookKey: string }> = ({ bookKey }) => {
= ({ bookKey }) => { /> = ({ bookKey }) => {
= ({ bookKey }) => {