Skip to content

Commit 3914f11

Browse files
Add Brazilian Portuguese translation (#2285)
Co-authored-by: taranvohra <[email protected]>
1 parent d363908 commit 3914f11

File tree

5 files changed

+60
-2
lines changed

5 files changed

+60
-2
lines changed

bun.lockb

24 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
],
2121
"dependencies": {
2222
"@geist-ui/icons": "^1.0.2",
23-
"@gitbook/api": "^0.48.0",
23+
"@gitbook/api": "^0.50.0",
2424
"@radix-ui/react-checkbox": "^1.0.4",
2525
"@radix-ui/react-popover": "^1.0.7",
2626
"@sentry/nextjs": "^7.94.1",

packages/react-contentkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"exports": "./src/index.ts",
44
"dependencies": {
55
"classnames": "^2.5.1",
6-
"@gitbook/api": "^0.48.0",
6+
"@gitbook/api": "^0.50.0",
77
"assert-never": "^1.2.1"
88
},
99
"peerDependencies": {

src/intl/translations/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ import { en } from './en';
44
import { es } from './es';
55
import { fr } from './fr';
66
import { ja } from './ja';
7+
import { pt_br } from './pt-br';
78
import { TranslationLanguage } from './types';
89
import { zh } from './zh';
910

1011
export * from './types';
1112

13+
//@ts-ignore
1214
export const languages: {
1315
[locale in CustomizationLocale]: TranslationLanguage;
1416
} = {
@@ -17,4 +19,5 @@ export const languages: {
1719
es,
1820
zh,
1921
ja,
22+
'pt-br': pt_br,
2023
};

src/intl/translations/pt-br.ts

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
export const pt_br = {
2+
locale: 'pt-br',
3+
powered_by_gitbook: 'Powered by GitBook',
4+
switch_to_dark_theme: 'Mudar para modo escuro',
5+
switch_to_light_theme: 'Mudar para modo claro',
6+
switch_to_system_theme: 'Mudar para configuração do sistema',
7+
search: 'Busca',
8+
search_or_ask: 'Perguntar ou buscar',
9+
search_input_placeholder: 'Buscar conteúdo',
10+
search_ask_input_placeholder: 'Buscar conteúdo ou fazer uma pergunta',
11+
search_no_results: 'Sem resultados para "${1}".',
12+
search_scope_space: 'Somente em ${1}',
13+
search_scope_all: 'Todo o conteúdo',
14+
search_ask: 'Perguntar "${1}"',
15+
search_ask_sources: 'Fontes',
16+
search_ask_no_answer:
17+
'Nenhuma resposta foi encontrada para sua pergunta, tente outra pergunta.',
18+
search_ask_error: 'Algo deu errado. Por favor tente novamente mais tarde.',
19+
on_this_page: 'Nesta página',
20+
next_page: 'Próximo',
21+
previous_page: 'Anterior',
22+
page_last_modified: 'Atualizado ${1}',
23+
was_this_helpful: 'Isto foi útil?',
24+
was_this_helpful_positive: 'Sim, foi!',
25+
was_this_helpful_neutral: 'Não sei',
26+
was_this_helpful_negative: 'Não',
27+
was_this_helpful_thank_you: 'Obrigado!',
28+
annotation_button_label: 'Abrir anotação',
29+
code_copied: 'Copiado!',
30+
code_copy: 'Copiar',
31+
table_of_contents_button_label: 'Abrir o índice',
32+
cookies_title: 'Cookies',
33+
cookies_prompt:
34+
'Este site usa cookies para entregar suas funcionalidades e analizar o tráfego. Ao navegar neste site, você aceita a ${1}.',
35+
cookies_prompt_privacy: 'política de privacidade',
36+
cookies_accept: 'Aceitar',
37+
cookies_reject: 'Rejeitar',
38+
cookies_close: 'Fechar',
39+
edit_on_git: 'Editar no ${1}',
40+
notfound_title: 'Página não encontrada',
41+
notfound: 'A página que você está procurando não existe.',
42+
unexpected_error_title: 'Aconteceu um erro',
43+
unexpected_error:
44+
'Desculpe, aconteceu um erro inesperado. Por favor tente novamente mais tarde.',
45+
unexpected_error_retry: ' Tentar novamente',
46+
pdf_download: 'Exportar como PDF',
47+
pdf_goback: 'Voltar ao conteúdo',
48+
pdf_print: 'Imprimir ou salvar como PDF',
49+
pdf_page_of: '${1} de ${2}',
50+
pdf_mode_only_page: 'Somente esta página',
51+
pdf_mode_all: 'Todas as páginas',
52+
pdf_limit_reached:
53+
'Não foi possível gerar o PDF para ${1} páginas, generation stopped at ${2}.',
54+
pdf_limit_reached_continue: 'Extender com mais ${1} páginas.',
55+
};

0 commit comments

Comments
 (0)