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
540dda26ed
cleanup: Replace all usages of qrcx://localhost with qrc://
...
The replacement command:
git grep -l 'qrcx://localhost' | xargs sed -i 's/qrcx:\/\/localhost/qrc:\/\//g'
The qrcx:// URL scheme was introduced in 2009 or earlier - it is present
in the first commit in GoldenDict's git history. Back then GoldenDict
supported Qt versions earlier than 4.6, in which
QWebSecurityOrigin::addLocalScheme() was introduced. Adding the qrc URL
scheme as local obsoletes the qrcx URL scheme. GoldenDict does not
compile against Qt versions earlier than 4.6, so there is no reason to
use this custom URL scheme anymore.
Co-authored-by: Igor Kushnir <[email protected] >
2023-03-05 15:20:05 -05:00
Xiao YiFang
2263dfc8da
fix: qt warning when parsing unknown color attribute
...
related to goldendict/goldendict#1578
2022-12-11 12:44:30 +08:00
Xiao YiFang
988951aa6c
[reg]: unicode-bidi cause the welcome title aligned left
2022-10-29 13:23:17 +08:00
Xiao YiFang
b23e57d08c
fix:rtl display in Arabic/Persian language
...
fix goldendict#1565
2022-10-27 21:30:06 +08:00
Xiao YiFang
9333af47e0
style:default font family of the web page
2022-09-05 20:11:55 +08:00
Xiao YiFang
b9dcb71f23
style: remove font-family from the new-default-style & modern style
2022-09-02 20:09:02 +08:00
Xiao YiFang
7f39be4fef
style: add user-select: none to dictionary name in article.
2022-08-21 11:37:58 +08:00
Xiao YiFang
5606f23c15
style: default style dictionary name style
2022-08-19 21:19:06 +08:00
Xiao YiFang
112e9a03ce
style: modify default style
2022-08-19 20:50:04 +08:00
Xiao YiFang
382702f753
style: remove css -webkit-user-select and replace with user-select
2022-08-19 19:46:55 +08:00
Xiao YiFang
ba73176dcf
style: change dictionary bar color
2022-08-19 19:46:15 +08:00
Xiao YiFang
f5882816c9
opt:add new default style.
...
based on original default style, remove yellow background.
the original default style is renamed to classic style.
2022-08-18 20:54:35 +08:00
Xiao YiFang
ec5d2b12db
style:do not allow dictionary title to be selected
2022-06-13 19:45:29 +08:00
Xiao YiFang
3e6c85b404
add dict's margin back to lingos style
2022-06-08 20:55:08 +08:00
Xiao YiFang
8fb1e81d75
style:add body : 100%
2022-06-06 20:11:32 +08:00
Xiao YiFang
7f62859b1f
style: content-intrinsic-size increase to 600px
2022-06-03 12:45:46 +08:00
Xiao YiFang
c397af5241
style: minor change .mdict css style
...
remove .mdict's margin-top: 1em
add .gddictnamebodyseparator with clear:both
2022-06-03 12:44:37 +08:00
Xiao YiFang
d13390befc
add html css 100%
2022-05-31 00:06:21 +08:00
Xiao YiFang
12f7db7414
fix: remove deprecated css
2022-05-25 19:45:19 +08:00
Xiao YiFang
b55da16c33
clean code: remove deprecated css properties
2022-05-24 21:25:21 +08:00
Xiao YiFang
b47004aba0
opt: remove body default 13 px font-size, use chrome's instead
2022-05-19 22:13:49 +08:00
Xiao YiFang
bde86d7b88
opt: remove dictionary "From " word when displaying dictionary's translation
2022-05-18 20:28:52 +08:00
Xiao YiFang
24241e75f4
opt:improve css render speed.
...
https://drafts.csswg.org/css-contain/#using-cv-auto
2022-05-08 09:26:48 +08:00
xiaoyifang
0de7d9511d
update wiki audio link
2022-03-24 22:28:01 +08:00
xiaoyifang
62e1698c1d
css:fix #14
2022-02-16 21:13:40 +08:00
xiaoyifang
e9a442ead5
close #11
2022-02-13 15:40:21 +08:00
yifang
7bdf98c113
fix: article and banner space
...
someone just complain about the space ,revert it.
2022-01-31 08:32:36 +08:00
xiaoyifang
b127144b18
fix: remove width 100% style
...
revert to previous version,seems in some cases will affect visual display.
2022-01-21 09:35:45 +08:00
xiaoyifang
be24e04c17
fix: body and banner overlap
2022-01-21 09:30:49 +08:00
yifang
037dcfd5a1
imp. : when click article collapse banner,single click to selection should supress
2022-01-20 20:43:42 +08:00
Igor Kushnir
57c4c33780
Add support for *.oga audio files
...
For example, the first audio link in "The United States" English
Wikipedia article - "The Star-Spangled Banner" - ends with ".oga".
Without this commit the audio link is not recognized by GoldenDict:
* it is not pronounced when a Preferences=>Audio=>"Auto-pronounce..."
option is enabled;
* clicking on the link opens it in the default browser instead of
playing inside GoldenDict.
2021-06-12 07:53:19 +03:00
Abs62
052f849be7
XDXF: A little more handling for <ex> tag (issue #1135 )
2019-04-01 17:53:36 +03:00
Boyuan Yang
5d5432dbad
Fix typos found by codespell
2018-07-07 17:33:15 +08:00
Abs62
9ae92bf251
Stardict(html): Add partial support for "audio" tag
2017-10-17 17:51:27 +03:00
Abs62
3f221041e0
GLS: Add partial support for "audio" tag
2017-10-16 18:34:22 +03:00
Boyuan Yang
2c80aa4c67
Fix typos found by codespell
2017-09-16 21:18:42 +08:00
Abs62
4c1dd16ce2
Fix possible overlap in built-in article-style.css (issue #832 )
2017-07-27 17:53:01 +03:00
Abs62
022682a4f9
1. One more fix for "Modern" and "Lingoes-blue" styles
...
2. Set some styles via article-style.css instead of direct command
2017-06-20 17:41:30 +03:00
Abs62
a6df1cfb51
More support for GLS format
2017-03-09 19:09:16 +03:00
Abs62
eba7f5578f
Add support for GLS (Babylon source) format
2017-03-07 16:45:09 +03:00
Abs62
0e1b453b7a
Slob: Support handling of TeX format formulas via mimetex.cgi
2015-01-25 17:04:50 +03:00
Abs62
63ef78651d
A little change of default font size for Zim dictionaries
2014-05-26 18:05:31 +04:00
Abs62
56770cf4ff
Zim: Fix new format links handling
2014-05-23 23:24:07 +04:00
Abs62
8b3a7a4f43
Epwing: Fix monochrome images, use unicode symbols instead of some extra symbol images
2014-05-22 22:16:10 +04:00
Abs62
7d9bb3c91a
Epwing: Fix external fonts and some headwords
2014-05-21 18:18:37 +04:00
Abs62
d9169bd45b
Add support for Epwing dictionaries
2014-05-20 17:59:56 +04:00
Abs62
ceb04dbd6a
DICT protocol support
2014-05-02 17:36:50 +04:00
Abs62
8e54204a72
DSL: Add default color (black) for [com] tag in Lingvo style, fix colors for [*][ex] combination
2013-11-09 21:18:55 +04:00
Abs62
7699bd9ff4
DSL: Adjust colors for [p], [ex], [*] tags
2013-11-09 14:36:11 +04:00