From 35a5b61881d7a37ad31b9fbb2667d3e4d83d53f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Mon, 11 Mar 2024 10:12:03 +0000 Subject: [PATCH] initial language setup for ja it zh-cn --- exampleSite/config/_default/languages.it.toml | 22 +++++ exampleSite/config/_default/languages.ja.toml | 22 +++++ .../config/_default/languages.zh-cn.toml | 22 +++++ exampleSite/config/_default/menus.it.toml | 91 +++++++++++++++++++ exampleSite/config/_default/menus.ja.toml | 91 +++++++++++++++++++ exampleSite/config/_default/menus.zh-cn.toml | 91 +++++++++++++++++++ 6 files changed, 339 insertions(+) create mode 100644 exampleSite/config/_default/languages.it.toml create mode 100644 exampleSite/config/_default/languages.ja.toml create mode 100644 exampleSite/config/_default/languages.zh-cn.toml create mode 100644 exampleSite/config/_default/menus.it.toml create mode 100644 exampleSite/config/_default/menus.ja.toml create mode 100644 exampleSite/config/_default/menus.zh-cn.toml diff --git a/exampleSite/config/_default/languages.it.toml b/exampleSite/config/_default/languages.it.toml new file mode 100644 index 00000000..47bdfa42 --- /dev/null +++ b/exampleSite/config/_default/languages.it.toml @@ -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" }, + ] \ No newline at end of file diff --git a/exampleSite/config/_default/languages.ja.toml b/exampleSite/config/_default/languages.ja.toml new file mode 100644 index 00000000..3558c302 --- /dev/null +++ b/exampleSite/config/_default/languages.ja.toml @@ -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" }, + ] \ No newline at end of file diff --git a/exampleSite/config/_default/languages.zh-cn.toml b/exampleSite/config/_default/languages.zh-cn.toml new file mode 100644 index 00000000..b53df5ce --- /dev/null +++ b/exampleSite/config/_default/languages.zh-cn.toml @@ -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" }, + ] \ No newline at end of file diff --git a/exampleSite/config/_default/menus.it.toml b/exampleSite/config/_default/menus.it.toml new file mode 100644 index 00000000..3886d5ea --- /dev/null +++ b/exampleSite/config/_default/menus.it.toml @@ -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 diff --git a/exampleSite/config/_default/menus.ja.toml b/exampleSite/config/_default/menus.ja.toml new file mode 100644 index 00000000..3886d5ea --- /dev/null +++ b/exampleSite/config/_default/menus.ja.toml @@ -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 diff --git a/exampleSite/config/_default/menus.zh-cn.toml b/exampleSite/config/_default/menus.zh-cn.toml new file mode 100644 index 00000000..3886d5ea --- /dev/null +++ b/exampleSite/config/_default/menus.zh-cn.toml @@ -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