perspective 发表于 2017-4-5 14:54:13

本帖最后由 perspective 于 2017-4-5 14:55 编辑

duancj 发表于 2017-3-28 19:57
goldendict又有一段时间没更新了

話說完沒幾天,新版就出來了!

不過,只是windows版的。Android版確實很久沒更新了。

https://github.com/goldendict/goldendict/wiki/Early-Access-Builds-for-Windows

1.5.0-RC2-85-g473cb2b

Date: 31 March 2017

This is a FULL distribution of Goldendict, with all required files, libraries and localizations. Includes QT 4.8.6 (or QT 5.6.2) libs.

Detailed lists of changes is here.

Most interesting changes (since the previous EA build):

Add support for GLS (Babylon source) format
Websites: Fix custom icons
Websites(Qt 5.2+): Ignore X-Frame-Options header like in Qt 4.x
Slob: Fix handling of links to external resources
Send image to external viewer by double click
Add command line parameters "--group-name" and "--popup-group-name"
Add option to enable/disable search via synonyms
Qt5: Fix retrieving words with '%' char
DSL: Handle "id" and "name" attributes in "lang" tag
MDict: Fix handling of links with '/' symbol (issue #771)
Lupdate all translations, update Russian translation
Updated Tajik Translation (by Victor Ibragimov)
Update lt_LT.ts (by embar-)
Add Esperanto translation (by Nikolay Korotkiy)
Add Finnish translation (by Nikolay Korotkiy)
Update Italian translation (by Daniele Di Pisa)

slim520rr 发表于 2017-4-20 01:12:02

谢谢O大

wantyu 发表于 2017-5-4 15:19:59

自从发现goldendict可以网络取词以后,就再也不用lingoes等一系列词典了,不过可惜的是手机端和电脑端没法比。。。
http://i4.buimg.com/567571/3d79e49189ee9e2e.jpg

xuwen2288502 发表于 2017-5-10 00:32:56

谢谢O大。

helloit 发表于 2017-5-18 08:59:05

本帖最后由 helloit 于 2017-5-18 10:18 编辑

请问article-style.css,
改词典背景颜色的指令(预设风格,默认黄色),行数是多少?我只找到改GD背景的...
但是词典背景还是黄色。
------------------------------------------------------------------------------------------------------------
已自行解决,25行下添加修改。

------------------------------------------------------------------------------------------------------------
再问问,改词典内文预设字体颜色的指令(预设风格,默认黑色),行数是多少?
------------------------------------------------------------------------------------------------------------
解决,也在25行下...。发现字体颜色指令有细分(词典优先覆盖预设),加上许多词典
以白底黑字为基础创作,放弃修改字体颜色(背景选浅灰#c1c1c1(原本深灰))。

------------------------------------------------------------------------------------------------------------
有字典颜色困扰的可参考看看(基于版上大部分英语词典,词典本身是深色底浅色字,
应该不适用),指令:

.gdarticle
{
margin-top: 0.1em;
margin-bottom: 0.4em;
padding: 5px;
border: 1px solid #d0dde2;
border-radius: 8px;
background: #c1c1c1;
}

dictionaryfan 发表于 2017-6-17 20:40:59

刚刚更新了
1.5.0-RC2-135-g58e41fe
https://sourceforge.net/projects/goldendict/files/early%20access%20builds/Qt5-based/64bit/

dictionaryfan 发表于 2017-7-17 15:16:07

7月又更新了
版本号:1.5.0-RC2-152-gecdec2b

fffttt 发表于 2017-7-17 15:22:45

godendict屏幕取词有什么办法吗,简直惨不忍睹啊

dictionaryfan 发表于 2017-8-3 09:59:29

1.5.0-RC2-170-g4c1dd16
最近更新的比较频繁

wenglulu1219 发表于 2017-9-14 11:12:46

厉害了~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~·

经典与古典 发表于 2017-9-15 19:35:21

本帖最后由 经典与古典 于 2017-9-15 19:37 编辑

真的不能忍受了,加载640词典,英语大概500多部,频频no responding,频频崩溃退出,只有查英语单词才会这样,到底加载多少不崩溃啊?

mcmxciv 发表于 2017-9-22 15:04:07

安卓版的已经很久没有更新了

mcmxciv 发表于 2017-9-26 15:22:02

GitHub 版本的开发者是同一个吗?既然windows 开始支持.mdx/.mdd格式的词典,为什么安卓不见任何动静?

arbzn 发表于 2017-10-6 22:49:32

本帖最后由 arbzn 于 2017-10-7 08:45 编辑

請問,goldendict詞典的詞條爲什麼對unicode字符顯示不全?mdict都可以顯示的。

Oeasy 发表于 2017-10-7 10:28:26

arbzn 发表于 2017-10-6 22:49
請問,goldendict詞典的詞條爲什麼對unicode字符顯示不全?mdict都可以顯示的。

...


Google 了“ GoldenDict 藏语”,发现一些链接,可能有用。

- [下载分享]GoldenDict词典藏文版及《东嘎藏学辞典》(藏文)电子版 http://bbs.gelupa.org/forum.php?mod=viewthread&tid=31417
- https://sites.google.com/site/zhoubx/computer/goldendict/win8-goldendict-tibetan 以下粘贴全文。
Win8 GoldenDict Tibetan
2014.12.4

問題

在 win7 環境使用 GoldenDict,藏文顯示都沒有問題,但是在 Win8 環境下,使用 GoldenDict 藏文詞典,如果使用 StarDict 格式的《翻譯名義大集》,右邊辭典內容的藏文不能正確顯示;如果使用 Babylon 格式的翻譯名義大集,右邊辭典內容的藏文可以正確顯示,但是若將藏文複製到左上方的搜尋文字框,則藏文不能正確顯示,左下方的詞條清單也不能正確顯示藏文。

註:以上《翻譯名義大集》來自 http://buddhistinformatics.ddbc.edu.tw/glossaries/download.php#mahavyutpatti
解決辦法

從以下網址下載最新版的 GoldenDict:
https://github.com/goldendict/goldendict/wiki/Early-Access-Builds-for-Windows

2017.8.9 看到的最新版是 1.0.1, 不必做下面的動作就可以正常顯示藏文。

截至 2014.12.4 為止的最新版是 2014.11.27 的 1.5.0-RC-442-g83397ce。(這不是正式版)

解決右方辭典內容的藏文顯示問題:在 %APPDATA%\GoldenDict 路徑下建立一個 article-style.css,檔案內容如下:

body {
font-family: Microsoft Himalaya;
}

AppData 的路徑在哪裡?請參考:http://www.computerperformance.co.uk/win8/windows8-appdata_folder.htm

解決左方搜尋框及詞條清單的藏文顯示問題:在 %APPDATA%\GoldenDict 路徑下建立一個 qt-style.css,檔案內容如下:

MainWindow #searchPane #translateLine, MainWindow #searchPane #wordList
{
font-family: "Microsoft Himalaya";
}
參考資料

GoldenDict Wiki FAQ: http://goldendict.org/wiki/index.php/FAQ
How do I change the font used for the articles?

arbzn 发表于 2017-10-7 12:34:27

本帖最后由 arbzn 于 2017-10-7 13:15 编辑

Oeasy 发表于 2017-10-7 10:28
Google 了“ GoldenDict 藏语”,发现一些链接,可能有用。

- [下载分享]GoldenDict词典藏文版及《东嘎 ...

謝謝!在別人電腦上用1.0.1版的試了一下,能顯示。我的電腦1.0.1還不行。然後用了您說的方法,確實有效!個別框顯示還不行,我再看看

arbzn 发表于 2017-10-8 15:54:06

本帖最后由 arbzn 于 2017-10-8 20:44 编辑



還有一個問題麻煩一下,如上圖,詞典內容標籤頁面的標題可以設置字體嗎?謝謝!(標籤頁在qt-style中用MainWindow QTabBar::tab, /* tab */ MainWindow QTabBar::tab:selected, /* tab */ MainWindow #centralWidget QTabBar::tab, /* tab */ MainWindow #centralWidget QTabBar::tab:selected /* tab */ 解決了,整體的界面如下圖,還是不行。)



這是藏文界面,應該就是界面字體設置的問題。該如何修改?

。。。。。。。。。。。。

學習樓主的貼子後解決了:

* {    /*   (*) means for all, instead of WordList, QLineEdit, QTabBar */
font-family: "Times New Roman", "Microsoft Himalaya", sans-serif;
}

這是萬靈丹啊!

arbzn 发表于 2017-10-9 20:15:32



这大概是最后一个问题了。图中页面的背景色怎么换成其它颜色?

body和.gdarticle的background都改不动它。

Oeasy 发表于 2017-10-9 21:41:09

arbzn 发表于 2017-10-9 20:15
这大概是最后一个问题了。图中页面的背景色怎么换成其它颜色?

body和.gdarticle的background都改不动它 ...


article-style.css 里添加如下代码试试:
body { background-color:red; }

red 可替换为自己想要的颜色 : http://www.w3school.com.cn/cssref/css_colors.asp




deeke 发表于 2017-10-9 21:50:22

arbzn 发表于 2017-10-9 20:15
这大概是最后一个问题了。图中页面的背景色怎么换成其它颜色?

body和.gdarticle的background都改不动它 ...

在 article-style.css 加上这个:
html {background: blue; }
改成你需要设置的颜色。

deeke 发表于 2017-10-9 22:12:05

1.5.0-RC2-188-g801ab72
Most interesting changes (since the previous EA build):
    DSL: Trim whitespaces while replace tilde
    Update data for OpenCC library
    A little refactor for show/hide completion list in the translate box
    Forvo: order pronunciations by rate, high rated first (by Nikolay Korotkiy)
    Fix headwords search for case of wildcard in the first position
    Stardict: format output of Powerword dicts (by zarelaky)
    Fix full-text search for case of partially matched sequence
    Update zh_TW.ts (by kyleskimo)
    Complete zh_CN translation (by Boyuan Yang)

ru-board 有最新版 exe 文件,含 Qt4、Qt5、Qt5_x64 三种:
1.5.0-RC2-190-g8edb543 (EXE only)(科学上网)

arbzn 发表于 2017-10-10 12:08:52

謝謝兩位大神的解答!

HMPT 发表于 2017-10-10 13:04:57

@deeke 问下goldendict 里面 html 的 id 名称会别他加上前缀, 怎么避免?? 有时候JS需要id 名称

deeke 发表于 2017-10-10 22:30:41

本帖最后由 deeke 于 2017-10-11 01:02 编辑

HMPT 发表于 2017-10-10 13:04
@deeke 问下goldendict 里面 html 的 id 名称会别他加上前缀, 怎么避免?? 有时候JS需要id 名称 ...

你是指类似 #gdarticlefrom-af6352032a97251d70ce9ba74e88edb8 这样的前缀吗?
假设没有前缀,两个 mdx 词典中如果 html 使用了相同的 id、class,就会出现混乱,所以我觉得不能避免。
我不清楚 GD 调用多个 mdx 词典的 JS 的策略是怎么样的,遇到过相互干扰的情况。目前来看,可能最简单的办法是克制,尽量少用 JS。

HMPT 发表于 2017-10-12 09:05:36

deeke 发表于 2017-10-10 22:30
你是指类似 #gdarticlefrom-af6352032a97251d70ce9ba74e88edb8 这样的前缀吗?
假设没有前缀,两个 mdx...

就是这个, 于是我调用id做判断的js就挂了
页: 1 2 3 4 5 6 7 [8] 9 10
查看完整版本: GoldenDict 专贴![20180407]