feat: update i18n and texts

This commit is contained in:
Zamitto 2024-07-16 12:56:59 -03:00
parent 5aec973882
commit c6e99f8599
4 changed files with 7 additions and 5 deletions

View file

@ -243,10 +243,10 @@
"playing_for": "Playing for {{amount}}", "playing_for": "Playing for {{amount}}",
"sign_out_modal_text": "Your library is linked with your current account. When signing out, your library will not be visible anymore, and any progress will not be saved. Continue with sign out?", "sign_out_modal_text": "Your library is linked with your current account. When signing out, your library will not be visible anymore, and any progress will not be saved. Continue with sign out?",
"add_friends": "Add Friends", "add_friends": "Add Friends",
"add": "Add",
"friend_code": "Friend code", "friend_code": "Friend code",
"see_profile": "See profile", "see_profile": "See profile",
"sending": "Sending", "sending": "Sending",
"send": "Add friend",
"friend_request_sent": "Friend request sent", "friend_request_sent": "Friend request sent",
"friends": "Friends" "friends": "Friends"
} }

View file

@ -246,6 +246,8 @@
"friend_code": "Código de amigo", "friend_code": "Código de amigo",
"see_profile": "Ver perfil", "see_profile": "Ver perfil",
"friend_request_sent": "Pedido de amizade enviado", "friend_request_sent": "Pedido de amizade enviado",
"friends": "Amigos" "friends": "Amigos",
"add": "Adicionar",
"sending": "Enviando"
} }
} }

View file

@ -75,7 +75,7 @@ export const UserFriendRequestModal = ({
}; };
return ( return (
<Modal visible={visible} title={t("add_friends")} onClose={resetAndClose}> <Modal visible={visible} title={t("friends")} onClose={resetAndClose}>
<div <div
style={{ style={{
display: "flex", display: "flex",
@ -107,7 +107,7 @@ export const UserFriendRequestModal = ({
type="button" type="button"
onClick={handleClickAddFriend} onClick={handleClickAddFriend}
> >
{isAddingFriend ? t("sending") : t("send")} {isAddingFriend ? t("sending") : t("add")}
</Button> </Button>
<Button <Button
onClick={handleClickSeeProfile} onClick={handleClickSeeProfile}

View file

@ -390,7 +390,7 @@ export function UserContent({
theme="outline" theme="outline"
onClick={() => setShowFriendRequestModal(true)} onClick={() => setShowFriendRequestModal(true)}
> >
<PlusIcon /> Add friend <PlusIcon /> {t("add")}
</Button> </Button>
</div> </div>
</div> </div>