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}}",
"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": "Add",
"friend_code": "Friend code",
"see_profile": "See profile",
"sending": "Sending",
"send": "Add friend",
"friend_request_sent": "Friend request sent",
"friends": "Friends"
}

View file

@ -246,6 +246,8 @@
"friend_code": "Código de amigo",
"see_profile": "Ver perfil",
"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 (
<Modal visible={visible} title={t("add_friends")} onClose={resetAndClose}>
<Modal visible={visible} title={t("friends")} onClose={resetAndClose}>
<div
style={{
display: "flex",
@ -107,7 +107,7 @@ export const UserFriendRequestModal = ({
type="button"
onClick={handleClickAddFriend}
>
{isAddingFriend ? t("sending") : t("send")}
{isAddingFriend ? t("sending") : t("add")}
</Button>
<Button
onClick={handleClickSeeProfile}

View file

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