Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing/fixing language strings #254

Merged
merged 9 commits into from
Jun 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion languages/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ PLUGIN_LOGIN:
BTN_LOGOUT: "Abmelden"
BTN_FORGOT: "Vergessen"
BTN_REGISTER: "Registrieren"
BTN_RESET: "Passwort zurücksetzen"
BTN_RESET_PASSWORD: "Passwort zurücksetzen"
BTN_RESET: "Reset"
BTN_SEND_INSTRUCTIONS: "Send Reset Instructions"
BTN_SUBMIT: "Submit"
# as in "save profile"
BTN_SUBMIT_PROFILE: "Submit"
BTN_SEND_INSTRUCTIONS: "Sende Anweisungen zum Zurücksetzen"
RESET_LINK_EXPIRED: "Der Link zum Zurücksetzen ist abgelaufen. Bitte erneut versuchen."
RESET_PASSWORD_RESET: "Das Passwort wurde zurückgesetzt"
Expand Down Expand Up @@ -126,3 +131,10 @@ PLUGIN_LOGIN:
2FA_SECRET_HELP: "Scannen Sie diesen QR-Code in Ihre [Authenticator App](https://learn.getgrav.org/admin-panel/2fa#apps). Es ist sinnvoll, das Secret an einem sicheren Ort zu sichern, falls Sie Ihre App neu installieren müssen. In der [Grav Doku](https://learn.getgrav.org/admin-panel/2fa) finden Sie weitere Informationen."
2FA_REGENERATE: "Neu generieren"
BTN_CANCEL: "Abbrechen"
PROFILE_UPDATED: "Your profile has been updated"
ENTER_EMAIL: "Enter your email"
ENTER_NEW_PASSWORD: "Enter new password"
ENTER_PASSWORD: "Enter a password"
ENTER_PASSWORD_AGAIN: "Enter the password again"
REGISTRATION_THANK_YOU: "Thank you for registering."
USER_ACCOUNT_DISABLED: "Your user account is disabled or it has not yet been activated."
13 changes: 11 additions & 2 deletions languages/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ PLUGIN_LOGIN:
BTN_LOGOUT: "Logout"
BTN_FORGOT: "Forgot"
BTN_REGISTER: "Register"
BTN_RESET: "Reset Password"
BTN_SUBMIT_PROFILE: "Submit"
BTN_RESET: "Reset"
BTN_RESET_PASSWORD: "Reset Password"
BTN_SEND_INSTRUCTIONS: "Send Reset Instructions"
BTN_SUBMIT: "Submit"
RESET_LINK_EXPIRED: "Reset link has expired, please try again"
RESET_PASSWORD_RESET: "Password has been reset"
RESET_INVALID_LINK: "Invalid reset link used, please try again"
Expand Down Expand Up @@ -140,6 +143,12 @@ PLUGIN_LOGIN:
MANUALLY_ENABLE_HELP: "When using 'activation email' and 'notification email', you can ensure the user can self activate, but requires manually enabling the user to login"
IPV6_SUBNET_SIZE: "IPv6 Subnet Size"
IPV6_SUBNET_SIZE_HELP: "The number of IPv6 addresses typically assigned to a machine"
PROFILE_UPDATED: "Your profile has been updated"
ENTER_EMAIL: "Enter your email"
ENTER_NEW_PASSWORD: "Enter new password"
ENTER_PASSWORD: "Enter a password"
ENTER_PASSWORD_AGAIN: "Enter the password again"
REGISTRATION_THANK_YOU: "Thank you for registering."
USER_ACCOUNT_DISABLED: "Your user account is disabled or it has not yet been activated."
SESSION_USER_SYNC: "Sync User in Session"
SESSION_USER_SYNC_HELP: "If Enabled, user in the session is kept in sync with the stored user file. WARNING: This feature may break some existing plugins which update user object in the session without saving it to the filesystem using `$user->save()` method."
SESSION_USER_SYNC_HELP: "If Enabled, user in the session is kept in sync with the stored user file. WARNING: This feature may break some existing plugins which update user object in the session without saving it to the filesystem using `$user->save()` method."
14 changes: 13 additions & 1 deletion languages/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ PLUGIN_LOGIN:
BTN_LOGOUT: "Salir"
BTN_FORGOT: "Olvidado"
BTN_REGISTER: "Registro"
BTN_RESET: "Restaurar contraseña"
BTN_RESET_PASSWORD: "Restaurar contraseña"
BTN_RESET: "Reset"
BTN_SEND_INSTRUCTIONS: "Send Reset Instructions"
BTN_SUBMIT: "Submit"
# as in "save profile"
BTN_SUBMIT_PROFILE: "Submit"
BTN_SEND_INSTRUCTIONS: "Enviar instrucciones para restauración"
RESET_LINK_EXPIRED: "El enlace para la restauración ha caducado, inténtelo de nuevo."
RESET_PASSWORD_RESET: "La contraseña ha sido restaurada"
Expand Down Expand Up @@ -113,3 +118,10 @@ PLUGIN_LOGIN:
PAGE_RESTRICTED: "Acceso restringido, acceda con sus credenciales..."
DYNAMIC_VISIBILITY: "Visibilidad de páginas dinámicas"
DYNAMIC_VISIBILITY_HELP: "Permite el procesamiento de la visibilidad de páginas basada en reglas de acceso si login.visibility_requires_access es true en un página"
PROFILE_UPDATED: "Your profile has been updated"
ENTER_EMAIL: "Enter your email"
ENTER_NEW_PASSWORD: "Enter new password"
ENTER_PASSWORD: "Enter a password"
ENTER_PASSWORD_AGAIN: "Enter the password again"
REGISTRATION_THANK_YOU: "Thank you for registering."
USER_ACCOUNT_DISABLED: "Your user account is disabled or it has not yet been activated."
12 changes: 10 additions & 2 deletions languages/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ PLUGIN_LOGIN:
BTN_LOGOUT: "Déconnexion"
BTN_FORGOT: "Mot de passe oublié"
BTN_REGISTER: "S’enregister"
BTN_RESET: "Réinitialiser le mot de passe"
BTN_SUBMIT_PROFILE: "Enregistrer"
BTN_RESET: "Réinitialiser"
BTN_RESET_PASSWORD: "Réinitialiser le mot de passe"
BTN_SEND_INSTRUCTIONS: "Envoyer les instructions de Réinitialisation"
RESET_LINK_EXPIRED: "Le lien de réinitialisation a expiré, veuillez réessayer"
RESET_PASSWORD_RESET: "Le mot de passe a été réinitialisé"
Expand Down Expand Up @@ -86,4 +88,10 @@ PLUGIN_LOGIN:
USE_PARENT_ACL_LABEL: "Appliquer les règles d’accès parentes"
USE_PARENT_ACL_HELP: "Utiliser les règles d’accès parentes si aucune règle n’a été définie"
PROTECT_PROTECTED_PAGE_MEDIA_LABEL: "Protéger le média d'une page par une protection par connexion"
PROTECT_PROTECTED_PAGE_MEDIA_HELP: "Si activé, les médias d'une page protégée par connexion sera également protégé par un système de connexion et ne pourra pas être visible à moins d'être connecté."
PROTECT_PROTECTED_PAGE_MEDIA_HELP: "Si activé, les médias d'une page protégée par connexion sera également protégé par un système de connexion et ne pourra pas être visible à moins d'être connecté."
PROFILE_UPDATED: "Votre profil a été mis à jour"
ENTER_EMAIL: "Saisir votre e-mail"
ENTER_NEW_PASSWORD: "Saisir un nouveau mot de passe"
ENTER_PASSWORD: "Saisir votre mot de passe"
ENTER_PASSWORD_AGAIN: "Confirmer votre mot de passe"
REGISTRATION_THANK_YOU: "Merci pour votre inscription."
15 changes: 14 additions & 1 deletion languages/hr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ PLUGIN_LOGIN:
BTN_FORGOT: "Zaboravih"
BTN_REGISTER: "Registriraj"
REMEMBER_ME: "Zapamti me"
BTN_RESET_PASSWORD: "Reset Password"
BTN_RESET: "Reset"
BTN_SEND_INSTRUCTIONS: "Send Reset Instructions"
BTN_SUBMIT: "Submit"
# as in "save profile"
BTN_SUBMIT_PROFILE: "Submit"
BUILTIN_CSS: "Koristi ugrađeni CSS"
BUILTIN_CSS_HELP: "Uključi CSS koji dolazi sa admin pluginom"
ROUTE: "Putanja prijave"
Expand Down Expand Up @@ -38,4 +44,11 @@ PLUGIN_LOGIN:
REGISTRATION_FIELDS: "Registracijska polja"
REGISTRATION_FIELDS_HELP: "Add the fields that will be added to the user yaml file. Fields not listed here will not be added even if present in the registration form"
REGISTRATION_FIELD_KEY: "Ime polja"
OPTIONS: "Opcije"
OPTIONS: "Opcije"
PROFILE_UPDATED: "Your profile has been updated"
ENTER_EMAIL: "Enter your email"
ENTER_NEW_PASSWORD: "Enter new password"
ENTER_PASSWORD: "Enter a password"
ENTER_PASSWORD_AGAIN: "Enter the password again"
REGISTRATION_THANK_YOU: "Thank you for registering."
USER_ACCOUNT_DISABLED: "Your user account is disabled or it has not yet been activated."
13 changes: 13 additions & 0 deletions languages/hu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ PLUGIN_LOGIN:
BTN_LOGOUT: "Kilépés"
BTN_FORGOT: "Elfelejtettem"
BTN_REGISTER: "Regisztráció"
BTN_RESET_PASSWORD: "Reset Password"
BTN_RESET: "Reset"
BTN_SEND_INSTRUCTIONS: "Send Reset Instructions"
BTN_SUBMIT: "Submit"
# as in "save profile"
BTN_SUBMIT_PROFILE: "Submit"
REMEMBER_ME: "Jegyezz meg"
REMEMBER_ME_HELP: "Elhelyezünk egy hosszú lejáratú sütit a böngésződben, hogy belépve maradhass két munkamenet között."
REMEMBER_ME_STOLEN_COOKIE: "Valaki a belépési adataid felhasználásával látogatta meg ezt az oldalt! Minden munkamenetet kiléptettünk. Kérlek, jelentkezz be ismét és ellenőrizd az adataidat."
Expand All @@ -20,3 +26,10 @@ PLUGIN_LOGIN:
USERNAME_NOT_AVAILABLE: "%s nevű felhasználó már létezik, kérlek válassz más felhasználónevet"
PASSWORD_NOT_VALID: "A jelszónak tartalmaznia kell legalább egy számot, egy kisbetűt és egy nagybetűt, valamint legalább 8 karakter hosszú kell, hogy legyen"
PASSWORDS_DO_NOT_MATCH: "A két jelszó nem egyezik meg. Győzödj meg róla, hogy azonos legyen a kettő"
PROFILE_UPDATED: "Your profile has been updated"
ENTER_EMAIL: "Enter your email"
ENTER_NEW_PASSWORD: "Enter new password"
ENTER_PASSWORD: "Enter a password"
ENTER_PASSWORD_AGAIN: "Enter the password again"
REGISTRATION_THANK_YOU: "Thank you for registering."
USER_ACCOUNT_DISABLED: "Your user account is disabled or it has not yet been activated."
14 changes: 13 additions & 1 deletion languages/no.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ PLUGIN_LOGIN:
BTN_LOGOUT: "Logg ut"
BTN_FORGOT: "Glemt passord"
BTN_REGISTER: "Registrer"
BTN_RESET: "Tilbakestill Passord"
BTN_RESET_PASSWORD: "Tilbakestill Passord"
BTN_RESET: "Reset"
BTN_SEND_INSTRUCTIONS: "Send Reset Instructions"
BTN_SUBMIT: "Submit"
# as in "save profile"
BTN_SUBMIT_PROFILE: "Submit"
BTN_SEND_INSTRUCTIONS: "Send instruksjoner for tilbakestilling"
RESET_LINK_EXPIRED: "Tilbakestillingslenke har utløpt, vennligst prøv igjen"
RESET_PASSWORD_RESET: "Passord har blitt nullstilt"
Expand Down Expand Up @@ -60,3 +65,10 @@ PLUGIN_LOGIN:
ROUTE_RESET: "Adresse for tilbakestilling av passord"
ROUTE_PROFILE: "Adresse til brukerprofil"
PAGE_RESTRICTED: "Begrenset tilgang, vennligst logg inn..."
PROFILE_UPDATED: "Your profile has been updated"
ENTER_EMAIL: "Enter your email"
ENTER_NEW_PASSWORD: "Enter new password"
ENTER_PASSWORD: "Enter a password"
ENTER_PASSWORD_AGAIN: "Enter the password again"
REGISTRATION_THANK_YOU: "Thank you for registering."
USER_ACCOUNT_DISABLED: "Your user account is disabled or it has not yet been activated."
16 changes: 14 additions & 2 deletions languages/ro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ PLUGIN_LOGIN:
BTN_LOGOUT: "Ieșire din cont "
BTN_FORGOT: "Am uitat"
BTN_REGISTER: "Înregistrare"
BTN_RESET: "Resetează parola"
BTN_RESET_PASSWORD: "Resetează parola"
BTN_RESET: "Reset"
BTN_SEND_INSTRUCTIONS: "Send Reset Instructions"
BTN_SUBMIT: "Submit"
# as in "save profile"
BTN_SUBMIT_PROFILE: "Submit"
BTN_SEND_INSTRUCTIONS: "Trimite instrucțiuni pentru resetare"
RESET_LINK_EXPIRED: "Link-ul pentru resetarea parolei a expirat, vă rugăm încercați din nou "
RESET_PASSWORD_RESET: "Parola a fost modificată"
Expand Down Expand Up @@ -83,4 +88,11 @@ PLUGIN_LOGIN:
USE_PARENT_ACL_LABEL: "Folosește regulile de acces ale părintelui"
USE_PARENT_ACL_HELP: "Verifică regulie de acces ale părintelui dacă nu sunt specificate alte reguli de acces"
PROTECT_PROTECTED_PAGE_MEDIA_LABEL: " Protejează media ce aparține paginii de logare "
PROTECT_PROTECTED_PAGE_MEDIA_HELP: "Dacă este activată, media ce aparține unei pagini de logare este protejată și nu poate fi accesată decât după logare."
PROTECT_PROTECTED_PAGE_MEDIA_HELP: "Dacă este activată, media ce aparține unei pagini de logare este protejată și nu poate fi accesată decât după logare."
PROFILE_UPDATED: "Your profile has been updated"
ENTER_EMAIL: "Enter your email"
ENTER_NEW_PASSWORD: "Enter new password"
ENTER_PASSWORD: "Enter a password"
ENTER_PASSWORD_AGAIN: "Enter the password again"
REGISTRATION_THANK_YOU: "Thank you for registering."
USER_ACCOUNT_DISABLED: "Your user account is disabled or it has not yet been activated."
14 changes: 13 additions & 1 deletion languages/ru.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ PLUGIN_LOGIN:
BTN_LOGOUT: "Выйти"
BTN_FORGOT: "Забыл"
BTN_REGISTER: "Регистрация"
BTN_RESET: "Сброс пароля"
BTN_RESET_PASSWORD: "Сброс пароля"
BTN_RESET: "Reset"
BTN_SEND_INSTRUCTIONS: "Send Reset Instructions"
BTN_SUBMIT: "Submit"
# as in "save profile"
BTN_SUBMIT_PROFILE: "Submit"
BTN_SEND_INSTRUCTIONS: "Отправить инструкции по сбросу"
RESET_LINK_EXPIRED: "Время ссылки для сброса истекло, повторите попытку"
RESET_PASSWORD_RESET: "Пароль был сброшен"
Expand Down Expand Up @@ -132,3 +137,10 @@ PLUGIN_LOGIN:
BTN_CANCEL: "Отмена"
MANUALLY_ENABLE: "Вручную включить"
MANUALLY_ENABLE_HELP: "При использовании «активации по электронной почте» и «уведомление по электронной почте» вы можете убедиться, что пользователь может самостоятельно активироваться, но пользователь требует ручного включения для входа в систему"
PROFILE_UPDATED: "Your profile has been updated"
ENTER_EMAIL: "Enter your email"
ENTER_NEW_PASSWORD: "Enter new password"
ENTER_PASSWORD: "Enter a password"
ENTER_PASSWORD_AGAIN: "Enter the password again"
REGISTRATION_THANK_YOU: "Thank you for registering."
USER_ACCOUNT_DISABLED: "Your user account is disabled or it has not yet been activated."
14 changes: 13 additions & 1 deletion languages/uk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ PLUGIN_LOGIN:
BTN_LOGOUT: "Вийти"
BTN_FORGOT: "Забув"
BTN_REGISTER: "Реєстрація"
BTN_RESET: "Скидання пароля"
BTN_RESET_PASSWORD: "Скидання пароля"
BTN_RESET: "Reset"
BTN_SEND_INSTRUCTIONS: "Send Reset Instructions"
BTN_SUBMIT: "Submit"
# as in "save profile"
BTN_SUBMIT_PROFILE: "Submit"
BTN_SEND_INSTRUCTIONS: "Надіслати інструкції по скиданню"
RESET_LINK_EXPIRED: "Час посилання для скидання минув, спробуйте ще раз"
RESET_PASSWORD_RESET: "Пароль був скинутий"
Expand Down Expand Up @@ -132,3 +137,10 @@ PLUGIN_LOGIN:
BTN_CANCEL: "Скасування"
MANUALLY_ENABLE: "Вручну включити"
MANUALLY_ENABLE_HELP: "При використанні «активації по електронній пошті» і «повідомлення по електронній пошті» ви можете переконатися, що користувач може самостійно активуватися, але користувач вимагає ручного включення для входу в систему"
PROFILE_UPDATED: "Your profile has been updated"
ENTER_EMAIL: "Enter your email"
ENTER_NEW_PASSWORD: "Enter new password"
ENTER_PASSWORD: "Enter a password"
ENTER_PASSWORD_AGAIN: "Enter the password again"
REGISTRATION_THANK_YOU: "Thank you for registering."
USER_ACCOUNT_DISABLED: "Your user account is disabled or it has not yet been activated."
9 changes: 4 additions & 5 deletions pages/login.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ forms:
username:
type: text
id: username
placeholder: Username
placeholder: PLUGIN_LOGIN.USERNAME_EMAIL
label: PLUGIN_LOGIN.USERNAME_EMAIL
autofocus: true

password:
type: password
id: password
placeholder: Password
placeholder: PLUGIN_LOGIN.PASSWORD
label: PLUGIN_LOGIN.PASSWORD

login-twofa:
action:
method: post
Expand All @@ -35,8 +35,7 @@ forms:
type: text
id: twofa-code
autofocus: true
placeholder: PLUGIN_LOGIN.2FA_CODE_INPUT
placeholder: PLUGIN_LOGIN.2FA_CODE_INPUT
---

# User Login

26 changes: 13 additions & 13 deletions pages/profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@
title: Profile
access:
site.login: true

form:
fields:
avatar_img:
type: avatar

username:
type: text
readonly: true
disabled: true

email:
type: email
placeholder: "Enter your email"
placeholder: PLUGIN_LOGIN.ENTER_EMAIL
validate:
required: true
message: PLUGIN_LOGIN.EMAIL_VALIDATION_MESSAGE

fullname:
type: text

title:
type: text
type: text

password:
type: password
label: Enter new password
label: PLUGIN_LOGIN.ENTER_NEW_PASSWORD
validate:
message: PLUGIN_LOGIN.PASSWORD_VALIDATION_MESSAGE
config-pattern@: system.pwd_regex

twofa_check:
type: conditional
condition: config.plugins.login.twofa_enabled
Expand Down Expand Up @@ -61,20 +61,20 @@ form:
outerclasses: 'twofa-secret'
markdown: true
label: PLUGIN_LOGIN.2FA_SECRET
sublabel: PLUGIN_LOGIN.2FA_SECRET_HELP
sublabel: PLUGIN_LOGIN.2FA_SECRET_HELP


buttons:
-
type: submit
value: Submit
value: PLUGIN_LOGIN.BTN_SUBMIT_PROFILE
-
type: reset
value: Reset
value: PLUGIN_LOGIN.BTN_RESET

process:
update_user: true
message: "Your profile has been updated"
message: PLUGIN_LOGIN.PROFILE_UPDATED
---

# Profile
# Profile
10 changes: 5 additions & 5 deletions pages/register.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ form:

password1:
type: password
label: Enter a password
label: PLUGIN_LOGIN.ENTER_PASSWORD
validate:
required: true
message: PLUGIN_LOGIN.PASSWORD_VALIDATION_MESSAGE
config-pattern@: system.pwd_regex

password2:
type: password
label: Enter the password again
label: PLUGIN_LOGIN.ENTER_PASSWORD_AGAIN
validate:
required: true
message: PLUGIN_LOGIN.PASSWORD_VALIDATION_MESSAGE
Expand All @@ -42,14 +42,14 @@ form:
buttons:
-
type: submit
value: Submit
value: PLUGIN_LOGIN.BTN_REGISTER
-
type: reset
value: Reset
value: PLUGIN_LOGIN.BTN_RESET

process:
register_user: true
message: "Thanks for registering..."
message: PLUGIN_LOGIN.REGISTRATION_THANK_YOU
reset: true
---

Expand Down
Loading