Commit graph

5240 commits

Author SHA1 Message Date
YiFang Xiao 88e0929a95 clean: remove unmet condition 2023-09-14 14:48:29 +08:00
xiaoyifang 9929c60130
Merge pull request #1142 from xiaoyifang/fix/issue-1139
fix: suggestion list scroll to the top
2023-09-14 09:30:14 +08:00
YiFang Xiao 424642cb3d fix: suggestion list scroll to the top 2023-09-14 08:06:42 +08:00
xiaoyifang 6f06f083da
opt: make translateline in toolbar the same height as toolbar (#1140)
* opt: make  translateline in toolbar the same height as toolbar

* Update src/ui/mainwindow.cc

* Update src/ui/mainwindow.cc
2023-09-13 15:44:57 +08:00
xiaoyifang 0278597b56
opt: abbreviate the too long headword to maxHeadwordSize (#1137)
* opt: abbreviate the too long headword to maxHeadwordSize

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-10 22:21:11 +08:00
YiFang Xiao 05fa73128b fix: press enter event handled in translateline 2023-09-10 22:07:09 +08:00
xiaoyifang d4f19cf4cd
fix: use wait condition to rewrite datarequest (#1015)
* fix: use wait condition for datarequest

* fix: rewrite byteAvailable

* [autofix.ci] apply automated fixes

* fix: rewrite qwaitcondition

* [autofix.ci] apply automated fixes

* opt: wait condition

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-10 19:02:31 +08:00
YiFang Xiao 66522b17ce update alpha version 2023-09-10 19:02:07 +08:00
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 283b406a8a
Merge pull request #1133 from atauzki/staged
Update and cleanup media libs.
2023-09-10 17:48:49 +08:00
atauzki cee9ccc0fd Update and cleanup media libs. 2023-09-10 09:24:11 +08:00
xiaoyifang 8a4d2f72b2
Merge pull request #1130 from atauzki/staged
winlib:Update ffmpeg 5.1.3.
2023-09-09 20:56:18 +08:00
atauzki acda3aa100 Update ffmpeg 5.1.3. 2023-09-09 18:30:38 +08:00
xiaoyifang 11a6c31e6a
New Crowdin updates (#1127)
* New translations Spanish from Crowdin

* New translations Belarusian from Crowdin

* New translations Bulgarian from Crowdin

* New translations Czech from Crowdin

* New translations German from Crowdin

* New translations Greek from Crowdin

* New translations Finnish from Crowdin

* New translations Italian from Crowdin

* New translations Japanese from Crowdin

* New translations Korean from Crowdin

* New translations Lithuanian from Crowdin

* New translations Macedonian from Crowdin

* New translations Dutch from Crowdin

* New translations Polish from Crowdin

* New translations Portuguese from Crowdin

* New translations Russian from Crowdin

* New translations Slovak from Crowdin

* New translations Albanian from Crowdin

* New translations Serbian (Cyrillic) from Crowdin

* New translations Swedish from Crowdin

* New translations Turkish from Crowdin

* New translations Ukrainian from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Persian from Crowdin

* New translations Spanish, Argentina from Crowdin

* New translations Hindi from Crowdin

* New translations Esperanto from Crowdin

* New translations Lojban from Crowdin

* New translations German, Switzerland from Crowdin

* New translations Spanish, Bolivia from Crowdin

* New translations Tajik from Crowdin

* New translations Quechua from Crowdin

* New translations Aymara from Crowdin

* New translations Arabic, Saudi Arabia from Crowdin

* New translations Turkmen from Crowdin

* New translations Interlingue from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Spanish from Crowdin

* New translations Belarusian from Crowdin

* New translations Bulgarian from Crowdin

* New translations Czech from Crowdin

* New translations German from Crowdin

* New translations Greek from Crowdin

* New translations Finnish from Crowdin

* New translations Italian from Crowdin

* New translations Japanese from Crowdin

* New translations Korean from Crowdin

* New translations Lithuanian from Crowdin

* New translations Macedonian from Crowdin

* New translations Dutch from Crowdin

* New translations Polish from Crowdin

* New translations Portuguese from Crowdin

* New translations Russian from Crowdin

* New translations Slovak from Crowdin

* New translations Albanian from Crowdin

* New translations Serbian (Cyrillic) from Crowdin

* New translations Swedish from Crowdin

* New translations Turkish from Crowdin

* New translations Ukrainian from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Persian from Crowdin

* New translations Hindi from Crowdin

* New translations Esperanto from Crowdin

* New translations Tajik from Crowdin

* New translations Turkmen from Crowdin

* New translations French from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Chinese Simplified from Crowdin
2023-09-09 18:21:29 +08:00
YiFang Xiao 06c0135875 i18n: update translation items 2023-09-08 07:49:34 +08:00
YiFang Xiao 52298f4491 action: vcpkg 2023-09-08 07:47:52 +08:00
xiaoyifang 26f9a64e67
Merge pull request #1126 from xiaoyifang/action/vcpkg
action: vcpkg
2023-09-08 07:42:02 +08:00
shenleban tongying 76142f2b0b
update CMake project VERSION 2023-09-07 18:00:38 -04:00
shenleban tongying 99d723699d
add new release to metainfo.xml 2023-09-07 17:18:33 -04:00
YiFang Xiao c7259d2d97 action: vcpkg 2023-09-08 00:28:50 +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 b1ea47be26
Merge pull request #1122 from xiaoyifang/opt/icon-program
opt: replace programdict with a new icon
2023-09-04 22:09:25 +08:00
YiFang Xiao ccc81ce0b8 opt: replace programdict with a new icon 2023-09-04 19:16:47 +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 966f494d77
Merge pull request #1119 from xiaoyifang/action/release-note
action: add human friendly branch
2023-09-04 09:40:49 +08:00
YiFang Xiao 7d69212c3d action: add human friendly branch 2023-09-04 09:39:32 +08:00
xiaoyifang d622ea201e
Merge pull request #1118 from xiaoyifang/i18n_
New Crowdin updates
2023-09-03 10:07:06 +08:00
xiaoyifang 9490f9690e New translations German, Switzerland from Crowdin 2023-09-02 22:54:45 +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
xiaoyifang 97db29030a
Merge pull request #1116 from xiaoyifang/fix/headwords-mixed
fix: the headwords got mixed together
2023-09-02 22:41:56 +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
xiaoyifang b244d5ce0f
Merge pull request #1111 from xiaoyifang/fix/epwing-reference-link
fix: epwing dictionary reference navigation restrict to certain dicti…
2023-09-02 12:28:54 +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
xiaoyifang 7e6dc611fe
Merge pull request #1109 from xiaoyifang/fix/reference-epwing
fix: navigate through epwing restricted to certain dictionary
2023-08-31 00:06:20 +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 bb29fd5c94
Merge pull request #1107 from xiaoyifang/i18n_
New Crowdin updates
2023-08-30 22:29:45 +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 cc2f589c75 New translations Belarusian from Crowdin 2023-08-30 17:06:57 +08:00
xiaoyifang 18c25b36ee
Merge pull request #1106 from xiaoyifang/doc/modify-toc
doc: how to debug dictionary js
2023-08-30 16:24:14 +08:00
YiFang Xiao 303b209760 doc: how to debug dictionary js 2023-08-30 16:23:23 +08:00
xiaoyifang a801c4cb09
Update how to debug dictionary js.md 2023-08-30 16:19:24 +08:00