Add translation links and attribution for zh-TW and zh-CN.

This commit is contained in:
Nathaniel Bibler 2016-01-13 12:58:55 -05:00
parent 5b60dff295
commit f186afe9b9
5 changed files with 8 additions and 4 deletions

View File

@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Added
- zh-CN and zh-TW translations from @tianshuo.
## [0.3.0] - 2015-12-03
### Added

View File

@ -4,7 +4,7 @@
# ----- Site ----- #
activate :i18n, langs: [:en, 'es-ES', 'pt-BR', :ru], :mount_at_root => :en
activate :i18n, langs: [:en, 'es-ES', 'pt-BR', :ru, 'zh-CN', 'zh-TW'], :mount_at_root => :en
set :gauges_id, ''
set :publisher_url, 'https://www.facebook.com/olivier.lacan.5'
set :site_url, 'http://keepachangelog.com'

View File

@ -35,6 +35,8 @@
%li= link_to 'español [es-ES]', '/es-ES/', {rel: "alternate", lang: "es-ES", hreflang: "es-ES"}
%li= link_to 'português brasileiro [pt-BR]', '/pt-BR/', {rel: "alternate", lang: "pt-BR", hreflang: "pt-BR"}
%li= link_to 'pyccкий [ru]', '/ru/', {rel: "alternate", lang: "ru", hreflang: "ru"}
%li= link_to '简体中文 [zh-CN]', '/zh-CN/', {rel: "alternate", lang: "zh-CN", hreflang: "zh-CN"}
%li= link_to '繁體中文 [zh-TW]', '/zh-TW/', {rel: "alternate", lang: "zh-TW", hreflang: "zh-TW"}
.main{role: "main"}= yield

View File

@ -14,7 +14,7 @@ language: zh-CN
这个列表记录所有版本的重大变动。
%pre.changelog= File.read(File.expand_path("../../CHANGELOG.md", __FILE__))
%pre.changelog= File.read(File.expand_path("../../../CHANGELOG.md", __FILE__))
:markdown
### 为何要提供更新日志?

View File

@ -14,7 +14,7 @@ language: zh-TW
這個列表記錄所有版本的重大變動。
%pre.changelog= File.read(File.expand_path("../../CHANGELOG.md", __FILE__))
%pre.changelog= File.read(File.expand_path("../../../CHANGELOG.md", __FILE__))
:markdown
### 為何要提供更新日誌?