Merge pull request #210 from tanxpyox/master

Added three mainstream Asian languages and changed flag code to conform with CSS style sheet
This commit is contained in:
Djordje Atlialp 2020-09-26 12:03:01 +02:00 committed by GitHub
commit 9269b0402a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 123 additions and 4 deletions

View file

@ -2,13 +2,15 @@ de: de
en: gb en: gb
es: es es: es
fr: fr fr: fr
gl: es-ga
hi: in hi: in
it: it it: it
ja: jp
ml: in ml: in
nl: nl nl: nl
pt-br: br pt-br: br
ru: ru ru: ru
tr: tr tr: tr
ml: in zh-cn: cn
gl: es-ga zh-hk: hk
zh-hk: hong_kong zh-tw: tw

39
i18n/ja.toml Normal file
View file

@ -0,0 +1,39 @@
# Translations for Japanese
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# Generic
#
[translations]
other = "翻訳"
[postAvailable]
other = "他の言語"
# 404.html
#
[archives]
other = "アーカイブ"
[home]
other = "ホームページ"
[notFound]
other = "あっ、ページが見つかりません……"
# Please add hasCJKLanguage = true under [languages.ja] for the below to behave correctly
# posts/single.html
#
[readingTime]
one = "一分"
other = "{{ .Count }}分"
[tableOfContents]
other = "目次"
[wordCount]
one = "一文字"
other = "{{ .Count }}文字"
[lastModified]
other = "最終更新"

39
i18n/zh-cn.toml Normal file
View file

@ -0,0 +1,39 @@
# Translations for Chinese (China)
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# Generic
#
[translations]
other = "译文"
[postAvailable]
other = "其他语言"
# 404.html
#
[archives]
other = "档案"
[home]
other = "主页"
[notFound]
other = "噢,找不到页面……"
# Please add hasCJKLanguage = true under [languages.zh-cn] for the below to behave correctly
# posts/single.html
#
[readingTime]
one = "一分钟"
other = "{{ .Count }}分钟"
[tableOfContents]
other = "目录"
[wordCount]
one = "一字"
other = "{{ .Count }}字"
[lastModified]
other = "最后修改"

View file

@ -21,7 +21,7 @@ other = "主頁"
[notFound] [notFound]
other = "哎呀,揾唔到添……" other = "哎呀,揾唔到添……"
# Please add hasCJKLanguage = true under [languages.zh-hk] for the below to behave correctly
# posts/single.html # posts/single.html
# #
[readingTime] [readingTime]

39
i18n/zh-tw.toml Normal file
View file

@ -0,0 +1,39 @@
# Translations for Chinese (Taiwan)
# https://gohugo.io/content-management/multilingual/#translation-of-strings
# Generic
#
[translations]
other = "譯文"
[postAvailable]
other = "其他語言"
# 404.html
#
[archives]
other = "檔案"
[home]
other = "主頁"
[notFound]
other = "噢,找不到頁面……"
# Please add hasCJKLanguage = true under [languages.zh-tw] for the below to behave correctly
# posts/single.html
#
[readingTime]
one = "一分鐘"
other = "{{ .Count }}分鐘"
[tableOfContents]
other = "目錄"
[wordCount]
one = "一字"
other = "{{ .Count }}字"
[lastModified]
other = "最後修改"