Browse Source

[Refactor] Remove unused template directory in kalliope Core

monf 8 years ago
parent
commit
9f1ee4b88c

+ 0 - 7
kalliope/templates/en_rss.j2

@@ -1,7 +0,0 @@
-Here's the news from {{ feed }}
-
-{% set count = 1 %}
-{% for item in items %}
-News {{ count }}. {{ item.title }}.
-{% set count = count + 1 %}
-{% endfor %}

+ 0 - 50
kalliope/templates/en_systemdate_template_example.j2

@@ -1,50 +0,0 @@
-{% set day_of_week = {
-    "0": "sunday",
-    "1": "monday",
-    "2": "tuesday",
-    "3": "wednesday",
-    "4": "thursday",
-    "5": "friday",
-    "6": "saturday"
-    }[weekday] | default("")
--%}
-
-{% set month_word = {"1": "january", "2": "february", "3": "march", "4": "april", "5": "may", "6": "june", "7": "july", "8": "august", "9": "september", "10": "october", "11": "november", "12": "december"}[month] | default("") -%}
-
-{% set day_month_formated = {
-    "1": "first",
-    "2": "second",
-    "3": "third",
-    "4": "fourth",
-    "5": "fifth",
-    "6": "sixth",
-    "7": "seventh",
-    "8": "eighth",
-    "9": "ninth",
-    "10": "tenth",
-    "11": "eleventh",
-    "12": "twelfth",
-    "13": "thirteenth",
-    "14": "fourteenth",
-    "15": "fifteenth",
-    "16": "sixteenth",
-    "17": "seventeenth",
-    "18": "eighteenth",
-    "19": "nineteenth",
-    "20": "twentieth",
-    "21": "twenty-first",
-    "22": "twenty-second",
-    "23": "twenty-third",
-    "24": "twenty-fourth",
-    "25": "twenty-fifth",
-    "26": "twenty-sixth",
-    "27": "twenty-seventh",
-    "28": "twenty-eighth",
-    "29": "twenty-ninth",
-    "30": "thirtieth",
-    "31": "thirty-first",
-
-}[day_month] | default("") -%}
-
-It' {{ hours }} hours and {{ minutes }} minutes.
-We are the {{ day_of_week }} {{ month_word }} the {{ day_month_formated }} {{ year }}

+ 0 - 12
kalliope/templates/fr_gmail.j2

@@ -1,12 +0,0 @@
-{% 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 %}

+ 0 - 5
kalliope/templates/fr_gmail_count_unread.j2

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

+ 0 - 7
kalliope/templates/fr_rss.j2

@@ -1,7 +0,0 @@
-Voici les nouvelles de {{ feed }}
-
-{% set count = 1 %}
-{% for item in items %}
-Nouvelle {{ count }}. {{ item.title }}.
-{% set count = count + 1 %}
-{% endfor %}

+ 0 - 5
kalliope/templates/fr_systemdate_template_example.j2

@@ -1,5 +0,0 @@
-{% set day_of_week = {"0": "dimanche", "1": "lundi", "2": "mardi", "3": "mercredi", "4": "jeudi", "5": "vendredi", "6": "samedi"}[weekday] | default("") -%}
-{% set month_word = {"1": "janvier", "2": "février", "3": "mars", "4": "avril", "5": "mai", "6": "juin", "7": "juillet", "8": "août", "9": "septembre", "10": "octobre", "11": "novembre", "12": "décembre"}[month] | default("") -%}
-
-Il est {{ hours }} heures et {{ minutes }} minutes.
-Nous sommes le {{ day_of_week }} {{ day_month }} {{ month_word }} {{ year }}

+ 0 - 5
kalliope/templates/remove_file.j2

@@ -1,5 +0,0 @@
-{% if returncode == 0 %}
-    The command has succeeded
-{% else %}
-    The command has failed
-{% endif %}

+ 0 - 12
kalliope/templates/wikipedia_returned_value.j2

@@ -1,12 +0,0 @@
-{% if returncode == "DisambiguationError" %}
-    Veuillez etre plus précis. La recherche que vous venez d'éffectuez peut correspondre au page Wikipédia suivante:
-    {% if may_refer is not none %}
-        {% for el in may_refer %}
-            {{ el }}
-        {% endfor %}
-    {% endif %}
-{% elif returncode == "PageError" %}
-    Je n'ai rien trouvé la dessus
-{% else %}
-    {{ summary }}
-{% endif %}