mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
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:
parent
ca779b885f
commit
4b05ba9caf
19 changed files with 1296 additions and 13 deletions
|
@ -73,11 +73,11 @@ color: {
|
|||
global: {
|
||||
// idioma predeterminado
|
||||
// idioma de la ruta raíz del sitio '/'
|
||||
locale: 'zh' // zh, zh-tw, ja, en, es, ru
|
||||
locale: 'zh' // zh, zh-tw, ja, en, es, ru, pt
|
||||
// más idiomas
|
||||
// genera rutas multilingües como '/es/' '/ru/'
|
||||
// no incluir el código de idioma anterior nuevamente, puede ser un array vacío []
|
||||
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']
|
||||
// estilo de fuente
|
||||
fontStyle: 'sans' // sans, serif
|
||||
// formato de fecha para publicaciones
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue