Skip to content

Commit d00ef33

Browse files
feat(localizations): add pt-BR locales for statements elements (#6222)
Co-authored-by: Daniel Bonilha <dani.bonilha@gmail.com>
1 parent d34205c commit d00ef33

File tree

2 files changed

+52
-47
lines changed

2 files changed

+52
-47
lines changed

.changeset/lovely-bats-learn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/localizations': minor
3+
---
4+
5+
Add missing Portuguese pt-BR locales for the statements elements

packages/localizations/src/pt-BR.ts

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,20 @@ export const ptBR: LocalizationResource = {
4848
},
4949
},
5050
backButton: 'Voltar',
51-
badge__activePlan: undefined,
52-
badge__canceledEndsAt: undefined,
53-
badge__currentPlan: undefined,
51+
badge__activePlan: 'Ativo',
52+
badge__canceledEndsAt: "Cancelado • Termina {{ date | shortDate('pt-BR') }}",
53+
badge__currentPlan: 'Plano atual',
5454
badge__default: 'Padrão',
55-
badge__endsAt: undefined,
56-
badge__expired: undefined,
55+
badge__endsAt: "Termina {{ date | shortDate('pt-BR') }}",
56+
badge__expired: 'Expirado',
5757
badge__otherImpersonatorDevice: 'Personificar outro dispositivo',
5858
badge__primary: 'Principal',
59-
badge__renewsAt: undefined,
59+
badge__renewsAt: "Renova {{ date | shortDate('pt-BR') }}",
6060
badge__requiresAction: 'Requer ação',
61-
badge__startsAt: undefined,
61+
badge__startsAt: "Inicia {{ date | shortDate('pt-BR') }}",
6262
badge__thisDevice: 'Este dispositivo',
6363
badge__unverified: 'Não verificado',
64-
badge__upcomingPlan: undefined,
64+
badge__upcomingPlan: 'Próximo plano',
6565
badge__userDevice: 'Dispositivo do usuário',
6666
badge__you: 'Você',
6767
commerce: {
@@ -94,13 +94,13 @@ export const ptBR: LocalizationResource = {
9494
title__subscriptionBegins: 'Assinatura começa',
9595
title__totalPaid: 'Total pago',
9696
},
97-
pastDueNotice: undefined,
97+
pastDueNotice: 'Sua assinatura anterior estava em atraso, sem pagamento.',
9898
perMonth: 'por mês',
9999
title: 'Checkout',
100100
title__paymentSuccessful: 'Pagamento realizado com sucesso!',
101101
title__subscriptionSuccessful: 'Sucesso!',
102102
},
103-
credit: undefined,
103+
credit: 'Crédito',
104104
creditRemainder: 'Crédito para o restante da sua assinatura atual.',
105105
defaultFreePlanActive: 'Você está atualmente no plano Gratuito',
106106
free: 'Gratuito',
@@ -139,7 +139,7 @@ export const ptBR: LocalizationResource = {
139139
switchPlan: 'Mudar de plano',
140140
switchToAnnual: 'Mudar para anual',
141141
switchToMonthly: 'Mudar para mensal',
142-
totalDue: undefined,
142+
totalDue: 'Total devido',
143143
totalDueToday: 'Total devido hoje',
144144
viewFeatures: 'Ver recursos',
145145
year: 'Ano',
@@ -247,11 +247,11 @@ export const ptBR: LocalizationResource = {
247247
badge__unverified: 'Não verificado',
248248
billingPage: {
249249
paymentHistorySection: {
250-
empty: undefined,
251-
notFound: undefined,
252-
tableHeader__amount: undefined,
253-
tableHeader__date: undefined,
254-
tableHeader__status: undefined,
250+
empty: 'Nenhum histórico de pagamento',
251+
notFound: 'Pagamento não encontrado',
252+
tableHeader__amount: 'Valor',
253+
tableHeader__date: 'Data',
254+
tableHeader__status: 'Status',
255255
},
256256
paymentSourcesSection: {
257257
actionLabel__default: 'Tornar padrão',
@@ -272,28 +272,28 @@ export const ptBR: LocalizationResource = {
272272
title: 'Métodos de pagamento',
273273
},
274274
start: {
275-
headerTitle__payments: undefined,
275+
headerTitle__payments: 'Pagamentos',
276276
headerTitle__plans: 'Planos',
277277
headerTitle__statements: 'Extratos',
278278
headerTitle__subscriptions: 'Assinaturas',
279279
},
280280
statementsSection: {
281-
empty: undefined,
282-
itemCaption__paidForPlan: undefined,
283-
itemCaption__proratedCredit: undefined,
284-
itemCaption__subscribedAndPaidForPlan: undefined,
285-
notFound: undefined,
286-
tableHeader__amount: undefined,
287-
tableHeader__date: undefined,
288-
title: undefined,
289-
totalPaid: undefined,
281+
empty: 'Nenhum extrato para exibir',
282+
itemCaption__paidForPlan: 'Pago para plano {{plan}} {{period}}',
283+
itemCaption__proratedCredit: 'Crédito proporcional para uso parcial do plano anterior',
284+
itemCaption__subscribedAndPaidForPlan: 'Assinado e pago para plano {{plan}} {{period}}',
285+
notFound: 'Extrato não encontrado',
286+
tableHeader__amount: 'Valor',
287+
tableHeader__date: 'Data',
288+
title: 'Extratos',
289+
totalPaid: 'Total pago',
290290
},
291291
subscriptionsListSection: {
292292
actionLabel__newSubscription: 'Assinar um plano',
293293
actionLabel__switchPlan: 'Mudar de plano',
294-
tableHeader__edit: undefined,
295-
tableHeader__plan: undefined,
296-
tableHeader__startDate: undefined,
294+
tableHeader__edit: 'Editar',
295+
tableHeader__plan: 'Plano',
296+
tableHeader__startDate: 'Data de início',
297297
title: 'Assinatura',
298298
},
299299
subscriptionsSection: {
@@ -905,11 +905,11 @@ export const ptBR: LocalizationResource = {
905905
},
906906
billingPage: {
907907
paymentHistorySection: {
908-
empty: undefined,
909-
notFound: undefined,
910-
tableHeader__amount: undefined,
911-
tableHeader__date: undefined,
912-
tableHeader__status: undefined,
908+
empty: 'Nenhum histórico de pagamento',
909+
notFound: 'Pagamento não encontrado',
910+
tableHeader__amount: 'Valor',
911+
tableHeader__date: 'Data',
912+
tableHeader__status: 'Status',
913913
},
914914
paymentSourcesSection: {
915915
actionLabel__default: 'Tornar padrão',
@@ -930,28 +930,28 @@ export const ptBR: LocalizationResource = {
930930
title: 'Métodos de pagamento',
931931
},
932932
start: {
933-
headerTitle__payments: undefined,
933+
headerTitle__payments: 'Pagamentos',
934934
headerTitle__plans: 'Planos',
935935
headerTitle__statements: 'Extratos',
936936
headerTitle__subscriptions: 'Assinaturas',
937937
},
938938
statementsSection: {
939-
empty: undefined,
940-
itemCaption__paidForPlan: undefined,
941-
itemCaption__proratedCredit: undefined,
942-
itemCaption__subscribedAndPaidForPlan: undefined,
943-
notFound: undefined,
944-
tableHeader__amount: undefined,
945-
tableHeader__date: undefined,
946-
title: undefined,
947-
totalPaid: undefined,
939+
empty: 'Nenhum extrato para exibir',
940+
itemCaption__paidForPlan: 'Pago para plano {{plan}} {{period}}',
941+
itemCaption__proratedCredit: 'Crédito proporcional para uso parcial do plano anterior',
942+
itemCaption__subscribedAndPaidForPlan: 'Assinado e pago para plano {{plan}} {{period}}',
943+
notFound: 'Extrato não encontrado',
944+
tableHeader__amount: 'Valor',
945+
tableHeader__date: 'Data',
946+
title: 'Extratos',
947+
totalPaid: 'Total pago',
948948
},
949949
subscriptionsListSection: {
950950
actionLabel__newSubscription: 'Assinar um plano',
951951
actionLabel__switchPlan: 'Mudar de plano',
952-
tableHeader__edit: undefined,
953-
tableHeader__plan: undefined,
954-
tableHeader__startDate: undefined,
952+
tableHeader__edit: 'Editar',
953+
tableHeader__plan: 'Plano',
954+
tableHeader__startDate: 'Data de início',
955955
title: 'Assinatura',
956956
},
957957
subscriptionsSection: {

0 commit comments

Comments
 (0)