From 8b88ea544ee8c3376bdd16627b9051b7cac1eb54 Mon Sep 17 00:00:00 2001 From: xiaoyifang <105986+xiaoyifang@users.noreply.github.com> Date: Sat, 1 Jul 2023 22:39:43 +0800 Subject: [PATCH] opt: add fullindex position (#916) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * opt: enable fulltext with position info * opt: add fulltext position support * 🎨 apply clang-format changes * i18n: update translation entries * opt: default enablePosition=false * opt: fulltext search highlight --------- Co-authored-by: xiaoyifang --- locale/crowdin.ts | 1602 ++++++++++++++++++++--------------------- src/config.cc | 8 + src/config.hh | 2 + src/ftshelpers.cc | 9 +- src/ui/articleview.cc | 14 +- src/ui/preferences.cc | 2 + src/ui/preferences.ui | 130 ++-- 7 files changed, 892 insertions(+), 875 deletions(-) diff --git a/locale/crowdin.ts b/locale/crowdin.ts index bd4c7d93..67d50ebb 100644 --- a/locale/crowdin.ts +++ b/locale/crowdin.ts @@ -33,21 +33,16 @@ Credits: 致谢名单: - - - [Unknown] - [未知] - - - - Based on Qt %1 (%2, %3 bit) - 基于 Qt %1 (%2, %3 位) - (c) 2008-2013 Konstantin Isakov (ikm@goldendict.org) (c) 2008-2013 Konstantin Isakov (ikm@goldendict.org) + + + Based on Qt %1 (%2, %3) + + AnkiConnector @@ -85,62 +80,62 @@ ArticleMaker - + Then just stop the cursor over the word you want to look up in another application, and a window would pop up which would describe it to you. 然后只要将鼠标指针停留在你想要进行抓词查询的单词上,程序就会在弹出式窗口中显示释义。 - + <h3 align="center">Working with the popup</h3>To look up words from other active applications, you would need to first activate the <i>"Scan popup functionality"</i> in <b>Preferences</b>, and then enable it at any time either by triggering the 'Popup' icon above, or by clicking the tray icon down below with your right mouse button and choosing so in the menu you've popped. <h3 align="center">使用屏幕取词功能</h3><p style="text-indent:2em">如要从其它程序中直接进行抓词查询,需要首先在<b>首选项</b>中启用“屏幕取词功能”,然后点击上面的“弹出菜单”图标,或者右键点击系统托盘图标后从弹出菜单中选定“屏幕取词”以激活此功能。 - + Expand article 展开文章 - + Collapse article 收起文章 - - No translation for <b>%1</b> was found in group <b>%2</b>. - 在 <b>%2</b> 群组中找不到 <b>%1</b> 的可用翻译。 - - - + Working with popup 使用屏幕取词功能 - + (untitled) (未命名) - + Welcome! 欢迎使用! - + Then just select any word you want to look up in another application by your mouse (double-click it or swipe it with mouse with the button pressed), and a window would pop up which would describe the word to you. 然后只要用鼠标指针选定你要进行抓词查询的词(双击单词或者用鼠标拖拉选定),程序就会在弹出式窗口中显示释义。 - + No translation was found in group <b>%1</b>. 在 <b>%1</b> 群组中找不到可用的翻译。 - + + No translation for <b dir="%3">%1</b> was found in group <b>%2</b>. + + + + <h3 align="center">Welcome to <b>GoldenDict</b>!</h3><p>To start working with the program, first visit <b>Edit|Dictionaries</b> to add some directory paths where to search for the dictionary files, set up various Wikipedia sites or other sources, adjust dictionary order or create dictionary groups.<p>And then you're ready to look up your words! You can do that in this window by using a pane to the left, or you can <a href="Working with popup">look up words from other active applications</a>. <p>To customize program, check out the available preferences at <b>Edit|Preferences</b>. All settings there have tooltips, be sure to read them if you are in doubt about anything.<p>Should you need further help, have any questions, suggestions or just wonder what the others think, you are welcome at the program's <a href="https://github.com/xiaoyifang/goldendict/discussions">forum</a>.<p>Check program's <a href="https://github.com/xiaoyifang/goldendict">website</a> for the updates. <p>(c) 2008-2013 Konstantin Isakov. Licensed under GPLv3 or later. <h3 align="center">欢迎使用 <b>GoldenDict</b> 词典程序!</h3><p style="text-indent:2em">使用时请首先打开<b>编辑 | 词典</b>菜单以添加并扫描含有词典文件的目录,添加维基百科网站查询或其它资源,调整词典排序或创建新的词典群组。这些设置都完成以后,就可以开始使用了。你可以使用左侧的查询面板,或者<a href="使用屏幕取词功能">直接从其它程序中抓词查询</a>。<p style="text-indent:2em">如需要改变设置,可以在<b>编辑 | 首选项</b>菜单中查看一下可用的系统设置。所有的设置都有鼠标指针提示信息,如果有不明之处,请仔细阅读提示信息。如果你需要更多帮助,有任何疑问、建议,或者仅仅想了解其他人的想法,欢迎访问此程序的<a href="https://github.com/xiaoyifang/goldendict/discussions">官方论坛</a>。访问此程序的<a href="https://github.com/xiaoyifang/goldendict">官方网站</a>以获取更新。<p style="text-indent:2em">(c) 2008-2013 Konstantin Isakov. 授权基于 GPLv3 或更高版本。 - + (picture) (图片) @@ -148,42 +143,42 @@ ArticleRequest - + Expand article 展开文章 - + From 来自 - + Collapse article 收起文章 - + Make a new Anki note 创建新的 Anki 笔记 - + Query error: %1 查询错误:%1 - + Close words: 相近词条: - + Compound expressions: 复合短语: - + Individual words: 单个词汇: @@ -191,197 +186,197 @@ ArticleView - + Failed to create temporary file. 创建临时文件失败。 - + &Look up "%1" 查找 "%1"(&L) - + Look up "%1" in &New Tab 在新标签页中查找 "%1"(&N) - - + + The referenced resource doesn't exist. 所引用的资源不存在。 - + Failed to auto-open resource file, try opening manually: %1. 自动打开资源文件时失败,请尝试手动打开:%1. - + Look up "%1" in %2 在 %2 中查找 "%1" - + Select Current Article 选择当前文章 - + Copy as text 复制为文本 - + Inspect 审查元素 - + Look up "%1" in %2 in &New Tab 在 %2 中查找 "%1" 并使用新标签页(&N) - + Open Link in New &Tab 在新标签页中打开链接(&T) - + Open Link in &External Browser 在外部浏览器中打开链接(&E) - + Resource 资源 - + Audio 音频 - + TTS Voice TTS 音频 - + Picture 图片 - + Video 视频: %1 视频 - + Video: %1 视频:%1 - + Definition from dictionary "%1": %2 定义:"%1": %2 - + Definition: %1 定义:%1 - + The referenced audio program doesn't exist. 引用的音频播放程序不存在。 - + Op&en Link 打开链接(&E) - + Save &Bookmark "%1..." 保存为书签(&S)“%1...” - + WARNING: Audio Player: %1 警告:音频播放器:%1 - - - + + + ERROR: %1 错误: %1 - + Save sound 保存音频文件 - + Save image 保存图片 - + Image files (*.bmp *.jpg *.png *.tif);;All files (*.*) 图片文件 (*.bmp *.jpg *.png *.tif);;所有文件 (*.*) - + Save &image... 保存图片(&I)... - + Phrase not found 没找到词组 - + %1 of %2 matches 匹配(%1/%2) - + Save s&ound... 保存音频文件(&O)... - + Send "%1" to input line 将 "%1" 发送到输入框 - - + + &Add "%1" to history 将 "%1" 添加到历史(&A) - + &Send Current Article to Anki 发送当前文章到 Anki(&S) - + &Send selected text to Anki 发送选中文本到 Anki(&S) - + Sound files (*.wav *.ogg *.oga *.mp3 *.mp4 *.aac *.flac *.mid *.wv *.ape *.spx);;All files (*.*) 声音文件 (*.wav *.ogg *.oga *.mp3 *.mp4 *.aac *.flac *.mid *.wv *.ape *.spx);;所有文件 (*.*) - + Failed to play sound file: %1 播放音频文件失败:%1 @@ -458,17 +453,17 @@ between classic and school orthography in cyrillic) 繁体转简体 - + Simplified to traditional Chinese (Taiwan variant) conversion 简体中文至正体中文(台湾)转换 - + Simplified to traditional Chinese (Hong Kong variant) conversion 简体中文至繁体中文(香港)转换 - + Traditional to simplified Chinese conversion 繁体中文至简体中文转换 @@ -476,7 +471,7 @@ between classic and school orthography in cyrillic) CustomTranslit - + custom transliteration @@ -547,17 +542,17 @@ between classic and school orthography in cyrillic) 图像 - + All files 所有文件 - + Error 错误 - + Can't read the specified image file. 无法读取指定的图像文件。 @@ -565,63 +560,63 @@ between classic and school orthography in cyrillic) DictGroupsWidget - - - + + + Confirmation 确定 - + Are you sure you want to generate a set of groups based on language pairs? 你确定要产生基于语言配对的群组吗? - + Are you sure you want to generate a set of groups based on metadata.toml? - + Combine groups by source language to "%1->" 根据源语言合并群组"%1->" - + Combine groups by target language to "->%1" 根据目标语言合并群组"->%1" - + Auto group by folder failed. 根据文件分组失败 - + The parent directory of %1 can not be reached. %1 的父目录可以达到。 - + Are you sure you want to generate a set of groups based on containing folders? 您确定根据文件夹结构生成词组吗? - + Make two-side translate group "%1-%2-%1" 建立双向群组"%1-%2-%1" - - + + Combine groups with "%1" 与群组"%1"合并 - - - - + + + + Dictionaries: 词典: @@ -704,63 +699,63 @@ between classic and school orthography in cyrillic) 过滤器字符串(可以是固定的字符串、通配符或者正则表达式) - + Text 纯文本 - + Wildcards 通配符 - + RegExp 正则表达式 - + Loading headwords... - + Unique headwords total: %1, filtered: %2 总共有%1个不同的词条,已过滤%2个 - + Save headwords to file 保存词条至文件 - + Text files (*.txt);;All files (*.*) 文本文件 (*.txt);;所有文件 (*.*) - + Can not open exported file 无法打开导出的文件 - + Export headwords... 导出词条... - - + + Cancel 取消 - + Export process is interrupted 导出过程被中断 - + Export finished 导出完成 @@ -827,7 +822,7 @@ between classic and school orthography in cyrillic) DictListModel - + %1 entries %1 条记录 @@ -858,44 +853,44 @@ between classic and school orthography in cyrillic) DictServersModel - + Enabled 已启用 - + Name 名称 - + Address 地址 - + Databases 数据库 - + Strategies 策略 - + Icon 图标 - + Comma-delimited list of databases (empty string or "*" matches all databases) 逗号分隔的数据库列表 (使用空字符串或者“*”可以匹配所有数据库) - + Comma-delimited list of search strategies (empty string mean "prefix" strategy) 逗号分隔的搜索策略列表 @@ -905,37 +900,37 @@ between classic and school orthography in cyrillic) DictionaryBar - + Extended menu with all dictionaries... 展开菜单以包含所有词典…… - + Edit this group 编辑此群组 - + Dictionary info 词典信息 - + Dictionary headwords 词典词条 - + Open dictionary folder 打开词典文件夹 - + Edit dictionary 编辑词典信息 - + &Dictionary Bar 词典栏(&D) @@ -944,7 +939,7 @@ between classic and school orthography in cyrillic) EditDictionaries - + &Dictionaries 词典(&D) @@ -954,17 +949,17 @@ between classic and school orthography in cyrillic) 词典 - + Accept 接受 - + Cancel 取消 - + Sources changed 词典文件所在目录已变更 @@ -975,12 +970,12 @@ between classic and school orthography in cyrillic) - + &Groups 群组(&G) - + Some sources were changed. Would you like to accept the changes? 某些词典文件的所在目录已变更,是否接受变更? @@ -1009,75 +1004,55 @@ between classic and school orthography in cyrillic) FTS::FullTextSearchDialog - + Full-text search 全文搜索 - + Whole words 全字匹配 - + Plain text 纯文本 - + Wildcards 通配符 - - RegExp - 正则表达式 + + The querying word can not be empty. + - + support xapian search syntax,such as AND OR +/- etc 支持 xapian 搜索语法,例如 AND OR +/- 等 - - Max distance between words (%1-%2): - 最大词间距 (%1-%2): - - - - Max articles per dictionary (%1-%2): - 每个词典最大词条数 (%1-%2): - - - - - - + + + + Articles found: 搜索到的词条: - + Now indexing: 正在索引: - + None - - The search line must contains at least one word containing - 搜索关键词至少包含 - - - - or more symbols - 个或更多字符 - - - + No dictionaries for full-text search 没有可供全文搜索的词典 @@ -1085,7 +1060,7 @@ between classic and school orthography in cyrillic) FavoritesModel - + Error in favorities file 收藏文件中存在错误 @@ -1151,7 +1126,7 @@ between classic and school orthography in cyrillic) 来自 - + Go to Edit|Dictionaries|Sources|Forvo and apply for our own API key to make this error disappear. 进入 编辑|词典|词典来源|Forvo, 申请自己的 API-key 来消除此错误。 @@ -1173,67 +1148,52 @@ between classic and school orthography in cyrillic) FullTextSearchDialog - + Search 搜索 - - - Match case - 区分大小写 - Mode: 模式: - - Ignore words order - 忽略单词顺序 - - - - Ignore diacritics - 忽略变音符号 - - - + Articles found: 搜索到的词条: - + Available dictionaries in group: 群组中的可用词典: - + Wait for indexing: 等候索引: - + Help 帮助 - + Total: 总计: - + Indexed: 已索引: - + Now indexing: None 正在索引:无 - + Cancel 取消 @@ -1444,12 +1404,12 @@ between classic and school orthography in cyrillic) 历史: - + %1/%2 %1/%2 - + History size: %1 entries out of maximum %2 历史条数:%1/%2 @@ -1457,12 +1417,12 @@ between classic and school orthography in cyrillic) Hunspell - + Spelling suggestions: 拼写建议: - + %1 Morphology %1 构词法 @@ -1470,12 +1430,12 @@ between classic and school orthography in cyrillic) HunspellDictsModel - + Name 名称 - + Enabled 已启用 @@ -1483,1031 +1443,1035 @@ between classic and school orthography in cyrillic) Initializing - + + Indexing: + + + + Dictionary Name 词典名称 - + GoldenDict-ng - Initializing 初始化 GoldenDict-ng - - - Please wait while indexing dictionary - 正在索引词典,请稍候 - - - + Please wait... 请稍候... + + + Indexing... + + Language - + Ewe 埃维语 - + Ido 伊多语 - + Lao 老挝语 - + Twi 维特语(加纳) - + Afar 阿法尔语 - + Akan 阿肯语 - + Cree 克里语 - + Igbo 伊博语 - + Komi 科米语 - + Manx 曼岛语 - + Pali 巴利语 - + Thai 泰语 - + Urdu 乌尔都语 - + Zulu 祖鲁语 - + Czech 捷克语 - + Dutch 荷兰语 - + Ganda 卢甘达语 - + Fulah 富拉语 - + Greek 希腊语 - + Hausa 豪萨语 - + Hindi 印地语 - + Irish 爱尔兰语 - + Khmer 高棉语(柬埔寨语) - + Kongo 刚果语 - + Latin 拉丁语 - + Malay 马来语 - + Maori 毛利语 - + Nauru 瑙鲁语 - + Oriya 奥里亚语 - + Oromo 奥洛莫语 - + Sango 桑戈语 - + Shona 绍纳语 - + Tajik 塔吉克语 - + Tamil 泰米尔语 - + Tatar 鞑靼语 - + Swati 斯瓦特语 - + Tonga 东加语 - + Inupiaq 伊努庇克语 - + Venda 文达语 - + Uzbek 乌兹别克语 - + Welsh 威尔士语 - + Wolof 沃洛夫语 - + Xhosa 科萨语 - + Italian 意大利语 - + Raeto-Romance 罗曼斯语 - + Dzongkha 宗喀语(不丹语) - + Kannada 卡纳达语 - + North Ndebele 北恩德贝勒语 - + Abkhazian 阿布哈西亚语 - + Kirghiz 吉尔吉斯语 - + Kirundi 科隆地语 - + Scottish Gaelic 苏格兰语 - + Albanian 阿尔巴尼亚语 - + Latvian 拉脱维亚语 - + Malayalam 马拉雅拉姆语 - + Kurdish 库尔德语 - + Bulgarian 保加利亚语 - + Lingala 林加拉语 - + Maltese 马耳他语 - + Marathi 马拉地语 - + Arabic 阿拉伯语 - + Basque 巴斯克语 - + Avaric 阿瓦尔语 - + Bihari 比哈尔语 - + Aymara 艾马拉语 - + Breton 布列塔尼语 - + Sundanese 巽他语 - + Danish 丹麦语 - + Divehi 迪维希语 - + Luba-Katanga 卢巴卡丹加语 - + Fijian 斐济语 - + Hungarian 匈牙利语 - + French 法语 - + German 德语 - + Mongolian 蒙古语 - + Hebrew 希伯来语 - + Herero 赫雷罗语 - + Luxembourgish 卢森堡语 - + Kanuri 卡努里语 - + Kazakh 哈萨克语 - + Kikuyu 基库尤语 - + Korean 韩语 - + Navajo 纳瓦霍语 - + Ndonga 恩敦加语 - + Nepali 尼泊尔语 - + Ojibwa 奥吉布瓦语 - + Pashto 普什图语 - + Polish 波兰语 - + Samoan 萨摩亚语 - + Occitan 奥西坦语 - + Sindhi 信德语 - + Slovak 斯洛伐克语 - + Somali 索马里语 - + Telugu 泰卢固语 - + Tsonga 颂加语 - + Tswana 茨瓦纳语 - + Uighur 维吾尔语 - + Serbo-Croatian 塞尔维亚-克罗地亚语 - + Yoruba 约鲁巴语 - + Zhuang 壮语 - + Romanian 罗马尼亚语 - + Indonesian 印度尼西亚语 - + Panjabi 旁遮普语 - + Southern Sotho 梭托语 - + Corsican 科西嘉语 - + Esperanto 世界语 - + Persian 波斯语 - + Slovenian 斯洛文尼亚语 - + Western Frisian 西弗里西语 - + Aragonese 阿拉贡语 - + Tahitian 塔希提语 - + Malagasy 马达加斯加语 - + Galician 加利西亚语 - + Azerbaijani 阿塞拜疆语 - + Amharic 阿姆哈拉语 - + Sanskrit 梵语 - + Japanese 日语 - + Ukrainian 乌克兰语 - + Bambara 班巴拉语 - + Kalaallisut 格陵兰语 - + Bashkir 巴什基尔语 - + Belarusian 白俄罗斯语 - + Kashmiri 克什米尔语 - + Sardinian 撒丁语 - + Hiri Motu 希里莫图语 - + Quechua 科察语 - + Bengali 孟加拉语 - + Javanese 爪哇语 - + Avestan 阿维斯陀语 - + Kinyarwanda 卢旺达语 - + Afrikaans 南非语 - + Bislama 比斯拉马语 - + Armenian 亚美尼亚语 - + Norwegian Bokmal 波克默尔语(挪威) - + Croatian 克罗地亚语 - + Bosnian 波斯尼亚语 - + Interlingua 国际语 - + Interlingue 西方国际语 - + Catalan 加泰罗尼亚语 - + Serbian 塞尔维亚语 - + Burmese 缅甸语 - + Russian 俄语 - + Limburgish 林堡语 - + Norwegian 挪威语 - + Chechen 车臣语 - + Chinese 汉语 - + Chuvash 楚瓦什语 - + Sinhala 僧加罗语 - + Spanish 西班牙语 - + Cornish 凯尔特语 - + Tagalog 他加禄语(菲律宾) - + Assamese 阿萨姆语 - + Ossetian 奥塞梯语 - + Estonian 爱沙尼亚语 - + Swahili 斯瓦希里语 - + Swedish 瑞典语 - + Tibetan 西藏语 - + Vietnamese 越南语 - + Macedonian 马其顿语 - + Portuguese 葡萄牙语 - + Turkish 土耳其语 - + Turkmen 土库曼语 - + Gujarati 古吉拉特语 - + Icelandic 冰岛语 - + Inuktitut 因纽特语 - + English 英语 - + Georgian 格鲁吉亚语 - + Church Slavic 教会斯拉夫语 - + Faroese 法罗语 - + Finnish 芬兰语 - + Volapuk 沃拉普克语 - + Walloon 华隆语 - + Kwanyama 宽亚玛语 - + Marshallese 马绍尔语 - + Northern Sami 北萨莫斯语 - + Haitian 海地语 - + Chamorro 查莫罗语 - + Norwegian Nynorsk 尼诺斯克语(挪威) - + Guarani 瓜拉尼语 - + South Ndebele 南恩德贝勒语 - + Chichewa 奇契瓦语 - + Lithuanian 立陶宛语 - + Sichuan Yi 四川彝语 - + Tigrinya 提格里尼亚语 - + Yiddish 意第绪语 - + Traditional Chinese 繁体中文 - + Simplified Chinese 简体中文 - + Other 其它 - + Other Simplified Chinese dialects 简体中文其它方言 - + Other Traditional Chinese dialects 繁体中文其它方言 - + Other Eastern-European languages 东欧其它语言 - + Other Western-European languages 西欧其它语言 - + Other Russian languages 俄罗斯其它语言 - + Other Japanese languages 日本其它语言 - + Other Baltic languages 波罗地海其它语言 - + Other Greek languages 希腊其它语言 - + Other Korean dialects 其他韩国方言 - + Other Turkish dialects 土尔其其它语言 - + Other Thai dialects 泰国其它语言 - + Tamazight 塔马塞特语 - + Lojban 逻辑语 @@ -2515,207 +2479,207 @@ between classic and school orthography in cyrillic) Language::Db - + French 法语 - + Spanish 西班牙语 - + Belarusian 白俄罗斯语 - + Bulgarian 保加利亚语 - + Czech 捷克语 - + German 德语 - + Greek 希腊语 - + Finnish 芬兰语 - + Italian 意大利语 - + Japanese 日语 - + Korean 韩语 - + Lithuanian 立陶宛语 - + Macedonian 马其顿语 - + Dutch 荷兰语 - + Polish 波兰语 - + Portuguese 葡萄牙语 - + Russian 俄语 - + Slovak 斯洛伐克语 - + Albanian 阿尔巴尼亚语 - + Serbian (Cyrillic) 塞尔维亚语(西里尔文) - + Swedish 瑞典语 - + Turkish 土耳其语 - + Ukrainian 乌克兰语 - + Chinese Simplified 中文(简体) - + Chinese Traditional 中文(繁体) - + Vietnamese 越南语 - + Portuguese, Brazilian 葡萄牙语(巴西) - + Persian 波斯语 - + Spanish, Argentina 西班牙语(阿根廷) - + Hindi 印地语 - + Esperanto 世界语 - + German, Switzerland 德语(瑞士) - + Spanish, Bolivia 西班牙语(玻利维亚) - + Tajik 塔吉克语 - + Quechua 科察语 - + Aymara 艾马拉语 - + Arabic, Saudi Arabia 阿拉伯语(沙特阿拉伯) - + Turkmen 土库曼语 - + Interlingue 国际语 - + Lojban 逻辑语 - + English 英语 @@ -2723,7 +2687,7 @@ between classic and school orthography in cyrillic) LoadDictionaries - + Error loading dictionaries 读取词典出错 @@ -2731,7 +2695,7 @@ between classic and school orthography in cyrillic) Main - + Error in configuration file. Continue with default settings? 配置文件错误,使用默认配置并继续? @@ -2739,12 +2703,12 @@ between classic and school orthography in cyrillic) MainWindow - + F1 F1 - + F2 F2 @@ -2754,27 +2718,27 @@ between classic and school orthography in cyrillic) 收藏(&R) - + F3 F3 - + F4 F4 - + All 全部 - + Back 回退 - + %1 dictionaries, %2 articles, %3 words 词典数:%1,文章数:%2,词条数:%3 @@ -2799,206 +2763,195 @@ between classic and school orthography in cyrillic) 搜索 - - + + &Quit 退出(&Q) - + Error 错误 - + Quit from application 退出程序 - + &Close To Tray 关闭至系统托盘(&C) - + Can't save article: %1 无法保存文章:%1 - + Zoom In 放大 - + &Dictionaries... 词典(&D)... - + &About 关于(&A) - + &Forum 论坛(&F) - + &Print 打印(&P) - + &Save Article 保存文章(&S) - + Save Article As 文章另存为 - + Ctrl+P Ctrl+P - + Ctrl+Q Ctrl+Q - + Minimizes the window to tray 最小化窗口至系统托盘 - + Page Set&up 页面设置(&U) - + &Homepage 主页(&H) - + New Release Available 有新版本可用 - - - Look up: - 查找: - Zoom Out 缩小 - + Show &Main Window 显示主窗口(&M) - + About GoldenDict-ng 关于 GoldenDict-ng - + Download 下载 - + Page Setup 页面设置 - - - - Look up in: - 查找于: - Normal Size 正常大小 - + Failed to initialize hotkeys monitoring mechanism.<br>Make sure your XServer has RECORD extension turned on. 初始化热键监视机制失败。<br>请确保你的 XServer 已启用 RECORD 扩展。 - + Version <b>%1</b> of GoldenDict is now available for download.<br>Click <b>Download</b> to get to the download page. 有新版 GoldenDict 可用,版本为 <b>%1</b>。<br> 点击<b>下载</b>,打开下载页面。 - + Ctrl+F4 Ctrl+F4 - + Ctrl+F5 Ctrl+F5 - + Loading... 加载中…… - + (untitled) (未命名) - + &Preferences... 首选项(&P)... - + Welcome! 欢迎使用! - + Pronounce Word (Alt+S) 朗读词条(Alt+S) - + Save Article 保存文章 - + Skip This Release 忽略此次升级 - + Forward 前进 - + Print Article 打印文章 - + No printer is available. Please install one first. 找不到可用的打印机,请先安装一个打印机。 @@ -3013,7 +2966,7 @@ between classic and school orthography in cyrillic) 历史(&I) - + &Clear 清除(&C) @@ -3023,247 +2976,259 @@ between classic and school orthography in cyrillic) 缩放(&Z) - + Words Zoom In 单词列表 - 放大 - + Words Zoom Out 单词列表 - 缩小 - + Words Normal Size 单词列表 - 正常大小 - + Close current tab 关闭当前标签页 - + Close all tabs 关闭所有标签页 - + Close all tabs except current 关闭其它标签页 - + Opened tabs 已打开的标签页 - + New Tab 新建标签页 - + Ctrl+T Ctrl+T - + &Configuration Folder 配置文件夹(&C) - + &Menubar 菜单栏(&M) - + Found in Dictionaries: 在以下词典中找到: - + Add all tabs to Favorites 将全部标签页添加至收藏 - + + WARNING: %1 + 警告: %1 + + + String to search in dictionaries. The wildcards '*', '?' and sets of symbols '[...]' are allowed. To find '*', '?', '[', ']' symbols use '\*', '\?', '\[', '\]' respectively 词典搜索中的字符串:可以使用通配符“*”、“?”和符号分组“[...]”。 如需查找“*”、“?”、“[”和“]”字符,请对应使用“\*”、“\?”、“\[”和“\]” - + Open Tabs List 打开标签页列表 - - - - - + + + + + Remove current tab from Favorites 从收藏中删除当前标签页 - + %1 - %2 %1 - %2 - + You have chosen to hide a menubar. Use %1 to show it back. 你选择了隐藏菜单栏,使用 %1 再次显示。 - + Ctrl+M Ctrl+M - - - + + + &Show 显示(&S) - + &Export 导出(&E) - - + + &Hide 隐藏(&H) - + Export history to file 导出历史记录到文件 - - - + + + Text files (*.txt);;All files (*.*) 文本文件 (*.txt);;所有文件 (*.*) - + History export complete 历史记录导出完成 - - - + + + + + + + + Export error: 导出错误: - + Ctrl+H Ctrl+H - + &Import 导入(&I) - + Import history from file 导入历史文件 - + Import error: invalid data in file 导入失败:无效数据 - + History import complete 历史导入成功 - - + + + Import error: 导入错误: - + Export Favorites to file 导出收藏记录到文件 - + XML files (*.xml);;All files (*.*) XML 文件 (*.xml);;所有文件 (*.*) - - + + Favorites export complete 收藏导出完成 - + Export Favorites to file as plain list 以纯列表形式导出收藏列表到文件 - + Import Favorites from file 导入收藏文件 - + XML files (*.xml);;Txt files (*.txt);;All files (*.*) XML文件(*.xml);;文本文件(*.txt);;所有文件(*.*) - + Favorites import complete 收藏导入完成 - + + Data parsing error 数据解析错误 - + Dictionary info 词典信息 - + Dictionary headwords 词典词条 - + Open dictionary folder 打开词典文件夹 - + Edit dictionary 编辑词典信息 - + Now indexing for full-text search: 正在为全文搜索进行索引: - + Remove headword "%1" from Favorites? 从收藏中删除标题字“%1”? @@ -3273,169 +3238,169 @@ To find '*', '?', '[', ']' symbols use & 查询面板(&S) - + &Results Navigation Pane 查询结果导航面板(&R) - + Favor&ites Pane 收藏面板(&I) - + Print Pre&view 打印预览(&V) - + &Rescan Files 重新扫描文件(&R) - + &New Tab 新建标签页(&N) - + &Always on Top 总在最前(&A) - + Always on Top 总在最前 - + Ctrl+O Ctrl+O - - + + Menu Button 菜单按钮 - + Search in page 页内搜索 - + Ctrl+F Ctrl+F - + Full-text search 全文搜索 - + Ctrl+Shift+F Ctrl+Shift+F - + GoldenDict reference GoldenDict-ng 帮助 - + Show 显示 - + Export 导出 - + Import 导入 - + Add 添加 - + - - - + + + Add current tab to Favorites 将当前标签页添加至收藏 - + Ctrl+E Ctrl+E - + Export to list 导出至列表 - + Show Names in Dictionary &Bar 在词典栏中显示词典名称(&B) - + Show Small Icons in &Toolbars 在工具栏上显示小图标(&T) - + &Navigation 导航栏(&N) - + Enable Scanning 取词弹窗 - + Article, Complete (*.html) 文章, 完整 (*.html) - + Article, HTML Only (*.html) 文章, 仅 HTML (*.html) - + Saving article... 文章保存中…… - + Save article complete - + The main window is set to be always on top. 主窗口已设置为总在最前。 - + &History Pane 历史面板(&H) - - + + Accessibility API is not enabled 无障碍API未启用 @@ -3443,12 +3408,12 @@ To find '*', '?', '[', ']' symbols use & Mdx::MdxArticleRequest - + Dictionary file was tampered or corrupted 词典文件被修改或已损坏 - + Failed loading article from %1, reason: %2 从 %1 加载文章失败:%2 @@ -3456,7 +3421,7 @@ To find '*', '?', '[', ']' symbols use & MediaWiki::MediaWikiArticleRequest - + XML parse error: %1 at %2,%3 XML 解析失败:%1 于 %2, %3 @@ -3472,22 +3437,22 @@ To find '*', '?', '[', ']' symbols use & MediaWikisModel - + Name 名称 - + Address 地址 - + Enabled 已启用 - + Icon 图标 @@ -3563,22 +3528,22 @@ To find '*', '?', '[', ']' symbols use & 描述: - + Sort by name 按名称排序 - + Sort by languages 按语言排序 - + Dictionary headwords 词典词条 - + Dictionaries active: %1, inactive: %2 激活的词典:%1,未激活的词典:%2 @@ -3586,12 +3551,12 @@ To find '*', '?', '[', ']' symbols use & PathsModel - + Path 路径 - + Recursive 递归搜索 @@ -3629,14 +3594,14 @@ To find '*', '?', '[', ']' symbols use & 启用系统托盘图标 - - + + Host: 主机: - - + + Port: 端口: @@ -3646,12 +3611,12 @@ To find '*', '?', '[', ']' symbols use & Shift - + Type: 类型: - + User: 用户名: @@ -3669,12 +3634,12 @@ switching to them. 启用此选项将会在打开新标签页时不自动选定。 - + Use proxy server 使用代理服务器 - + Use the following hotkey to translate a word from clipboard: 使用下列热键翻译剪贴板中的单词: @@ -3684,7 +3649,7 @@ switching to them. Windows 键或 Meta 键 - + Auto-pronounce words in main window 自动朗读主窗口中的词条 @@ -3716,12 +3681,12 @@ the application. 而不是退出程序。 - + &Audio 音频(&A) - + Enable if you wish to use a proxy server for all program's network requests. 如果你希望通过代理服务器执行程序的网络查 @@ -3743,7 +3708,7 @@ for all program's network requests. 在后台打开新标签页 - + &Network 网络(&N) @@ -3753,7 +3718,7 @@ for all program's network requests. 仅限右 Ctrl - + Lingvo Lingvo @@ -3774,7 +3739,7 @@ in the pressed state when the word selection changes. 启用后,屏幕取词窗口只有在按住特定按键时才会弹出。 - + Auto-pronounce words in scan popup 自动朗读屏幕取词弹出窗口中的词条 @@ -3784,7 +3749,7 @@ in the pressed state when the word selection changes. 在当前页之后打开新标签页 - + Restart the program to apply the language change. 变更界面语言需要重新启动程序才能生效。 @@ -3794,7 +3759,7 @@ in the pressed state when the word selection changes. Alt 键 - + Check for new program releases periodically 定期检查可用版本 @@ -3812,8 +3777,7 @@ be the last ones. 关闭至系统托盘 - - + System default 系统默认 @@ -3824,7 +3788,7 @@ to open main window and perform other tasks. 启用此选项,将会启用系统托盘图标。 - + When this is enabled, the program periodically checks if a new, updated version of GoldenDict is available for download. If it is so, the program @@ -3840,12 +3804,12 @@ download page. 开机自动启动 - + Password: 密码: - + Default 默认 @@ -3855,7 +3819,7 @@ download page. 界面(&I) - + Changing Language 变更界面语言 @@ -3865,7 +3829,7 @@ download page. Ctr l键 - + Use the following hotkey to show or hide the main window: 使用下列热键显示或隐藏主窗口: @@ -3895,7 +3859,7 @@ download page. 右 Alt - + The hotkeys are global and work from any program and within any context as long as GoldenDict is running in background. 热键均为全局键,只要 GoldenDict 在后台运行,热键就可以在任何程序中使用。 @@ -3905,7 +3869,7 @@ download page. 右 Ctrl - + Hotkeys 热键 @@ -3947,27 +3911,27 @@ the program would always start with the scan popup active. 忽略 GoldenDict 自身的选择和剪贴板变更 - + Play audio files via built-in audio support 使用内建音频支持播放音频文件 - + Use internal player: 使用内部播放器: - + Choose audio back end 选择音频后端 - + Enter audio player command line 输入音频播放器命令行 - + Enabling this would make GoldenDict block most advertisements by disallowing content (images, frames) not originating from the site you are browsing. If some site breaks because of this, try disabling this. @@ -3976,22 +3940,22 @@ you are browsing. If some site breaks because of this, try disabling this. - + Disallow loading content from other sites (hides most advertisements) 禁止载入来自其它站点的内容(封杀广告) - + Pronunciation 朗读 - + Playback 播放 - + Use external program: 使用外部程序播放: @@ -4001,7 +3965,7 @@ you are browsing. If some site breaks because of this, try disabling this.双击翻译词条(在主界面中) - + Use any external program to play audio files 使用外部程序播放音频文件 @@ -4130,88 +4094,98 @@ however, the article from the topmost dictionary is shown. 单词被选中时显示扫描旗标 - + + Delay time + + + + + ms + + + + System proxy 系统代理 - + Custom proxy 自定义代理 - + Custom settings 自定义设置 - + Anki Connect Anki连接 - + http:// http:/// - + Deck: 牌组: - + Model: 模板: - + Word 单词 - + Vocabulary field... 对应anki里面的变量名,如设置word,则用{{Word}}引用 - + Text 释义 - + Definition field... 释义的变量字段 - + Sentence 句子 - + Sentence field (can be empty)... 句子的变量(可选) - + Some sites detect GoldenDict via HTTP headers and block the requests. Enable this option to workaround the problem. 部分网站屏蔽了使用 GoldenDict 浏览器标识(UA)的请求,启用此选项以绕过该问题。 - + Do not identify GoldenDict in HTTP headers 不使用 GoldenDict 浏览器标识(UA) - + Maximum network cache size: 允许的最大网络缓存: - + Maximum disk space occupied by GoldenDict's network cache in %1 If set to 0 the network disk cache will be disabled. @@ -4219,157 +4193,167 @@ If set to 0 the network disk cache will be disabled. 如果设置为0,磁盘缓存会被禁用。 - + MiB MB - + When this option is enabled, GoldenDict clears its network cache from disk during exit. GoldenDict退出时清空网络缓存。 - + Clear network cache on exit 退出时清空网络缓存 - + Full-text search 全文搜索 - + Allow full-text search for: 允许对以下格式词典进行全文搜索: - + + Applies only to new incoming dictionaries. + + + + + Enable positional information in the fulltext + + + + Don't search in dictionaries containing more than 不要在词条数多于 - + articles (0 - unlimited) 个 (0 - 无限制) 的词典中进行搜索 - + Ad&vanced 高级(&v) - + During successive searches,if one dictionary is collapsed by manual, it will remain collapsed in the next search 如果用户折叠了词典,下次搜索的时候,保持折叠状态。 - + Session collapse 搜索期间保持折叠 - + When using clipboard,strip everything after newline 当使用剪贴板时,忽略剪贴板中换行之后的内容 - + On a new search, focus the main or popup window even if it's visible 查询时,窗口获取焦点 - + Favorites 收藏 - + Favorites saving interval. If set to 0 Favorites will be saved only during exit. 收藏内容保存周期。若为 0 则只在程序退出时保存。 - + Turn this option on to confirm every operation of items deletion 开启此选项以在每次进行删除操作时进行确认 - + Confirmation for items deletion 删除条目时确认 - + Turn this option on to ignore unreasonably long input text from mouse-over, selection, clipboard or command line 启用后,避免过长的输入(来自鼠标选择,剪贴板或命令行) - + Ignore input phrases longer than 忽略大于 - + Input phrases longer than this size will be ignored 忽略超过设置长度的字符 - + Turn this option on to ignore diacritics while searching articles 启用该选项以在搜索文章时忽略变音符号 - + Ignore diacritics while searching 搜索时忽略变音符号 - + Turn this option on to always expand optional parts of articles 开启此选项以自动展开文章的可选部分 - + Expand optional &parts 展开可选部分(&P) - + Select this option to automatic collapse big articles 开启此选项以自动收起过长的文章 - + Collapse articles more than 收起大于 - + Articles longer than this size will be collapsed 大于此大小的文章将被收起 - + Ignore punctuation while searching 搜索时忽略标点符号 - + Turn this option on to enable extra articles search via synonym lists from Stardict, Babylon and GLS dictionaries 启用该选项可以激活基于同义词列表的额外搜索功能 列表可以来源于星际翻王、Babylon 和 GLS 的词典 - + Extra search via synonyms 基于同义词的额外搜索 - - + + symbols 字符的文章 @@ -4379,27 +4363,27 @@ from Stardict, Babylon and GLS dictionaries 用 Ctrl-tab 浏览标签页时,以“最近使用”为序 - + Babylon 巴比伦文 - + History 历史 - + Turn this option on to store history of the translated words 开启此选项以保存查询历史 - + Store &history 保存历史(&H) - + Articles 文章 @@ -4419,54 +4403,54 @@ from Stardict, Babylon and GLS dictionaries 附加样式: - + Specify the maximum number of entries to keep in history. 指定历史最大条数。 - + Maximum history size: 最大历史条数: - + History saving interval. If set to 0 history will be saved only during exit. 历史保存周期。若为 0 则只在程序退出时保存。 - - + + Save every 保存周期: - - + + minutes 分钟 - + Classic 经典 - + Modern 现代 - + Lingoes 灵格斯 - + Lingoes-Blue 灵格斯-蓝色调 - + MB MB @@ -4474,27 +4458,27 @@ from Stardict, Babylon and GLS dictionaries ProgramTypeEditor - + Audio 音频 - + Plain Text 纯文本 - + Html Html - + Prefix Match 匹配前缀 - + Unknown 未知 @@ -4502,17 +4486,17 @@ from Stardict, Babylon and GLS dictionaries Programs::RunInstance - + No program name was given. 未指定程序名。 - + The program has crashed. 程序已崩溃。 - + The program has returned exit code %1. 程序返回,退出代码为 %1. @@ -4520,27 +4504,27 @@ from Stardict, Babylon and GLS dictionaries ProgramsModel - + Enabled 已启用 - + Type 类型 - + Name 名称 - + Command Line 命令行 - + Icon 图标 @@ -4548,99 +4532,114 @@ from Stardict, Babylon and GLS dictionaries QObject - - + + Article loading error 文章加载错误 - - + + Article decoding error 文章解码错误 - - - - + + + + Copyright: %1%2 版权:%1%2 - - + + Version: %1%2 版本:%1%2 - - - + + + Author: %1%2 作者:%1%2 - - + + E-mail: %1%2 电子邮件:%1%2 - + Title: %1%2 标题:%1%2 - + Website: %1%2 网站:%1%2 - + Date: %1%2 日期:%1%2 - + A dictionary lookup program. 一款电子词典程序。 - + Word or sentence to query. 单词或句子查询。 - + Save debug messages to gd_log.txt in the config folder. 在配置文件夹中将调试消息保存到 gd_log.txt。 - + + Reset window state. + + + + + Disable tts. + + + + Change the group of main window. 更改主窗口组。 - + Change the group of popup. 更改弹出窗口组。 - + Toggle scan popup. 切换扫描弹出窗口。 + + + Print version and diagnosis info. + + QuickFilterLine - + Dictionary search/filter (Ctrl+F) 词典查询/过滤 (Ctrl+F) - + Clear Search 清除查询结果 @@ -4648,22 +4647,22 @@ from Stardict, Babylon and GLS dictionaries ResourceToSaveHandler - + ERROR: %1 错误: %1 - + Resource saving error: 资源保存失败: - + The referenced resource failed to download. 所引用的资源下载失败。 - + WARNING: %1 警告: %1 @@ -4748,11 +4747,16 @@ could be resized or managed in other ways. 前进 - - + + %1 - %2 %1 - %2 + + + WARNING: %1 + 警告: %1 + SearchPanel @@ -4795,17 +4799,17 @@ could be resized or managed in other ways. SoundDirsModel - + Name 名称 - + Path 路径 - + Icon 图标 @@ -4833,9 +4837,9 @@ could be resized or managed in other ways. 日本式 - - - + + + Remove site <b>%1</b> from the list? 确定要将<b>%1</b>网站从列表中移除吗? @@ -4855,8 +4859,8 @@ could be resized or managed in other ways. 如果要批量添加音频文件,请把路径添加在这里: - - + + Remove directory <b>%1</b> from the list? 确定要将<b>%1</b>目录从列表中移除吗? @@ -5021,9 +5025,9 @@ Full list of availiable languages can be found <a href="https://linguali 添加(&A)... - - - + + + Choose a directory 选择目录 @@ -5048,12 +5052,12 @@ Full list of availiable languages can be found <a href="https://linguali 词典文件所在目录: - - - - - - + + + + + + Confirm removal 确认移除 @@ -5146,7 +5150,7 @@ of the appropriate groups to use them. 希腊文转写 - + (not available in portable version) (便携版中不可用) @@ -5156,7 +5160,7 @@ of the appropriate groups to use them. 程序 - + Remove program <b>%1</b> from the list? 从列表中删除程序 <b>%1</b>? @@ -5173,7 +5177,7 @@ of the appropriate groups to use them. %GDBIG5% 对应 Big-5, %GDBIG5HKSCS% 对应 Big5-HKSCS, %GDGBK% 对应 GBK 及 GB18030, %GDSHIFTJIS% 对应 Shift-JIS. - + Text to Speech 语音合成 @@ -5267,12 +5271,12 @@ of the appropriate groups to use them. TranslateBox - + Type a word or phrase to search dictionaries 输入单词或短语以搜索字典 - + Drop-down 下拉菜单 @@ -5303,33 +5307,33 @@ of the appropriate groups to use them. WebSitesModel - + Name 名称 - + Address 地址 - + Enabled 已启用 - - + + Insert article as link inside <iframe> tag 将文章在 <iframe> 标签中作为链接插入 - + As link 作为链接 - + Icon 图标 @@ -5337,17 +5341,9 @@ of the appropriate groups to use them. WordFinder - + Failed to query some dictionaries. 在某些词典中进行查询时失败。 - - WordList - - - WARNING: %1 - 警告: %1 - - diff --git a/src/config.cc b/src/config.cc index c17aa001..4eca0f2b 100644 --- a/src/config.cc +++ b/src/config.cc @@ -1030,6 +1030,10 @@ Class load() if ( !fts.namedItem( "enabled" ).isNull() ) c.preferences.fts.enabled = ( fts.namedItem( "enabled" ).toElement().text() == "1" ); + if ( !fts.namedItem( "enablePosition" ).isNull() ) { + c.preferences.fts.enablePosition = ( fts.namedItem( "enablePosition" ).toElement().text() == "1" ); + } + if ( !fts.namedItem( "maxDictionarySize" ).isNull() ) c.preferences.fts.maxDictionarySize = fts.namedItem( "maxDictionarySize" ).toElement().text().toUInt(); } @@ -2018,6 +2022,10 @@ void save( Class const & c ) opt.appendChild( dd.createTextNode( c.preferences.fts.enabled ? "1" : "0" ) ); hd.appendChild( opt ); + opt = dd.createElement( "enablePosition" ); + opt.appendChild( dd.createTextNode( c.preferences.fts.enablePosition ? "1" : "0" ) ); + hd.appendChild( opt ); + opt = dd.createElement( "maxDictionarySize" ); opt.appendChild( dd.createTextNode( QString::number( c.preferences.fts.maxDictionarySize ) ) ); hd.appendChild( opt ); diff --git a/src/config.hh b/src/config.hh index 7e2c77b0..04a8f26c 100644 --- a/src/config.hh +++ b/src/config.hh @@ -176,6 +176,8 @@ struct FullTextSearch int searchMode; bool enabled; + bool enablePosition = false; + quint32 maxDictionarySize; QByteArray dialogGeometry; QString disabledTypes; diff --git a/src/ftshelpers.cc b/src/ftshelpers.cc index 6e4b7a67..d8402068 100644 --- a/src/ftshelpers.cc +++ b/src/ftshelpers.cc @@ -240,7 +240,14 @@ void makeFTSIndex( BtreeIndexing::BtreeDictionary * dict, QAtomicInt & isCancell Xapian::Document doc; indexer.set_document( doc ); - indexer.index_text_without_positions( articleStr.toStdString() ); + + if ( GlobalBroadcaster::instance()->getPreference()->fts.enablePosition ) { + indexer.index_text( articleStr.toStdString() ); + } + else { + indexer.index_text_without_positions( articleStr.toStdString() ); + } + doc.set_data( std::to_string( address ) ); // Add the document to the database. db.add_document( doc ); diff --git a/src/ui/articleview.cc b/src/ui/articleview.cc index e9bf6b4c..9452683b 100644 --- a/src/ui/articleview.cc +++ b/src/ui/articleview.cc @@ -2280,18 +2280,10 @@ void ArticleView::highlightFTSResults() //if application goes here,that means the article text must contains the search text. //whole word match regString will contain \b . can not match the above senario. //workaround ,remove \b from the regstring="(\bwatch\b)" - regString.remove( QRegularExpression( "\\\\b" ) ); + regString.remove( QRegularExpression( R"(\b)" ) ); - //webengine support diacritic text searching. - auto parts = regString.split( " ", Qt::SkipEmptyParts ); - //get first part of string. - for ( auto const & p : parts ) { - if ( p.startsWith( "-" ) ) - continue; - - firstAvailableText = p; - break; - } + //make it simple ,and do not support too much complex cases. such as wildcard etc. + firstAvailableText = regString; if ( firstAvailableText.isEmpty() ) { return; diff --git a/src/ui/preferences.cc b/src/ui/preferences.cc index 9c90256a..92d1ffc1 100644 --- a/src/ui/preferences.cc +++ b/src/ui/preferences.cc @@ -325,6 +325,8 @@ Preferences::Preferences( QWidget * parent, Config::Class & cfg_ ): ui.allowZim->setChecked( !p.fts.disabledTypes.contains( "ZIM", Qt::CaseInsensitive ) ); ui.allowEpwing->setChecked( !p.fts.disabledTypes.contains( "EPWING", Qt::CaseInsensitive ) ); ui.allowGls->setChecked( !p.fts.disabledTypes.contains( "GLS", Qt::CaseInsensitive ) ); + + ui.enablePosition->setChecked( p.fts.enablePosition ); #ifndef MAKE_ZIM_SUPPORT ui.allowZim->hide(); ui.allowSlob->hide(); diff --git a/src/ui/preferences.ui b/src/ui/preferences.ui index 2bcb2272..9bfe88c8 100644 --- a/src/ui/preferences.ui +++ b/src/ui/preferences.ui @@ -1268,20 +1268,6 @@ download page. true - - - - Aard - - - - - - - BGL - - - @@ -1289,41 +1275,6 @@ download page. - - - - DSL - - - - - - - MDict - - - - - - - SDict - - - - - - - Slob - - - - - - - Stardict - - - @@ -1331,17 +1282,10 @@ download page. - - + + - Zim - - - - - - - Epwing + Slob @@ -1352,7 +1296,73 @@ download page. - + + + + Applies only to new incoming dictionaries. + + + Enable positional information in the fulltext + + + + + + + Aard + + + + + + + Epwing + + + + + + + MDict + + + + + + + Zim + + + + + + + Stardict + + + + + + + DSL + + + + + + + BGL + + + + + + + SDict + + + +