diff --git a/docker-compose.yml b/docker-compose.yml index e31998f..36ca077 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,6 +15,8 @@ services: volumes: - ./src:/app/src - ./config:/app/config + - ./translations:/app/translations + - ./templates:/app/templates - /etc/localtime:/etc/localtime:ro - $HOME/.ssh:/root/.host-ssh:ro tmpfs: diff --git a/translations/form.en.yaml b/translations/form.en.yaml deleted file mode 100644 index 0693365..0000000 --- a/translations/form.en.yaml +++ /dev/null @@ -1,5 +0,0 @@ -form: - label: - login: login - password: Password - remember_me: Remember me \ No newline at end of file diff --git a/translations/form.fr.yaml b/translations/form.fr.yaml deleted file mode 100644 index b3b2dd0..0000000 --- a/translations/form.fr.yaml +++ /dev/null @@ -1,5 +0,0 @@ -form: - label: - login: Login - password: Mot de passe - remember_me: Se souvenir de moi \ No newline at end of file diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index c448121..f04251d 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -13,6 +13,10 @@ error.password Incorrect password + + error.sql_login + Connection to database encountered a problem + error.pdo Connection to database encountered a problem diff --git a/translations/messages.en.yaml b/translations/messages.en.yaml deleted file mode 100644 index cfcf961..0000000 --- a/translations/messages.en.yaml +++ /dev/null @@ -1,4 +0,0 @@ -error: - login: 'Incorrect login' - password: 'Incorrect password' - sql_login: 'Connection to database encountered a problem' \ No newline at end of file diff --git a/translations/messages.fr.xlf b/translations/messages.fr.xlf index 6a2884d..b3caf24 100644 --- a/translations/messages.fr.xlf +++ b/translations/messages.fr.xlf @@ -13,6 +13,10 @@ error.password Mot de passe incorrect + + error.sql_login + La connexion à la base de données a rencontré un problème + error.pdo La connexion à la base de déonnées à rencontré un problème diff --git a/translations/messages.fr.yaml b/translations/messages.fr.yaml deleted file mode 100644 index d9410e2..0000000 --- a/translations/messages.fr.yaml +++ /dev/null @@ -1,4 +0,0 @@ -error: - login: 'Login incorrect ou inconnu' - password: 'Mot de passe incorrect' - sql_login: 'La connexion à la base de données a rencontré un problème' \ No newline at end of file diff --git a/translations/validators.en.xlf b/translations/validators.en.xlf index c384636..e6ff7fe 100644 --- a/translations/validators.en.xlf +++ b/translations/validators.en.xlf @@ -405,6 +405,30 @@ The value of the netmask should be between {{ min }} and {{ max }}. The value of the netmask should be between {{ min }} and {{ max }}. + + The filename is too long. It should have {{ filename_max_length }} character or less.|The filename is too long. It should have {{ filename_max_length }} characters or less. + The filename is too long. It should have {{ filename_max_length }} character or less.|The filename is too long. It should have {{ filename_max_length }} characters or less. + + + The password strength is too low. Please use a stronger password. + The password strength is too low. Please use a stronger password. + + + This value contains characters that are not allowed by the current restriction-level. + This value contains characters that are not allowed by the current restriction-level. + + + Using invisible characters is not allowed. + Using invisible characters is not allowed. + + + Mixing numbers from different scripts is not allowed. + Mixing numbers from different scripts is not allowed. + + + Using hidden overlay characters is not allowed. + Using hidden overlay characters is not allowed. + This form should not contain extra fields. This form should not contain extra fields. diff --git a/translations/validators.fr.xlf b/translations/validators.fr.xlf index 6490884..15f5acc 100644 --- a/translations/validators.fr.xlf +++ b/translations/validators.fr.xlf @@ -405,6 +405,30 @@ The value of the netmask should be between {{ min }} and {{ max }}. La valeur du masque de réseau doit être comprise entre {{ min }} et {{ max }}. + + The filename is too long. It should have {{ filename_max_length }} character or less.|The filename is too long. It should have {{ filename_max_length }} characters or less. + Le nom du fichier est trop long. Il doit contenir au maximum {{ filename_max_length }} caractère.|Le nom de fichier est trop long. Il doit contenir au maximum {{ filename_max_length }} caractères. + + + The password strength is too low. Please use a stronger password. + La force du mot de passe est trop faible. Veuillez utiliser un mot de passe plus fort. + + + This value contains characters that are not allowed by the current restriction-level. + Cette valeur contient des caractères qui ne sont pas autorisés par le niveau de restriction actuel. + + + Using invisible characters is not allowed. + Utiliser des caractères invisibles n'est pas autorisé. + + + Mixing numbers from different scripts is not allowed. + Mélanger des chiffres provenant de différents scripts n'est pas autorisé. + + + Using hidden overlay characters is not allowed. + Utiliser des caractères de superposition cachés n'est pas autorisé. + This form should not contain extra fields. Ce formulaire ne doit pas contenir de champs supplémentaires. diff --git a/translations/view.en.xlf b/translations/view.en.xlf index de9abe5..9902bd3 100644 --- a/translations/view.en.xlf +++ b/translations/view.en.xlf @@ -13,6 +13,22 @@ submit Submit + + view.base.title + Hydra SQL + + + view.login.title + Sign in + + + view.error.title + Error + + + view.error.text + Error + diff --git a/translations/view.en.yaml b/translations/view.en.yaml deleted file mode 100644 index 45ca748..0000000 --- a/translations/view.en.yaml +++ /dev/null @@ -1,2 +0,0 @@ -sign_in: Please, sign in -submit: Submit \ No newline at end of file diff --git a/translations/view.fr.xlf b/translations/view.fr.xlf index 43cf590..dd6bfa4 100644 --- a/translations/view.fr.xlf +++ b/translations/view.fr.xlf @@ -13,6 +13,22 @@ submit Valider + + view.base.title + Hydra SQL + + + view.login.title + Identifiez-vous + + + view.error.title + Erreur + + + view.error.text + Erreur + diff --git a/translations/view.fr.yaml b/translations/view.fr.yaml deleted file mode 100644 index 11f8492..0000000 --- a/translations/view.fr.yaml +++ /dev/null @@ -1,2 +0,0 @@ -sign_in: Connectez-vous -submit: Valider \ No newline at end of file