From 550d672e1e860b432f266856e68847cf23fd1040 Mon Sep 17 00:00:00 2001 From: Alex Ottr Date: Sun, 7 Apr 2024 18:34:22 +0200 Subject: [PATCH 1/5] add translation keys --- core/forms.py | 12 +++--- paw/locale/de/LC_MESSAGES/django.mo | Bin 4189 -> 4174 bytes paw/locale/de/LC_MESSAGES/django.po | 60 ++++++++++++++++++++-------- paw/locale/en/LC_MESSAGES/django.po | 49 ++++++++++++++++------- paw/locale/fr/LC_MESSAGES/django.mo | Bin 1653 -> 1910 bytes paw/locale/fr/LC_MESSAGES/django.po | 49 ++++++++++++++++------- 6 files changed, 120 insertions(+), 50 deletions(-) diff --git a/core/forms.py b/core/forms.py index 54724a2..d489d1f 100644 --- a/core/forms.py +++ b/core/forms.py @@ -24,7 +24,7 @@ class UserChangeForm(forms.Form): USERNAME_REGEX_FIELD = forms.RegexField( required=True, - label='Username', + label=_('Username'), max_length=50, regex=r'^[a-zA-Z0-9-_@]+$', error_messages={ @@ -55,20 +55,20 @@ class RegisterForm(forms.Form): if password != password_confirm: raise forms.ValidationError( - "Password and Confirm Password do not match." + _("Password and Confirm Password do not match.") ) if len(password) < 10: raise forms.ValidationError( - "Password must be at least 10 characters long." + _("Password must be at least 10 characters long.") ) if PawUser.objects.filter(username=cleaned_data.get("username")).exists(): raise forms.ValidationError( - "An account with this username already exists." + _("An account with this username already exists.") ) if PawUser.objects.filter(email=cleaned_data.get("email")).exists(): raise forms.ValidationError( - "An account with this email already exists." + _("An account with this email already exists.") ) return cleaned_data @@ -85,7 +85,7 @@ class AccountFinishForm(forms.Form): if PawUser.objects.filter(username=cleaned_data.get("username")).exists(): raise forms.ValidationError( - "An account with this username already exists" + _("An account with this username already exists") ) return cleaned_data diff --git a/paw/locale/de/LC_MESSAGES/django.mo b/paw/locale/de/LC_MESSAGES/django.mo index 084f6f15db424844cc56b8da0ae84c72cfdd4110..357b68667dc243e7d561b6a57f516e6cc598e3b5 100644 GIT binary patch delta 1782 zcmcbsa89BAo)F7a1_lN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T~>8ypWK1 z$_w$xD_)3?KSRx7;)6JZlMfPQf_xBlYV~}ORICpbaE2=M;e$9NgpYwinSp^Jkq_da zRz66O_V7V0Uc?7=5FaF}4)Z}QJ_$AN22}nb9|MB~0|UbksC|O`3=EPC3=H+E{E#5E z=Z6^V#m~T?07^9ckf3bjhgdY39}*>V`5{rVfuDiFl!1X^A3r2pec^}rP*4Ek5J>?@ zkjo1|%rOvvc*scr;&XoiaER42Lrhpj!-^~;$&c8Pz9Bg3=9nVkdhr#1Vg0RC+o7=dgT;kB<7Xo zrWR!;DoNUU`Gx;({rbtd|VsWZMYFszOR?W?pKZf?r~8YMw&kWEuXj$yNMwCo2l* F0s!|xx|aX| diff --git a/paw/locale/de/LC_MESSAGES/django.po b/paw/locale/de/LC_MESSAGES/django.po index 7f6e7ec..2a0d5b3 100644 --- a/paw/locale/de/LC_MESSAGES/django.po +++ b/paw/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-25 11:47+0000\n" +"POT-Creation-Date: 2024-04-07 16:31+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,19 +18,47 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: core/forms.py:27 core/forms.py:35 paw/templates/core/account_finish.html:33 +#: paw/templates/core/login.html:24 paw/templates/core/register.html:24 +msgid "Username" +msgstr "Benutzername" + #: core/forms.py:31 -msgid "Please enter your name" +#, fuzzy +#| msgid "Please enter your name" +msgid "Please enter a username" msgstr "Gib bitte deinen Namen an" #: core/forms.py:32 +#, fuzzy +#| msgid "" +#| "Alphanumeric characters and underscores and dashes only (a-z, 0-9, _, -, " +#| "@)" msgid "" -"Alphanumeric characters and underscores and dashes only (a-z, 0-9, _, -, @)" -msgstr "Nur Alphanumerische Zeichen, Unterstriche und Striche (a-z, 0-9, _, -, @)" +"Username can only have alphanumeric characters and underscores and dashes (a-" +"z, 0-9, _, -, @)" +msgstr "" +"Nur Alphanumerische Zeichen, Unterstriche und Striche (a-z, 0-9, _, -, @)" -#: core/forms.py:35 paw/templates/core/account_finish.html:29 -#: paw/templates/core/login.html:24 paw/templates/core/register.html:20 -msgid "Username" -msgstr "Benutzername" +#: core/forms.py:58 +msgid "Password and Confirm Password do not match." +msgstr "" + +#: core/forms.py:62 +msgid "Password must be at least 10 characters long." +msgstr "" + +#: core/forms.py:67 +msgid "An account with this username already exists." +msgstr "" + +#: core/forms.py:71 +msgid "An account with this email already exists." +msgstr "" + +#: core/forms.py:88 +msgid "An account with this username already exists" +msgstr "" #: core/models.py:30 msgid "Google SSO User" @@ -73,7 +101,7 @@ msgstr "Account einrichten" msgid "Done" msgstr "Fertig" -#: paw/templates/core/account_finish.html:34 +#: paw/templates/core/account_finish.html:38 #: paw/templates/core/settings.html:55 msgid "Save" msgstr "Speichern" @@ -86,7 +114,7 @@ msgstr "Anmelden" msgid "Register Account" msgstr "Account erstellen" -#: paw/templates/core/login.html:30 paw/templates/core/register.html:32 +#: paw/templates/core/login.html:30 paw/templates/core/register.html:36 msgid "Password" msgstr "Passwort" @@ -98,17 +126,17 @@ msgstr "Passwort zurücksetzen" msgid "Log in with Google" msgstr "Mit Google anmelden" -#: paw/templates/core/register.html:26 +#: paw/templates/core/register.html:30 #, fuzzy #| msgid "Mail Address" msgid "Email Address" msgstr "Mail Adresse" -#: paw/templates/core/register.html:38 +#: paw/templates/core/register.html:42 msgid "Confirm Password" msgstr "Passwort bestätigen" -#: paw/templates/core/register.html:43 +#: paw/templates/core/register.html:47 #, fuzzy #| msgid "Register Account" msgid "Register" @@ -166,15 +194,15 @@ msgstr "Abmelden" msgid "Unassigned" msgstr "Nicht zugewiesen" -#: paw/templates/partials/ticket_priority_badge.html:3 ticketing/models.py:45 +#: paw/templates/partials/ticket_priority_badge.html:4 ticketing/models.py:45 msgid "Low" msgstr "Niedrig" -#: paw/templates/partials/ticket_priority_badge.html:5 ticketing/models.py:46 +#: paw/templates/partials/ticket_priority_badge.html:6 ticketing/models.py:46 msgid "Medium" msgstr "Mittel" -#: paw/templates/partials/ticket_priority_badge.html:7 ticketing/models.py:47 +#: paw/templates/partials/ticket_priority_badge.html:8 ticketing/models.py:47 msgid "High" msgstr "Hoch" diff --git a/paw/locale/en/LC_MESSAGES/django.po b/paw/locale/en/LC_MESSAGES/django.po index b633ef0..1fde894 100644 --- a/paw/locale/en/LC_MESSAGES/django.po +++ b/paw/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-25 11:47+0000\n" +"POT-Creation-Date: 2024-04-07 16:31+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,18 +18,39 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: core/forms.py:27 core/forms.py:35 paw/templates/core/account_finish.html:33 +#: paw/templates/core/login.html:24 paw/templates/core/register.html:24 +msgid "Username" +msgstr "" + #: core/forms.py:31 -msgid "Please enter your name" +msgid "Please enter a username" msgstr "" #: core/forms.py:32 msgid "" -"Alphanumeric characters and underscores and dashes only (a-z, 0-9, _, -, @)" +"Username can only have alphanumeric characters and underscores and dashes (a-" +"z, 0-9, _, -, @)" msgstr "" -#: core/forms.py:35 paw/templates/core/account_finish.html:29 -#: paw/templates/core/login.html:24 paw/templates/core/register.html:20 -msgid "Username" +#: core/forms.py:58 +msgid "Password and Confirm Password do not match." +msgstr "" + +#: core/forms.py:62 +msgid "Password must be at least 10 characters long." +msgstr "" + +#: core/forms.py:67 +msgid "An account with this username already exists." +msgstr "" + +#: core/forms.py:71 +msgid "An account with this email already exists." +msgstr "" + +#: core/forms.py:88 +msgid "An account with this username already exists" msgstr "" #: core/models.py:30 @@ -73,7 +94,7 @@ msgstr "" msgid "Done" msgstr "" -#: paw/templates/core/account_finish.html:34 +#: paw/templates/core/account_finish.html:38 #: paw/templates/core/settings.html:55 msgid "Save" msgstr "" @@ -86,7 +107,7 @@ msgstr "" msgid "Register Account" msgstr "" -#: paw/templates/core/login.html:30 paw/templates/core/register.html:32 +#: paw/templates/core/login.html:30 paw/templates/core/register.html:36 msgid "Password" msgstr "" @@ -98,15 +119,15 @@ msgstr "" msgid "Log in with Google" msgstr "" -#: paw/templates/core/register.html:26 +#: paw/templates/core/register.html:30 msgid "Email Address" msgstr "" -#: paw/templates/core/register.html:38 +#: paw/templates/core/register.html:42 msgid "Confirm Password" msgstr "" -#: paw/templates/core/register.html:43 +#: paw/templates/core/register.html:47 msgid "Register" msgstr "" @@ -164,15 +185,15 @@ msgstr "" msgid "Unassigned" msgstr "" -#: paw/templates/partials/ticket_priority_badge.html:3 ticketing/models.py:45 +#: paw/templates/partials/ticket_priority_badge.html:4 ticketing/models.py:45 msgid "Low" msgstr "" -#: paw/templates/partials/ticket_priority_badge.html:5 ticketing/models.py:46 +#: paw/templates/partials/ticket_priority_badge.html:6 ticketing/models.py:46 msgid "Medium" msgstr "" -#: paw/templates/partials/ticket_priority_badge.html:7 ticketing/models.py:47 +#: paw/templates/partials/ticket_priority_badge.html:8 ticketing/models.py:47 msgid "High" msgstr "" diff --git a/paw/locale/fr/LC_MESSAGES/django.mo b/paw/locale/fr/LC_MESSAGES/django.mo index 63bf54a7933b24f44dc40083a62052808d7bd0fa..dfa4aff4e979b7949beb0a7b093231660173e878 100644 GIT binary patch delta 813 zcmey$^Np|mo)F7a1_lNOIR*v>83qOh9!3TRO$G*rKa3zz28IPp3=G^13=9jI7#MgM z7#P+vF)(m2Ffi<5VqjonU|=}R#K6GIz`$^diGe|wfq~%$69WSm0|UbwDE%F(pNW}) zft`VYfsYwto)|OOoO%W&W{APs%n$=DpnQ9%1|Mby1_1^Jh7e{31{MYehE!$-27U$x zhAd_V20jJ`hAOCdC&WO8KBzgF|fXR z1_l)t1_ovZ1_n(Q1_nn)1_oUgh{k+Yhy`t|5RFq=Ar4#s6<^K@ao9Gf{Bc$W22KVB zhD)pvAKrnAzhDLXl;JZ}{~uNc21y1624*$}2L5^m1_oI+h()?=5REo$3=AR+3=AG@ z5DQ~L3KK3yxFi0>kFsx#O`1mjzBx+8wF)&PGU|_foRhPvM z3CTis28PLR7$q3xCbKf>i^@VG98Q7)TV}H-Q!Zm{XmM&$USe*lLULlBLVjLOr9wtx zS*k)}PC-UuUTJP>QD(A2azq1?rl^D~mD3jFR+L%9P>^3*!~g)=_=|P` delta 571 zcmeyy_m!vqo)F7a1_lNOSq26M83qOh7DfgJO$G*rH;f=r28Ibt3=G^13=9*Q7#MgM z7#QXwqAQs3% zX-zhW!%W#27$g`N7;M-eJ`H7qL`gJMK9da+as_M*44_z*Vu08K3Z2P3OdO1|lSP^I nMM1F-iE{`E3T%eWkxaRan^jmgGx7MBmK9|dF%;yN7BK(-m!2\n" "Language-Team: LANGUAGE \n" @@ -18,18 +18,39 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +#: core/forms.py:27 core/forms.py:35 paw/templates/core/account_finish.html:33 +#: paw/templates/core/login.html:24 paw/templates/core/register.html:24 +msgid "Username" +msgstr "" + #: core/forms.py:31 -msgid "Please enter your name" +msgid "Please enter a username" msgstr "" #: core/forms.py:32 msgid "" -"Alphanumeric characters and underscores and dashes only (a-z, 0-9, _, -, @)" +"Username can only have alphanumeric characters and underscores and dashes (a-" +"z, 0-9, _, -, @)" +msgstr "Les noms d’utilisateurs ne peuvent contenir que des caractères alphanumériques, ainsi que des tirets ou des tirets du bas. (a-z, 0-9, -, _, @)" + +#: core/forms.py:58 +msgid "Password and Confirm Password do not match." msgstr "" -#: core/forms.py:35 paw/templates/core/account_finish.html:29 -#: paw/templates/core/login.html:24 paw/templates/core/register.html:20 -msgid "Username" +#: core/forms.py:62 +msgid "Password must be at least 10 characters long." +msgstr "" + +#: core/forms.py:67 +msgid "An account with this username already exists." +msgstr "" + +#: core/forms.py:71 +msgid "An account with this email already exists." +msgstr "" + +#: core/forms.py:88 +msgid "An account with this username already exists" msgstr "" #: core/models.py:30 @@ -73,7 +94,7 @@ msgstr "" msgid "Done" msgstr "" -#: paw/templates/core/account_finish.html:34 +#: paw/templates/core/account_finish.html:38 #: paw/templates/core/settings.html:55 msgid "Save" msgstr "Enregistrer" @@ -86,7 +107,7 @@ msgstr "" msgid "Register Account" msgstr "" -#: paw/templates/core/login.html:30 paw/templates/core/register.html:32 +#: paw/templates/core/login.html:30 paw/templates/core/register.html:36 msgid "Password" msgstr "" @@ -98,17 +119,17 @@ msgstr "" msgid "Log in with Google" msgstr "" -#: paw/templates/core/register.html:26 +#: paw/templates/core/register.html:30 #, fuzzy #| msgid "Mail Address" msgid "Email Address" msgstr "Adresse e-mail" -#: paw/templates/core/register.html:38 +#: paw/templates/core/register.html:42 msgid "Confirm Password" msgstr "" -#: paw/templates/core/register.html:43 +#: paw/templates/core/register.html:47 msgid "Register" msgstr "" @@ -164,15 +185,15 @@ msgstr "Se déconnecter" msgid "Unassigned" msgstr "Non attribué" -#: paw/templates/partials/ticket_priority_badge.html:3 ticketing/models.py:45 +#: paw/templates/partials/ticket_priority_badge.html:4 ticketing/models.py:45 msgid "Low" msgstr "" -#: paw/templates/partials/ticket_priority_badge.html:5 ticketing/models.py:46 +#: paw/templates/partials/ticket_priority_badge.html:6 ticketing/models.py:46 msgid "Medium" msgstr "" -#: paw/templates/partials/ticket_priority_badge.html:7 ticketing/models.py:47 +#: paw/templates/partials/ticket_priority_badge.html:8 ticketing/models.py:47 msgid "High" msgstr "" -- 2.51.2 From f1f791c1fceaf4387963258506bca923b7a6cebf Mon Sep 17 00:00:00 2001 From: Alex Ottr Date: Sun, 7 Apr 2024 18:46:24 +0200 Subject: [PATCH 2/5] update i18n keys to exclude fuzzy keys --- paw/locale/de/LC_MESSAGES/django.po | 14 +------------- paw/locale/en/LC_MESSAGES/django.po | 2 -- paw/locale/fr/LC_MESSAGES/django.po | 24 ++++++------------------ 3 files changed, 7 insertions(+), 33 deletions(-) diff --git a/paw/locale/de/LC_MESSAGES/django.po b/paw/locale/de/LC_MESSAGES/django.po index 2a0d5b3..38f2a83 100644 --- a/paw/locale/de/LC_MESSAGES/django.po +++ b/paw/locale/de/LC_MESSAGES/django.po @@ -24,16 +24,10 @@ msgid "Username" msgstr "Benutzername" #: core/forms.py:31 -#, fuzzy -#| msgid "Please enter your name" msgid "Please enter a username" msgstr "Gib bitte deinen Namen an" #: core/forms.py:32 -#, fuzzy -#| msgid "" -#| "Alphanumeric characters and underscores and dashes only (a-z, 0-9, _, -, " -#| "@)" msgid "" "Username can only have alphanumeric characters and underscores and dashes (a-" "z, 0-9, _, -, @)" @@ -127,8 +121,6 @@ msgid "Log in with Google" msgstr "Mit Google anmelden" #: paw/templates/core/register.html:30 -#, fuzzy -#| msgid "Mail Address" msgid "Email Address" msgstr "Mail Adresse" @@ -137,8 +129,6 @@ msgid "Confirm Password" msgstr "Passwort bestätigen" #: paw/templates/core/register.html:47 -#, fuzzy -#| msgid "Register Account" msgid "Register" msgstr "Account erstellen" @@ -357,10 +347,8 @@ msgid "View" msgstr "Anzeigen" #: paw/templates/ticketing/tickets_history.html:20 -#, fuzzy -#| msgid "Closed" msgid "Closed on" -msgstr "Geschlossen" +msgstr "Geschlossen am" #: status/templates/status/incident_list.html:11 msgid "Some services might not be fully operational" diff --git a/paw/locale/en/LC_MESSAGES/django.po b/paw/locale/en/LC_MESSAGES/django.po index 1fde894..72348dd 100644 --- a/paw/locale/en/LC_MESSAGES/django.po +++ b/paw/locale/en/LC_MESSAGES/django.po @@ -132,8 +132,6 @@ msgid "Register" msgstr "" #: paw/templates/core/settings.html:7 paw/templates/dashboard_base.html:85 -#, fuzzy -#| msgid "SettingsHeading" msgid "Settings" msgstr "Settings" diff --git a/paw/locale/fr/LC_MESSAGES/django.po b/paw/locale/fr/LC_MESSAGES/django.po index a07a274..bf6c62c 100644 --- a/paw/locale/fr/LC_MESSAGES/django.po +++ b/paw/locale/fr/LC_MESSAGES/django.po @@ -305,39 +305,29 @@ msgid "General" msgstr "" #: paw/templates/ticketing/ticket_detail.html:177 -#, fuzzy -#| msgid "Assign to me" msgid "Assign to new category" -msgstr "Me l'attribuer" +msgstr "" #: paw/templates/ticketing/ticket_detail.html:180 #: paw/templates/ticketing/ticket_detail.html:210 -#, fuzzy -#| msgid "Assign to me" msgid "Assign" -msgstr "Me l'attribuer" +msgstr "" #: paw/templates/ticketing/ticket_detail.html:185 -#, fuzzy -#| msgid "Assign to me" msgid "Assignees" -msgstr "Me l'attribuer" +msgstr "" #: paw/templates/ticketing/ticket_detail.html:192 msgid "Assign to me" msgstr "Me l'attribuer" #: paw/templates/ticketing/ticket_detail.html:207 -#, fuzzy -#| msgid "Assign to me" msgid "Assign to new team" -msgstr "Me l'attribuer" +msgstr "" #: paw/templates/ticketing/tickets.html:5 -#, fuzzy -#| msgid "Re-Open Ticket" msgid "Open Tickets" -msgstr "Réouverture du ticket" +msgstr "" #: paw/templates/ticketing/tickets.html:7 #: paw/templates/ticketing/tickets_history.html:7 @@ -362,10 +352,8 @@ msgid "View" msgstr "Ouvrir" #: paw/templates/ticketing/tickets_history.html:20 -#, fuzzy -#| msgid "Closed" msgid "Closed on" -msgstr "Fermé" +msgstr "" #: status/templates/status/incident_list.html:11 msgid "Some services might not be fully operational" -- 2.51.2 From a2dedb1c4c51a8021cebc703c4f86da0bbd26c2c Mon Sep 17 00:00:00 2001 From: Mister Fawx <150787691+MrFawx@users.noreply.github.com> Date: Sun, 7 Apr 2024 18:53:30 +0200 Subject: [PATCH 3/5] Translate missing keys for french i18n --- paw/locale/fr/LC_MESSAGES/django.po | 132 +++++++++++++++------------- 1 file changed, 72 insertions(+), 60 deletions(-) diff --git a/paw/locale/fr/LC_MESSAGES/django.po b/paw/locale/fr/LC_MESSAGES/django.po index bf6c62c..0b927b9 100644 --- a/paw/locale/fr/LC_MESSAGES/django.po +++ b/paw/locale/fr/LC_MESSAGES/django.po @@ -21,11 +21,11 @@ msgstr "" #: core/forms.py:27 core/forms.py:35 paw/templates/core/account_finish.html:33 #: paw/templates/core/login.html:24 paw/templates/core/register.html:24 msgid "Username" -msgstr "" +msgstr "Nom d'utilisateur" #: core/forms.py:31 msgid "Please enter a username" -msgstr "" +msgstr "Veuillez entrer un nom d'utilisateur" #: core/forms.py:32 msgid "" @@ -35,43 +35,43 @@ msgstr "Les noms d’utilisateurs ne peuvent contenir que des caractères alphan #: core/forms.py:58 msgid "Password and Confirm Password do not match." -msgstr "" +msgstr "Le mot de passe et la confirmation ne correspondent pas." #: core/forms.py:62 msgid "Password must be at least 10 characters long." -msgstr "" +msgstr "Le mot de passe doit être long d'au moins 10 carractères." #: core/forms.py:67 msgid "An account with this username already exists." -msgstr "" +msgstr "Un compte utilisant ce nom d'utilisateur existe déjà." #: core/forms.py:71 msgid "An account with this email already exists." -msgstr "" +msgstr "Un compte utilisant cet e-mail existe déjà." #: core/forms.py:88 msgid "An account with this username already exists" -msgstr "" +msgstr "Un compte utilisant ce nom d'utilisateur existe déjà" #: core/models.py:30 msgid "Google SSO User" -msgstr "" +msgstr "Utilisateur Google SSO" #: paw/settings.py:133 msgid "English" -msgstr "" +msgstr "Anglais" #: paw/settings.py:134 msgid "French" -msgstr "" +msgstr "Français" #: paw/settings.py:135 msgid "German" -msgstr "" +msgstr "Allemand" #: paw/templates/base.html:20 paw/templates/dashboard_base.html:40 msgid "Tickets" -msgstr "" +msgstr "Tickets" #: paw/templates/base.html:21 paw/templates/dashboard_base.html:53 #: paw/templates/ticketing/tickets.html:20 @@ -80,19 +80,19 @@ msgstr "Statut" #: paw/templates/core/account_finish.html:10 paw/templates/core/register.html:6 msgid "Register a new account" -msgstr "" +msgstr "Créer un nouveau compte" #: paw/templates/core/account_finish.html:13 msgid "Authenticate" -msgstr "" +msgstr "Se connecter" #: paw/templates/core/account_finish.html:14 msgid "Set up account" -msgstr "" +msgstr "Configurer le compte" #: paw/templates/core/account_finish.html:15 msgid "Done" -msgstr "" +msgstr "Terminer" #: paw/templates/core/account_finish.html:38 #: paw/templates/core/settings.html:55 @@ -101,23 +101,23 @@ msgstr "Enregistrer" #: paw/templates/core/login.html:7 paw/templates/core/login.html:39 msgid "Log In" -msgstr "" +msgstr "Connexion" #: paw/templates/core/login.html:9 msgid "Register Account" -msgstr "" +msgstr "Inscription" #: paw/templates/core/login.html:30 paw/templates/core/register.html:36 msgid "Password" -msgstr "" +msgstr "Mot de passe" #: paw/templates/core/login.html:35 msgid "Password Reset" -msgstr "" +msgstr "Redéfinir le mot de passe" #: paw/templates/core/login.html:46 msgid "Log in with Google" -msgstr "" +msgstr "Se connecter avec Google" #: paw/templates/core/register.html:30 #, fuzzy @@ -127,11 +127,11 @@ msgstr "Adresse e-mail" #: paw/templates/core/register.html:42 msgid "Confirm Password" -msgstr "" +msgstr "Confirmer le mot de passe" #: paw/templates/core/register.html:47 msgid "Register" -msgstr "" +msgstr "S'enregistrer" #: paw/templates/core/settings.html:7 paw/templates/dashboard_base.html:85 msgid "Settings" @@ -147,11 +147,11 @@ msgstr "Langue" #: paw/templates/core/settings.html:30 msgid "Use Darkmode" -msgstr "" +msgstr "Utiliser le mode sombre" #: paw/templates/core/settings.html:37 msgid "Receive Email Notifications" -msgstr "" +msgstr "Me notifier par e-mail" #: paw/templates/core/settings.html:44 msgid "Profile Picture" @@ -160,7 +160,7 @@ msgstr "Image du profil" #: paw/templates/core/settings.html:49 #: paw/templates/ticketing/ticket_detail.html:152 msgid "Contact" -msgstr "" +msgstr "Contact" #: paw/templates/dashboard_base.html:34 #: paw/templates/ticketing/create_ticket.html:50 @@ -174,7 +174,7 @@ msgstr "Historique" #: paw/templates/dashboard_base.html:79 msgid "Admin" -msgstr "" +msgstr "Admin" #: paw/templates/dashboard_base.html:89 msgid "Logout" @@ -187,15 +187,15 @@ msgstr "Non attribué" #: paw/templates/partials/ticket_priority_badge.html:4 ticketing/models.py:45 msgid "Low" -msgstr "" +msgstr "Bas" #: paw/templates/partials/ticket_priority_badge.html:6 ticketing/models.py:46 msgid "Medium" -msgstr "" +msgstr "Moyen" #: paw/templates/partials/ticket_priority_badge.html:8 ticketing/models.py:47 msgid "High" -msgstr "" +msgstr "Élevé" #: paw/templates/partials/ticket_status_badge.html:4 ticketing/models.py:40 msgid "Open" @@ -233,35 +233,35 @@ msgstr "Description" #: paw/templates/ticketing/create_ticket.html:34 #: paw/templates/ticketing/ticket_detail.html:9 msgid "Attachments" -msgstr "" +msgstr "Pièces jointes" #: paw/templates/ticketing/create_ticket.html:43 msgid "Create as follow-up to a closed ticket" -msgstr "" +msgstr "Créer comme le suivi d'un ticket fermé" #: paw/templates/ticketing/ticket_detail.html:14 msgid "Attachment" -msgstr "" +msgstr "Pièce jointe" #: paw/templates/ticketing/ticket_detail.html:21 msgid "Follow-Up Ticket to" -msgstr "" +msgstr "Suivi du ticket" #: paw/templates/ticketing/ticket_detail.html:28 msgid "Followed-Up by" -msgstr "" +msgstr "Suivi par le ticket" #: paw/templates/ticketing/ticket_detail.html:36 msgid "Activity" -msgstr "" +msgstr "Activité" #: paw/templates/ticketing/ticket_detail.html:61 msgid "Internal" -msgstr "" +msgstr "Interne" #: paw/templates/ticketing/ticket_detail.html:78 msgid "Apply Template" -msgstr "" +msgstr "Appliquer le modèle" #: paw/templates/ticketing/ticket_detail.html:96 msgid "Add Comment" @@ -275,7 +275,7 @@ msgstr "Nouveau ticket" #: paw/templates/ticketing/ticket_detail.html:107 msgid "Make this an internal comment" -msgstr "" +msgstr "Rendre le commentaire interne" #: paw/templates/ticketing/ticket_detail.html:116 msgid "Ticket has been closed" @@ -302,32 +302,42 @@ msgstr "Dernière mise à jour le" #: paw/templates/ticketing/tickets_history.html:42 ticketing/forms.py:81 #: ticketing/forms.py:104 ticketing/models.py:167 ticketing/models.py:180 msgid "General" -msgstr "" +msgstr "Général" #: paw/templates/ticketing/ticket_detail.html:177 +#, fuzzy +#| msgid "Assign to me" msgid "Assign to new category" -msgstr "" +msgstr "Attribuer à une nouvelle catégorie" #: paw/templates/ticketing/ticket_detail.html:180 #: paw/templates/ticketing/ticket_detail.html:210 +#, fuzzy +#| msgid "Assign to me" msgid "Assign" -msgstr "" +msgstr "Attribuer" #: paw/templates/ticketing/ticket_detail.html:185 +#, fuzzy +#| msgid "Assign to me" msgid "Assignees" -msgstr "" +msgstr "Attribué à" #: paw/templates/ticketing/ticket_detail.html:192 msgid "Assign to me" msgstr "Me l'attribuer" #: paw/templates/ticketing/ticket_detail.html:207 +#, fuzzy +#| msgid "Assign to me" msgid "Assign to new team" -msgstr "" +msgstr "Attribuer à une nouvelle équipe" #: paw/templates/ticketing/tickets.html:5 +#, fuzzy +#| msgid "Re-Open Ticket" msgid "Open Tickets" -msgstr "" +msgstr "Réouverture du ticket" #: paw/templates/ticketing/tickets.html:7 #: paw/templates/ticketing/tickets_history.html:7 @@ -352,64 +362,66 @@ msgid "View" msgstr "Ouvrir" #: paw/templates/ticketing/tickets_history.html:20 +#, fuzzy +#| msgid "Closed" msgid "Closed on" -msgstr "" +msgstr "Fermé" #: status/templates/status/incident_list.html:11 msgid "Some services might not be fully operational" -msgstr "" +msgstr "Certains services peuvent ne pas être opérationnels" #: status/templates/status/incident_list.html:16 msgid "All services are operational" -msgstr "" +msgstr "Tous les services sont opérationnels" #: status/templates/status/incident_list.html:21 msgid "Incidents" -msgstr "" +msgstr "Incidents" #: status/templates/status/incident_list.html:29 msgid "Resolved" -msgstr "" +msgstr "Résolu" #: status/templates/status/incident_list.html:31 msgid "Unresolved" -msgstr "" +msgstr "Non-résolu" #: status/templates/status/incident_list.html:37 msgid "No incidents yet." -msgstr "" +msgstr "Encore aucun incident." #: ticketing/forms.py:39 msgid "File size must be under 5MB." -msgstr "" +msgstr "La taille du fichier ne doit pas excéder 5Mo." #: ticketing/forms.py:52 msgid "File type not supported. Supported types are: .jpg, .png, .pdf" -msgstr "" +msgstr "Format du fichier non supporté. Les formats supportés sont: .jpg, .png. .pdf" #: ticketing/forms.py:73 msgid "Please enter a title" -msgstr "" +msgstr "Veuillez entrer un titre" #: ticketing/forms.py:74 msgid "Please describe your issue" -msgstr "" +msgstr "Veuillez décrire votre problème" #: ticketing/forms.py:82 msgid "No Follow-up" -msgstr "" +msgstr "Aucun suivi" #: ticketing/forms.py:99 msgid "No Team" -msgstr "Aucune Team" +msgstr "Aucune équipe" #: ticketing/models.py:31 msgid "" "If a team is selected, new tickets will automatically assigned to this team." -msgstr "" +msgstr "Si une équipe est sélectionnée, les nouveaux tickets lui seront automatiquement attribués." #~ msgid "Comment and close" -#~ msgstr "Commentaire et fermer" +#~ msgstr "Commenter et fermer" #~ msgid "No Category" #~ msgstr "Aucune catégorie" -- 2.51.2 From 41dc8a654028713ead2f909992bbdd8c7b605133 Mon Sep 17 00:00:00 2001 From: Alex Ottr Date: Sun, 7 Apr 2024 19:45:17 +0200 Subject: [PATCH 4/5] remove fuzzy keys and fix Open Tickets key --- paw/locale/fr/LC_MESSAGES/django.po | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/paw/locale/fr/LC_MESSAGES/django.po b/paw/locale/fr/LC_MESSAGES/django.po index 0b927b9..b87fe9d 100644 --- a/paw/locale/fr/LC_MESSAGES/django.po +++ b/paw/locale/fr/LC_MESSAGES/django.po @@ -120,8 +120,6 @@ msgid "Log in with Google" msgstr "Se connecter avec Google" #: paw/templates/core/register.html:30 -#, fuzzy -#| msgid "Mail Address" msgid "Email Address" msgstr "Adresse e-mail" @@ -268,8 +266,6 @@ msgid "Add Comment" msgstr "Ajouter un commentaire" #: paw/templates/ticketing/ticket_detail.html:98 -#, fuzzy -#| msgid "Create Ticket" msgid "Close Ticket" msgstr "Nouveau ticket" @@ -305,21 +301,15 @@ msgid "General" msgstr "Général" #: paw/templates/ticketing/ticket_detail.html:177 -#, fuzzy -#| msgid "Assign to me" msgid "Assign to new category" msgstr "Attribuer à une nouvelle catégorie" #: paw/templates/ticketing/ticket_detail.html:180 #: paw/templates/ticketing/ticket_detail.html:210 -#, fuzzy -#| msgid "Assign to me" msgid "Assign" msgstr "Attribuer" #: paw/templates/ticketing/ticket_detail.html:185 -#, fuzzy -#| msgid "Assign to me" msgid "Assignees" msgstr "Attribué à" @@ -328,16 +318,12 @@ msgid "Assign to me" msgstr "Me l'attribuer" #: paw/templates/ticketing/ticket_detail.html:207 -#, fuzzy -#| msgid "Assign to me" msgid "Assign to new team" msgstr "Attribuer à une nouvelle équipe" #: paw/templates/ticketing/tickets.html:5 -#, fuzzy -#| msgid "Re-Open Ticket" msgid "Open Tickets" -msgstr "Réouverture du ticket" +msgstr "Tickets ouverts" #: paw/templates/ticketing/tickets.html:7 #: paw/templates/ticketing/tickets_history.html:7 @@ -346,8 +332,6 @@ msgstr "pour" #: paw/templates/ticketing/tickets.html:18 #: paw/templates/ticketing/tickets_history.html:18 -#, fuzzy -#| msgid "Assign to me" msgid "Assigned to" msgstr "Me l'attribuer" @@ -362,8 +346,6 @@ msgid "View" msgstr "Ouvrir" #: paw/templates/ticketing/tickets_history.html:20 -#, fuzzy -#| msgid "Closed" msgid "Closed on" msgstr "Fermé" -- 2.51.2 From 643673ab387a3a7d9d844bc46acaff4076fd563b Mon Sep 17 00:00:00 2001 From: Alex Ottr Date: Sun, 7 Apr 2024 19:46:51 +0200 Subject: [PATCH 5/5] compile french i18n --- paw/locale/fr/LC_MESSAGES/django.mo | Bin 1910 -> 5843 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/paw/locale/fr/LC_MESSAGES/django.mo b/paw/locale/fr/LC_MESSAGES/django.mo index dfa4aff4e979b7949beb0a7b093231660173e878..e8bd5ec29841315ea111f0f26df79151e0e79b11 100644 GIT binary patch literal 5843 zcmca7#4?qEfq@~Kfq_AWfq~%*69Yp%0|UbuR*)zI!wGf<1`Y-WhLh|J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