Commit graph

5654 commits

Author SHA1 Message Date
shenleban tongying ef57526762
fix: wrong lifetime of the connection between searchInPageAction <> openSearch
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-10-12 13:41:03 +00:00
xiaoyifang 9010262801
Update ui_shortcuts.md
Some checks failed
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
2024-10-12 08:38:44 +08:00
xiaoyifang b87261f1af
New Crowdin updates (#1816)
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
* New translations German from Crowdin

* New translations Dutch from Crowdin

* New translations German, Switzerland from Crowdin

* New translations German from Crowdin

* New translations German, Switzerland from Crowdin
2024-10-10 17:04:37 +08:00
shenleban tongying 001929126e
Merge pull request #1817 from shenlebantongying/clean/war-on-braces 2024-10-10 03:38:44 -04:00
shenleban tongying 2c7cd1385d dev: add last commit to .git-blame-ignore-revs 2024-10-10 03:30:51 -04:00
shenleban tongying a11c9e3aec clean: mass apply clang-tidy's readability-braces-around-statements 2024-10-10 03:21:27 -04:00
shenleban tongying da34da69b6
clean: delete or rewrite weird things in history.cc (#1815) 2024-10-10 07:00:13 +00:00
shenleban tongying 95f3abadf5 feat: set the default history and favorite saving interval to 15 minutes
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-10-10 00:31:15 -04:00
shenleban tongying 08d31614ed delete LangCoder::icon which is wrong in concept 2024-10-10 00:03:14 -04:00
shenleban tongying 3c2e36d040 delete MainWindow::fillWordListFromHistory which is unused 2024-10-10 00:03:14 -04:00
xiaoyifang d5037ded24
feature: rename the [Enable Scanning] to a more accurate tooltip (#1810)
Some checks failed
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
* feature: rename the [Enable Scanning] to a more accurate tooltip

* change [Scan Popup] to popup

* i18n: [scan popup] to popup in ts files

* update popup related strings

* Update popup doc

* update popup doc 2

* Update ui_popup.md

* -t popup explanation in command line

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-10-10 02:19:33 +00:00
shenleban tongying 0d1b570ce4
dev: fix macOS build (#1811) 2024-10-10 01:11:57 +00:00
xiaoyifang 4316b1208a
icon: replace the anki icon (#1809)
* icon: replace the anki icon

* icon: modify the icon to include anki element
2024-10-10 08:21:35 +08:00
shenleban tongying c5ce1cae20 feat: macOS, check and request Accessibility permission for Cmd+C
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-10-09 00:57:54 -04:00
shenleban tongying 7f497b0cdf fix: set scanPopup flags to what's is needed instead of Qt::Popup
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-10-07 06:25:53 -04:00
shenleban tongying 94ea6c570c clean: deprecated QCryptographicHash::addData 2024-10-06 17:24:36 -04:00
shenleban tongying 90d55d7392 clean: deprecated QVariant::type 2024-10-06 17:24:36 -04:00
shenleban tongying 997f24d62f fix: dictd's description display (00databaseinfo) 2024-10-06 17:20:12 -04:00
shenleban tongying 1c2f93e393
clean: port DSL encoding guessing away from QTextCodec (#1799) 2024-10-06 15:59:07 -04:00
shenleban tongying 96ada0737c
clean: purge undocumented and useless editDictionaryCommandLine (#1794)
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-09-30 20:02:20 -04:00
shenleban tongying 97bf80451a fix: init icon size is not normal due to missing null check 2024-09-30 19:04:18 -04:00
shenleban tongying 3770202ce7 actions: bump macos from 12 to 13 because homebrew drops 12 support 2024-09-30 18:57:07 -04:00
Konstantin 4a0124de3b
feature: add Large toolbar icons support (#1789)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
Co-authored-by: hashirama <noroi_harau@tutanota.com>
2024-09-30 04:36:27 +00:00
shenleban tongying e91725e495 dev: bump Qt to 6.7.3 2024-09-30 00:33:22 -04:00
shenleban tongying 58f346f23e
fix: mark all Idxheader packed explicitly
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-09-25 06:09:01 -04:00
shenleban tongying 2a918d5fdd
refactor: reorganize dictionary processing related code 2024-09-24 21:29:59 -04:00
shenleban tongying ba97a9ca87 clean: delete wall of text in wstring.hh 2024-09-24 21:24:59 -04:00
shenleban tongying 2b98b506fe dev: version bump for new dev cycle
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-09-13 19:18:02 -04:00
shenleban tongying 15abc8952b dev: prepare a new version
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-09-13 08:58:43 -04:00
Xiao Yi Fang 0bf8a4a3fd opt: some entries do not need to be translated
Some checks failed
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
2024-09-11 20:54:12 -04:00
shenleban tongying 6abe288f16 doc: add missing - 2024-09-11 20:27:15 -04:00
Konstantin c51c0fd714
doc: clarify that ninja is optional and add other potential useful flags for CMake build (#1768)
---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-09-12 00:03:53 +00:00
xiaoyifang ac03f31384
New Crowdin updates (#1766)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
* 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 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
2024-09-11 13:40:58 +08:00
xiaoyifang 0167f01a1a
Merge pull request #1765 from xiaoyifang/i18n_
New Crowdin updates
2024-09-11 08:21:04 +08:00
xiaoyifang 48feac1469 New translations Hungarian from Crowdin 2024-09-11 04:46:17 +08:00
xiaoyifang 78173e3c5d
New Crowdin updates (#1760)
Some checks failed
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled
* New translations Hungarian 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 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
2024-09-10 13:42:55 +00:00
YiFang Xiao a36f218df2 [ts]update crowdin.ts and document 2024-09-10 21:33:06 +08:00
shenleban tongying b392c83e86
fix: ensure icu4c are copied to app bundle on macOS (#1762)
by explictly linking it
2024-09-10 05:52:23 -04:00
xiaoyifang 39836dc143
Let Crowdin format Hungarian translation (#1757) 2024-09-09 23:35:49 +00:00
shenleban tongying 9a73931d69 fix: add Hungarian to Preferences and minor fix ts file 2024-09-09 19:20:22 -04:00
lionkmp 11717fbf62
feat: Adds Hungarian translation via .ts file (#1752)
* Add original HU translation from orig goldendict

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2024-09-09 22:02:48 +00:00
shenleban tongying 5e62b1c567
fix: consider devicePixelRatio when scaling icons (#1751) 2024-09-09 20:19:56 +00:00
Konstantin aaaeb585b6
feature: High-quality dictionary icons in toolbar (#1750)
* better procedure of image scaling and size choosing
* allow user to set toolbar icon size via qt style sheet

---------

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-09 14:48:33 -04:00
shenleban tongying 34e9ad5654
clean: remove opencc data folder by copying directly from upstream (#1747)
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-09-06 21:17:49 -04:00
shenleban tongying 91a4e31018 feat: allow changing icon on macOS by not overriding icon in Info.plist 2024-09-06 19:35:07 -04:00
shenleban tongying 48a6efec62 dev: ship macOS version with debuginfo 2024-09-06 16:26:19 -04:00
xiaoyifang c599bbfb73
Merge pull request #1743 from shenlebantongying/feat/program-stdin-utf8
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
deploy_website / deploy (push) Has been cancelled
feat: write word to Program dictionary's stdin in UTF-8 instead of local 8 bit
2024-09-04 08:48:28 +08:00
xiaoyifang e5c25cd7b3
Merge pull request #1742 from shenlebantongying/opt/del-parsecmd
opt: remove `parsecmdline.cc` by using `QProcess::splitCommand`
2024-09-04 08:30:37 +08:00
shenleban tongying 05c1c1f927 feat: write word to Program dictionary's stdin in UTF-8 instead of local 8 bit 2024-09-03 17:09:34 -04:00
shenleban tongying 0a5827fd20 opt: remove parsecmdline.cc by using QProcess::splitCommand 2024-09-03 12:54:50 -04:00