mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 03:22:33 -06:00
initial language setup for ja it zh-cn
This commit is contained in:
parent
d93195c377
commit
35a5b61881
6 changed files with 339 additions and 0 deletions
22
exampleSite/config/_default/languages.it.toml
Normal file
22
exampleSite/config/_default/languages.it.toml
Normal file
|
@ -0,0 +1,22 @@
|
|||
languageCode = "it"
|
||||
languageName = "Italiano"
|
||||
weight = 2
|
||||
title = "Blowfish"
|
||||
|
||||
[params]
|
||||
displayName = "Italiano"
|
||||
isoCode = "it"
|
||||
rtl = false
|
||||
dateFormat = "2 January 2006"
|
||||
logo = "img/blowfish_logo_transparent.png"
|
||||
description = "A powerful, lightweight theme for Hugo."
|
||||
|
||||
[author]
|
||||
name = "Blowfish"
|
||||
image = "img/blowfish_logo.png"
|
||||
headline = "A powerful, lightweight theme for Hugo."
|
||||
bio = "A powerful, lightweight theme for Hugo."
|
||||
links = [
|
||||
{ x-twitter = "https://twitter.com/burufugu" },
|
||||
{ github = "https://github.com/nunocoracao/blowfish" },
|
||||
]
|
22
exampleSite/config/_default/languages.ja.toml
Normal file
22
exampleSite/config/_default/languages.ja.toml
Normal file
|
@ -0,0 +1,22 @@
|
|||
languageCode = "ja"
|
||||
languageName = "日本語"
|
||||
weight = 2
|
||||
title = "Blowfish"
|
||||
|
||||
[params]
|
||||
displayName = "日本語"
|
||||
isoCode = "ja"
|
||||
rtl = false
|
||||
dateFormat = "2 January 2006"
|
||||
logo = "img/blowfish_logo_transparent.png"
|
||||
description = "A powerful, lightweight theme for Hugo."
|
||||
|
||||
[author]
|
||||
name = "Blowfish"
|
||||
image = "img/blowfish_logo.png"
|
||||
headline = "A powerful, lightweight theme for Hugo."
|
||||
bio = "A powerful, lightweight theme for Hugo."
|
||||
links = [
|
||||
{ x-twitter = "https://twitter.com/burufugu" },
|
||||
{ github = "https://github.com/nunocoracao/blowfish" },
|
||||
]
|
22
exampleSite/config/_default/languages.zh-cn.toml
Normal file
22
exampleSite/config/_default/languages.zh-cn.toml
Normal file
|
@ -0,0 +1,22 @@
|
|||
languageCode = "zh-cn"
|
||||
languageName = "中国人"
|
||||
weight = 2
|
||||
title = "Blowfish"
|
||||
|
||||
[params]
|
||||
displayName = "中国人"
|
||||
isoCode = "zh-cn"
|
||||
rtl = false
|
||||
dateFormat = "2 January 2006"
|
||||
logo = "img/blowfish_logo_transparent.png"
|
||||
description = "A powerful, lightweight theme for Hugo."
|
||||
|
||||
[author]
|
||||
name = "Blowfish"
|
||||
image = "img/blowfish_logo.png"
|
||||
headline = "A powerful, lightweight theme for Hugo."
|
||||
bio = "A powerful, lightweight theme for Hugo."
|
||||
links = [
|
||||
{ x-twitter = "https://twitter.com/burufugu" },
|
||||
{ github = "https://github.com/nunocoracao/blowfish" },
|
||||
]
|
91
exampleSite/config/_default/menus.it.toml
Normal file
91
exampleSite/config/_default/menus.it.toml
Normal file
|
@ -0,0 +1,91 @@
|
|||
# -- Main Menu --
|
||||
# The main menu is displayed in the header at the top of the page.
|
||||
# Acceptable parameters are name, pageRef, page, url, title, weight.
|
||||
#
|
||||
# The simplest menu configuration is to provide:
|
||||
# name = The name to be displayed for this menu link
|
||||
# pageRef = The identifier of the page or section to link to
|
||||
#
|
||||
# By default the menu is ordered alphabetically. This can be
|
||||
# overridden by providing a weight value. The menu will then be
|
||||
# ordered by weight from lowest to highest.
|
||||
|
||||
[[main]]
|
||||
name = "Docs"
|
||||
pageRef = "docs"
|
||||
weight = 10
|
||||
|
||||
[[main]]
|
||||
name = "Shortcodes"
|
||||
pageRef = "docs/shortcodes"
|
||||
weight = 15
|
||||
|
||||
[[main]]
|
||||
name = "Examples"
|
||||
weight = 20
|
||||
|
||||
[[main]]
|
||||
name = "Samples"
|
||||
parent = "Examples"
|
||||
pageRef = "samples"
|
||||
weight = 16
|
||||
|
||||
[[main]]
|
||||
name = "Showcase"
|
||||
parent = "Examples"
|
||||
pageRef = "examples"
|
||||
weight = 30
|
||||
|
||||
[[main]]
|
||||
name = "Recipes"
|
||||
parent = "Examples"
|
||||
pageRef = "guides"
|
||||
weight = 40
|
||||
|
||||
[[main]]
|
||||
name = "Users"
|
||||
pageRef = "users"
|
||||
weight = 90
|
||||
|
||||
[[main]]
|
||||
name = "Merch"
|
||||
url = "https://www.teepublic.com/user/blowfish-store/t-shirts"
|
||||
weight = 100
|
||||
|
||||
#[[main]]
|
||||
# name = "Test"
|
||||
# pageRef = "pagTest"
|
||||
# weight = 1000
|
||||
|
||||
[[main]]
|
||||
identifier = "twitter"
|
||||
pre = "x-twitter"
|
||||
url = "https://twitter.com/burufugu"
|
||||
weight = 200
|
||||
|
||||
#[[main]]
|
||||
# identifier = "mastodon"
|
||||
# pre = "mastodon"
|
||||
# weight = 300
|
||||
# url = "https://masto.ai/@blowfish"
|
||||
|
||||
[[main]]
|
||||
identifier = "github"
|
||||
pre = "github"
|
||||
url = "https://github.com/nunocoracao/blowfish"
|
||||
weight = 400
|
||||
|
||||
|
||||
# -- Footer Menu --
|
||||
# The footer menu is displayed at the bottom of the page, just before
|
||||
# the copyright notice. Configure as per the main menu above.
|
||||
|
||||
[[footer]]
|
||||
name = "Tags"
|
||||
pageRef = "tags"
|
||||
weight = 10
|
||||
|
||||
[[footer]]
|
||||
name = "Authors"
|
||||
pageRef = "authors"
|
||||
weight = 20
|
91
exampleSite/config/_default/menus.ja.toml
Normal file
91
exampleSite/config/_default/menus.ja.toml
Normal file
|
@ -0,0 +1,91 @@
|
|||
# -- Main Menu --
|
||||
# The main menu is displayed in the header at the top of the page.
|
||||
# Acceptable parameters are name, pageRef, page, url, title, weight.
|
||||
#
|
||||
# The simplest menu configuration is to provide:
|
||||
# name = The name to be displayed for this menu link
|
||||
# pageRef = The identifier of the page or section to link to
|
||||
#
|
||||
# By default the menu is ordered alphabetically. This can be
|
||||
# overridden by providing a weight value. The menu will then be
|
||||
# ordered by weight from lowest to highest.
|
||||
|
||||
[[main]]
|
||||
name = "Docs"
|
||||
pageRef = "docs"
|
||||
weight = 10
|
||||
|
||||
[[main]]
|
||||
name = "Shortcodes"
|
||||
pageRef = "docs/shortcodes"
|
||||
weight = 15
|
||||
|
||||
[[main]]
|
||||
name = "Examples"
|
||||
weight = 20
|
||||
|
||||
[[main]]
|
||||
name = "Samples"
|
||||
parent = "Examples"
|
||||
pageRef = "samples"
|
||||
weight = 16
|
||||
|
||||
[[main]]
|
||||
name = "Showcase"
|
||||
parent = "Examples"
|
||||
pageRef = "examples"
|
||||
weight = 30
|
||||
|
||||
[[main]]
|
||||
name = "Recipes"
|
||||
parent = "Examples"
|
||||
pageRef = "guides"
|
||||
weight = 40
|
||||
|
||||
[[main]]
|
||||
name = "Users"
|
||||
pageRef = "users"
|
||||
weight = 90
|
||||
|
||||
[[main]]
|
||||
name = "Merch"
|
||||
url = "https://www.teepublic.com/user/blowfish-store/t-shirts"
|
||||
weight = 100
|
||||
|
||||
#[[main]]
|
||||
# name = "Test"
|
||||
# pageRef = "pagTest"
|
||||
# weight = 1000
|
||||
|
||||
[[main]]
|
||||
identifier = "twitter"
|
||||
pre = "x-twitter"
|
||||
url = "https://twitter.com/burufugu"
|
||||
weight = 200
|
||||
|
||||
#[[main]]
|
||||
# identifier = "mastodon"
|
||||
# pre = "mastodon"
|
||||
# weight = 300
|
||||
# url = "https://masto.ai/@blowfish"
|
||||
|
||||
[[main]]
|
||||
identifier = "github"
|
||||
pre = "github"
|
||||
url = "https://github.com/nunocoracao/blowfish"
|
||||
weight = 400
|
||||
|
||||
|
||||
# -- Footer Menu --
|
||||
# The footer menu is displayed at the bottom of the page, just before
|
||||
# the copyright notice. Configure as per the main menu above.
|
||||
|
||||
[[footer]]
|
||||
name = "Tags"
|
||||
pageRef = "tags"
|
||||
weight = 10
|
||||
|
||||
[[footer]]
|
||||
name = "Authors"
|
||||
pageRef = "authors"
|
||||
weight = 20
|
91
exampleSite/config/_default/menus.zh-cn.toml
Normal file
91
exampleSite/config/_default/menus.zh-cn.toml
Normal file
|
@ -0,0 +1,91 @@
|
|||
# -- Main Menu --
|
||||
# The main menu is displayed in the header at the top of the page.
|
||||
# Acceptable parameters are name, pageRef, page, url, title, weight.
|
||||
#
|
||||
# The simplest menu configuration is to provide:
|
||||
# name = The name to be displayed for this menu link
|
||||
# pageRef = The identifier of the page or section to link to
|
||||
#
|
||||
# By default the menu is ordered alphabetically. This can be
|
||||
# overridden by providing a weight value. The menu will then be
|
||||
# ordered by weight from lowest to highest.
|
||||
|
||||
[[main]]
|
||||
name = "Docs"
|
||||
pageRef = "docs"
|
||||
weight = 10
|
||||
|
||||
[[main]]
|
||||
name = "Shortcodes"
|
||||
pageRef = "docs/shortcodes"
|
||||
weight = 15
|
||||
|
||||
[[main]]
|
||||
name = "Examples"
|
||||
weight = 20
|
||||
|
||||
[[main]]
|
||||
name = "Samples"
|
||||
parent = "Examples"
|
||||
pageRef = "samples"
|
||||
weight = 16
|
||||
|
||||
[[main]]
|
||||
name = "Showcase"
|
||||
parent = "Examples"
|
||||
pageRef = "examples"
|
||||
weight = 30
|
||||
|
||||
[[main]]
|
||||
name = "Recipes"
|
||||
parent = "Examples"
|
||||
pageRef = "guides"
|
||||
weight = 40
|
||||
|
||||
[[main]]
|
||||
name = "Users"
|
||||
pageRef = "users"
|
||||
weight = 90
|
||||
|
||||
[[main]]
|
||||
name = "Merch"
|
||||
url = "https://www.teepublic.com/user/blowfish-store/t-shirts"
|
||||
weight = 100
|
||||
|
||||
#[[main]]
|
||||
# name = "Test"
|
||||
# pageRef = "pagTest"
|
||||
# weight = 1000
|
||||
|
||||
[[main]]
|
||||
identifier = "twitter"
|
||||
pre = "x-twitter"
|
||||
url = "https://twitter.com/burufugu"
|
||||
weight = 200
|
||||
|
||||
#[[main]]
|
||||
# identifier = "mastodon"
|
||||
# pre = "mastodon"
|
||||
# weight = 300
|
||||
# url = "https://masto.ai/@blowfish"
|
||||
|
||||
[[main]]
|
||||
identifier = "github"
|
||||
pre = "github"
|
||||
url = "https://github.com/nunocoracao/blowfish"
|
||||
weight = 400
|
||||
|
||||
|
||||
# -- Footer Menu --
|
||||
# The footer menu is displayed at the bottom of the page, just before
|
||||
# the copyright notice. Configure as per the main menu above.
|
||||
|
||||
[[footer]]
|
||||
name = "Tags"
|
||||
pageRef = "tags"
|
||||
weight = 10
|
||||
|
||||
[[footer]]
|
||||
name = "Authors"
|
||||
pageRef = "authors"
|
||||
weight = 20
|
Loading…
Reference in a new issue