chore: i18n for friend code

This commit is contained in:
Zamitto 2024-09-22 16:30:47 -03:00
parent 81e74f068f
commit 5e55c05bd7
4 changed files with 7 additions and 4 deletions

View File

@ -311,6 +311,7 @@
"report_reason_violence": "Violence",
"report_reason_spam": "Spam",
"report_reason_other": "Other",
"profile_reported": "Profile reported"
"profile_reported": "Profile reported",
"your_friend_code": "Your friend code:"
}
}

View File

@ -315,6 +315,7 @@
"report_reason_violence": "Violência",
"report_reason_spam": "Spam",
"report_reason_other": "Outro",
"profile_reported": "Perfil reportado"
"profile_reported": "Perfil reportado",
"your_friend_code": "Seu código de amigo:"
}
}

View File

@ -275,6 +275,7 @@
"no_pending_invites": "Não tens convites de amizade pendentes",
"no_blocked_users": "Não tens nenhum utilizador bloqueado",
"friend_code_copied": "Código de amigo copiado",
"image_process_failure": "Falha ao processar a imagem"
"image_process_failure": "Falha ao processar a imagem",
"your_friend_code": "Seu código de amigo:"
}
}

View File

@ -81,7 +81,7 @@ export const UserFriendModal = ({
alignItems: "center",
}}
>
<p>Seu código de amigo: </p>
<p>{t("your_friend_code")}</p>
<button
className={styles.friendCodeButton}
onClick={copyToClipboard}