nico 8 жил өмнө
parent
commit
d4124b26d0

+ 12 - 9
templates/fr_gmail.j2

@@ -1,9 +1,12 @@
-Vous avez {{ unread }} i-maile
-
-{% set count = 1 %}
-{% if unread > 0 %}
-    {% for subject in subjects %}
-     i-maile {{ count }}. {{ subject }}
-     {% set count = count + 1 %}
-    {% endfor %}
-{% endif %}
+{% if unread == 0 %}
+    Vous n'avez aucun email
+{% else %}
+    Vous avez {{ unread }} email.
+    {% set count = 1 %}
+    {% if unread > 0 %}
+        {% for subject in subjects %}
+         i-maile {{ count }}. {{ subject }}.
+         {% set count = count + 1 %}
+        {% endfor %}
+    {% endif %}
+{% endif %}

+ 5 - 0
templates/fr_gmail_count_unread.j2

@@ -0,0 +1,5 @@
+{% if unread == 0 %}
+    Vous n'avez aucun email.
+{% else %}
+    Vous avez {{ unread }} email.
+{% endif %}