Commit graph

5803 commits

Author SHA1 Message Date
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
xiaoyifang 3fbeff1ffa
Merge pull request #1104 from xiaoyifang/doc/how-to-debug-dictionary-js
doc: how to debug dictionary js
2023-08-30 16:12:11 +08:00
YiFang Xiao 8b88955159 doc: how to debug dictionary js 2023-08-30 16:11:57 +08:00
xiaoyifang c415d35010
Merge pull request #1105 from xiaoyifang/i18n_
New Crowdin updates
2023-08-30 16:01:50 +08:00
xiaoyifang 6272983655 New translations German from Crowdin 2023-08-30 14:00:21 +08:00
xiaoyifang 6abef7167b
Merge pull request #1103 from xiaoyifang/i18n_
New Crowdin updates
2023-08-29 21:21:56 +08:00
xiaoyifang 3be651a683 New translations German from Crowdin 2023-08-29 21:17:59 +08:00
xiaoyifang d5feca74e6
Merge pull request #1102 from xiaoyifang/action/macos-release
action: macos ,remove unused line
2023-08-29 13:33:11 +08:00
YiFang Xiao 42dd1e588f action: macos ,remove unused line 2023-08-29 11:43:42 +08:00
xiaoyifang 7be908b779
Merge pull request #1101 from xiaoyifang/action/release-note
action: update release note , add flatpak
2023-08-29 09:48:31 +08:00
YiFang Xiao 6e0869b71f action: update release note , add flatpak 2023-08-29 09:43:35 +08:00
YiFang Xiao 51fe75695b thirdparty: update eb 2023-08-28 22:15:04 +08:00
xiaoyifang 8b8c865fcc
Update build_from_source.md 2023-08-28 10:01:04 +08:00
xiaoyifang f45f075f78
Update build_from_source.md 2023-08-28 09:47:57 +08:00
YiFang Xiao 7482d49ef3 fix: update eb 2023-08-27 19:14:05 +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
xiaoyifang 3204db161c
New Crowdin updates (#1091)
* New translations Chinese Simplified from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Tajik from Crowdin

* New translations Arabic, Saudi Arabia from Crowdin

* New translations French 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 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 French 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
2023-08-26 21:41:15 +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
YiFang Xiao 85a164c003 update eb submodule 2023-08-26 17:24:31 +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 d310f2c55c
New Crowdin updates (#1085)
* New translations French 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 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 French 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

* i18n: keep author name unchanged
2023-08-26 10:31:44 +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
xiaoyifang 121dea73aa
Merge pull request #1081 from xiaoyifang/opt/stop-audio
opt: add Ctrl+Shift+S to stop the current playing sound
2023-08-25 10:25:17 +08:00
YiFang Xiao 4204923198 doc: add shortcut Ctrl+Shift+S to stop audio 2023-08-25 08:53:18 +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 dc1d720ac1
Merge pull request #1080 from xiaoyifang/opt/image-downarrow
fix: scale the downarrow.png to 18x18
2023-08-24 16:33:09 +08:00
YiFang Xiao 9f8868bee3 fix: scale the downarrow.png to 18x18 2023-08-24 16:26:29 +08:00
xiaoyifang a200989dba
Merge pull request #1077 from xiaoyifang/i18n_
New Crowdin updates
2023-08-23 09:37:28 +08:00
xiaoyifang c6e4f24196 New translations German from Crowdin 2023-08-23 04:37:05 +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
xiaoyifang 8cd29d527a
New Crowdin updates (#1074)
* New translations French 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 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 French 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

* Update locale/zh_CN.ts

* Update locale/zh_TW.ts
2023-08-19 19:52:06 +08:00