i18n: improve file naming #848

This commit is contained in:
Sören Weber 2024-04-30 22:08:04 +02:00
parent 0480d11c33
commit ab4cd9b6a7
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
6 changed files with 242 additions and 1 deletions

View file

@ -87,6 +87,7 @@ summaryLength = 10
[languages.en]
title = "Hugo Relearn Theme"
weight = 1
languageCode = "en"
languageName = "English"
# Language dependent settings:
# Use case https://gohugo.io/content-management/multilingual/#translation-by-content-directory
@ -129,7 +130,9 @@ summaryLength = 10
[languages.pir]
title = "Cap'n Hugo Relearrrn Theme"
weight = 2
languageCode = "art-pir"
# It would be more standard compliant to have the language key also
# named art-x-pir but that would require to rename all files
languageCode = "art-x-pir"
languageDirection = "rtl"
languageName = "Arrr! ☠ Pirrrates ☠"
# Language dependent settings:

119
i18n/zh-Hans.toml Normal file
View file

@ -0,0 +1,119 @@
[Reading-direction]
other = "ltr"
[Search]
other = "搜索"
[Search-placeholder]
other = "搜索..."
[Clear-search]
other = "清除搜索"
[No-results-found]
other = "找不到\"{0}\"的结果"
[N-results-found]
other = "为\"{0}\"找到 {1} 个结果"
[Clear-History]
other = "清理历史记录"
[Reset-view]
other = "重置视图"
[View-reset]
other = "查看重置!"
[Attachments-label]
other = "附件"
[title-404]
other = "未定位"
[message-404]
other = "哎哟。 看起来这个页面不存在 ¯\\_(ツ)_/¯。"
[Go-to-homepage]
other = "转到主页"
[Edit-this-page]
other = "编辑"
[Print-this-chapter]
other = "打印整章"
[More-action]
other = "更多"
[Shortcuts-Title]
other = "更多"
[Expand-title]
other = "展开"
[Navigation-toggle]
other = "导航"
[Toc-toggle]
other = "目录"
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
[note]
other = "注释"
[info]
other = "信息"
[tip]
other = "提示"
[warning]
other = "警告"
[Copy-to-clipboard]
other = "复制到剪贴板"
[Copied-to-clipboard]
other = "复制到剪贴板!"
[Copy-link-to-clipboard]
other = "将链接复制到剪贴板"
[Link-copied-to-clipboard]
other = "链接复制到剪贴板!"
[Chapter]
other = "第{{.}}章"
[Language]
other = "语言"
[Theme]
other = "主题"
[Submenu]
other = "子菜单{{.}}"
[Subsections]
other = "{{.}} 的子部分"
[tags]
other = "标签"
[tag]
other = "标签"
[categories]
other = "类别"
[category]
other = "类别"

119
i18n/zh-TW.toml Normal file
View file

@ -0,0 +1,119 @@
[Reading-direction]
other = "ltr"
[Search]
other = "搜尋"
[Search-placeholder]
other = "搜尋..."
[Clear-search]
other = "清除搜索"
[No-results-found]
other = "找不到\"{0}\"的結果"
[N-results-found]
other = "為\"{0}\"找到 {1} 個結果"
[Clear-History]
other = "清除歷史紀錄"
[Reset-view]
other = "重置檢視"
[View-reset]
other = "查看重置!"
[Attachments-label]
other = "附件"
[title-404]
other = "未定位"
[message-404]
other = "這個網頁已經被刪除、移動或從未存在"
[Go-to-homepage]
other = "回到首頁"
[Edit-this-page]
other = "編輯網頁"
[Print-this-chapter]
other = "列印整章"
[More-action]
other = "更多"
[Shortcuts-Title]
other = "更多"
[Expand-title]
other = "展開"
[Navigation-toggle]
other = "導航"
[Toc-toggle]
other = "目錄"
[Byte-symbol]
other = "B"
[Kilobyte-symbol]
other = "KB"
[Megabyte-symbol]
other = "MB"
[note]
other = "註釋"
[info]
other = "資訊"
[tip]
other = "提示"
[warning]
other = "警告"
[Copy-to-clipboard]
other = "複製到剪貼板"
[Copied-to-clipboard]
other = "複製到剪貼簿!"
[Copy-link-to-clipboard]
other = "將連結複製到剪貼簿"
[Link-copied-to-clipboard]
other = "連結複製到剪貼簿!"
[Chapter]
other = "第{{.}}章"
[Language]
other = "語言"
[Theme]
other = "主題"
[Submenu]
other = "子功能表{{.}}"
[Subsections]
other = "{{.}} 的子部分"
[tags]
other = "標籤"
[tag]
other = "標籤"
[categories]
other = "類別"
[category]
other = "類別"