Commit Graph
1947 Commits
Author SHA1 Message Date
Alex Xu b267012075 remove requests from cli 2026-10-19 13:24:44 -07:00
Alex Xu 304d9fef31 fix pymupdf 2026-10-19 13:24:44 -07:00
Alex Xu 46b4a0d6ed don't include qt6 in cli 2026-10-19 13:24:44 -07:00
Alex Xu af38547a7b Merge pull request #1467 from axu2/preview
"Preview/Folder of images" output option renamed
2026-10-19 09:50:44 -07:00
Alex Xu b37735b3cd "Preview/Folder of images" output option renamed 2026-10-19 09:48:56 -07:00
Alex Xu 8dc9f3e7fd Update README.md 2026-10-18 21:43:01 -07:00
Alex Xu 6e5547c087 Add files via upload 2026-10-18 21:42:07 -07:00
Alex Xu e60daafb65 page turn animation in normal books enables it in mobi 2026-10-18 18:34:20 -07:00
Alex Xu 98527ce03b fix minor logic error 2026-10-18 18:28:19 -07:00
Alex Xu 44ccaceb39 Merge pull request #1466 from axu2/kepub-naming
fix minor bugs in getOutputFilename
2026-10-18 18:13:27 -07:00
Alex Xu e271bc4451 fix minor bugs in getOutputFilename 2026-10-18 18:12:13 -07:00
Alex Xu bf3de53eb5 name duplicated kepubs with kcc0, kcc1, etc 2026-10-18 15:42:42 -07:00
Alex Xu dd7978adb0 rename kepubs with folder input 2026-10-18 15:34:26 -07:00
Alex Xu 4b48b045d2 keep spaces, remove special characters in kepub filenames (#1465)
* rename KEPUBs same as Kobo touch driver

* add kepub ! note
2026-10-18 15:05:28 -07:00
Alex Xu eed896a4e0 Merge pull request #1464 from axu2/profile-changes
Profile changes
2026-10-16 13:13:58 -07:00
Alex Xu 1f15bfd5c5 add custom fixed resolutions 2026-10-16 13:09:28 -07:00
Alex Xu 69ddfb4841 move scribe landscape profiles down 2026-10-16 10:47:22 -07:00
Alex Xu f08928500d add 2026 kindles 2026-10-16 10:34:58 -07:00
Alex Xu a6784f4d1a re-arrange order of kindles 2026-10-16 10:11:56 -07:00
Alex Xu cefc7459a6 Update README.md 2026-10-15 23:04:30 -07:00
Alex Xu faa10db428 move Kobo Nia down 2026-10-15 15:45:27 -07:00
Alex Xu 5f716088cd rename to Rmk 1/2/Pure 2026-10-15 15:44:52 -07:00
Alex Xu 446ecbfe89 rename Kobo Clara 2E to 2E/BW (#1462) 2026-10-15 15:32:47 -07:00
Alex Xu f1d42ea34c fix subtle incorrectness with gamma correction with BW images saved as RGB (#1461) 2026-10-15 11:21:38 -07:00
Alex Xu d560b78928 Merge pull request #1459 from Ryuga6/feature/spanish-translation
Add Spanish translation (es_ES) via Qt .ts
2026-10-14 07:52:31 -07:00
FerdyARTs 3897b9893d Add Spanish translation (es_ES) via Qt .ts
Migrate kcc_es.json entries into translations/kcc_es_ES.ts on the latest master.

Co-authored-by: FerdyARTs <86256256+FerdyARTs@users.noreply.github.com>
2026-10-14 17:51:17 +08:00
Ryuga6 a053b3ea9f Add multi-language i18n support (Simplified Chinese, Japanese, Korean) (#1453)
* Add multi-language i18n support (English, Chinese, Japanese, Korean)

- Add i18n.py module for translation management via QTranslator
- Add Simplified Chinese (zh_CN), Japanese (ja_JP), and Korean (ko_KR) translations
- Integrate translation files into Qt resource system (KCC.qrc / KCC_rc.py)
- Add language switcher button in the top button bar of main window
- Language setting persists via QSettings
- Dynamic text updates work correctly after language switch
- Support %1, %2, %3 placeholders via tr_arg() helper function
- KCCGUI and KCCGUI_MetaEditor now inherit QObject for tr() support

* Complete Japanese/Korean/Chinese translations + fix language switch issues

- Fill 61 missing Japanese translations (tooltips, 3-state checkboxes, etc.)
- Fill 61 missing Korean translations (tooltips, 3-state checkboxes, etc.)
- Fill 6 missing Chinese translations
- Fix language menu: use QActionGroup for exclusive (single-select) checkmarks
- Fix jobList initial tips: refresh translations on language switch by
  updating label text directly (preserves message order and user-added entries)
- Add PROJECT_I18N_README.md developer documentation

* Replace emoji language icon with PNG globe icon

Fixes PR review feedback from axu2: the emoji character doesn't render on Windows 7 (no emoji font support). Replaced with a PNG globe icon from Wikimedia Commons (CC license), loaded via Qt resource system for consistent cross-platform rendering.

* Fix RuntimeError when switching language: re-fetch labels from jobList

Previously, QLabel references were saved directly, but the underlying

C++ objects could be deleted by Qt, causing RuntimeError on access.

Now we save only source strings and re-fetch labels from jobList

items when updating, with try/except as a safety net.

* Use text label for language button instead of PNG icon

Replace the globe PNG icon with a plain text button (' 文 A ')

so its color automatically follows the system light/dark theme,

per review feedback. Removes icons/language.png and its QRC entry.

* Finalize i18n: retranslate jobList messages and translate CLI output

- Add source= to 16 GUI addMessage calls so already-shown messages retranslate on language switch
- Translate comic2ebook.py conversion/CLI messages via QCoreApplication.translate('KCCGUI', ...)
- Clear 29 unfinished WorkerThread translations (context unified to KCCGUI)
- Guard apply_language when QApplication is not yet created
- Trim dead imports and redundant code

* Avoid duplicated source strings: translate inside addMessage

Replace the self.tr/translate + source= pattern (same string written twice) with
QT_TRANSLATE_NOOP('KCCGUI', ...) at call sites; addMessage now translates internally
and stores the source text for retranslation on language switch.

- Drop the source parameter from addMessage; simplify signal to 3 args
- Include comic2ebook.py in lupdate (20 CLI/conversion messages)

* Add translation maintenance workflow

Add gen_translation_files.sh/.bat, TRANSLATION.md, and a README pointer; remove the superseded PROJECT_I18N_README.md.

* chmod +x
2026-10-13 11:10:33 -07:00
Alex Xu 55342bd4f9 update ignore 2026-09-29 17:50:10 -07:00
Alex Xu b4b53c4a43 Update README.md 2026-09-28 08:35:44 -07:00
Alex Xu bc936b8991 Update README.md 2026-09-28 08:30:02 -07:00
Alex Xu b17633bd0e update macOS compatibility 2026-09-27 22:17:28 -07:00
Alex Xu f127adbca9 bump to 12.0.0 v12.0.0 2026-09-25 17:17:25 -07:00
Alex Xu b93d4246eb add more icons 2026-09-25 17:16:27 -07:00
Alex Xu 491864f1a6 linux appimage: remove libfuse2 and add arm (experimental) (#1447)
* initial commit

* test

* fix it

* fix permissions

* uses python3.11

* use venv

* fix typo

* update pyside6

* fix

* remove pip

* use older ubuntu

* remove ExpatError

* pacman everything

* update pkgforge

* remove mozjpeg

* Revert "remove ExpatError"

This reverts commit c2a1598fdd.

* add theme stuff

* remove stuff

* add /usr/lib/libQt6Gui.so*

* pyside6 version depends on os

* DEPLOY_QT_WEB_ENGINE: 0

* add libvantum

* mesa-mini

* nano

* fix debloat order

* re-add  /usr/lib/libQt6Gui.so*

* Update package-linux.yml

* Update package-linux.yml

* finalize naming

* final tweaks

* actual final tweaks

* remove web engine

* fix upinfo
2026-09-25 17:13:08 -07:00
Alex Xu 010ed22637 Update README.md 2026-09-25 16:30:11 -07:00
Alex Xu a221b0c45e note that png is better than webp for BW content (#1451) 2026-09-25 15:36:43 -07:00
Alex Xu e9410d26f7 update README 2026-09-25 15:05:34 -07:00
Alex Xu 1cc8db37e2 fix dark images on Kindle 1/2/3 for cbz png (#1450) 2026-09-25 13:33:39 -07:00
Alex Xu 6f759f435a refactor color back inside 2026-09-25 12:23:32 -07:00
Alex Xu 9f1384ef2a Kindle Scribe 2025 default is PDF (#1449) 2026-09-24 12:43:14 -07:00
Alex Xu f390d18ddb Support Windows 11 ARM (#1448)
* add Windows on ARM

* fix arm

* fix runner arch

* temporarily remove mozjpeg

* debug

* capitalize ARM64

* Revert "debug"

This reverts commit 696bdb943e.

* Revert "temporarily remove mozjpeg"

This reverts commit d431713d73.

* remove print
2026-09-23 17:58:18 -07:00
Alex Xu bed9382aab Update README.md 2026-09-21 13:39:31 -07:00
Alex Xu 2ac50f66ef add Legacy Panel View option from KCC 6 (#1445) 2026-09-21 13:38:39 -07:00
Alex Xu e301aeff52 Update README.md 2026-09-21 09:43:22 -07:00
Alex Xu 2beac5e891 Add files via upload 2026-09-21 09:42:46 -07:00
Alex Xu 6ce8d6fecb crop before split instead of after (#1444) 2026-09-20 22:37:08 -07:00
Alex Xu 1256ac97ba Update README.md 2026-09-18 17:12:41 -07:00
Alex Xu 4f475de4de Update README.md 2026-09-18 17:11:56 -07:00
Alex Xu 2483509343 update header image 2026-09-18 12:06:00 -07:00
Alex Xu 739f5170d6 Add files via upload 2026-09-18 12:05:29 -07:00