Commit graph

103 commits

Author SHA1 Message Date
xiaoyifang 3cc379e2d5
opt: replace the stardict icon (#2023)
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-12-17 14:31:30 +08:00
shenleban tongying 160402e1d0 Consistently use README and no CRLF
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-10 17:39:43 -05:00
YiFang Xiao 7db2bf37d9 opt: modify the anki icon 2024-10-18 20:32:26 +08: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
Xiao Yi Fang 7e9e264f22 opt: use inkscape remove all the unused objects in lsasound.svg 2024-07-15 15:55:31 +08:00
Xiao Yi Fang 7de7a14d66 opt: change the svg to png to suppress qt.svg warning 2024-07-15 15:55:31 +08:00
YiFang Xiao 5e148eaea6 fix: fix image path in default article css
[autofix.ci] apply automated fixes
2023-10-09 19:56:34 +08:00
YiFang Xiao ccc81ce0b8 opt: replace programdict with a new icon 2023-09-04 19:16:47 +08:00
YiFang Xiao 9f8868bee3 fix: scale the downarrow.png to 18x18 2023-08-24 16:26:29 +08:00
atauzki 3209713282
Create programicon.rc 2023-08-06 10:29:24 +08:00
xiaoyifang 17cd445607
feat: customize dictionary's fullindex option with metadata.toml (#1000)
* feat: customize dictionary's fullindex option with metadata.toml

* [autofix.ci] apply automated fixes

* feat: display fulltext status in the dictionary info dialog

* [autofix.ci] apply automated fixes

* doc: add document about how to enable dictionary's fullindex feature

* Update src/metadata.cc

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

* Update src/ui/dictinfo.ui

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

* Update website/mkdocs.yml

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

* Update website/docs/custom_dictionary.md

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

* Update website/docs/custom_dictionary.md

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

* Update website/docs/custom_dictionary.md

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

* Update website/docs/custom_dictionary.md

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

* Update website/docs/custom_dictionary.md

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

* Update website/docs/custom_dictionary.md

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

* add images

* feat: show fulltext search status in dictionary info dialog

* Update dictinfo.cc

* [autofix.ci] apply automated fixes

* ui: change layout

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2023-07-26 10:03:20 +08:00
YiFang Xiao d25e054a93 opt: replace program dictionary icon 2023-07-21 15:53:53 +08:00
YiFang Xiao 0b087e40f1 opt: replace lsa dictionary icon and zipsound icon 2023-07-21 14:34:09 +08:00
YiFang Xiao 46d62ebf8c opt: replace sounddir dictionary icon 2023-07-21 14:10:40 +08:00
xiaoyifang 34f6cb9ddc
Merge pull request #885 from shenlebantongying/staged
Update splash.png
2023-06-20 15:56:13 +08:00
shenlebantongying 00e7023981 Update splash.png 2023-06-20 03:52:26 -04:00
YiFang Xiao 7f0cb26cda opt: unify windows icon 2023-06-20 08:31:44 +08:00
shenleban tongying 1589e14b70
clean: remove redundant dictionaryNativeIcon
`dictionaryNativeIcon` was intended to access the original icon before none-square icons were transformed into squares.

`dictionaryNativeIcon` is only used in dictionaryBar, but according to the intention, it shouldn't.

In reality, `dictionaryNativeIcon` is almost always equal to `dictionaryIcon`.
2023-06-18 22:37:07 -04:00
shenlebantongying ab7af55696 update initializing.ui & splash img 2023-06-10 07:40:17 -04:00
YiFang Xiao 90b89acac0 feat: make initialize ui more human-friendly 2023-06-10 16:57:49 +08:00
YiFang Xiao c40d04ec5e feat: add custom transliteration support
fix #661

i18n: add new translation entries
2023-05-14 06:32:13 -08:00
shenleban tongying 1a3bae3329 cleanup(css): remove 1x1 pixel <img> hack
When the code was written, there is no way to specify img's src, so
the 1x1 blank.png is a dummy img to be replaced.
2023-04-20 19:53:34 +08:00
shenleban tongying 491fbbfd87
refactor: move flags into /icons/ 2023-04-17 20:44:50 -04:00
GenjiFujimoto 16943ccab1 Add ankicard link and button
make selectedText const

add a new keyboard shortcut: ctrl+shift+n to make a card

if word is empty, warn and exit

rename

return after ankisearch

remove temp vars

change the anki action's text depending on selected text

reformat article maker

the anki button is shown under the heading

revert to the previous way of constructing gddictname

to reduce size of the diff
2023-04-06 09:06:57 +08:00
shenleban tongying eeff42581d cleanup: compress all svg files
for name in (fd --extension svg --max-depth 1)
    scour -i $name -o (pwd)/out/$name --strip-xml-prolog --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata  --remove-descriptions --remove-titles --indent=none
end
2023-03-31 09:21:58 +08:00
shenleban tongying 4f2c8d55aa refactor: port away from extlineedit
* the main feature of extlineedit.cc was having icons on left and right side which is already provided by QLineEdit::addAction after Qt5.2
2023-03-06 09:46:32 +08:00
shenlebantongying 6fc3684b0a
Add Lingua Libre support (#268)
* lingua: add a dummy dict

* lingua: working but output plain json as article

* lingua: add html audio plays

* lingua: fix qmake build

* fix: qmake on mac INCLUDEPATH

* lingua: add config ui to dict sources edit dialog

* lingua: add config logics

* lingua: use the configured iso language code to do query

* lingua: style polish
2022-12-24 22:42:40 +08:00
Xiao YiFang d1dc024375 opt: darkmode related. remove some specific color setting 2022-12-24 21:36:51 +08:00
xiaoyifang 55d13305ca
Update readme.txt 2022-12-07 09:09:45 +08:00
xiaoyifang 41fec4bb08 replace soures dialog icon 2022-12-05 11:28:29 +08:00
xiaoyifang def764e5ac replace by-sa-2.0 icons 2022-12-05 10:21:50 +08:00
Xiao YiFang 112e9a03ce style: modify default style 2022-08-19 20:50:04 +08:00
Xiao YiFang a8817242bf custom icon generate 2022-08-10 20:55:43 +08:00
Xiao YiFang 9f5218b305 remove useless ontop icon 2022-06-29 20:29:34 +08:00
Xiao YiFang 5a2efe20bb feat: replace ontop icon in the scan popup dialog 2022-06-28 08:03:04 +08:00
Xiao YiFang 7bc00750d2 ui:update play sound icon in toolbar 2022-05-17 00:34:42 +08:00
Xiao YiFang a0a54a8e13 icon: replace sound icon from sertoli 2022-05-10 07:45:32 +08:00
Xiao YiFang 7eb0fa6d96 libpng warning fix 2022-04-27 22:40:20 +08:00
xiaoyifang 225d90b895 icon changed to transparent background 2022-04-14 23:32:03 +08:00
xiaoyifang 9779b1d723 update wikitionary icon 2022-04-14 08:08:00 +08:00
xiaoyifang a9a457cc00 optimize: add specific icon for wiktionary 2022-03-24 20:14:01 +08:00
xiaoyifang 3530a4600f replace playsound icon
icons from https://forum.freemdict.com/u/sertoli/summary
2022-03-22 21:25:50 +08:00
xiaoyifang 291d6c6804 high dpi:replace menu button 2022-01-29 13:26:25 +08:00
yifang e6eb1fe115 high dpi:replace a improperly display svg iamge 2022-01-29 10:23:56 +08:00
yifang 2f1665969a high dpi:replace a improperly display svg iamge 2022-01-29 10:23:06 +08:00
xiaoyifang aaa98b014e
high dpi:remove icon 2022-01-28 10:59:04 +08:00
xiaoyifang 8feaa7c3c9
high dpi:replace gnome image icon with tango 2022-01-28 10:52:18 +08:00
yifang 5da3adf515 high dpi:replace gnome image with gango 2022-01-28 08:38:04 +08:00
yifang 3096925a7f high dpi: replace gnome image 2022-01-28 08:32:15 +08:00
yifang eddc813aef high dpi:replace gnome image icon 2022-01-28 08:30:01 +08:00