From b11cffb952e5077cc3852f73ad8cd5df410b82f5 Mon Sep 17 00:00:00 2001 From: Luis Ribeiro Date: Tue, 22 Jun 2021 15:20:46 +0100 Subject: [PATCH] Add new locale (pt_PT) --- l10n/index.ts | 3 ++- l10n/pt_PT.ts | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 l10n/pt_PT.ts diff --git a/l10n/index.ts b/l10n/index.ts index 3535e936..ea2295e5 100644 --- a/l10n/index.ts +++ b/l10n/index.ts @@ -1,7 +1,8 @@ import esES from './es_ES'; import frFR from './fr_FR'; import itIT from './it_IT'; +import ptPT from './pt_PT'; import trTR from './tr_TR'; import koKR from './ko_KR'; -export { esES, frFR, itIT, trTR, koKR }; +export { esES, frFR, itIT, ptPT, trTR, koKR }; diff --git a/l10n/pt_PT.ts b/l10n/pt_PT.ts new file mode 100644 index 00000000..1d5a101b --- /dev/null +++ b/l10n/pt_PT.ts @@ -0,0 +1,22 @@ +export default { + search: { + placeholder: 'Pesquisar...', + }, + sort: { + sortAsc: 'Ordenar por ordem crescente', + sortDesc: 'Ordenar por ordem descendente', + }, + pagination: { + previous: 'Anterior', + next: 'Próxima', + navigate: (page, pages) => `Página ${page} de ${pages}`, + page: (page) => `Página ${page}`, + showing: 'A mostrar', + of: 'de', + to: 'até', + results: 'registos', + }, + loading: 'A carregar...', + noRecordsFound: 'Nenhum registro encontrado', + error: 'Ocorreu um erro a obter os dados', +};