Skip to content

Commit

Permalink
Atualização na tradução
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Dec 15, 2024
1 parent 58e9a86 commit 039ad2f
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/LanguageSelector/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const LanguageSelector = () => {
aria-haspopup="true"
>
<Flag
code={languages.find((lang) => lang.code === currentLanguage)?.flag || "PT"}
code={languages.find((lang) => lang.code === currentLanguage)?.flag || "BR"}
style={{ width: 24, height: 24, borderRadius: "50%" }}
/>
</IconButton>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/translate/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ i18n
.use(initReactI18next)
.init({
debug: false,
fallbackLng: "en",
fallbackLng: "pt",
defaultNS: "translations",
ns: ["translations"],
resources: messages,
Expand Down
16 changes: 16 additions & 0 deletions frontend/src/translate/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,22 @@ const messages = {
close: "Close",
title: "Message Edit History"
},
messagesList: {
header: {
assignedTo: "Assignee:",
buttons: {
return: "Return",
resolve: "Solve",
reopen: "Reopen",
accept: "Accept",
},
},
},
messagesInput: {
placeholderOpen: "Enter a message",
placeholderClosed: "Reopen or accept this ticket to send a message.",
signMessage: "Subscribe",
},
messageVariablesPicker: {
label: "Available Variables",
vars: {
Expand Down
16 changes: 16 additions & 0 deletions frontend/src/translate/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,22 @@ const messages = {
close: "Cerrar",
title: "Historial de edición del mensaje"
},
messagesList: {
header: {
assignedTo: "Asignado:",
buttons: {
return: "Volver",
resolve: "Resolver",
reopen: "Reabrir",
accept: "Aceptar",
},
},
},
messagesInput: {
placeholderOpen: "Ingrese un mensaje",
placeholderClosed: "Reabrir o aceptar este ticket para enviar un mensaje.",
signMessage: "Suscribirse",
},
messageVariablesPicker: {
label: "Variables disponibles",
vars: {
Expand Down
16 changes: 16 additions & 0 deletions frontend/src/translate/languages/pt.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,22 @@ const messages = {
close: "Fechar",
title: "Histórico de edição da mensagem"
},
messagesList: {
header: {
assignedTo: "Responsável:",
buttons: {
return: "Retornar",
resolve: "Resolver",
reopen: "Reabrir",
accept: "Aceitar",
},
},
},
messagesInput: {
placeholderOpen: "Digite uma mensagem",
placeholderClosed: "Reabra ou aceite esse ticket para enviar uma mensagem.",
signMessage: "Assinar",
},
messageVariablesPicker: {
label: "Variavéis disponíveis",
vars: {
Expand Down

0 comments on commit 039ad2f

Please sign in to comment.