Commit graph

5737 commits

Author SHA1 Message Date
shenleban tongying fb48f66370 move audio files to src/audio
a
2024-11-10 17:39:43 -05:00
xiaoyifang dcc4579544
Merge pull request #1927 from xiaoyifang/opt/group-empty-name
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
opt: Group struct default constructor only invoked with empty string
2024-11-08 20:59:40 +08:00
xiaoyifang d3ad40f988
Merge pull request #1924 from xiaoyifang/opt/tab-blank
opt: dictionary tab switch will show blank widget when source changing.
2024-11-08 20:55:42 +08:00
xiaoyifang 081cba6b23 opt: Group struct default constructor only invoked with empty string 2024-11-08 20:49:55 +08:00
xiaoyifang 59f9b3d04f opt: dictionary tab switch show blank widget when source changed 2024-11-08 20:48:31 +08:00
shenleban tongying f6434f4219 fix a mistake of https://github.com/xiaoyifang/goldendict-ng/pull/1912
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-08 01:36:29 -05:00
shenleban tongying f694c3210e clean: QLocale country -> territory renaming
Some checks failed
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
2024-11-07 03:01:45 -05:00
shenleban tongying 02143921f4
opt: disable Qt≤6.7 deprecated features and disable Qt deprecation warnings 2024-11-07 07:48:39 +00:00
shenleban tongying c864a9a897
clean: remaning deprecated QCryptographicHash::addData usages 2024-11-07 02:05:54 -05:00
shenleban tongying 618310f772
clean: just use #pragma once
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-06 22:53:04 -05:00
shenleban tongying f8f62efa6e fix: deploy qt translations for macOS 2024-11-06 20:33:05 -05:00
shenleban tongying a61bcb1629 fix: properly load qt and webengine translations, delete GD's custom ones 2024-11-06 20:19:53 -05:00
shenleban tongying 70d21d7eca opt: revise QKeySequenceEdit usages
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* set Maximum length of global shortcuts to 2
* set Default to something that can be set by user
2024-11-06 15:47:03 -05:00
shenleban tongying 8ad7291147
clean: deprecated QKeySequence[]->int; answer ikm's question from 2009
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-06 11:11:48 +00:00
xiaoyifang 8d0859b932
Merge pull request #1906 from xiaoyifang/opt/articleview-loadfinish
opt: rearrange some code execution order
2024-11-06 17:49:28 +08:00
shenleban tongying 349fcb6628
clean: fix all globalPosition deprecations to stop related warnings (#1911) 2024-11-06 09:11:07 +00:00
shenleban tongying 7a1df4b6c6 dev: fix changelog generation again
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-06 01:25:55 -05:00
xiaoyifang 285a0d8882
fix: remove some tabText() in groupWidget when rename group (#1897)
* fix: remove some tabText() in groupWidget rename group

* Update src/ui/groups_widgets.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-11-06 14:10:25 +08:00
shenleban tongying 8be7b65f29
Merge pull request #1908 from shenlebantongying/clean/tidy-using-using
clean: apply clang-tidy's `modernize-use-using` (replace most `typedef`)
2024-11-06 01:01:58 -05:00
shenleban tongying fb45d2e036 dev: add last commit to .git-blame-ignore-revs 2024-11-06 00:56:26 -05:00
shenleban tongying d15081e723 clean: apply clang-tidy's modernize-use-using (replace most typedef) 2024-11-06 00:48:35 -05:00
shenleban tongying 673911b1c5
feat: auto dark reader mode that sync with system theme 2024-11-05 23:39:08 -05:00
shenleban tongying b6fa66df92
refactor: prepare config code to implement auto dark (reader) mode
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-06 03:27:19 +00:00
xiaoyifang 2f48993594 opt: rearrange some code execution order 2024-11-06 10:11:21 +08:00
xiaoyifang 9315dda365
Merge pull request #1905 from xiaoyifang/opt/custom-js-defer
opt: make custom javascript delay execution
2024-11-06 09:57:43 +08:00
xiaoyifang 1418f9ab9e opt: make custom javascript delay execution 2024-11-06 09:09:18 +08:00
shenleban tongying 6efdb09b1a clean: add override to satisfy clang's Winconsistent-missing-override
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-05 17:27:15 -05:00
xiaoyifang d4cc838652
opt: move special GroupIDs to a seperate enum (#1900)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* opt: move groupid to a seperate namespace

* opt: move groupid to a seperate namespace

* Update src/config.hh

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

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-11-05 13:51:53 +08:00
xiaoyifang c8b6a6b6c5
Update topic_userstyle.md (#1899)
Some checks failed
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
* Update topic_userstyle.md

* Update topic_userstyle.md

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-11-04 21:11:01 +08:00
xiaoyifang 3f6819b049
Merge pull request #1898 from xiaoyifang/opt/compiler-version
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
opt: [win] update Windows compiler name
2024-11-04 17:05:28 +08:00
xiaoyifang a56cfb8d3a opt: [win] update Windows compiler name 2024-11-04 16:55:32 +08:00
xiaoyifang dd22c913e2
New Crowdin updates (#1884)
* New translations Kabyle from Crowdin

* New translations Kabyle from Crowdin
2024-11-04 13:58:01 +08:00
xiaoyifang 39aef4c4de
opt: extract GDWORD replace logic (#1889)
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
* opt: extract GDWORD replace logic


---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-02 20:18:11 +08:00
xiaoyifang 5ab89cac8c
Merge pull request #1891 from xiaoyifang/opt/dictionary-website-gdword
opt: remove dictionary website extra word placeholders
2024-11-02 20:17:32 +08:00
xiaoyifang b7406e0f6f
opt: hide website [as link] column (#1893)
* opt: hide the [As link] column
2024-11-02 20:14:08 +08:00
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)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
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)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* 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)
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
* 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
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
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
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
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)
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
* 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
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
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