refactor: migrate i18n files from YAML to TOML format and simplify structure (#1230)

* refactor: migrate i18n files from YAML to TOML format and simplify structure

* refactor: make translation file adjust to gohugoio/locales language code so date translation can work properly

* refactor: use hyphens instead of underscores for i18n, because that's how Hugo pick the translation file

* docs: update comments for i18n language availability and CJK language detection in hugo.toml.
This commit is contained in:
Jimmy
2026-01-25 21:01:32 +01:00
committed by GitHub
parent 406fcef7cd
commit c872a77edb
73 changed files with 1495 additions and 2303 deletions
+38
View File
@@ -0,0 +1,38 @@
toggleMenu = "メニューを開く・閉じる"
darkMode = "ダークモード"
[list]
page = "{{ .Count }} ページ目"
section = "セクション"
subsection = "サブセクション"
[article]
back = "前のページ"
tableOfContents = "目次"
relatedContent = "関連するコンテンツ"
lastUpdatedOn = "最終更新"
readingTime = "読了時間: {{ .Count }}分"
[notFound]
title = "404 Not Found"
subtitle = "指定されたページは存在しません。"
[widget]
[widget.archives]
title = "アーカイブ"
more = "さらに見る"
[widget.tagCloud]
title = "タグ"
[widget.categoriesCloud]
title = "カテゴリ"
[search]
title = "検索"
placeholder = "入力..."
resultTitle = "#PAGES_COUNT 件 #TIME_SECONDS 秒)"
[footer]
builtWith = "{{ .Generator }} で構築されています。"
designedBy = "テーマ {{ .Theme }} は {{ .DesignedBy }} によって設計されています。"