feat: implement portuguese locale (#21)

* feat: include pt key entry and content in config files

* feat: about-pt.md

* feat: update Theme Guide files including pt locale

* feat: include portuguese excerpt on Universal Article.md

* feat: Theme Guide-pt.md

* feat: KaTeX Mathematical Demo-pt.md

* fix: update Katex Mathematical Demo-pt.md title

* feat: 容忍与自由-pt.md

* feat: 故乡-pt.md

* fix: missing translation in 故乡-pt.md

* feat: 羅生門-pt.md

* feat: Theme Color Schemes-pt.md

* feat: Markdown Style Guide-pt.md

* feat: Markdown Extended Features-pt.md

* fix: untranslated tag in 容忍与自由-pt.md

* fix: unmatching published date in KaTeX Mathematical Demo-pt.md
This commit is contained in:
viniciusdeliz 2025-05-10 00:34:10 -03:00 committed by GitHub
parent ca779b885f
commit 4b05ba9caf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 1296 additions and 13 deletions

View file

@ -53,7 +53,7 @@ export const themeConfig: ThemeConfig = {
locale: 'zh', // zh, zh-tw, ja, en, es, ru
// more languages
// not fill in the locale code above again, can be an empty array []
moreLocales: ['zh-tw', 'ja', 'en', 'es', 'ru'], // ['zh', 'zh-tw', 'ja', 'en', 'es', 'ru']
moreLocales: ['zh-tw', 'ja', 'en', 'es', 'ru', 'pt'], // ['zh', 'zh-tw', 'ja', 'en', 'es', 'ru', 'pt']
// font styles for post text
fontStyle: 'sans', // sans, serif
// date format for posts