Skip to content

Commit

Permalink
Merge pull request #996 from basedosdados/feat/i18n_adjustments
Browse files Browse the repository at this point in the history
fix locale lists, change support redirect
  • Loading branch information
rdahis authored Oct 29, 2024
2 parents 67b7887 + fbb05e1 commit 6076bb6
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
3 changes: 2 additions & 1 deletion next/pages/transparency.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export async function getStaticProps({ locale }) {
export default function Transparency({ pages }) {
const { t } = useTranslation('transparency');
const { locale } = useRouter();
const router = useRouter();
const [isMobileMod, setIsMobileMod] = useState(false)
const isMobile = useCheckMobile();

Expand Down Expand Up @@ -405,7 +406,7 @@ export default function Transparency({ pages }) {
width="fit-content"
height="40px"
fontSize="15px"
onClick={() => window.open("https://apoia.se/basedosdados", "_blank")}
onClick={() => router.push("/#support")}
>
{t('supportButton')}
</RoundedButton>
Expand Down
8 changes: 7 additions & 1 deletion next/public/locales/en/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,13 @@
"enterEmail": "Enter your email",
"sendEmail": "Send email",
"exportAccountData": "Export account data",
"dataStorageInfo": "Learn how your data is stored in our Terms of Use and Privacy Policies. To export your account data, contact us.",
"dataStorageInfo": [
"Learn how your data is stored in our ",
"Terms of Use",
" and ",
"Privacy Policy",
". To export your account data, contact us."
],
"exportDataInstructions": "To export your data, contact us:",
"deleteMyAccount": "Delete my account",
"accountAccessWarning": "By deleting your account, you will lose access to all your data and information.",
Expand Down
8 changes: 7 additions & 1 deletion next/public/locales/es/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,13 @@
"enterEmail": "Ingrese su correo electrónico",
"sendEmail": "Enviar correo electrónico",
"exportAccountData": "Exportar datos de la cuenta",
"dataStorageInfo": "Conozca cómo se almacenan sus datos en nuestros Términos de Uso y Políticas de Privacidad. Para exportar los datos de su cuenta, contáctenos.",
"dataStorageInfo": [
"Conozca cómo se almacenan sus datos en nuestros ",
"Términos de Uso",
" y ",
"Política de Privacidad",
". Para exportar los datos de su cuenta, contáctenos."
],
"exportDataInstructions": "Para exportar sus datos, contáctenos:",
"deleteMyAccount": "Eliminar mi cuenta",
"accountAccessWarning": "Al eliminar su cuenta, perderá acceso a todos sus datos e información.",
Expand Down
8 changes: 7 additions & 1 deletion next/public/locales/pt/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,13 @@
"enterEmail": "Digite seu e-mail",
"sendEmail": "Enviar e-mail",
"exportAccountData": "Exportar dados da conta",
"dataStorageInfo": ["Saiba como seus dados são armazenados em nossos ", "Termos de Uso", " e ", "Políticas de Privacidade", ". Para exportar os dados da sua conta, entre em contato conosco."],
"dataStorageInfo": [
"Saiba como seus dados são armazenados em nossos ",
"Termos de Uso",
" e ",
"Políticas de Privacidade",
". Para exportar os dados da sua conta, entre em contato conosco."
],
"deleteMyAccount": "Excluir minha conta",
"accountAccessWarning": "Após a exclusão, não será possível recuperar o acesso à sua conta.",
"deleteAccountSuccessTitle": "Sua conta foi deletada",
Expand Down

0 comments on commit 6076bb6

Please sign in to comment.