-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/small-fixes
- Loading branch information
Showing
12 changed files
with
109 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,5 @@ module.exports = { | |
], | ||
parserOptions: { | ||
ecmaVersion: 'latest' | ||
} | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"login": { | ||
"SudoSOS Login": "SudoSOS Login", | ||
"Login via GEWIS": "Login via GEWIS", | ||
"Login": "Login", | ||
"Username": "Username", | ||
"Enter username": "Enter username", | ||
"Password": "Password", | ||
"Enter password": "Enter password", | ||
"Password reset": "Reset password (External accounts only)", | ||
"Back to login": "Go back to login", | ||
"Email": "Email", | ||
"Enter email": "Enter email", | ||
"Reset": "Reset password", | ||
"Email sent": "If there exists an account on this email address, an email has been sent to {email} with instructions on how to reset your password.", | ||
"Set new password": "Set new password", | ||
"New password": "New password", | ||
"Confirm password": "Confirm new password", | ||
"Enter password again": "Enter password again", | ||
"Reset the password for": "Reset the password for {email}", | ||
"Passwords not equal": "Passwords are not equal", | ||
"Password not strong": "Password needs to be longer than 8 characters and needs a lower- and uppercase letter, number and a special character" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import English from '@/locales/en.json'; | ||
import Dutch from '@/locales/nl.json'; | ||
|
||
const languages = { | ||
en: English, | ||
nl: Dutch, | ||
}; | ||
|
||
export default languages; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"login": { | ||
"SudoSOS Login": "SudoSOS Login", | ||
"Login via GEWIS": "Login via GEWIS", | ||
"Login": "Login", | ||
"Username": "Username", | ||
"Enter username": "Enter username", | ||
"Password": "Password", | ||
"Enter password": "Enter password", | ||
"Password reset": "Reset password (External accounts only)", | ||
"Back to login": "Go back to login", | ||
"Email": "Email", | ||
"Enter email": "Enter email", | ||
"Reset": "Reset password", | ||
"Email sent": "If there exists an account on this email address, an email has been sent to {email} with instructions on how to reset your password.", | ||
"Set new password": "Set new password", | ||
"New password": "New password", | ||
"Confirm password": "Confirm new password", | ||
"Enter password again": "Enter password again", | ||
"Reset the password for": "Reset the password for {email}", | ||
"Passwords not equal": "Passwords are not equal", | ||
"Password not strong": "Password needs to be longer than 8 characters and needs a lower- and uppercase letter, number and a special character" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export function formatDateTime(date: Date): string { | ||
|
||
const daysOfWeek: Array<string> = [ | ||
"Sunday", | ||
"Monday", | ||
"Tuesday", | ||
"Wednesday", | ||
"Thursday", | ||
"Friday", | ||
"Saturday" | ||
] | ||
|
||
const day = date.getDate().toString(); | ||
const monthIndex = date.getMonth().toString(); | ||
const year = date.getFullYear().toString(); | ||
const dayOfWeek = daysOfWeek[date.getDay()]; | ||
return `${day}-${monthIndex}-${year} (${dayOfWeek})`; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters