Add i18n to invalid invite screen.

This commit is contained in:
Paul 2021-09-03 11:16:37 +01:00
parent 57ecf4638e
commit 60cbc7c9da
2 changed files with 5 additions and 5 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit 3ff3cb0b3c0aa0060e3dd8e5efaca71fd828e530 Subproject commit cab80e5c4840c91f53fbc43f97a98923ec3abc51

View file

@ -62,10 +62,11 @@ export default function Invite() {
height: "100%", height: "100%",
}}> }}>
<div className={styles.details}> <div className={styles.details}>
<h1>Invalid invite!</h1> <h1>
<Text id="app.special.invite.invalid" />
</h1>
<h2> <h2>
The invite may not exist or you don't have <Text id="app.special.invite.invalid_desc" />
permission to join.
</h2> </h2>
<div style="cursor: pointer;"> <div style="cursor: pointer;">
<Button contrast> <Button contrast>
@ -85,7 +86,6 @@ export default function Invite() {
); );
} }
// ! FIXME: add i18n translations
return ( return (
<div <div
className={styles.invite} className={styles.invite}