Skip to content

Commit cadb817

Browse files
Averyhmdne
authored andcommitted
de: more initializing; translated try_ruby_10.md
Signed-off-by: Avery <>
1 parent b12c222 commit cadb817

File tree

5 files changed

+76
-13
lines changed

5 files changed

+76
-13
lines changed

collector.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ def initialize(app, options_hash={}, &block)
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
158158
Collector.new('translations/zh/try_ruby_*.md', 'source/try_ruby_zh.json').collect
159+
Collector.new('translations/de/try_ruby_*.md', 'source/try_ruby_de.json').collect
159160

160161
# TODO: add any new translations here
161162

source/layouts/_navbar.html.erb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,14 @@
124124
aria-controls="tryruby-content"
125125
>
126126
中文
127-
</button
127+
</button>
128+
<button
129+
class="dropdown-item"
130+
data-change-lang="de"
131+
aria-controls="tryruby-content"
132+
>
133+
Deutsch
134+
</button>
128135
</div>
129136
</li>
130137
</ul>

0 commit comments

Comments
 (0)