Added "getAge" function in ztfy.utils.date module
authorThierry Florac <tflorac@ulthar.net>
Tue, 07 Dec 2010 17:27:24 +0100
changeset 69 ddab9a29b54b
parent 68 c37867f75a54
child 70 82d8de021806
child 76 6ca775e44505
Added "getAge" function in ztfy.utils.date module
ztfy/utils/locales/en/LC_MESSAGES/ztfy.utils.mo
ztfy/utils/locales/en/LC_MESSAGES/ztfy.utils.po
ztfy/utils/locales/fr/LC_MESSAGES/ztfy.utils.mo
ztfy/utils/locales/fr/LC_MESSAGES/ztfy.utils.po
ztfy/utils/locales/ztfy.utils.pot
Binary file ztfy/utils/locales/en/LC_MESSAGES/ztfy.utils.mo has changed
--- a/ztfy/utils/locales/en/LC_MESSAGES/ztfy.utils.po	Tue Dec 07 17:24:39 2010 +0100
+++ b/ztfy/utils/locales/en/LC_MESSAGES/ztfy.utils.po	Tue Dec 07 17:27:24 2010 +0100
@@ -14,10 +14,11 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: ZTFY.utils\n"
-"POT-Creation-Date: Sun Apr  4 00:48:59 2010\n"
+"POT-Creation-Date: Tue Dec  7 17:25:11 2010\n"
 "PO-Revision-Date: 2009-08-14 18:14+0200\n"
 "Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
 "Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
Binary file ztfy/utils/locales/fr/LC_MESSAGES/ztfy.utils.mo has changed
--- a/ztfy/utils/locales/fr/LC_MESSAGES/ztfy.utils.po	Tue Dec 07 17:24:39 2010 +0100
+++ b/ztfy/utils/locales/fr/LC_MESSAGES/ztfy.utils.po	Tue Dec 07 17:27:24 2010 +0100
@@ -14,25 +14,58 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: ZTFY.utils\n"
-"POT-Creation-Date: Fri Mar  5 00:16:46 2010\n"
+"POT-Creation-Date: Tue Dec  7 17:25:11 2010\n"
 "PO-Revision-Date: 2009-08-14 18:14+0200\n"
 "Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
 "Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Generated-By: zope/app/locales/extract.py\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
+#: ztfy/utils/date.py:101
+msgid "%d hours ago"
+msgstr "il y a %d heures"
+
+#: ztfy/utils/date.py:103
+msgid "%d minutes ago"
+msgstr "il y a %d minutes"
+
+#: ztfy/utils/date.py:105
+msgid "less than 5 minutes ago"
+msgstr "il y a moins de 5 minutes"
+
+#: ztfy/utils/date.py:89
+msgid "%d months ago"
+msgstr "il y a %d mois"
+
+#: ztfy/utils/date.py:91
+msgid "%d weeks ago"
+msgstr "il y a %d semaines"
+
+#: ztfy/utils/date.py:93
+msgid "%d days ago"
+msgstr "il y a %d jours"
+
+#: ztfy/utils/date.py:95
+msgid "the day before yesterday"
+msgstr "avant-hier"
+
+#: ztfy/utils/date.py:97
+msgid "yesterday"
+msgstr "hier"
+
 #: ztfy/utils/request.py:39
 msgid "No Request in interaction !"
 msgstr "Pas de requête en cours !"
 
-#: ztfy/utils/security.py:62
+#: ztfy/utils/security.py:63
 msgid "< missing principal %s>"
 msgstr "< utilisateur inconnu %s >"
 
-#: ztfy/utils/security.py:66
+#: ztfy/utils/security.py:67
 msgid "This principal can't be found in any authentication utility..."
 msgstr "Cet utilisateur ne peut pas être trouvé"
 
--- a/ztfy/utils/locales/ztfy.utils.pot	Tue Dec 07 17:24:39 2010 +0100
+++ b/ztfy/utils/locales/ztfy.utils.pot	Tue Dec 07 17:27:24 2010 +0100
@@ -14,7 +14,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Development/Unknown\n"
-"POT-Creation-Date: Sun Apr  4 00:48:59 2010\n"
+"POT-Creation-Date: Tue Dec  7 17:25:11 2010\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
@@ -23,15 +23,47 @@
 "Content-Transfer-Encoding: 8bit\n"
 "Generated-By: zope/app/locales/extract.py\n"
 
+#: ztfy/utils/date.py:101
+msgid "%d hours ago"
+msgstr ""
+
+#: ztfy/utils/date.py:103
+msgid "%d minutes ago"
+msgstr ""
+
+#: ztfy/utils/date.py:105
+msgid "less than 5 minutes ago"
+msgstr ""
+
+#: ztfy/utils/date.py:89
+msgid "%d months ago"
+msgstr ""
+
+#: ztfy/utils/date.py:91
+msgid "%d weeks ago"
+msgstr ""
+
+#: ztfy/utils/date.py:93
+msgid "%d days ago"
+msgstr ""
+
+#: ztfy/utils/date.py:95
+msgid "the day before yesterday"
+msgstr ""
+
+#: ztfy/utils/date.py:97
+msgid "yesterday"
+msgstr ""
+
 #: ztfy/utils/request.py:39
 msgid "No Request in interaction !"
 msgstr ""
 
-#: ztfy/utils/security.py:62
+#: ztfy/utils/security.py:63
 msgid "< missing principal %s>"
 msgstr ""
 
-#: ztfy/utils/security.py:66
+#: ztfy/utils/security.py:67
 msgid "This principal can't be found in any authentication utility..."
 msgstr ""