-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sentry): log tracking and prod mode
- Loading branch information
Showing
5 changed files
with
89 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
packages/better-write-languages/src/en-US/plugin/sentry.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export default { | ||
errorWidget: { | ||
title: 'It looks like we’re having issues.', | ||
subtitle: 'Our team has been notified.', | ||
subtitle2: | ||
'If you’d like to help, tell us what happened below. – not visible on small screen resolutions', | ||
labelName: 'Name', | ||
labelEmail: 'Email', | ||
labelComments: 'What happened?', | ||
labelClose: 'Close', | ||
labelSubmit: 'Submit', | ||
errorGeneric: | ||
'An unknown error occurred while submitting your report. Please try again.', | ||
errorFormEntry: | ||
'Some fields were invalid. Please correct the errors and try again.', | ||
successMessage: 'Your feedback has been sent. Thank you!', | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
packages/better-write-languages/src/pt-BR/plugin/sentry.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export default { | ||
errorWidget: { | ||
title: 'Parece que estamos com problemas.', | ||
subtitle: 'Nossa equipe foi avisada.', | ||
subtitle2: 'Se você quiser ajudar, conte-nos o que aconteceu abaixo.', | ||
labelName: 'Nome', | ||
labelEmail: 'Email', | ||
labelComments: 'O que aconteceu?', | ||
labelClose: 'Fechar', | ||
labelSubmit: 'Enviar', | ||
errorGeneric: | ||
'Ocorreu um erro desconhecido ao enviar seu relatório. Por favor, tente novamente.', | ||
errorFormEntry: | ||
'Alguns campos eram inválidos. Corrija os erros e tente novamente.', | ||
successMessage: 'Seu feedback foi enviado. Obrigada!', | ||
}, | ||
} |