Skip to content

Commit 79c58e3

Browse files
author
StellarEscrow Dev
committed
frontend: add Portuguese (pt) locale and home translation keys
- Add frontend/locales/pt.js with full translations for nav, wallet, trade, errors, common, and a11y keys - Add 'home' namespace to en.js with title, subtitle, viewTrade, createTradeDesc keys to match updated homepage cards
1 parent 58ef724 commit 79c58e3

2 files changed

Lines changed: 80 additions & 0 deletions

File tree

frontend/locales/en.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,13 @@ export default {
6868
notifications: 'Notification center',
6969
notificationPrefs: 'Notification preferences',
7070
},
71+
home: {
72+
title: 'StellarEscrow',
73+
subtitle: 'Secure, decentralized escrow on the Stellar network.',
74+
viewTrade: 'View a Trade',
75+
viewTradeDesc: 'Look up an existing trade by ID and check its status.',
76+
createTradeDesc: 'Start a new escrow trade as buyer or seller.',
77+
comingSoon: 'Coming Soon',
78+
comingSoonDesc: 'More features on the way.',
79+
},
7180
};

frontend/locales/pt.js

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
export default {
2+
nav: {
3+
dashboard: 'Painel',
4+
tradeDashboard: 'Minhas Negociações',
5+
events: 'Ver Eventos',
6+
search: 'Pesquisar',
7+
disputes: 'Disputas',
8+
arbitrator: 'Árbitro',
9+
help: 'Central de Ajuda',
10+
apiDocs: 'Documentação da API',
11+
},
12+
wallet: {
13+
connect: 'Conectar Carteira',
14+
disconnect: 'Desconectar',
15+
connected: 'Conectado',
16+
selectWallet: 'Selecionar Carteira',
17+
},
18+
trade: {
19+
create: 'Criar Negociação',
20+
fund: 'Financiar Negociação',
21+
complete: 'Concluir Negociação',
22+
cancel: 'Cancelar Negociação',
23+
confirm: 'Confirmar Recebimento',
24+
dispute: 'Abrir Disputa',
25+
resolve: 'Resolver Disputa',
26+
status: {
27+
created: 'Criada',
28+
funded: 'Financiada',
29+
completed: 'Concluída',
30+
disputed: 'Em Disputa',
31+
cancelled: 'Cancelada',
32+
},
33+
fields: {
34+
seller: 'Vendedor',
35+
buyer: 'Comprador',
36+
amount: 'Valor',
37+
arbitrator: 'Árbitro',
38+
tradeId: 'ID da Negociação',
39+
},
40+
},
41+
errors: {
42+
alreadyInitialized: 'Contrato já inicializado',
43+
notInitialized: 'Contrato não inicializado',
44+
invalidAmount: 'O valor deve ser maior que 0',
45+
invalidFee: 'A taxa deve estar entre 0–10000 bps',
46+
arbitratorNotRegistered: 'Árbitro não está na lista aprovada',
47+
tradeNotFound: 'ID de negociação não existe',
48+
invalidStatus: 'Operação não permitida no estado atual',
49+
overflow: 'Estouro aritmético detectado',
50+
noFees: 'Nenhuma taxa acumulada disponível',
51+
unauthorized: 'Chamador não autorizado para esta operação',
52+
},
53+
common: {
54+
loading: 'Carregando…',
55+
noResults: 'Nenhum resultado encontrado',
56+
search: 'Pesquisar',
57+
filter: 'Filtrar',
58+
reset: 'Redefinir',
59+
save: 'Salvar',
60+
cancel: 'Cancelar',
61+
confirm: 'Confirmar',
62+
close: 'Fechar',
63+
language: 'Idioma',
64+
},
65+
a11y: {
66+
skipToMain: 'Pular para o conteúdo principal',
67+
highContrast: 'Alternar modo de alto contraste',
68+
notifications: 'Central de notificações',
69+
notificationPrefs: 'Preferências de notificações',
70+
},
71+
};

0 commit comments

Comments
 (0)