0.158.0 deprecations (#805)

* 0.158.0 changes - using same capitalization as huge docs

* LanguageCode -> Locale
LanguageDirection -> Direction
LanguageName -> Label

* language.lang to language.name

* all changed functions added in 0.158.0
This commit is contained in:
nick n.
2026-04-07 19:57:40 +02:00
committed by GitHub
parent 751bde097b
commit 4f0e89c4ed
13 changed files with 26 additions and 26 deletions
+4 -4
View File
@@ -31,19 +31,19 @@ enableGitInfo = true
# And https://gohugo.io/content-management/multilingual/#translation-by-content-directory
[languages]
[languages.en]
languageName = 'English'
label = 'English'
contentDir = 'content.en'
weight = 1
[languages.zh]
languageName = 'Chinese'
label = 'Chinese'
contentDir = 'content.zh'
weight = 2
[languages.he]
languageName = 'Hebrew'
label = 'Hebrew'
contentDir = 'content.he'
languageDirection = 'rtl'
direction = 'rtl'
weight = 3
[menu]