feat: better friend code validation on add friend modal

This commit is contained in:
Zamitto
2025-06-03 07:12:53 -03:00
parent 7202f740d3
commit e9032ae6e4
5 changed files with 16 additions and 5 deletions

View File

@@ -515,7 +515,8 @@
"earned_points": "Earned points",
"show_achievements_on_profile": "Show your achievements on your profile",
"show_points_on_profile": "Show your earned points on your profile",
"error_adding_friend": "Could not send friend request. Please check friend code"
"error_adding_friend": "Could not send friend request. Please check friend code",
"friend_code_length_error": "Friend code must have 8 characters"
},
"achievement": {
"achievement_unlocked": "Achievement unlocked",

View File

@@ -508,7 +508,8 @@
"earned_points": "Pontos ganhos",
"show_achievements_on_profile": "Exiba suas conquistas no perfil",
"show_points_on_profile": "Exiba seus pontos ganhos no perfil",
"error_adding_friend": "Não foi possível enviar o pedido de amizade. Verifique o código de amizade inserido"
"error_adding_friend": "Não foi possível enviar o pedido de amizade. Verifique o código de amizade inserido",
"friend_code_length_error": "Código de amigo deve ter 8 caracteres"
},
"achievement": {
"achievement_unlocked": "Conquista desbloqueada",