Skip to content

Commit

Permalink
fix: add missing UserSwitch and password translations for auth (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh authored Jan 10, 2023
1 parent 6cca254 commit 848559d
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 10 deletions.
2 changes: 2 additions & 0 deletions src/constants/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ export const AUTH = {
SIGN_UP_HEADER: 'SIGN_UP_HEADER',
EMAIL_FIELD_TEXT: 'EMAIL_FIELD_TEXT',
PASSWORD_FIELD_LABEL: 'PASSWORD_FIELD_LABEL',
SWITCH_ACCOUNT_TEXT: 'SWITCH_ACCOUNT_TEXT',
NOT_SIGNED_IN_TOOLTIP: 'NOT_SIGNED_IN_TOOLTIP',
};
5 changes: 4 additions & 1 deletion src/langs/de/auth.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"EMAIL_SIGN_IN_METHOD": "E-Mail-Anmeldung",
"PASSWORD_SIGN_IN_METHOD": "Passwort-Anmeldung",
"NAME_FIELD_LABEL": "Name",
"PASSWORD_FIELD_LABEL": "Passwort",
"SIGN_UP_BUTTON": "Anmelden",
"SIGN_UP_HEADER": "Anmelden",
"EMAIL_FIELD_TEXT": "Email"
"EMAIL_FIELD_TEXT": "Email",
"SWITCH_ACCOUNT_TEXT": "Auf ein anderes Konto wechseln",
"NOT_SIGNED_IN_TOOLTIP": "Sie sind nicht eingeloggt."
}
8 changes: 4 additions & 4 deletions src/langs/de/categories.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"DISCIPLINE": "Disziplin",
"EDUCATION_LEVEL": "Bildungsniveau",
"LANGUAGE": "Sprache"
}
"DISCIPLINE": "Disziplin",
"EDUCATION_LEVEL": "Bildungsniveau",
"LANGUAGE": "Sprache"
}
2 changes: 1 addition & 1 deletion src/langs/de/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"CLOSE_BUTTON": "Schliessen",
"AVATAR_DEFAULT_ALT": "Benutzerbild",
"MEMBER_DEFAULT_NAME": "Unbekannt"
}
}
5 changes: 4 additions & 1 deletion src/langs/en/auth.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"EMAIL_SIGN_IN_METHOD": "Email Sign In",
"PASSWORD_SIGN_IN_METHOD": "Password Sign In",
"NAME_FIELD_LABEL": "Name",
"PASSWORD_FIELD_LABEL": "Password",
"SIGN_UP_BUTTON": "Sign Up",
"SIGN_UP_HEADER": "Sign Up",
"EMAIL_FIELD_TEXT": "Email"
"EMAIL_FIELD_TEXT": "Email",
"SWITCH_ACCOUNT_TEXT": "Switch to another account",
"NOT_SIGNED_IN_TOOLTIP": "You are not signed in."
}
2 changes: 1 addition & 1 deletion src/langs/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"CLOSE_BUTTON": "Close",
"AVATAR_DEFAULT_ALT": "avatar",
"MEMBER_DEFAULT_NAME": "Unknown"
}
}
5 changes: 4 additions & 1 deletion src/langs/fr/auth.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"EMAIL_SIGN_IN_METHOD": "Connexion avec email",
"PASSWORD_SIGN_IN_METHOD": "Connexion avec mot de passe",
"NAME_FIELD_LABEL": "Nom",
"PASSWORD_FIELD_LABEL": "Mot de passe",
"SIGN_UP_BUTTON": "S'enregistrer",
"SIGN_UP_HEADER": "S'enregistrer",
"EMAIL_FIELD_TEXT": "Email"
"EMAIL_FIELD_TEXT": "Email",
"SWITCH_ACCOUNT_TEXT": "Utiliser un autre compte",
"NOT_SIGNED_IN_TOOLTIP": "Vous n'êtes pas connecté."
}
2 changes: 1 addition & 1 deletion src/langs/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"CLOSE_BUTTON": "Fermer",
"AVATAR_DEFAULT_ALT": "avatar",
"MEMBER_DEFAULT_NAME": "Inconnu"
}
}

0 comments on commit 848559d

Please sign in to comment.