diff --git a/resources/lang/en.json b/resources/lang/en.json index b48625c30..2ddf13e15 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -439,6 +439,7 @@ "no_games": "No games played yet." }, "friends": { + "team_info": "Friends are placed on the same team.", "add_friend": "Add Friend", "public_id_placeholder": "Enter their public player ID", "send_request": "Send Request", diff --git a/src/client/components/FriendsList.ts b/src/client/components/FriendsList.ts index 1c5b6a502..5d3836208 100644 --- a/src/client/components/FriendsList.ts +++ b/src/client/components/FriendsList.ts @@ -224,8 +224,21 @@ export class FriendsList extends LitElement { return html`
- ${this.renderAddSection()} ${this.renderRequestsSection()} - ${this.renderFriendsSection()} + ${this.renderTeamInfo()} ${this.renderAddSection()} + ${this.renderRequestsSection()} ${this.renderFriendsSection()} +
+ `; + } + + private renderTeamInfo(): TemplateResult { + return html` +
+ 🛡️ +

+ ${translateText("friends.team_info")} +

`; }