Skip to content

Commit 0edb037

Browse files
committed
Show translation status for all translations
Do not exclude unmaintained translations, show the translation status for all of them. It does not really make sense to hide that information.
1 parent bd908d3 commit 0edb037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_plugins/translation_status.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Jekyll
88
# Outputs HTML.
99
module TranslationStatus
1010

11-
LANGS = %w[en de es id ja ko pt ru tr zh_cn zh_tw].freeze
11+
LANGS = %w[en bg de es fr id it ja ko pl pt ru tr vi zh_cn zh_tw].freeze
1212
START_DATE = "2013-04-01"
1313

1414
OK_CHAR = "✓"
@@ -122,7 +122,7 @@ def render(context)
122122

123123
remove_completed_posts
124124

125-
ignored = ignored_langs.sort.join(", ")
125+
ignored = ignored_langs.empty? ? "none" : ignored_langs.sort.join(", ")
126126
posts = @posts.sort.reverse.map {|_name, post| post }
127127

128128
ERB.new(TEMPLATE, trim_mode: "-").result(binding)

0 commit comments

Comments
 (0)