split some strings into common file; use lang file to setup page

This commit is contained in:
Harvey Tindall
2021-01-25 21:26:54 +00:00
parent 687edf2b0b
commit bf1e6230dc
15 changed files with 458 additions and 138 deletions
-4
View File
@@ -19,12 +19,8 @@
"create": "Erstellen",
"apply": "Anwenden",
"delete": "Löschen",
"submit": "Absenden",
"name": "Name",
"date": "Datum",
"username": "Benutzername",
"password": "Passwort",
"emailAddress": "E-Mail-Adresse",
"lastActiveTime": "Zuletzt aktiv",
"from": "Von",
"user": "Benutzer",
-4
View File
@@ -19,12 +19,8 @@
"create": "Create",
"apply": "Apply",
"delete": "Delete",
"submit": "Submit",
"name": "Name",
"date": "Date",
"username": "Username",
"password": "Password",
"emailAddress": "Email Address",
"lastActiveTime": "Last Active",
"from": "From",
"user": "User",
-4
View File
@@ -20,12 +20,8 @@
"create": "Créer",
"apply": "Appliquer",
"delete": "Effacer",
"submit": "Soumettre",
"name": "Nom",
"date": "Date",
"username": "Nom d'utilisateur",
"password": "Mot de passe",
"emailAddress": "Addresse Email",
"lastActiveTime": "Dernière activité",
"from": "De",
"user": "Utilisateur",
-4
View File
@@ -19,12 +19,8 @@
"create": "Aanmaken",
"apply": "Toepassen",
"delete": "Verwijderen",
"submit": "Verstuur",
"name": "Naam",
"date": "Datum",
"username": "Gebruikersnaam",
"password": "Wachtwoord",
"emailAddress": "E-mailadres",
"lastActiveTime": "Laatst actief",
"from": "Van",
"user": "Gebruiker",
+11
View File
@@ -0,0 +1,11 @@
{
"meta": {
"name": "Deutsch (DE)"
},
"strings": {
"username": "Benutzername",
"password": "Passwort",
"emailAddress": "E-Mail-Adresse",
"submit": "Absenden"
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"meta": {
"name": "English (US)"
},
"strings": {
"username": "Username",
"password": "Password",
"emailAddress": "Email Address",
"submit": "Submit"
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"meta": {
"name": "Francais (FR)",
"author": "https://github.com/Killianbe"
},
"strings": {
"username": "Nom d'utilisateur",
"password": "Mot de passe",
"emailAddress": "Addresse Email",
"submit": "Soumettre"
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"meta": {
"name": "Nederlands (NL)"
},
"strings": {
"username": "Gebruikersnaam",
"password": "Wachtwoord",
"emailAddress": "E-mailadres",
"submit": "Verstuur"
}
}
+101
View File
@@ -0,0 +1,101 @@
{
"meta": {
"name": "English (US)"
},
"strings": {
"pageTitle": "Setup - jfa-go",
"next": "Next",
"back": "Back",
"optional": "Optional",
"serverType": "Server Type",
"disabled": "Disabled",
"enabled": "Enabled",
"port": "Port",
"message": "Message",
"serverAddress": "Server Address",
"emailSubject": "Email Subject",
"URL": "URL"
},
"startPage": {
"welcome": "Welcome!",
"pressStart": "You'll need to do a few things to set up jfa-go. Press start to get continue.",
"httpsNotice": "Make sure you're accessing this page via HTTPS or on a private network.",
"start": "Start"
},
"endPage": {
"finished": "Finished!",
"restartMessage": "There are more settings you can configure on the admin page. Click below to restart, then refresh the page."
},
"language": {
"title": "Language",
"description": "Community translations are available for most parts of jfa-go. You can choose the default languages below, but users can still change it if they wish. If you want to help translate, sign up to {n} to start contributing!",
"defaultAdminLang": "Default admin language",
"defaultFormLang": "Default account creation language",
"defaultEmailLang": "Default email language"
},
"login": {
"title": "Login",
"description": "To access the admin page, you need to login with a method below:",
"authorizeWithJellyfin": "Authorize with Jellyfin/Emby: Login details are shared with Jellyfin, which allows for multiple users.",
"authorizeManual": "Username and Password: Manually set the username and password.",
"adminOnly": "Admin users only (recommended)",
"emailNotice": "Your email address can be used to receive notifications."
},
"jellyfinEmby": {
"title": "Jellyfin/Emby",
"description": "An admin account is needed because the API does not allow user creation using an API key. You should create a separate account and check 'Allow this user to manage the server'. You can disable everything else. Once done, enter the login details here.",
"embyNotice": "Emby support is limited and does not support password resets.",
"internal": "Internal",
"external": "External",
"addressExternalNotice": "Leave blank to use the same address.",
"testConnection": "Test Connection"
},
"email": {
"title": "Email",
"description": "jfa-go can send password reset PINs and various notifications through email. You can connect to an SMTP server, or use the {n} API.",
"fromAddress": "From Address",
"senderName": "Sender Name",
"dateFormat": "Date Format",
"dateFormatNotice": "Date follows the strftime format. For more info, visit {n}.",
"time24h": "24h Time",
"time12h": "12h Time",
"encryption": "Encryption",
"mailgunApiURL": "API URL",
"mailgunApiKey": "API Key"
},
"notifications": {
"title": "Notifications",
"description": "If enabled, you can choose (per invite) to receive an email when an invite expires, or a user is created. If you didn't choose the Jellyfin login method, make sure you provided your email address."
},
"passwordResets": {
"title": "Password Resets",
"description": "When a user tries to reset their password, Jellyfin creates a file named 'passwordreset-*.json' which contains a PIN. jfa-go reads the file and sends the PIN to the user.",
"pathToJellyfin": "Path to Jellyfin configuration directory",
"pathToJellyfinNotice": "If you don't know where this is, try resetting your password in Jellyfin. A popup with '<path to jellyfin>/passwordreset-*.json' will appear."
},
"inviteEmails": {
"title": "Invite Emails",
"description": "If enabled, you can send invites directly to a user's email address. Because you might be using a reverse proxy, you need to provide the URL invites are accessed from. Write your URL Base, and append '/invite'."
},
"passwordValidation": {
"title": "Password Validation",
"description": "If enabled, a set of password requirements will show on the account creation page, such as minimum length, uppercase/lowercase characters, etc.",
"length": "Length",
"uppercase": "Uppercase characters",
"lowercase": "Lowercase characters",
"numbers": "Numbers",
"special": "Special characters (%, *, etc.)"
},
"helpMessages": {
"title": "Help Messages",
"description": "These messages will display in the account creation page and in some emails.",
"contactMessage": "Contact Message",
"contactMessageNotice": "Displays at the bottom of all pages except admin.",
"helpMessage": "Help Message",
"helpMessageNotice": "Displays on the account creation page.",
"successMessage": "Success Message",
"successMessageNotice": "Displays when a user creates their account.",
"emailMessage": "Email Message",
"emailMessageNotice": "Displays at the bottom of emails."
}
}