Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit ebe002b

Browse files
authored
Merge pull request alexusmai#57 from luindayk/master
Portuguese Brazilian Language Support
2 parents 8e83eaf + 4b3efe9 commit ebe002b

File tree

2 files changed

+194
-1
lines changed

2 files changed

+194
-1
lines changed

src/lang/pt_BR.js

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
/**
2+
* Portuguese Brazilian translate
3+
* @type Object
4+
*/
5+
/* eslint camelcase: 0 */
6+
const pt_BR = {
7+
btn: {
8+
about: 'Sobre',
9+
back: 'Voltar',
10+
cancel: 'Cancelar',
11+
clear: 'Limpar',
12+
copy: 'Copiar',
13+
cut: 'Recortar',
14+
delete: 'Apagar',
15+
edit: 'Editar',
16+
forward: 'Avançar',
17+
folder: 'Nova pasta',
18+
file: 'Novo arquivo',
19+
fullScreen: 'Tela cheia',
20+
grid: 'Grade',
21+
paste: 'Colar',
22+
refresh: 'Atualizar',
23+
submit: 'Criar',
24+
table: 'Tabela',
25+
upload: 'Upload',
26+
uploadSelect: 'Selecionar arquivos',
27+
hidden: ' Arquivos ocultos',
28+
},
29+
clipboard: {
30+
actionType: 'Formato',
31+
copy: 'Copiar',
32+
cut: 'Recortar',
33+
none: 'Nada selecionado',
34+
title: 'Área de transferência',
35+
},
36+
contextMenu: {
37+
copy: 'Copiar',
38+
cut: 'Colar',
39+
delete: 'Apagar',
40+
download: 'Download',
41+
info: 'Selecionado:',
42+
open: 'Abrir',
43+
paste: 'Colar',
44+
properties: 'Propriedades',
45+
rename: 'Renomear',
46+
select: 'Selecionar',
47+
view: 'Visualizar',
48+
zip: 'Compactar',
49+
unzip: 'Descompactar',
50+
edit: 'Editar',
51+
audioPlay: 'Play',
52+
videoPlay: 'Play',
53+
},
54+
info: {
55+
directories: 'Pastas:',
56+
files: 'Arquivos:',
57+
selected: 'Selecionado:',
58+
selectedSize: 'Tamanho dos arquivos:',
59+
size: 'Tamanho dos arquivos:',
60+
},
61+
manager: {
62+
table: {
63+
date: 'Data',
64+
folder: 'Pasta',
65+
name: 'Nome',
66+
size: 'Tamanho',
67+
type: 'Tipo',
68+
},
69+
},
70+
modal: {
71+
about: {
72+
developer: 'Desenvolvedor',
73+
name: 'Laravel File Manager',
74+
title: 'Sobre',
75+
version: 'Versão',
76+
},
77+
delete: {
78+
noSelected: 'Nada selecionado!',
79+
title: 'Apagar',
80+
},
81+
newFile: {
82+
fieldName: 'Nome do arquivo',
83+
fieldFeedback: 'Arquivo existente!',
84+
title: 'Criar novo arquivo',
85+
},
86+
newFolder: {
87+
fieldName: 'Nome da pasta',
88+
fieldFeedback: 'Pasta existente!',
89+
title: 'Criar nova pasta',
90+
},
91+
preview: {
92+
title: 'Visualizar',
93+
},
94+
properties: {
95+
disk: 'Disco',
96+
modified: 'Modificado',
97+
name: 'Nome',
98+
path: 'Caminho',
99+
size: 'Tamanho',
100+
title: 'Propriedades',
101+
type: 'Tipo',
102+
url: 'URL',
103+
access: 'Acesso',
104+
access_0: 'Acesso negado',
105+
access_1: 'Apenas leitura',
106+
access_2: 'Leitura e escrita',
107+
},
108+
rename: {
109+
directoryExist: 'Pasta existente',
110+
fieldName: 'Digite o novo nome',
111+
fieldFeedback: 'Nome inválido',
112+
fileExist: 'Arquivo existente',
113+
title: 'Renomear',
114+
},
115+
status: {
116+
noErrors: 'Nenhum erro!',
117+
title: 'Status',
118+
},
119+
upload: {
120+
ifExist: 'Se arquivo não existir:',
121+
noSelected: 'Nenhum arquivo selecionado!',
122+
overwrite: 'Substituir!',
123+
selected: 'Selecionado:',
124+
size: 'Tamanho:',
125+
skip: 'Pular',
126+
title: 'Upload de arquivos',
127+
},
128+
editor: {
129+
title: 'Editor',
130+
},
131+
audioPlayer: {
132+
title: 'Áudio player',
133+
},
134+
videoPlayer: {
135+
title: 'Video player',
136+
},
137+
zip: {
138+
title: 'Compactar arquivo',
139+
fieldName: 'Nome do arquivo',
140+
fieldFeedback: 'Arquivo existente!',
141+
},
142+
unzip: {
143+
title: 'Descompactar arquivo',
144+
fieldName: 'Nome da pasta',
145+
fieldRadioName: 'Extrair para:',
146+
fieldRadio1: 'Pasta atual',
147+
fieldRadio2: 'Nova pasta',
148+
fieldFeedback: 'Pasta existente!',
149+
warning: 'Atenção! Se os nomes forem idênticos, os arquivos serão substituídos!',
150+
},
151+
cropper: {
152+
title: 'Cortar',
153+
apply: 'Aplicar',
154+
reset: 'Resetar',
155+
save: 'Salvar',
156+
},
157+
},
158+
notifications: {
159+
cutToClipboard: 'Recortado para área de transferência!',
160+
copyToClipboard: 'Copiado para área de transferência!',
161+
},
162+
response: {
163+
noConfig: 'Configuração não encontrada!',
164+
notFound: 'Não encontrado!',
165+
diskNotFound: 'Disco não encontrado!',
166+
pathNotFound: 'Caminho não encontrado!',
167+
diskSelected: 'Disco selecionado!',
168+
// files
169+
fileExist: 'Arquivo já existe!',
170+
fileCreated: 'Arquivo criado!',
171+
fileUpdated: 'Arquivo atualizado!',
172+
fileNotFound: 'Arquivo não encontrado!',
173+
// directories
174+
dirExist: 'Pasta já existe!',
175+
dirCreated: 'Pasta criada!',
176+
dirNotFound: 'Pasta não encontrada',
177+
// actions
178+
uploaded: 'Todos os arquivo realizarm o upload!',
179+
notAllUploaded: 'Alguns arquivos não realizaram o upload!',
180+
delNotFound: 'Alguns itens não foram encontrados!',
181+
deleted: 'Deletado!',
182+
renamed: 'Renomeado!',
183+
copied: 'Copiado com sucesso!',
184+
// zip
185+
zipError: 'Erro ao compactar!',
186+
// acl
187+
aclError: 'Acesso negado!',
188+
},
189+
};
190+
191+
export default pt_BR;

src/store/settings/store.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import fa from './../../lang/fa';
1616
import it from './../../lang/it';
1717
import tr from './../../lang/tr';
1818
import fr from './../../lang/fr';
19+
import pt_BR from './../../lang/pt_BR';
1920

2021
export default {
2122
namespaced: true,
@@ -42,7 +43,7 @@ export default {
4243
windowsConfig: null,
4344

4445
// App language
45-
lang: null,
46+
lang: 'pt-BR',
4647

4748
// Translations (/src/lang)
4849
translations: {
@@ -59,6 +60,7 @@ export default {
5960
it: Object.freeze(it),
6061
tr: Object.freeze(tr),
6162
fr: Object.freeze(fr),
63+
'pt-BR': Object.freeze(pt_BR),
6264
},
6365

6466
// show or hide hidden files

0 commit comments

Comments
 (0)