Skip to content

Commit

Permalink
update to ver 0.8.15
Browse files Browse the repository at this point in the history
  • Loading branch information
ververcpp committed Sep 6, 2015
1 parent 3a6e508 commit 5a97c6e
Show file tree
Hide file tree
Showing 20 changed files with 304 additions and 75 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
###ver 0.8.15
+ 修改 shift 事件没有绑定动态生成元素的 bug (issue #13)

###ver 0.8.14
+ 优化查词功能,可解析驼峰命名法、下划词命名法、帕斯卡命名法等词组进行查词
+ 优化带有连字符的词组查询结果

###ver 0.8.13
+ 用户可选择划词发音的类别(英音/美音)

###ver 0.8.12
+ 新增划词翻译结果自动隐藏功能(issue #8)
+ 优化设置模块中的显示样式,优化用户体验

###ver 0.8.11
+ 修改开启 shift 链接划词功能导致无法使用 shift 选择网页内容的 bug (fix issue #6

###ver 0.8.10
+ 优化使用体验,根据输入自动更新查词结果

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ChaZD 查字典,简洁易用的英汉字典扩展程序,支持划词哦:)

你可以在[Chrome网上应用商店](https://chrome.google.com/webstore/detail/chazd/nkiipedegbhbjmajlhpegcpcaacbfggp)获取该扩展程序并使用。

****:安装扩展后,第一次使用请刷新要查词的页面,划词功能才会生效;
****:安装扩展后,第一次使用请刷新要查词的页面,划词功能才会生效;
**注2**:非中文版Chrome浏览器的用户,如出现插件弹出窗口字体无法正常显示的情况,麻烦请更改浏览器的最小字号为12px
(具体步骤: settings-->show advanced settings-->Web content中的Customize fonts... -->Minimum font size将最小字号改为12px)。

Expand Down
5 changes: 3 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ TODO LIST

1. <del>进一步改进划词翻译结果。针对没有直接释义,但是有网络释义的单词进行优化显示结果。</del>
2. <del>在划词结果中显示音标(如果有的话)</del>
3. 在划词结果中支持发音
3. <del>在划词结果中支持发音</del>
4. <del>改进划词结果显示的效果,整合jQuery</del>
5. <del>借鉴TransIt,针对链接的划词进行优化</del>
6. 准备引入英英翻译的功能,暂定为选用merriam-webster的API
7. 设计一个新的插件图标
8. <del>修改popup页面的显示布局,使其更简洁</del>
8. <del>修改popup页面的显示布局,使其更简洁</del>
9. 考虑整合mdict,实现离线查词功能。
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,

"name": "ChaZD",
"version": "0.8.10",
"version": "0.8.15",
"description": "ChaZD 查字典,简洁易用的英汉字典扩展程序,支持划词哦:)",

"permissions": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ChaZD",
"version": "0.8.10",
"version": "0.8.15",
"description": "A Chinese-English translator extension for Chrome",
"main": null,
"scripts": {
Expand Down
16 changes: 10 additions & 6 deletions popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,26 @@
</select>
+ 划词”触发翻译功能</label>
</div>
<hr class="carved">
<div class="top-menu">
<input type="checkbox" name="autoAudio" id="autoAudio"><label for="autoAudio">划词后自动发音</label>
</div>
<div class="top-menu">
<span class="sub-title">默认发音 --</span>
<input type="radio" name="defaultVoice" id="defaultUk" class="sub-button"><label for="defaultUk" class="sub-label">英音</label>
<input type="radio" name="defaultVoice" id="defaultUs" class="sub-button"><label for="defaultUs" class="sub-label">美音</label>
</div>
<hr class="carved">
<div class="sub-menu">
<input type="radio" name="showPosition" value="side" id="showPositionSide"><label for="showSide">翻译结果显示在浏览器边缘</label>
</div>
<div class="sub-menu">
<input type="radio" name="showPosition" value="near" id="showPositionNear"><label for="showNear">翻译结果显示在单词附近</label>
</div>
<!--
<div>
<label for="showDuration"><b id="currentDuration"></b>秒后结果消失</label>
<input type="range" name="showDuration" min="3" max="10" value="5" id="showDuration">
</div>
-->
<div class="sub-menu">
<input type="checkbox" name="autoHide" id="autoHide"><label for="showDuration"><b id="currentDuration"></b>秒后隐藏结果</label>
<input type="range" name="showDuration" min="3" max="8" id="showDuration">
</div>
</div>

<footer>
Expand Down
2 changes: 1 addition & 1 deletion public/css/inPage.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5a97c6e

Please sign in to comment.