656 Commits
Author SHA1 Message Date
Alex Xu b37735b3cd "Preview/Folder of images" output option renamed 2026-10-19 09:48:56 -07:00
Alex Xu 98527ce03b fix minor logic error 2026-10-18 18:28:19 -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 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 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
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 f127adbca9 bump to 12.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 a221b0c45e note that png is better than webp for BW content (#1451) 2026-09-25 15:36:43 -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 2ac50f66ef add Legacy Panel View option from KCC 6 (#1445) 2026-09-21 13:38:39 -07:00
Alex Xu 6ce8d6fecb crop before split instead of after (#1444) 2026-09-20 22:37:08 -07:00
Alex Xu 9752b50cc3 bump to 11.3.2 2026-09-16 18:16:15 -07:00
Alex Xu 19eda3aad2 don't crop first page if its color (#1441) 2026-09-16 15:07:10 -07:00
Alex Xu a1fd24d6a3 bump to 11.3.1 2026-09-15 18:59:29 -07:00
Alex Xu 4f06f4ef90 fix expert mode showing easy label 2026-09-15 18:58:47 -07:00
Alex Xu c611cf6dc7 bump to 11.3.0 2026-09-15 18:37:16 -07:00
Alex Xu ff9a5e518d fix expert button height on windows 2026-09-15 18:35:19 -07:00
Alex Xu aaf3548595 increase search range 2026-09-15 18:25:32 -07:00
Alex Xu ea8a4db26e search for windows kindlegen 2026-09-15 18:25:32 -07:00
Alex Xu aa652ff6c0 refactor kindlegen check 2026-09-15 18:25:32 -07:00
Alex Xu 7245fdf2e1 support kindle previewer 4 (#1439) 2026-09-14 15:56:18 -07:00
Alex Xu fe85274105 implement custom covers for webtoon and fusion (#1438) 2026-09-14 13:06:53 -07:00
Alex Xu cb7592dcd0 fix cropping with edge imperfections (#1435)
* improve detection of edge imperfections for cropping

* increase imperfections ratio

* fil in edge too

* fine tune the constants
2026-09-12 17:35:05 -07:00
Alex Xu eb694b2dc3 bump to 11.2.0 2026-09-06 22:14:10 -07:00
Alex Xu 04aac3ffc0 add simple mode (#1434)
* add expert mode

* add helper text
2026-09-06 22:13:48 -07:00
Alex Xu 0f630c5804 fix 7zip warning 2026-09-06 20:56:32 -07:00
Alex Xu 66c6b8611a bump to 11.1.0 2026-09-03 23:06:40 -07:00
Alex Xu 3be76ec89f add legacy extract warning (#1433) 2026-09-03 21:52:27 -07:00
Alex Xu 38fa13610f A "Covers" folder next to source files defines custom covers (#1432)
* A "Covers" folder next to source files defines custom covers

* fix case with output folder unchecked
2026-09-03 15:00:07 -07:00
Alex Xu 9decf0e68e add wallpaper mode for KOreader (#1431)
* add wallpaper mode for KOreader

* fix wallpaper interactions with no rotate
2026-09-03 10:21:08 -07:00
Alex Xu dc2cc8e7b8 rename folder to folder of images 2026-09-02 19:49:13 -07:00
Alex Xu 55468019dd add folder output option (#1430) 2026-09-02 16:56:42 -07:00
Alex Xu 4cdbb4beef bump to 11.0.3 2026-08-28 14:52:42 -07:00
Alex Xu 2c9056c524 label spread preview default is high quality (#1429) 2026-08-28 14:46:18 -07:00
Alex Xu a503f54f9f Spread labels support left to right (#1428) 2026-08-28 14:38:22 -07:00
Alex Xu fc331d4e19 bump to 11.0.2 2026-08-26 13:05:44 -07:00
Alex Xu adac558aab shift click label spreads for HQ preview (#1427) 2026-08-26 13:05:14 -07:00