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