mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +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
|
@ -6,6 +6,7 @@ export const langMap: Record<string, string[]> = {
|
|||
'en': ['en-US'],
|
||||
'es': ['es-ES'],
|
||||
'ru': ['ru-RU'],
|
||||
'pt': ['pt-BR'],
|
||||
}
|
||||
|
||||
// Waline Language Map
|
||||
|
@ -17,6 +18,7 @@ export const walineLocaleMap: Record<string, string> = {
|
|||
'en': 'en-US',
|
||||
'es': 'es-ES',
|
||||
'ru': 'ru-RU',
|
||||
'pt': 'pt-BR',
|
||||
}
|
||||
|
||||
// Supported Languages
|
||||
|
|
|
@ -53,4 +53,13 @@ export const ui = {
|
|||
about: 'О себе',
|
||||
toc: 'Оглавление',
|
||||
},
|
||||
'pt': {
|
||||
title: 'Retipografia',
|
||||
subtitle: 'Reviva a beleza da tipografia',
|
||||
description: 'Retypeset é um tema blog estático baseado no _framework_ Astro. Inspirado por Tipografia, Retypeset estabelece um novo padrão visual e reimagina o layout de todas as páginas, criando uma experiência de leitura remasncenete aos livros de papel, revivendo a beleza da tipografia. Detalhes em cada olhar, elegância em todos os espaços.',
|
||||
posts: 'Postagens',
|
||||
tags: 'Tags',
|
||||
about: 'Sobre',
|
||||
toc: 'Índice',
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue