-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Traduction des modèles Tag & Category (#1946)
* Translate Tag model * Translate Category model * Translate filters. Update translation files
- Loading branch information
Showing
14 changed files
with
368 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Generated by Django 4.1.5 on 2023-02-22 18:52 | ||
|
||
import django.utils.timezone | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("categories", "0004_alter_category_created"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="category", | ||
options={"ordering": ["pk"], "verbose_name": "Category", "verbose_name_plural": "Categories"}, | ||
), | ||
migrations.AlterField( | ||
model_name="category", | ||
name="created", | ||
field=models.DateTimeField(default=django.utils.timezone.now, verbose_name="Creation date"), | ||
), | ||
migrations.AlterField( | ||
model_name="category", | ||
name="name", | ||
field=models.CharField(max_length=50, verbose_name="Name"), | ||
), | ||
migrations.AlterField( | ||
model_name="category", | ||
name="name_long", | ||
field=models.CharField(max_length=150, verbose_name="Name (long version)"), | ||
), | ||
migrations.AlterField( | ||
model_name="category", | ||
name="updated", | ||
field=models.DateTimeField(auto_now=True, verbose_name="Last update date"), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: \n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-02-22 19:14+0100\n" | ||
"POT-Creation-Date: 2023-02-22 20:16+0100\n" | ||
"PO-Revision-Date: 2023-02-12 20:12+0100\n" | ||
"Last-Translator: Didier Quirin <[email protected]>\n" | ||
"Language-Team: \n" | ||
|
@@ -19,6 +19,30 @@ msgstr "" | |
"X-Generator: Poedit 3.2.2\n" | ||
"X-Translated-Using: django-rosetta 0.9.8\n" | ||
|
||
#: api/questions/filters.py:11 | ||
msgid "Type(s)" | ||
msgstr "" | ||
|
||
#: api/questions/filters.py:13 | ||
msgid "Difficulty level(s)" | ||
msgstr "" | ||
|
||
#: api/questions/filters.py:16 api/quizs/filters.py:10 | ||
msgid "Language(s)" | ||
msgstr "" | ||
|
||
#: api/questions/filters.py:18 | ||
msgid "Category(s)" | ||
msgstr "" | ||
|
||
#: api/questions/filters.py:22 api/quizs/filters.py:12 | ||
msgid "Tag(s)" | ||
msgstr "" | ||
|
||
#: api/questions/filters.py:26 api/quizs/filters.py:16 | ||
msgid "Author(s)" | ||
msgstr "" | ||
|
||
#: app/settings.py:179 core/constants.py:117 | ||
msgid "English" | ||
msgstr "" | ||
|
@@ -39,6 +63,46 @@ msgstr "" | |
msgid "German" | ||
msgstr "" | ||
|
||
#: categories/models.py:11 quizs/models.py:88 tags/models.py:26 | ||
msgid "Name" | ||
msgstr "" | ||
|
||
#: categories/models.py:12 | ||
msgid "Name (long version)" | ||
msgstr "" | ||
|
||
#: categories/models.py:13 tags/models.py:27 | ||
msgid "Description" | ||
msgstr "" | ||
|
||
#: categories/models.py:15 questions/models.py:233 quizs/models.py:159 | ||
#: quizs/models.py:437 quizs/models.py:500 quizs/models.py:560 | ||
#: tags/models.py:29 | ||
msgid "Creation date" | ||
msgstr "" | ||
|
||
#: categories/models.py:16 questions/models.py:234 quizs/models.py:160 | ||
#: quizs/models.py:438 quizs/models.py:501 quizs/models.py:561 | ||
#: tags/models.py:30 | ||
msgid "Last update date" | ||
msgstr "" | ||
|
||
#: categories/models.py:19 questions/models.py:109 questions/models.py:237 | ||
#: templates/categories/detail_base.html:4 | ||
#: templates/categories/detail_questions.html:13 | ||
#: templates/tags/detail_questions.html:13 | ||
msgid "Category" | ||
msgstr "" | ||
|
||
#: categories/models.py:20 templates/categories/detail_base.html:13 | ||
#: templates/categories/list.html:5 templates/categories/list.html:14 | ||
msgid "Categories" | ||
msgstr "" | ||
|
||
#: categories/models.py:39 tags/models.py:63 | ||
msgid "Questions (public & validated)" | ||
msgstr "" | ||
|
||
#: contributions/forms.py:53 | ||
msgid "Message" | ||
msgstr "" | ||
|
@@ -115,6 +179,10 @@ msgstr "" | |
msgid "False" | ||
msgstr "" | ||
|
||
#: questions/filters.py:14 quizs/filters.py:17 tags/filters.py:10 | ||
msgid "Text search" | ||
msgstr "" | ||
|
||
#: questions/forms.py:33 | ||
msgid "Answer image" | ||
msgstr "" | ||
|
@@ -139,16 +207,9 @@ msgstr "" | |
msgid "Type" | ||
msgstr "" | ||
|
||
#: questions/models.py:109 questions/models.py:237 | ||
#: templates/categories/detail_base.html:4 | ||
#: templates/categories/detail_questions.html:13 | ||
#: templates/tags/detail_questions.html:13 | ||
msgid "Category" | ||
msgstr "" | ||
|
||
#: questions/models.py:117 questions/models.py:238 questions/models.py:358 | ||
#: quizs/models.py:102 quizs/models.py:166 quizs/models.py:369 | ||
#: templates/categories/detail_questions.html:14 | ||
#: tags/models.py:36 templates/categories/detail_questions.html:14 | ||
#: templates/includes/_header.html:35 templates/tags/create.html:17 | ||
#: templates/tags/detail_base.html:13 templates/tags/detail_questions.html:14 | ||
#: templates/tags/detail_quizs.html:13 templates/tags/list.html:14 | ||
|
@@ -281,16 +342,6 @@ msgstr "" | |
msgid "Visibility" | ||
msgstr "" | ||
|
||
#: questions/models.py:233 quizs/models.py:159 quizs/models.py:437 | ||
#: quizs/models.py:500 quizs/models.py:560 | ||
msgid "Creation date" | ||
msgstr "" | ||
|
||
#: questions/models.py:234 quizs/models.py:160 quizs/models.py:438 | ||
#: quizs/models.py:501 quizs/models.py:561 | ||
msgid "Last update date" | ||
msgstr "" | ||
|
||
#: questions/models.py:239 questions/models.py:359 quizs/models.py:181 | ||
#: templates/includes/_header.html:29 templates/questions/detail_base.html:34 | ||
#: templates/quizs/create.html:4 templates/quizs/create.html:18 | ||
|
@@ -338,10 +389,6 @@ msgstr "" | |
msgid "Quiz background image" | ||
msgstr "" | ||
|
||
#: quizs/models.py:88 | ||
msgid "Name" | ||
msgstr "" | ||
|
||
#: quizs/models.py:89 | ||
msgid "Slug" | ||
msgstr "" | ||
|
@@ -432,6 +479,14 @@ msgstr "" | |
msgid "Relationship type" | ||
msgstr "" | ||
|
||
#: tags/models.py:35 templates/tags/detail_base.html:4 | ||
msgid "Tag" | ||
msgstr "" | ||
|
||
#: tags/models.py:64 | ||
msgid "Quizs (public & published)" | ||
msgstr "" | ||
|
||
#: templates/403.html:4 templates/404.html:4 templates/404.html:10 | ||
#: templates/500.html:4 templates/500.html:10 | ||
msgid "Error" | ||
|
@@ -527,11 +582,6 @@ msgstr "" | |
msgid "View" | ||
msgstr "" | ||
|
||
#: templates/categories/detail_base.html:13 templates/categories/list.html:5 | ||
#: templates/categories/list.html:14 | ||
msgid "Categories" | ||
msgstr "" | ||
|
||
#: templates/categories/detail_base.html:28 | ||
#: templates/contributions/detail_base.html:33 | ||
#: templates/glossary/detail_base.html:28 | ||
|
@@ -906,7 +956,3 @@ msgstr "" | |
#: templates/quizs/detail_edit.html:72 | ||
msgid "The quiz is published even though it is not validated" | ||
msgstr "" | ||
|
||
#: templates/tags/detail_base.html:4 | ||
msgid "Tag" | ||
msgstr "" |
Binary file not shown.
Oops, something went wrong.