Free and open source ticket system written in python
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ‘Œ IMPROVE: Update translations and forms for french

+38 -15
+34 -9
paw/locale/fr/LC_MESSAGES/django.po
··· 8 8 msgstr "" 9 9 "Project-Id-Version: PACKAGE VERSION\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 - "POT-Creation-Date: 2024-03-08 00:49+0000\n" 11 + "POT-Creation-Date: 2024-03-08 01:27+0000\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 14 14 "Language-Team: LANGUAGE <LL@li.org>\n" ··· 30 30 msgid "German" 31 31 msgstr "Allemand" 32 32 33 - #: paw/templates/core/settings.html:6 paw/templates/dashboard_base.html:49 33 + #: paw/templates/core/settings.html:6 paw/templates/dashboard_base.html:53 34 34 msgid "Settings" 35 35 msgstr "Paramรจtres" 36 36 ··· 47 47 msgstr "Image du profil" 48 48 49 49 #: paw/templates/core/settings.html:30 50 + #: paw/templates/ticketing/ticket_detail.html:98 50 51 msgid "Contact" 51 52 msgstr "" 52 53 ··· 67 68 msgid "History" 68 69 msgstr "Historique" 69 70 70 - #: paw/templates/dashboard_base.html:53 71 + #: paw/templates/dashboard_base.html:57 71 72 msgid "Logout" 72 73 msgstr "Se dรฉconnecter" 73 74 74 - #: paw/templates/partials/assigned_to.html:11 75 - #: paw/templates/ticketing/ticket_detail.html:104 76 - #: paw/templates/ticketing/ticket_detail.html:134 75 + #: paw/templates/partials/assigned_to.html:17 76 + #: paw/templates/ticketing/ticket_detail.html:117 77 + #: paw/templates/ticketing/ticket_detail.html:147 77 78 msgid "Unassigned" 78 79 msgstr "Non attribuรฉ" 79 80 ··· 103 104 msgstr "Description" 104 105 105 106 #: paw/templates/ticketing/create_ticket.html:26 106 - #: paw/templates/ticketing/ticket_detail.html:98 107 + #: paw/templates/ticketing/ticket_detail.html:111 107 108 #: paw/templates/ticketing/tickets.html:19 108 109 msgid "Category" 109 110 msgstr "Catรฉgorie" ··· 116 117 msgid "Comment and close" 117 118 msgstr "Commentaire et fermer" 118 119 120 + #: paw/templates/ticketing/ticket_detail.html:63 121 + msgid "Ticket has been closed" 122 + msgstr "Le ticket a รฉtรฉ fermรฉ" 123 + 119 124 #: paw/templates/ticketing/ticket_detail.html:68 120 125 msgid "Re-Open Ticket" 121 126 msgstr "Rรฉouverture du ticket" 122 127 123 - #: paw/templates/ticketing/ticket_detail.html:110 128 + #: paw/templates/ticketing/ticket_detail.html:78 129 + msgid "Created by" 130 + msgstr "Crรฉรฉ par" 131 + 132 + #: paw/templates/ticketing/ticket_detail.html:91 133 + msgid "Created on" 134 + msgstr "Crรฉรฉ le" 135 + 136 + #: paw/templates/ticketing/ticket_detail.html:95 137 + msgid "Last updated" 138 + msgstr "Derniรจre mise ร  jour le" 139 + 140 + #: paw/templates/ticketing/ticket_detail.html:123 124 141 #, fuzzy 125 142 #| msgid "Assign to me" 126 143 msgid "Assign to new category" 127 144 msgstr "Me l'attribuer" 128 145 129 - #: paw/templates/ticketing/ticket_detail.html:125 146 + #: paw/templates/ticketing/ticket_detail.html:138 130 147 msgid "Assign to me" 131 148 msgstr "Me l'attribuer" 132 149 ··· 157 174 #: paw/templates/ticketing/tickets.html:41 158 175 msgid "View" 159 176 msgstr "Ouvrir" 177 + 178 + #: ticketing/forms.py:31 179 + msgid "No Team" 180 + msgstr "Aucune Team" 181 + 182 + #: ticketing/forms.py:36 183 + msgid "No Category" 184 + msgstr "Aucune catรฉgorie" 160 185 161 186 #: ticketing/models.py:35 162 187 msgid "Low"
+1
paw/templates/registration/login.html
··· 1 1 <!-- templates/registration/login.html --> 2 2 {% extends 'base.html' %} 3 3 {% block content %} 4 + {% load i18n %} 4 5 <div class="flex flex-col w-full max-w-xl mx-auto h-full min-h-screen justify-center"> 5 6 <div class=""> 6 7 <h1 class="text-3xl font-bold p-2">Log In</h1>
+3 -6
ticketing/forms.py
··· 1 1 from django import forms 2 2 from .models import Ticket, Template, Team, Category 3 + from django.utils.translation import gettext_lazy as _ 3 4 4 5 5 6 class CommentForm(forms.Form): ··· 25 26 template_select = forms.ModelChoiceField(queryset=Template.objects.all(), widget=forms.Select( 26 27 attrs={'class': 'select select-bordered select-sm w-full'})) 27 28 28 - # def __init__(self, queryset, *args, **kwargs): 29 - # self.fields["template"].queryset = queryset 30 - # super(TemplateForm, self).__init__(*args, **kwargs) 31 - 32 29 33 30 class TeamAssignmentForm(forms.Form): 34 - team_select = forms.ModelChoiceField(queryset=Team.objects.all(), empty_label='No Team', required=False, widget=forms.Select( 31 + team_select = forms.ModelChoiceField(queryset=Team.objects.all(), empty_label=_('No Team'), required=False, widget=forms.Select( 35 32 attrs={'class': 'select select-bordered select-sm w-full'})) 36 33 37 34 38 35 class CategoryAssignmentForm(forms.Form): 39 - category_select = forms.ModelChoiceField(queryset=Category.objects.all(), empty_label='No Category', required=False, widget=forms.Select( 36 + category_select = forms.ModelChoiceField(queryset=Category.objects.all(), empty_label=_('No Category'), required=False, widget=forms.Select( 40 37 attrs={'class': 'select select-bordered select-sm w-full'}))