Skip to content

Commit

Permalink
Localize the ToC
Browse files Browse the repository at this point in the history
  • Loading branch information
xfq committed Feb 28, 2022
1 parent 43eaae5 commit 177cf96
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions script.js
Expand Up @@ -7,7 +7,9 @@ var L10N = {
selector: {
'head > title': 'Requirements for Chinese Text Layout',
'#abstract > h2': 'Abstract',
'#toc > ol > li:nth-child(1) > a': 'Abstract',
'#sotd > h2': 'Status of This Document',
'#toc > ol > li:nth-child(2) > a': 'Status of This Document',
'#table-of-contents': 'Table of Contents',
'.note-title': 'Note',
},
Expand All @@ -25,7 +27,9 @@ var L10N = {
selector: {
'head > title': '中文排版需求',
'#abstract > h2': '摘要',
'#toc > ol > li:nth-child(1) > a': 'Abs摘要tract',
'#sotd > h2': '關於本文檔',
'#toc > ol > li:nth-child(2) > a': '關於本文檔',
'#table-of-contents': '內容大綱',
'.note-title': '注',
},
Expand Down Expand Up @@ -55,7 +59,9 @@ var L10N = {
selector: {
'head > title': '中文排版需求',
'#abstract > h2': '摘要',
'#toc > ol > li:nth-child(1) > a': '摘要',
'#sotd > h2': '关于本文档',
'#toc > ol > li:nth-child(2) > a': '关于本文档',
'#table-of-contents': '内容大纲',
'.note-title': '注',
},
Expand Down

0 comments on commit 177cf96

Please sign in to comment.