Add chinese translation (#772)
* add chinese config and i18n * Import translation from https://bitbucket.org/mastodoncn/mastodon-zh-cn/src/master/ * translate Using Mastodon * Translate Running Mastodon Add Chinese search optimization Fix some bugs * substitute 长毛象 to Mastodon * do some modifications.
This commit is contained in:
parent
02839e07ce
commit
b6e011265d
38 changed files with 3176 additions and 65 deletions
10
layouts/shortcodes/bilibili.html
Normal file
10
layouts/shortcodes/bilibili.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<figure>
|
||||
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
|
||||
<iframe src="https://player.bilibili.com/player.html?aid={{ .Get "id" }}" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" allowfullscreen title="{{ .Get "caption" }}"></iframe>
|
||||
</div>
|
||||
|
||||
<figcaption>
|
||||
<p>{{- .Get "caption" | markdownify -}}</p>
|
||||
</figcaption>
|
||||
</figure>
|
||||
|
6
layouts/shortcodes/translation-status-zh-cn.html
Normal file
6
layouts/shortcodes/translation-status-zh-cn.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<figure>
|
||||
<p>
|
||||
<strong>翻译状态:</strong>
|
||||
本文是英文页面 <a href="{{ .Get "raw_link" }}">{{ .Get "raw_title" }}</a> 的翻译,最后翻译时间:{{ .Get "last_tranlation_time" }},点击<a href="https://github.com/tootsuite/documentation/compare/{{ .Get "raw_commit" }}...master">这里</a>可以查看翻译后页面的改动。
|
||||
</p>
|
||||
</figure>
|
Loading…
Add table
Add a link
Reference in a new issue