Skip to content

Commit

Permalink
Merge pull request #901 from kamieniarz/patch-5
Browse files Browse the repository at this point in the history
Make translation easier for blocked page
  • Loading branch information
TurtIeSocks authored Dec 29, 2023
2 parents 4b5e818 + 4253f3e commit b147e73
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions packages/locales/lib/human/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -679,5 +679,6 @@
"profiling": "Profiling",
"showcase_block": "Blocked due to a showcase",
"signed_in_as": "Signed In As",
"missing_map_perm": "You do not have permission to view the map."
}
"missing_map_perm": "You do not have permission to view the map.",
"access_denied": "Access Denied"
}
5 changes: 3 additions & 2 deletions packages/locales/lib/human/pl.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"signed_in_as": "Zalogowano jako",
"missing_map_perm": "Nie masz uprawnień by wyświetlić mapę."
}
"missing_map_perm": "Nie masz uprawnień by wyświetlić mapę.",
"access_denied": "Brak dostępu"
}
2 changes: 1 addition & 1 deletion src/components/layout/auth/Blocked.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function Blocked() {
)}
<CardContent sx={{ mx: 2 }}>
<Typography variant="h3" align="center" pb={2}>
{t('access')} {t('denied')}!
{t('access_denied')}!
</Typography>
{blockedGuilds ? (
<>
Expand Down

0 comments on commit b147e73

Please sign in to comment.