From 562c7cb7b73ed60628c7f7b8a494cd5539dcb61c Mon Sep 17 00:00:00 2001 From: vcarroy Date: Tue, 23 Apr 2024 12:05:40 +0200 Subject: [PATCH 1/3] fix (translations): Ajout des traductions manquantes --- translations/messages.en.xlf | 4 ++++ translations/messages.fr.xlf | 4 ++++ translations/validators.en.xlf | 24 ++++++++++++++++++++++++ translations/validators.fr.xlf | 24 ++++++++++++++++++++++++ translations/view.en.xlf | 16 ++++++++++++++++ translations/view.fr.xlf | 16 ++++++++++++++++ 6 files changed, 88 insertions(+) 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.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/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.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 + -- 2.17.1 From afd5349a7c166dd7cb0a37d98962b771675cccd1 Mon Sep 17 00:00:00 2001 From: vcarroy Date: Tue, 23 Apr 2024 12:06:06 +0200 Subject: [PATCH 2/3] chore (translations) : Suppression des fichiers traduction yaml --- translations/form.en.yaml | 5 ----- translations/form.fr.yaml | 5 ----- translations/messages.en.yaml | 4 ---- translations/messages.fr.yaml | 4 ---- translations/view.en.yaml | 2 -- translations/view.fr.yaml | 2 -- 6 files changed, 22 deletions(-) delete mode 100644 translations/form.en.yaml delete mode 100644 translations/form.fr.yaml delete mode 100644 translations/messages.en.yaml delete mode 100644 translations/messages.fr.yaml delete mode 100644 translations/view.en.yaml delete mode 100644 translations/view.fr.yaml 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.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.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/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.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 -- 2.17.1 From fc348943c81b876f53b745a9bfa735ba7aee229d Mon Sep 17 00:00:00 2001 From: vcarroy Date: Tue, 23 Apr 2024 12:06:51 +0200 Subject: [PATCH 3/3] feat (compose): maj des volumes de docker-compose --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index acdd632..ec36ece 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: -- 2.17.1