Remove "Hide menu button" option from settings and localization files

- Deleted the "Hide menu button" setting from the reader settings component and its related actions, reducers, and state management.
- Removed corresponding translations for "Hide menu button" from various localization files (e.g., ar.json, bg.json, bn.json, etc.).
This commit is contained in:
troyeguo committed 2026-07-14 10:37:23 +08:00
1 parent a4b6edbec1
commit 6507bb902b
51 files changed
+13 -96

No files matched your search

-1
View File
@@ -412,7 +412,6 @@
"Authorize": "ፈቃድ ስጥ",
"Open book without adding it to library": "መጽሐፍን ወደ ቤተ-መጽሐፍት ሳይጨመር ክፈት",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Koodo በመጠቀም በፋይል አስተዳዳሪ ውስጥ መጽሐፍትን ሲክፈቱ የተከፈቱት መጽሐፍት ወደ ቤተ-መጽሐፍት አይጨምሩም",
"Hide menu button": "የምናሌ አዝራርን ደብቅ",
"Manage": "አስተዳድር",
"Sliding animation": "የስላይድ እንቅስቃሴ",
"Please turn off open books in the main window": "እባክዎ በዋናው መስኮት ውስጥ ያሉትን ክፍት መጽሐፍት ይዝጉ",
-1
View File
@@ -314,7 +314,6 @@
"Authorize": "تفويض",
"Open book without adding it to library": "فتح الكتاب دون إضافته إلى المكتبة",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "عند فتح الكتب في مدير الملفات باستخدام Koodo ، لن تتم إضافة الكتب المفتوحة إلى المكتبة",
"Hide menu button": "إخفاء زر القائمة",
"Manage": "إدارة",
"Sliding animation": "حركة أنزلاقية",
"Please turn off open books in the main window": "الرجاء إيقاف تشغيل الكتب المفتوحة في النافذة الرئيسة",
-1
View File
@@ -312,7 +312,6 @@
"Authorize": "Упълномощаване",
"Open book without adding it to library": "Отваряне на книга без добавяне в библиотеката",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Когато се отварят книги във файловия мениджър с Koodo, отворените книги няма да се добавят в библиотеката",
"Hide menu button": "Бутон за скриване на менюто",
"Manage": "Управление",
"Sliding animation": "Плъзгаща се анимация",
"Please turn off open books in the main window": "Моля, затворете отворените книги в основния прозорец",
-1
View File
@@ -312,7 +312,6 @@
"Authorize": "অনুমোদন করুন",
"Open book without adding it to library": "লাইব্রেরীতে যোগ না করে বইটি খুলুন",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "যখন ফাইল ম্যানেজার থেকে Koodo দিয়ে বই খোলা হবে, তখন সেই বইটি লাইব্রেরীতে যুক্ত হবে না",
"Hide menu button": "মেনু বাটন আড়াল করুন",
"Manage": "ম্যানেজ",
"Sliding animation": "স্লাইডিং অ্যানিমেশন",
"Please turn off open books in the main window": "অনুগ্রহ করে প্রধান উইন্ডোজে খোলা বইগুলি বন্ধ করুন",
-1
View File
@@ -312,7 +312,6 @@
"Authorize": "དབང་སྤྲོད།",
"Open book without adding it to library": "དཔེ་མཛོད་དུ་མ་འཇོག་པར་དཔེ་ཆ་ཁ་ཕྱེས།",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "དཔེ་ཆ་གསར་བ་ཁ་ཕྱེས་སྐབས་དཔེ་མཛོད་ཁྲོད་དུ་སྐྱེལ་འཇོག་མི་བྱ།",
"Hide menu button": "གདམ་ཐོ་སྦས།",
"Manage": "དོ་དམ།",
"Sliding animation": "འདྲེད་བརྡར་འགུལ་རིས།",
"Please turn off open books in the main window": "སྒེའུ་ཁུང་གཙོ་བོའི་ནང་གི་དཔེ་ཆ་སྒོ་རྒྱོབ།",
-1
View File
@@ -315,7 +315,6 @@
"Authorize": "Autorizovat",
"Open book without adding it to library": "Otevřít knihu bez přidání do knihovny",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Při otevření knih ve správci souborů pomocí aplikace Koodo se otevřené knihy nepřidají do knihovny",
"Hide menu button": "Skrýt tlačítko nabídky",
"Manage": "Spravovat",
"Sliding animation": "Posuvná animace",
"Please turn off open books in the main window": "Vypněte prosím otevřené knihy v hlavním okně",
-1
View File
@@ -363,7 +363,6 @@
"Authorize": "Godkend",
"Open book without adding it to library": "Åbn bog uden at tilføje til bibliotek",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Når bøger åbnes i filhåndteringen med Koodo, tilføjes de ikke til biblioteket",
"Hide menu button": "Skjul menuknap",
"Please turn off open books in the main window": "Sluk for åbne bøger i hovedvinduet",
"This action will delete all the notes, bookmarks and digests of this book": "Denne handling sletter alle noter, bogmærker og uddrag i denne bog",
"More formats supported": "Flere formater understøttes",
-1
View File
@@ -315,7 +315,6 @@
"Authorize": "Autorisieren",
"Open book without adding it to library": "Öffne das Buch ohne es zur Bibliothek hinzuzufügen",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Beim Öffnen von Büchern im Dateimanager mit Koodo werden die geöffneten Bücher nicht zur Bibliothek hinzugefügt",
"Hide menu button": "Menü-Button verstecken",
"Manage": "Verwalten",
"Sliding animation": "Gleitende Animation",
"Please turn off open books in the main window": "Bitte deaktivieren Sie \"Öffne Bücher im Hauptfenster\"",
-1
View File
@@ -359,7 +359,6 @@
"Authorize": "Εξουσιοδότηση",
"Open book without adding it to library": "Άνοιγμα βιβλίου χωρίς προσθήκη στη βιβλιοθήκη",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Όταν ανοίγετε βιβλία μέσω του Koodo από τον διαχειριστή αρχείων, δεν προστίθενται στη βιβλιοθήκη",
"Hide menu button": "Απόκρυψη κουμπιού μενού",
"Manage": "Διαχείριση",
"Sliding animation": "Κινούμενη κύλιση",
"Please turn off open books in the main window": "Κλείστε τα βιβλία που είναι ανοιχτά στο κύριο παράθυρο",
-1
View File
@@ -464,7 +464,6 @@
"Authorize": "Authorize",
"Open book without adding it to library": "Open book without adding it to library",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "When opening books in the file manager with Koodo, the opened books won't be added to the library",
"Hide menu button": "Hide menu button",
"Manage": "Manage",
"Sliding animation": "Sliding animation",
"Page turning animation": "Page turning animation",
-1
View File
@@ -316,7 +316,6 @@
"Authorize": "Autorizar",
"Open book without adding it to library": "Abrir libro sin agregarlo a la biblioteca",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Al abrir libros del manejador de archivos con Koodo, éstos no se agregarán a su biblioteca",
"Hide menu button": "Esconder botón de menú",
"Manage": "Administrar",
"Sliding animation": "Animación Deslizante",
"Please turn off open books in the main window": "Por favor cierre los libros abiertos de la ventana principal",
-1
View File
@@ -319,7 +319,6 @@
"Authorize": "احراز هویت",
"Open book without adding it to library": "کتاب را بدون افزودن به کتابخانه باز کنید",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "هنگام باز کردن کتاب ها در مدیر فایل با کودو، کتاب های باز شده به کتابخانه اضافه نمی شوند",
"Hide menu button": "دکمه مخفی کردن منو",
"Manage": "مدیریت کردن",
"Sliding animation": "انیمیشن کشویی",
"Please turn off open books in the main window": "لطفاً کتاب‌های باز را در پنجره اصلی ببندید",
-1
View File
@@ -256,7 +256,6 @@
"Deselect all": "Älä valitse mitään",
"Authorize": "Valtuuta",
"Open book without adding it to library": "Avaa kirja lisäämättä sitä kirjastoon",
"Hide menu button": "Piilota valikkopainike",
"Manage": "Hallitse",
"Sliding animation": "Liu'utusanimaatio",
"Use first page as PDF cover": "Käytä ensimmäistä sivua PDF-kantena",
-1
View File
@@ -316,7 +316,6 @@
"Authorize": "Autoriser",
"Open book without adding it to library": "Ouvrir un livre sans l’ajouter à la bibliothèque",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Lorsque vous ouvrez des livres dans le gestionnaire de fichiers avec Koodo, les livres ouverts ne sont pas ajoutés à la bibliothèque.",
"Hide menu button": "Masquer le bouton du menu",
"Manage": "Gérer",
"Sliding animation": "Animation coulissante",
"Please turn off open books in the main window": "Veuillez fermer les livres ouverts dans la fenêtre principale",
-1
View File
@@ -358,7 +358,6 @@
"Authorize": "Údarú",
"Open book without adding it to library": "Oscail leabhar gan é a chur leis an leabharlann",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Agus leabhair á oscailt sa bhainisteoir comhad le Koodo, ní chuirfear na leabhair oscailte leis an leabharlann",
"Hide menu button": "Folaigh cnaipe roghchlár",
"Manage": "Bainistiú",
"Sliding animation": "Beochan sleamhnáin",
"Please turn off open books in the main window": "Múch leabhair oscailte sa phríomhfhuinneog",
-1
View File
@@ -358,7 +358,6 @@
"Authorize": "अधिकृत",
"Open book without adding it to library": "किताबें लाइब्रेरी में जोड़े बिना खोलें",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Koodo से File Manager में किताबें खोलते समय, खोली गईं किताबें लाइब्रेरी में नहीं जुड़ेगीं",
"Hide menu button": "मेन्यू बटन छिपाएं",
"Manage": "मैनेज़",
"Sliding animation": "स्लाडिंग एनीमेशन्",
"Please turn off open books in the main window": "कृपया मुख्य विंडो में किताबें बंद करें",
-1
View File
@@ -358,7 +358,6 @@
"Authorize": "Engedélyezés",
"Open book without adding it to library": "Könyv megnyitása könyvtárhoz való hozzáadás nélkül",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Ha könyveket nyit meg a fájlkezelőben a Koodo segítségével, a megnyitott könyvek nem kerülnek be a könyvtárba",
"Hide menu button": "Menü gomb elrejtése",
"Manage": "Kezelés",
"Sliding animation": "Csúsztatási animáció",
"Please turn off open books in the main window": "Kérjük, zárja be a nyitott könyveket a főablakban",
-1
View File
@@ -312,7 +312,6 @@
"Authorize": "Մուտք գործել",
"Open book without adding it to library": "Բացել գրքերն առանց գրադարանի մեջ ավելացնելու",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Համակարգչում գտնվող գրքերը Koodo ծրագրով բացելիս՝ դրանք կբացվեն, բայց չեն ավելացվի գրադարանի մեջ",
"Hide menu button": "Թաքցնել մենյու կոճակը",
"Manage": "Կառավարել",
"Sliding animation": "Թերթելու անիմացիա",
"Please turn off open books in the main window": "Անջատեք գրքերը հիմնական պատուհանում բացելը",
-1
View File
@@ -312,7 +312,6 @@
"Authorize": "Mengizinkan",
"Open book without adding it to library": "Buka buku tanpa menambahkannya ke perpustakaan",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Saat membuka buku di manajer file dengan Koodo, buku yang dibuka tidak akan ditambahkan ke perpustakaan",
"Hide menu button": "Sembunyikan tombol menu",
"Manage": "Kelola",
"Sliding animation": "Animasi Geser",
"Please turn off open books in the main window": "Harap matikan buku yang terbuka di jendela utama",
-1
View File
@@ -362,7 +362,6 @@
"Authorize": "Autorisar",
"Open book without adding it to library": "Aperir book without adding it to library",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Quande abrir libros in li gerer de files con Koodo, li apertet libros ne va esser adjuntet al biblioteca",
"Hide menu button": "Celar menu button",
"Please turn off open books in the main window": "Pro favor, clude li apert libres in li principal fenestre",
"This action will delete all the notes, bookmarks and digests of this book": "Ti action va deleter omni notes, marcapages e extraktes de ti libre",
"More formats supported": "Plu formates supportat",
-1
View File
@@ -312,7 +312,6 @@
"Authorize": "Autorizza",
"Open book without adding it to library": "Apri il libro senza aggiungerlo alla libreria",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Quando si aprono libri nel file manager con Koodo, i libri aperti non verranno aggiunti alla libreria",
"Hide menu button": "Nascondi il pulsante del menu",
"Manage": "Gestisci",
"Sliding animation": "Animazione a scorrimento",
"Please turn off open books in the main window": "Si prega di chiudere i libri aperti nella finestra principale",
-1
View File
@@ -312,7 +312,6 @@
"Authorize": "権限",
"Open book without adding it to library": "ライブラリに追加せずに図書を開く",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Koodoを使用してフォルダ内の図書を開くと、図書はライブラリに追加されません",
"Hide menu button": "メニューボタンを表示しない",
"Manage": "管理する",
"Sliding animation": "ページをめくるアニメーション",
"Please turn off open books in the main window": "メインウィンドウで開いている図書を閉じてください",
-1
View File
@@ -315,7 +315,6 @@
"Authorize": "인증",
"Open book without adding it to library": "라이브러리에 추가하지 않고 책 열기",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "탐색기에서 책을 열면, 라이브러리에 추가하지 않습니다",
"Hide menu button": "메뉴 버튼 숨기기",
"Manage": "합치기",
"Sliding animation": "미끄러지는 애니메이션",
"Please turn off open books in the main window": "기본 창에 열어둔 책을 닫으세요",
-1
View File
@@ -312,7 +312,6 @@
"Authorize": "Goedkeuren",
"Open book without adding it to library": "Boeken openen zonder toe te voegen aan bibliotheek",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Als boeken vanuit de bestandsbeheerder geopend worden, dan worden ze niet toegevoegd aan de bibliotheek",
"Hide menu button": "Menuknop verbergen",
"Manage": "Beheren",
"Sliding animation": "Verschuifanimatie",
"Please turn off open books in the main window": "Sluit de geopende boeken in het hoofdvenster",
-1
View File
@@ -314,7 +314,6 @@
"Authorize": "Autoryzuj",
"Open book without adding it to library": "Otwórz książkę bez dodawania jej do biblioteki",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Podczas otwierania książek w menedżerze plików za pomocą Koodo otwarte książki nie zostaną dodane do biblioteki",
"Hide menu button": "Ukryj przycisk menu",
"Manage": "Zarządzaj",
"Sliding animation": "Animacja przewijania",
"Please turn off open books in the main window": "Wyłącz otwarte książki w głównym oknie",
-1
View File
@@ -316,7 +316,6 @@
"Authorize": "Autorizar",
"Open book without adding it to library": "Abrir livro sem adicionar à biblioteca",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Quando abrir livros no gerenciador de arquivos com Koodo, os livros abertos não serão adicionados à biblioteca",
"Hide menu button": "Esconder botão de menu",
"Manage": "Gerenciar",
"Sliding animation": "Animação de deslize",
"Please turn off open books in the main window": "Por favor, desabilite abertura de livros na janela principal",
-1
View File
@@ -365,7 +365,6 @@
"Authorize": "Autorizar",
"Open book without adding it to library": "Abrir livro sem adicionar à biblioteca",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Quando abrir livros no gerenciador de arquivos com Koodo, os livros abertos não serão adicionados à biblioteca",
"Hide menu button": "Esconder botão de menu",
"Manage": "Gerenciar",
"Sliding animation": "Animação de deslize",
"Please turn off open books in the main window": "Por favor, desabilite abertura de livros na janela principal",
-1
View File
@@ -314,7 +314,6 @@
"Authorize": "Autorizați",
"Open book without adding it to library": "Deschide cartea fără a o adăuga la bibliotecă",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Când deschideți cărți în managerul de fișiere cu Koodo, cărțile deschise nu vor fi adăugate în bibliotecă",
"Hide menu button": "Ascundeți butonul pentru meniu",
"Manage": "Administrați",
"Sliding animation": "Animație de alunecare",
"Please turn off open books in the main window": "Vă rugăm să dezactivați cărțile deschise în fereastra principală",
-1
View File
@@ -314,7 +314,6 @@
"Authorize": "Авторизовать",
"Open book without adding it to library": "Открыть книгу, не добавляя ее в библиотеку",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "При открытии книг в файловом менеджере с помощью Koodo открытые книги не добавляются в библиотеку",
"Hide menu button": "Скрыть кнопку меню",
"Manage": "Управлять",
"Sliding animation": "Анимация перелистывания",
"Please turn off open books in the main window": "Пожалуйста, отключите открытие книг в главном окне",
-1
View File
@@ -174,7 +174,6 @@
"Hide books which have been added to the shelf, so they won't show up in home page": "Skrij knjige, ki so bile dodane na polico, da ne bodo prikazane na domači strani",
"Hide footer": "Skrij nogo",
"Hide header": "Skrij glavo",
"Hide menu button": "Skrij menijski gumb",
"Hide mimical background": "Skrij mimično ozadje",
"Highlight": "Poudari",
"Highlighting successful": "Poudarjanje uspešno",
-1
View File
@@ -409,7 +409,6 @@
"Authorize": "Autorizuj",
"Open book without adding it to library": "Otvorite knjigu bez dodavanja u biblioteku",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Kada otvarate knjige u menadžeru fajlova sa Koodo, otvorene knjige neće biti dodane u biblioteku",
"Hide menu button": "Sakrij dugme menija",
"Manage": "Upravljaj",
"Sliding animation": "Animacija klizanja",
"Please turn off open books in the main window": "Molimo zatvorite otvorene knjige u glavnom prozoru",
-1
View File
@@ -359,7 +359,6 @@
"Authorize": "Autentisera",
"Open book without adding it to library": "Öppna bok utan att lägga till den i biblioteket",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Vid öppnande av böcker i Koodos filutforskare kommer böckerna inte att läggas till i biblioteket",
"Hide menu button": "Dölj menyknappen",
"Manage": "Hantera",
"Sliding animation": "Glidanimation",
"Please turn off open books in the main window": "Vänligen slå av öppna böcker i huvudfönstret",
-1
View File
@@ -357,7 +357,6 @@
"Authorize": "அங்கீகரி",
"Open book without adding it to library": "நூலகத்தில் சேர்க்காமல் புத்தகத்தைத் திறக்கவும்",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "கோப்பு மேலாளரில் கூடூ மூலம் புத்தகங்களைத் திறக்கும்போது, திறக்கப்பட்ட புத்தகங்கள் நூலகத்தில் சேர்க்கப்படாது",
"Hide menu button": "மெனு பொத்தானை மறை",
"Manage": "நிர்வகி",
"Sliding animation": "சறுக்கும் அனிமேஷன்",
"Please turn off open books in the main window": "தயவுசெய்து பிரதான சாளரத்தில் திறந்த புத்தகங்களை மூடவும்",
-1
View File
@@ -324,7 +324,6 @@
"Authorize": "อนุญาต",
"Open book without adding it to library": "เปิดหนังสือโดยไม่เพิ่มลงในห้องสมุด",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "เมื่อเปิดหนังสือในตัวจัดการไฟล์ด้วย Koodo หนังสือที่เปิดจะไม่ถูกเพิ่มลงในห้องสมุด",
"Hide menu button": "ซ่อนปุ่มเมนู",
"Manage": "จัดการ",
"Sliding animation": "ภาพเคลื่อนไหวแบบเลื่อน",
"Please turn off open books in the main window": "โปรดปิดการเปิดหนังสือในหน้าต่างหลัก",
-1
View File
@@ -357,7 +357,6 @@
"Authorize": "Pahintulutan",
"Open book without adding it to library": "Buksan ang libro nang hindi idinadagdag sa library",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Kapag nagbubukas ng mga libro sa file manager gamit ang Koodo, ang mga bukas na libro ay hindi idaragdag sa library",
"Hide menu button": "Itago ang menu button",
"Manage": "Pamahalaan",
"Sliding animation": "Animasyon ng pagdulas",
"Please turn off open books in the main window": "Mangyaring isara ang mga bukas na libro sa pangunahing window",
-1
View File
@@ -314,7 +314,6 @@
"Authorize": "Yetkilendir",
"Open book without adding it to library": "Kitabı kitaplığa eklemeden aç",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Koodo ile dosya yöneticisinde kitap açarken, açılan kitaplar kitaplığa eklenmeyecek",
"Hide menu button": "Menü tuşunu gizle",
"Manage": "Yönet",
"Sliding animation": "Kaydırma animasyonu",
"Please turn off open books in the main window": "Lütfen ana pencerede açık kitapları kapatın",
-1
View File
@@ -307,7 +307,6 @@
"Authorize": "Авторизуватися",
"Open book without adding it to library": "Відкрити книгу, не додаючи її до бібліотеки",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Під час відкриття книг у файловому менеджері за допомогою Koodo, відкриті книги не будуть додані до бібліотеки",
"Hide menu button": "Сховати кнопку меню",
"Manage": "Керувати",
"Sliding animation": "Анімація ковзання",
"Please turn off open books in the main window": "Будь ласка, вимкніть відкриті книги в головному вікні",
-1
View File
@@ -363,7 +363,6 @@
"Deselect all": "Bỏ chọn tất cả",
"Authorize": "Cho quyền",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "Khi mở sách trong trình quản lý tệp bằng Koodo, sách đã mở sẽ không được thêm vào thư viện",
"Hide menu button": "Ẩn nút menu",
"Manage": "Quản lý",
"Sliding animation": "Hoạt ảnh trượt",
"Please turn off open books in the main window": "Vui lòng đóng sách đang mở trong cửa sổ chính",
-1
View File
@@ -882,7 +882,6 @@
"Authorize": "授权",
"Open book without adding it to library": "打开图书但不添加到书库",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "当您使用Koodo打开文件夹中的图书时,图书不会被添加到书库中",
"Hide menu button": "不显示菜单按钮",
"Manage": "管理",
"Sliding animation": "翻页动画",
"Page turning animation": "翻页动画",
-1
View File
@@ -312,7 +312,6 @@
"Authorize": "授權",
"Open book without adding it to library": "僅閲讀而不將其添加到書庫",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "使用Koodo在文件管理器中開啟書籍時,開啟的書籍不會添加到書庫中",
"Hide menu button": "隱藏選單按鈕",
"Manage": "管理",
"Sliding animation": "翻頁動畫",
"Please turn off open books in the main window": "請關閉主視窗中開啟的書籍",
-1
View File
@@ -317,7 +317,6 @@
"Authorize": "綁定",
"Open book without adding it to library": "打開書籍但不添加到書庫",
"When opening books in the file manager with Koodo, the opened books won't be added to the library": "當您使用Koodo打開文件夾中的書籍時,書籍不會被添加到書庫中",
"Hide menu button": "不顯示選單按鈕",
"Manage": "管理",
"Sliding animation": "滑動動畫",
"Please turn off open books in the main window": "請關閉直接在主視窗打開書籍的選項",
@@ -5,7 +5,7 @@ import { ConfigService } from "../../../assets/lib/kookit-extra-browser.min";
import { readerSettingList } from "../../../constants/settingList";
import { wordFrequencyList } from "../../../constants/dropdownList";
import toast from "react-hot-toast";
import { vexComfirmAsync, detectLocalLanguage } from "../../../utils/common";
import { detectLocalLanguage } from "../../../utils/common";
import BookUtil from "../../../utils/file/bookUtil";
class SettingSwitch extends React.Component<
SettingSwitchProps,
@@ -32,8 +32,6 @@ class SettingSwitch extends React.Component<
ConfigService.getReaderConfig("isHideBackground") === "yes",
isHideFooter: ConfigService.getReaderConfig("isHideFooter") === "yes",
isHideHeader: ConfigService.getReaderConfig("isHideHeader") === "yes",
isHideMenuButton:
ConfigService.getReaderConfig("isHideMenuButton") === "yes",
isShowPageBorder:
ConfigService.getReaderConfig("isShowPageBorder") === "yes",
isCustomBookCSS:
@@ -405,24 +403,7 @@ class SettingSwitch extends React.Component<
isShowPageBorder: this.props.handleShowBorder,
};
if (propName === "isHideMenuButton") {
if (!this.state.isHideMenuButton) {
const result = await vexComfirmAsync(
"After hiding the menu button, you can move the mouse to the edge of the window to show it again."
);
if (result) {
this.props.handleHideMenuButton(true);
ConfigService.setReaderConfig(
"isHideMenuButton",
"yes"
);
toast(this.props.t("Change successful"));
}
} else {
this.props.handleHideMenuButton(false);
this.handleChange("isHideMenuButton");
}
} else if (propName === "isShowPageBorder") {
if (propName === "isShowPageBorder") {
this.props.handleShowBorder(!this.state.isShowPageBorder);
if (!this.state.isShowPageBorder) {
this.props.handleHideBackground(true);
@@ -6,7 +6,6 @@ import {
handleHideFooter,
handleHideHeader,
handleHideBackground,
handleHideMenuButton,
handleShowBorder,
handleSetting,
handleSettingMode,
@@ -26,7 +25,6 @@ const actionCreator = {
handleHideFooter,
handleHideHeader,
handleHideBackground,
handleHideMenuButton,
handleShowBorder,
handleSetting,
handleSettingMode,
@@ -11,7 +11,6 @@ export interface SettingSwitchProps {
handleHideHeader: (isHideHeader: boolean) => void;
t: (title: string) => string;
handleHideBackground: (isHideBackground: boolean) => void;
handleHideMenuButton: (isHideMenuButton: boolean) => void;
handleShowBorder: (isShowPageBorder: boolean) => void;
handleSetting: (isOpenSetting: boolean) => void;
handleSettingMode: (mode: string) => void;
@@ -33,7 +32,6 @@ export interface SettingSwitchState {
isKeepPDFBackground: boolean;
isBionic: boolean;
isHideHeader: boolean;
isHideMenuButton: boolean;
isShowPageBorder: boolean;
isCustomBookCSS: boolean;
customBookCSS: string;
-5
View File
@@ -567,11 +567,6 @@ export const readerSettingList = [
propName: "isHideBackground",
isPDF: true,
},
{
title: "Hide menu button",
propName: "isHideMenuButton",
isPDF: true,
},
];
export const officialTranList = {
Automatic: "Automatic",
+11 -13
View File
@@ -644,19 +644,17 @@ class Reader extends React.Component<ReaderProps, ReaderState> {
></span>
</div>
)}
{!this.props.isHideMenuButton && (
<div
className="reader-setting-icon-container"
onClick={() => {
this.handleEnterReader("left");
this.handleEnterReader("right");
this.handleEnterReader("bottom");
this.handleEnterReader("top");
}}
>
<span className="icon-grid reader-setting-icon"></span>
</div>
)}
<div
className="reader-setting-icon-container"
onClick={() => {
this.handleEnterReader("left");
this.handleEnterReader("right");
this.handleEnterReader("bottom");
this.handleEnterReader("top");
}}
>
<span className="icon-grid reader-setting-icon"></span>
</div>
</div>
{this.props.isSettingOpen && (
<>
-1
View File
@@ -40,7 +40,6 @@ const mapStateToProps = (state: stateType) => {
isSettingOpen: state.manager.isSettingOpen,
scale: state.reader.scale,
renderBookFunc: state.book.renderBookFunc,
isHideMenuButton: state.reader.isHideMenuButton,
};
};
const actionCreator = {
-1
View File
@@ -15,7 +15,6 @@ export interface ReaderProps {
isSearch: boolean;
isAuthed: boolean;
isSettingOpen: boolean;
isHideMenuButton: boolean;
readerMode: string;
scale: string;
handleFetchNotes: () => void;
-3
View File
@@ -98,9 +98,6 @@ export function handleHideHeader(isHideHeader: boolean) {
export function handleHideBackground(isHideBackground: boolean) {
return { type: "HANDLE_HIDE_BACKGROUND", payload: isHideBackground };
}
export function handleHideMenuButton(isHideMenuButton: boolean) {
return { type: "HANDLE_HIDE_MENU_BUTTON", payload: isHideMenuButton };
}
export function handleShowBorder(isShowPageBorder: boolean) {
return { type: "HANDLE_SHOW_BORDER", payload: isShowPageBorder };
}
-1
View File
@@ -111,7 +111,6 @@ export type stateType = {
isHideFooter: boolean;
isHideHeader: boolean;
isHideBackground: boolean;
isHideMenuButton: boolean;
isShowPageBorder: boolean;
textOrientation: string;
noteKey: string;
-6
View File
@@ -38,7 +38,6 @@ const initState = {
isHideFooter: ConfigService.getReaderConfig("isHideFooter") === "yes",
isHideHeader: ConfigService.getReaderConfig("isHideHeader") === "yes",
isHideBackground: ConfigService.getReaderConfig("isHideBackground") === "yes",
isHideMenuButton: ConfigService.getReaderConfig("isHideMenuButton") === "yes",
isShowPageBorder: ConfigService.getReaderConfig("isShowPageBorder") === "yes",
textOrientation: ConfigService.getReaderConfig("textOrientation") || "",
jumpPosition: null as object | null,
@@ -146,11 +145,6 @@ export function reader(
...state,
isHideBackground: action.payload,
};
case "HANDLE_HIDE_MENU_BUTTON":
return {
...state,
isHideMenuButton: action.payload,
};
case "HANDLE_SHOW_BORDER":
return {
...state,