Skip to content

Commit 8c995e6

Browse files
committed
Rename CN -> ZH. ZH is the ISO language code for Chinese
1 parent c582cd3 commit 8c995e6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+58
-114
lines changed

collector.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def initialize(app, options_hash={}, &block)
155155
Collector.new('translations/ru/try_ruby_*.md', 'source/try_ruby_ru.json').collect
156156
Collector.new('translations/ua/try_ruby_*.md', 'source/try_ruby_ua.json').collect
157157
Collector.new('translations/mk/try_ruby_*.md', 'source/try_ruby_mk.json').collect
158-
Collector.new('translations/cn/try_ruby_*.md', 'source/try_ruby_cn.json').collect
158+
Collector.new('translations/zh/try_ruby_*.md', 'source/try_ruby_zh.json').collect
159159

160160
# TODO: add any new translations here
161161

source/layouts/_navbar.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
</button>
121121
<button
122122
class="dropdown-item"
123-
data-change-lang="cn"
123+
data-change-lang="zh"
124124
aria-controls="tryruby-content"
125125
>
126126
中文

source/try_ruby_cn.json

Lines changed: 0 additions & 56 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)