Skip to content

Commit

Permalink
fix: change again to tryAgain
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Sep 25, 2024
1 parent 15c6756 commit 9a3d399
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"error": "Oops! Something went wrong",
"errorDescription": "Don't worry, our best hackers are on it!",
"goToHomepage": "Return to homepage",
"again": "Try again"
"tryAgain": "Try again"
},
"layout": {
"hackerspaceHome": "Hackerspace homepage",
Expand Down
2 changes: 1 addition & 1 deletion messages/no.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"error": "Oops! Noe gikk galt",
"errorDescription": "Ikke bekymre deg, våre beste hackere jobber med saken!",
"goToHomepage": "Gå tilbake til hjemmesiden",
"again": "Prøv igjen"
"tryAgain": "Prøv igjen"
},
"layout": {
"hackerspaceHome": "Hackerspace hjemmeside",
Expand Down
2 changes: 1 addition & 1 deletion src/app/[locale]/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function ErrorPage({
)}
<div className='flex w-full xs:w-auto xs:flex-row flex-col xs:space-x-4 space-y-4 xs:space-y-0'>
<Button onClick={reset} variant='outline' className='w-full xs:w-auto'>
{t('again')}
{t('tryAgain')}
</Button>
<Button asChild className='w-full xs:w-auto'>
<Link href='/'>{t('goToHomepage')}</Link>
Expand Down

0 comments on commit 9a3d399

Please sign in to comment.