Skip to content

Commit 10ca34d

Browse files
Merge pull request #58 from lockys/patch-1
Fix zh-CN and zh-TW translations.
2 parents 9eab481 + c5e2a9d commit 10ca34d

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

translations/zh-CN/README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
1. [Ajax调用错误处理](#ajax-call-error-handling)
4141
1. [连锁插件调用](#chain-plugin-calls)
4242
1. [排序列表项按字母顺序](#sort-list-items-alphabetically)
43-
1. [禁用右鍵單擊](#disable-right-click)
43+
1. [禁用右键单击](#禁用右键单击)
4444

4545

4646
<div id="use-noconflict"></div>
@@ -524,23 +524,24 @@ ul.append(lis);
524524

525525
<div id="disable-right-click"></div>
526526

527-
### 禁用右鍵單擊
527+
### 禁用右键单击
528528

529-
如果要禁用右鍵單擊,您可以對整個頁面進行操作...
529+
530+
如果要禁用右键单击,您可以对整个页面进行操作...
530531

531532
```javascript
532-
$(document).ready(function (){
533-
$(document).bind('contextmenu', function (e){
533+
$(document).ready(function () {
534+
$(document).bind('contextmenu', function (e) {
534535
return false;
535536
})
536537
})
537538
```
538539

539-
...但是您也可以為特定元素做同樣的事情
540+
...但是您也可以为特定元素做同样的事情
540541

541542
```javascript
542-
$(document).ready(function (){
543-
$('#submit').bind('contextmenu', function (e){
543+
$(document).ready(function () {
544+
$('#submit').bind('contextmenu', function (e) {
544545
return false;
545546
})
546547
})

translations/zh-TW/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
1. [Ajax 程序的錯誤處理](#ajax-程序的錯誤處理)
3737
1. [串連 Plugin 的函式呼叫](#串連-plugin-的函式呼叫)
3838
1. [照字母順序排序清單元素(list)](#照字母順序排清單元素list)
39-
1. [禁用右键单击](#禁用右键单击)
39+
1. [停用右鍵](#停用右鍵)
4040

4141

4242
### 使用 `noConflict()`
@@ -474,11 +474,9 @@ ul.append(lis);
474474

475475
<sup>[回到目錄](#目錄)</sup>
476476

477+
### 停用右鍵
477478

478-
### 禁用右键单击
479-
480-
481-
如果要禁用右键单击,您可以对整个页面进行操作...
479+
如果要停用右鍵,您可以對整個頁面這麼做...
482480

483481
```javascript
484482
$(document).ready(function () {
@@ -488,7 +486,7 @@ $(document).ready(function () {
488486
})
489487
```
490488

491-
...但是您也可以为特定元素做同样的事情
489+
...而您也可以為特定元素做同樣的事情
492490

493491
```javascript
494492
$(document).ready(function () {

0 commit comments

Comments
 (0)