Commit graph

834 commits

Author SHA1 Message Date
xiaoyifang 8dd9119aec
fix: translatebox press Enter does not translate the selected item (#1134)
* fix: translatebox press Enter does not translate the selected item

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-10 17:52:18 +08:00
xiaoyifang bff9d83efa
opt: add system font configuration (#1125)
* opt: add system font configuration

* [autofix.ci] apply automated fixes

* opt: add option to change the interface font

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-07 09:53:51 +08:00
xiaoyifang 5c9beab96c
fix: search in the current page does not clear found dictionary panel (#1123)
* fix: search in the current page does not clear found dictionary panel

* [autofix.ci] apply automated fixes

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-05 00:06:03 +08:00
xiaoyifang 9ca35c26a8
style: epwing dictionary css (#1121)
* style: epwing dictionary css

* [autofix.ci] apply automated fixes

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-04 19:01:07 +08:00
xiaoyifang 30ceebff2d
Merge pull request #1117 from xiaoyifang/fix/preference-layout
opt: preference layout rearrangement
2023-09-02 22:42:13 +08:00
YiFang Xiao 7ff0790411 opt: preference layout rearrangement 2023-09-02 22:38:47 +08:00
YiFang Xiao cb39049cb7 fix: the headwords got mixed together 2023-09-02 21:07:20 +08:00
YiFang Xiao c865896216 fix: code smells 2023-09-02 15:20:30 +08:00
xiaoyifang e1e98a3c71
Merge pull request #1112 from xiaoyifang/opt/string-compare
opt: refactor the compare logic
2023-09-02 12:45:10 +08:00
autofix-ci[bot] c273622851
[autofix.ci] apply automated fixes 2023-09-02 04:24:55 +00:00
YiFang Xiao 4226abf593 opt: refactor the compare logic 2023-09-02 12:23:13 +08:00
YiFang Xiao 1285cbf68f fix: code smells 2023-09-02 11:45:47 +08:00
YiFang Xiao 74a21e7e26 fix: epwing dictionary reference navigation restrict to certain dictionary 2023-09-02 11:33:53 +08:00
xiaoyifang 8313d93469
opt: refactor a string endswith method (#1110)
* opt: refactor a string endswith method

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-31 08:02:57 +08:00
YiFang Xiao 477f22c304 fix: code smells
[autofix.ci] apply automated fixes
2023-08-31 00:04:28 +08:00
YiFang Xiao 791da91645 fix: navigate through epwing dictionary restricted to certain dictionary 2023-08-30 23:10:19 +08:00
xiaoyifang 2dd04207d1
fix: skip invalid headword in some epwing dictionaries (#1096)
* fix: for some epwing dictionaries , skip invalid headword

fix #1095

* [autofix.ci] apply automated fixes

* fix: epwing detect next text block

* [autofix.ci] apply automated fixes

* fix: epwing getFirstHeadword do not need forwardtext

* fix: epwing ,if epwing subbook does not contain headword ,use menu instead

* [autofix.ci] apply automated fixes

* fix: if epwing subbook does not contain headword ,use menu instead

* [autofix.ci] apply automated fixes

* fix:code smells

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-30 19:12:59 +08:00
xiaoyifang ccd04e0b51
fix: epwing case sensitive (#1093)
* fix: epwing folder name is casesensitive in Linux

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-27 18:30:55 +08:00
xiaoyifang 98af55557e
fix: epwing rebuild issue (#1094)
* fix: epwing rebuild issue

* [autofix.ci] apply automated fixes

* fix: pro project file

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-27 10:15:21 +08:00
YiFang Xiao 78ef410b3b opt: ignore non-exist-files when calculate dictionaries files 2023-08-26 22:39:38 +08:00
xiaoyifang d02baad2ed
fix: epwing dictionary index twice (#1089)
* fix: epwing dictionary index twice

If epwing dictionary contain >1 subbooks, the following subbook will
overwrite the previous index which will cause a "duplicateId" warning
and the dictionary can be be queried.

fix #1082

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-26 21:41:57 +08:00
YiFang Xiao ca1554540d i18n: update translation template 2023-08-26 21:34:09 +08:00
YiFang Xiao 60e39dff89 epwing: upgrade epwing index version 2023-08-26 17:26:50 +08:00
xiaoyifang 6ba8b0c16b
feat: add an option to make debug dictionary easier (#1086)
* feat: add an option to make debug dictionary easier

* fix: code smells

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-26 13:19:21 +08:00
xiaoyifang a21feacbe3
opt: reconstruct the welcome page (#1084)
* opt: welcome page use tooltip instead of a new page

* opt: add theme to tippy

* opt: add translation entry

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-26 09:48:25 +08:00
YiFang Xiao 7576630e06 opt: jquery noConflict 2023-08-25 10:38:42 +08:00
YiFang Xiao 0683afa2b0 opt: add Ctrl+Shift+S to stop the current playing sound
[autofix.ci] apply automated fixes
2023-08-25 08:44:21 +08:00
xiaoyifang 70914ed976
Merge pull request #1076 from MicrochipQ/fix_scanpopup_translatelinetext
fix: update globalbroadcaster translatelinetext also in scanpopup
2023-08-21 21:05:25 +08:00
xiaoyifang 3359f6636a
opt: rewrite solo mode in the dictionary bar (#1073)
* action: output new syntax

* opt: dictionary bar modification,Ctrl for solo selection, Shift restore

* opt: only the first Ctrl + Click event store the existed dictionaries

* [autofix.ci] apply automated fixes

* opt: ctrl switch between single and all dictionaries

* doc: add shortcut document about solo mode

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-21 21:04:04 +08:00
MicrochipQ f8e47370f7 fix: update globalbroadcaster translatelinetext also in scanpopup 2023-08-20 01:30:41 +03:00
YiFang Xiao 3f457334b0 i18n: update translation items 2023-08-19 12:05:49 +08:00
xiaoyifang 77348c7f46
opt: remove invalid index on exit (#1071)
* opt: remove invalid index on exit

* [autofix.ci] apply automated fixes

* fix: code smells

* opt: remove invalid dictionary index

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-17 23:17:53 +08:00
YiFang Xiao c21e57664c fix: handle qcompleter signal 2023-08-12 13:49:27 +08:00
autofix-ci[bot] c56f258a8f
[autofix.ci] apply automated fixes 2023-08-12 04:41:08 +00:00
YiFang Xiao 06fc833146 fix: qcompleter lost signal when qlineedit lost focus
fix #1062
2023-08-12 12:39:23 +08:00
YiFang Xiao 2c3f22630b Revert "fix: no need to installEventFilter( this) to itself"
This reverts commit 7806a86e22.
2023-08-12 12:35:12 +08:00
YiFang Xiao 765cb91828 fix: generate icon name crash with 0 size 2023-08-11 08:41:43 +08:00
YiFang Xiao 51a050c43b fix: remove old unnecessary logic which blocks updating Windows Title 2023-08-10 23:59:29 +08:00
YiFang Xiao 7806a86e22 fix: no need to installEventFilter( this) to itself 2023-08-08 20:41:30 +08:00
YiFang Xiao 1b382fa4b4 opt: remove outline of dictionary name 2023-08-07 21:53:47 +08:00
YiFang Xiao 82bcbaa8f4 fix: fts progress large than 100 2023-08-07 21:53:13 +08:00
shenlebantongying 36ca0d0994 fix: adjust the order of Mainwindow's show() and restoreState/restoreGeometry 2023-08-06 09:37:18 -04:00
xiaoyifang 1ee42bd599
Merge pull request #1044 from xiaoyifang/fix/epwing-unused-method
fix: epwing remove unused method
2023-08-05 20:55:54 +08:00
YiFang Xiao e55027b5a0 fix: epwing remove unused method 2023-08-05 20:47:16 +08:00
YiFang Xiao 091080940f fix: fts temp folder deletion 2023-08-05 20:37:58 +08:00
YiFang Xiao a1de6ce637 opt: optimize the removeDirectory method 2023-08-05 19:36:33 +08:00
YiFang Xiao 43b070add5 fix: code smells 2023-08-05 11:32:19 +08:00
YiFang Xiao a8c3207a76 opt: full text index compact 2023-08-05 10:57:20 +08:00
xiaoyifang ac8e79358c
fix: website dictionary base tag (#1038)
* fix: website dictionary base tag

* [autofix.ci] apply automated fixes

* fix: request header origin

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-03 21:29:36 +08:00
xiaoyifang 217ba5318a
Merge pull request #1034 from xiaoyifang/fix/float-lose-focuse
fix: translate line in floatable toolbar will lose focus
2023-08-01 20:52:05 +08:00