feat: i18n

This commit is contained in:
Zamitto 2024-10-22 18:41:42 -03:00
parent f02959f134
commit b54cfbadc5
3 changed files with 5 additions and 3 deletions

View File

@ -352,7 +352,8 @@
"profile_reported": "Profile reported",
"your_friend_code": "Your friend code:",
"upload_banner": "Upload banner",
"uploading_banner": "Uploading banner…"
"uploading_banner": "Uploading banner…",
"background_image_updated": "Background image updated"
},
"achievement": {
"achievement_unlocked": "Achievement unlocked",

View File

@ -350,7 +350,8 @@
"profile_reported": "Perfil reportado",
"your_friend_code": "Seu código de amigo:",
"upload_banner": "Carregar banner",
"uploading_banner": "Carregando banner…"
"uploading_banner": "Carregando banner…",
"background_image_updated": "Imagem de fundo salva"
},
"achievement": {
"achievement_unlocked": "Conquista desbloqueada",

View File

@ -39,7 +39,7 @@ export function UploadBackgroundImageButton() {
await patchUser({ backgroundImageUrl: path });
showSuccessToast("Background image updated");
showSuccessToast(t("background_image_updated"));
await fetchUserDetails();
}
} finally {