Add "Shared" to translation

This commit is contained in:
bbe 2020-06-10 11:35:45 +02:00
parent 4cdea81ae7
commit bec486817c
3 changed files with 10 additions and 6 deletions

View File

@ -16,7 +16,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: django-helpdesk\n" "Project-Id-Version: django-helpdesk\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-09 16:28+0200\n" "POT-Creation-Date: 2020-06-10 11:34+0200\n"
"PO-Revision-Date: 2016-06-07 12:22+0000\n" "PO-Revision-Date: 2016-06-07 12:22+0000\n"
"Last-Translator: Antoine Nguyen <tonio@ngyn.org>\n" "Last-Translator: Antoine Nguyen <tonio@ngyn.org>\n"
"Language-Team: French (http://www.transifex.com/rossp/django-helpdesk/" "Language-Team: French (http://www.transifex.com/rossp/django-helpdesk/"
@ -1357,24 +1357,24 @@ msgstr "Créer un ticket"
msgid "Submit a Ticket" msgid "Submit a Ticket"
msgstr "Soumettre un Ticket" msgstr "Soumettre un Ticket"
#: .\templates\helpdesk\create_ticket.html:31 #: .\templates\helpdesk\create_ticket.html:32
#: .\templates\helpdesk\edit_ticket.html:11 #: .\templates\helpdesk\edit_ticket.html:11
msgid "Unless otherwise stated, all fields are required." msgid "Unless otherwise stated, all fields are required."
msgstr "Sauf mention contraire, tous les champs sont requis." msgstr "Sauf mention contraire, tous les champs sont requis."
#: .\templates\helpdesk\create_ticket.html:31 #: .\templates\helpdesk\create_ticket.html:33
#: .\templates\helpdesk\edit_ticket.html:11 #: .\templates\helpdesk\edit_ticket.html:11
#: .\templates\helpdesk\public_homepage.html:29 #: .\templates\helpdesk\public_homepage.html:29
msgid "Please provide as descriptive a title and description as possible." msgid "Please provide as descriptive a title and description as possible."
msgstr "" msgstr ""
"Veuillez fournir un titre et une description aussi détaillés que possible." "Veuillez fournir un titre et une description aussi détaillés que possible."
#: .\templates\helpdesk\create_ticket.html:41 #: .\templates\helpdesk\create_ticket.html:46
#: .\templates\helpdesk\ticket.html:147 .\templates\helpdesk\ticket.html:196 #: .\templates\helpdesk\ticket.html:147 .\templates\helpdesk\ticket.html:196
msgid "(Optional)" msgid "(Optional)"
msgstr "(Optionnel)" msgstr "(Optionnel)"
#: .\templates\helpdesk\create_ticket.html:50 #: .\templates\helpdesk\create_ticket.html:56
#: .\templates\helpdesk\public_homepage.html:56 #: .\templates\helpdesk\public_homepage.html:56
msgid "Submit Ticket" msgid "Submit Ticket"
msgstr "Soumettre un ticket" msgstr "Soumettre un ticket"
@ -2680,6 +2680,10 @@ msgstr "Utiliser la requête enregistrée"
msgid "Query" msgid "Query"
msgstr "Requête" msgstr "Requête"
#: .\templates\helpdesk\ticket_list.html:187
msgid "Shared"
msgstr "Partagée"
#: .\templates\helpdesk\ticket_list.html:190 #: .\templates\helpdesk\ticket_list.html:190
msgid "Run Query" msgid "Run Query"
msgstr "Exécuter la requête" msgstr "Exécuter la requête"

View File

@ -184,7 +184,7 @@ $(document).ready(function() {
<form method='get' action='{% url 'helpdesk:list' %}'> <form method='get' action='{% url 'helpdesk:list' %}'>
<p><label for='id_query_selector'>{% trans "Query" %}</label> <select name='saved_query' id='id_query_selector'> <p><label for='id_query_selector'>{% trans "Query" %}</label> <select name='saved_query' id='id_query_selector'>
{% for q in user_saved_queries %} {% for q in user_saved_queries %}
<option value='{{ q.id }}'>{{ q.title }}{% if q.shared %} (Shared{% ifnotequal user q.user %} by {{ q.user.get_username }}{% endifnotequal %}){% endif %}</option> <option value='{{ q.id }}'>{{ q.title }}{% if q.shared %} ({% trans "Shared" %}{% ifnotequal user q.user %} by {{ q.user.get_username }}{% endifnotequal %}){% endif %}</option>
{% endfor %} {% endfor %}
</select></p> </select></p>
<input class="btn btn-primary" type='submit' value='{% trans "Run Query" %}'> <input class="btn btn-primary" type='submit' value='{% trans "Run Query" %}'>