Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
PyWebCooking
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
20
Issues
20
List
Boards
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
cooking
PyWebCooking
Commits
c9bf2ec7
Commit
c9bf2ec7
authored
Nov 05, 2017
by
Floréal Cabanettes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add message if no recipe
parent
fdee1c62
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
24 deletions
+36
-24
locale/fr/LC_MESSAGES/django.mo
locale/fr/LC_MESSAGES/django.mo
+0
-0
locale/fr/LC_MESSAGES/django.po
locale/fr/LC_MESSAGES/django.po
+29
-24
templates/panel/recipes.html
templates/panel/recipes.html
+7
-0
No files found.
locale/fr/LC_MESSAGES/django.mo
View file @
c9bf2ec7
No preview for this file type
locale/fr/LC_MESSAGES/django.po
View file @
c9bf2ec7
...
...
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-1
0-29 14:0
6+0100\n"
"PO-Revision-Date: 2017-1
0-29 14:07
+0100\n"
"POT-Creation-Date: 2017-1
1-05 15:1
6+0100\n"
"PO-Revision-Date: 2017-1
1-05 15:16
+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
...
...
@@ -113,7 +113,8 @@ msgid "Category"
msgstr "Catégorie"
#: main/models/Category.py:16 templates/panel/base.html:222
#: templates/panel/recipes.html:72 templates/website/sidebar.html:9
#: templates/panel/recipes.html:81 templates/panel/recipes.html:147
#: templates/website/sidebar.html:9
msgid "Categories"
msgstr "Catégories"
...
...
@@ -197,8 +198,8 @@ msgid "Recipe"
msgstr "Recette"
#: main/models/Recipe.py:56 templates/panel/base.html:221
#: templates/panel/index.html:23 templates/panel/recipes.html:
8
#: templates/panel/recipes.html:
12
#: templates/panel/index.html:23 templates/panel/recipes.html:
16
#: templates/panel/recipes.html:
20
msgid "Recipes"
msgstr "Recettes"
...
...
@@ -206,7 +207,7 @@ msgstr "Recettes"
msgid "page"
msgstr "page"
#: panel/views/IndexView.py:34 panel/views/RecipesView.py:
76
#: panel/views/IndexView.py:34 panel/views/RecipesView.py:
98
#: templates/website/header.html:20
msgid "User panel"
msgstr "Panel utilisateur"
...
...
@@ -236,7 +237,7 @@ msgid "Editor"
msgstr "Éditeur"
#: templates/panel/base.html:220 templates/panel/index.html:11
#: templates/panel/recipes.html:1
1
#: templates/panel/recipes.html:1
9
msgid "Home"
msgstr "Accueil"
...
...
@@ -293,76 +294,80 @@ msgstr "Dernières recettes"
msgid "Latest comments"
msgstr "Derniers commentaires"
#: templates/panel/recipes.html:
18
#: templates/panel/recipes.html:
26
msgctxt "filter-recipes"
msgid "All"
msgstr "Toutes"
#: templates/panel/recipes.html:2
1
#: templates/panel/recipes.html:2
9
msgctxt "filter-recipes"
msgid "Mines"
msgstr "Les miennes"
#: templates/panel/recipes.html:
23
#: templates/panel/recipes.html:
31
msgctxt "filter-recipes"
msgid "Published"
msgstr "Publiées"
#: templates/panel/recipes.html:
29 templates/panel/recipes.html:125
#: templates/panel/recipes.html:
37 templates/panel/recipes.html:166
msgid "Grouped actions"
msgstr "Actions groupées"
#: templates/panel/recipes.html:3
0 templates/panel/recipes.html:126
#: templates/panel/recipes.html:3
8 templates/panel/recipes.html:167
msgid "Publish"
msgstr "Publier"
#: templates/panel/recipes.html:3
1 templates/panel/recipes.html:127
#: templates/panel/recipes.html:3
9 templates/panel/recipes.html:168
msgid "Unpublish"
msgstr "Ne plus publier"
#: templates/panel/recipes.html:
32 templates/panel/recipes.html:128
#: templates/panel/recipes.html:
40 templates/panel/recipes.html:169
msgid "Move to trash"
msgstr "Mettre à la corbeille"
#: templates/panel/recipes.html:
34 templates/panel/recipes.html:130
#: templates/panel/recipes.html:
42 templates/panel/recipes.html:171
msgid "Apply"
msgstr "Appliquer"
#: templates/panel/recipes.html:
38
#: templates/panel/recipes.html:
47
msgid "All dates"
msgstr "Toutes les dates"
#: templates/panel/recipes.html:
44
#: templates/panel/recipes.html:
53
msgctxt "categories"
msgid "All"
msgstr "Toutes"
#: templates/panel/recipes.html:
49
#: templates/panel/recipes.html:
58
msgctxt "verb"
msgid "Filter"
msgstr "Filtrer"
#: templates/panel/recipes.html:
66
#: templates/panel/recipes.html:
75 templates/panel/recipes.html:141
msgid "Title"
msgstr "Titre"
#: templates/panel/recipes.html:
69
#: templates/panel/recipes.html:
78 templates/panel/recipes.html:144
msgid "Author"
msgstr "Auteur"
#: templates/panel/recipes.html:
78
#: templates/panel/recipes.html:
87 templates/panel/recipes.html:153
msgid "Date"
msgstr "Date"
#: templates/panel/recipes.html:
81
#: templates/panel/recipes.html:
90 templates/panel/recipes.html:156
msgid "Thumb"
msgstr "Thumb"
#: templates/panel/recipes.html:107
#: templates/panel/recipes.html:98
msgid "There is no recipes!"
msgstr "Aucune recette trouvée !"
#: templates/panel/recipes.html:123
msgid "Published"
msgstr "Publiée"
#: templates/panel/recipes.html:1
09
#: templates/panel/recipes.html:1
25
msgid "Draft"
msgstr "Brouillon"
...
...
templates/panel/recipes.html
View file @
c9bf2ec7
...
...
@@ -92,6 +92,13 @@
</tr>
</thead>
<tbody>
{% if recipes|length == 0 %}
<tr>
<td
class=
"no-recipes"
colspan=
"7"
>
{% trans "There is no recipes!" %}
</td>
</tr>
{% endif %}
{% for recipe in recipes %}
<tr>
<td>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment