# HG changeset patch # User Thierry Florac # Date 1291739244 -3600 # Node ID ddab9a29b54be2dc9b7f89ea212a141af0fe1b9b # Parent c37867f75a5405ddbd9ea4088fb488b3e02ca4ae Added "getAge" function in ztfy.utils.date module diff -r c37867f75a54 -r ddab9a29b54b ztfy/utils/locales/en/LC_MESSAGES/ztfy.utils.mo Binary file ztfy/utils/locales/en/LC_MESSAGES/ztfy.utils.mo has changed diff -r c37867f75a54 -r ddab9a29b54b ztfy/utils/locales/en/LC_MESSAGES/ztfy.utils.po --- 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 \n" "Language-Team: French \n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff -r c37867f75a54 -r ddab9a29b54b ztfy/utils/locales/fr/LC_MESSAGES/ztfy.utils.mo Binary file ztfy/utils/locales/fr/LC_MESSAGES/ztfy.utils.mo has changed diff -r c37867f75a54 -r ddab9a29b54b ztfy/utils/locales/fr/LC_MESSAGES/ztfy.utils.po --- 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 \n" "Language-Team: French \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é" diff -r c37867f75a54 -r ddab9a29b54b ztfy/utils/locales/ztfy.utils.pot --- 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 \n" "Language-Team: Zope 3 Developers \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 ""