Commit graph

5802 commits

Author SHA1 Message Date
xiaoyifang 1a25090bba opt: remove dictionary website extra word placeholders 2024-11-02 14:14:39 +08:00
xiaoyifang 3909b59d9f
opt: refactor code in articleview (#1888)
refactor code 

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-01 18:02:06 +08:00
xiaoyifang 6b33178829
opt: extract GroupBackup structure to store the old group info (#1883)
* opt: backup group info

* opt: remove updateNames condtion

* opt: rename variable origCfg to a more friendly name

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-01 10:52:45 +08:00
xiaoyifang 8a92cbf34a
fix: duplicate dictionary in config file (#1886)
* fix: duplicate dictionary in config file

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-01 10:25:29 +08:00
xiaoyifang 19bcd94834
New Crowdin updates (#1880)
* 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 Hungarian 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 Kabyle 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 Hungarian 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 Quechua from Crowdin

* New translations Aymara from Crowdin

* New translations Turkmen from Crowdin
2024-10-29 08:21:51 +08:00
YiFang Xiao 1745faa298 i18n: update crowdin.ts 2024-10-28 22:08:12 +08:00
xiaoyifang 89ba441b35
opt: unify the small large icon actions (#1879)
* opt: unify the small large icon actions
2024-10-28 22:02:18 +08:00
xiaoyifang 12dbfb5423
Merge pull request #1876 from xiaoyifang/fix/mdx-empty-title
fix: [mdx] use file name as  dictionary name when title has not been set
2024-10-28 08:36:03 +08:00
YiFang Xiao 2ca5568b84 fix: [mdx] use file name as dictionary name when title has not been set 2024-10-28 00:04:53 +08:00
xiaoyifang 15207cf400
opt: reply remove unnecessary signal (#1866)
* opt: remove unnecessary signal



---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-10-26 11:35:27 +00:00
alex4814 7229faeec7
fix: default content directory in portable mode (#1872)
* fix: default `content` directory in portable mode

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-26 19:29:39 +08:00
xiaoyifang 939e786331
opt: [mdx]js script with defer attribute (#1869)
* fix: [mdx] dictionary script element with defer
2024-10-26 19:28:16 +08:00
shenleban tongying 757b81f66d
fix: revert Qt from 6.7.3 to 6.7.2 for Speex audios 2024-10-26 02:02:02 -04:00
shenleban tongying 8818132788 fix: revert to Qt from 6.7.3 to 6.7.2 to deal Speex audios 2024-10-26 01:56:31 -04:00
xiaoyifang 2f68251b11
New Crowdin updates (#1825)
* New translations Kabyle from Crowdin

* New translations Kabyle from Crowdin

* New translations Kabyle from Crowdin

* New translations Kabyle from Crowdin

* New translations Kabyle from Crowdin

* New translations Belarusian from Crowdin

* New translations Kabyle from Crowdin
2024-10-26 11:25:20 +08:00
xiaoyifang 132552b0a2
Merge pull request #1863 from xiaoyifang/fix/full-search-match-count
fix: full text search panel status label
2024-10-24 21:34:20 +08:00
xiaoyifang 01b9814760
opt: rewrite the logic of determine the existence of audio link (#1860)
* opt: rewrite the logic of determine the existence of audio link



---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-24 13:32:21 +00:00
xiaoyifang e749a6077f
fix: disable anchor default behavior (#1857)
* fix: prevent anchor link default behavior (in mdx dictionary)
2024-10-24 21:05:59 +08:00
Xiao Yi Fang cf057eae66 fix: full text search panel status label 2024-10-24 18:04:36 +08:00
xiaoyifang 047f725858
opt: update doc (#1861)
* doc: update doc
2024-10-24 17:24:01 +08:00
shenleban tongying 587f48c6b3
update docs 2024-10-23 22:49:11 +00:00
xiaoyifang c846c5d89b
opt: log more info about the stream (#1858)
* opt: log more info about the stream

* opt: log more info about the stream

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-23 21:37:44 +08:00
xiaoyifang 66a45f975e
opt:optimize the openLink method (#1853)
* opt: optimize the resourcedownload logic


---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-23 21:29:28 +08:00
xiaoyifang 426950fc10
opt: optimize the audio auto pronounciation logic (#1846)
* opt: optimize the audio play logic
2024-10-23 20:14:11 +08:00
xiaoyifang b39397a544
Merge pull request #1856 from xiaoyifang/fix/unset-cursor
fix: even loadfinised=false, the cursor will also have to be unset
2024-10-23 11:14:59 +08:00
autofix-ci[bot] 7bcb2372b9 [autofix.ci] apply automated fixes 2024-10-23 11:07:31 +08:00
Xiao Yi Fang 36f181547f fix: even loadfinised=false, the cursor will also have to be unset 2024-10-23 11:07:31 +08:00
xiaoyifang 245cb10880
opt: when the marked word is CJK / Han, mark it partially (#1852)
* opt: when the marked word is Chinese,mark it partially

* [autofix.ci] apply automated fixes

* Update src/ui/articleview.cc

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-10-23 00:33:44 +00:00
xiaoyifang 3e16a0cccf
Merge pull request #1854 from xiaoyifang/opt/clean-unused-parameter
opt: remove unused parameter
2024-10-23 08:23:58 +08:00
Xiao Yi Fang 389471f5fa opt: remove unused parameter 2024-10-22 18:06:43 +08:00
xiaoyifang 60adc6ef75
opt: remove audio search logic in the current group (#1851)
* opt: remove audio search logic in the current group
2024-10-22 14:15:17 +08:00
shenleban tongying 0146c72d99 Revert "clean: open and resave all .ui files to adapt Qt6 Designer's enum c…"
This reverts commit a5ce8dbcfd.
2024-10-21 20:14:36 -04:00
shenleban tongying e6edd34c3a
clean: use vanilla JS instead of jQuery 2024-10-21 04:52:49 +00:00
shenleban tongying ad6a0472cc fix change log generation again 2024-10-19 17:06:20 -04:00
shenleban tongying a4e49e9152
fix change log generation 2024-10-19 20:32:26 +00:00
shenleban tongying 5173653b63
action: merge all release workflows into one 2024-10-19 20:01:58 +00:00
xiaoyifang ccbf8b7e55
Merge pull request #1835 from xiaoyifang/opt/anki-icon-modify
opt: modify the anki icon
2024-10-18 20:42:05 +08:00
YiFang Xiao 7db2bf37d9 opt: modify the anki icon 2024-10-18 20:32:26 +08:00
shenleban tongying a5ce8dbcfd
clean: open and resave all .ui files to adapt Qt6 Designer's enum changes 2024-10-18 03:29:06 +00:00
shenleban tongying 9f13188973
clean: simplify loadDictionaries & Initializing dialog's showInitialy parameter (#1833) 2024-10-17 23:08:20 -04:00
xiaoyifang 8b8b83ab04
Merge pull request #1832 from xiaoyifang/opt/anki-size
opt: restrict anki button size
2024-10-17 15:44:47 +08:00
Xiao Yi Fang 72015d1570 opt: restrict anki button size 2024-10-17 11:59:52 +08:00
xiaoyifang ec19dcc7f0
Merge pull request #1831 from shenlebantongying/ci/archlinux
actions: add Archlinux pull request check
2024-10-17 08:35:21 +08:00
shenleban tongying 28d8ab5b30
actions: add ArchLinux to PR check 2024-10-16 15:01:23 -04:00
shenleban tongying 85d5612e2d
fix: Qt6.8 compile, QDebug error (#1830) 2024-10-16 13:42:44 -04:00
xiaoyifang ac82c8909f
Merge pull request #1827 from xiaoyifang/fix/sonar-build
fix: sonar build dependency error
2024-10-16 17:58:58 +08:00
Xiao Yi Fang bde707c7b9 fix: sonar build dependency error 2024-10-16 17:49:00 +08:00
shenleban tongying 40670d8197
feat: decode program dicts as UTF-8 instead of local8bit (#1821) 2024-10-12 22:05:38 -04:00
shenleban tongying ef57526762
fix: wrong lifetime of the connection between searchInPageAction <> openSearch 2024-10-12 13:41:03 +00:00
xiaoyifang 9010262801
Update ui_shortcuts.md 2024-10-12 08:38:44 +08:00