# HG changeset patch # User cavaliet # Date 1359454394 -3600 # Node ID a5c4f3bf91a76d6cf1cd6aa1e1f0556646ea4597 # Parent dd32b8b689e87e97221e16c875a1cdc81b90b658 first step of language files. diff -r dd32b8b689e8 -r a5c4f3bf91a7 .hgignore --- a/.hgignore Mon Jan 28 18:49:51 2013 +0100 +++ b/.hgignore Tue Jan 29 11:13:14 2013 +0100 @@ -7,6 +7,7 @@ ^web/static/site$ syntax: regexp ^\.pydevproject$ +^\.project$ ^\.settings/org\.eclipse\.core\.resources\.prefs$ ^\.settings/org\.eclipse\.core\.runtime\.prefs$ diff -r dd32b8b689e8 -r a5c4f3bf91a7 src/egonomy/locale/en/LC_MESSAGES/django.mo Binary file src/egonomy/locale/en/LC_MESSAGES/django.mo has changed diff -r dd32b8b689e8 -r a5c4f3bf91a7 src/egonomy/locale/en/LC_MESSAGES/django.po --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/egonomy/locale/en/LC_MESSAGES/django.po Tue Jan 29 11:13:14 2013 +0100 @@ -0,0 +1,66 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-01-29 03:51-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: settings.py:126 +msgid "French" +msgstr "" + +#: settings.py:127 +msgid "English" +msgstr "" + +#: templates/egonomy_annotate_picture.html:5 +msgid "Annotate a picture" +msgstr "" + +#: templates/egonomy_base.html:23 +msgid "by" +msgstr "" + +#: templates/egonomy_base.html:25 +msgid "Search" +msgstr "" + +#: templates/egonomy_base.html:28 +msgid "Login" +msgstr "" + +#: templates/egonomy_home.html:5 +msgid "Home" +msgstr "" + +#: templates/egonomy_home.html:12 +msgid "Last annotated pictures" +msgstr "" + +#: templates/egonomy_home.html:20 templates/egonomy_home.html.py:28 +#: templates/egonomy_home.html:36 templates/egonomy_home.html.py:44 +#: templates/egonomy_home.html:64 templates/egonomy_home.html.py:77 +#: templates/egonomy_home.html:90 templates/egonomy_home.html.py:103 +msgid "Annotated by" +msgstr "" + +#: templates/egonomy_home.html:51 +msgid "Last modified fragments" +msgstr "" + +#: templates/egonomy_home.html:63 templates/egonomy_home.html.py:76 +#: templates/egonomy_home.html:89 templates/egonomy_home.html.py:102 +msgid "Fragment from" +msgstr "" diff -r dd32b8b689e8 -r a5c4f3bf91a7 src/egonomy/locale/fr/LC_MESSAGES/django.mo Binary file src/egonomy/locale/fr/LC_MESSAGES/django.mo has changed diff -r dd32b8b689e8 -r a5c4f3bf91a7 src/egonomy/locale/fr/LC_MESSAGES/django.po --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/egonomy/locale/fr/LC_MESSAGES/django.po Tue Jan 29 11:13:14 2013 +0100 @@ -0,0 +1,74 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-01-29 03:51-0600\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1)\n" + +#: settings.py:126 +msgid "French" +msgstr "Français" + +#: settings.py:127 +msgid "English" +msgstr "Anglais" + +#: templates/egonomy_annotate_picture.html:5 +msgid "Annotate a picture" +msgstr "Annoter une image" + +#: templates/egonomy_base.html:23 +msgid "by" +msgstr "par" + +#: templates/egonomy_base.html:25 +msgid "Search" +msgstr "Rechercher" + +#: templates/egonomy_base.html:28 +msgid "Login" +msgstr "Se connecter" + +#: templates/egonomy_home.html:5 +msgid "Home" +msgstr "Accueil" + +#: templates/egonomy_home.html:12 +msgid "Last annotated pictures" +msgstr "Dernières images annotées" + +#: templates/egonomy_home.html:20 +#: templates/egonomy_home.html.py:28 +#: templates/egonomy_home.html:36 +#: templates/egonomy_home.html.py:44 +#: templates/egonomy_home.html:64 +#: templates/egonomy_home.html.py:77 +#: templates/egonomy_home.html:90 +#: templates/egonomy_home.html.py:103 +msgid "Annotated by" +msgstr "Annoté par" + +#: templates/egonomy_home.html:51 +msgid "Last created fragments" +msgstr "Derniers fragments créés" + +#: templates/egonomy_home.html:63 +#: templates/egonomy_home.html.py:76 +#: templates/egonomy_home.html:89 +#: templates/egonomy_home.html.py:102 +msgid "Fragment from" +msgstr "Fragment de" + diff -r dd32b8b689e8 -r a5c4f3bf91a7 src/egonomy/settings.py --- a/src/egonomy/settings.py Mon Jan 28 18:49:51 2013 +0100 +++ b/src/egonomy/settings.py Tue Jan 29 11:13:14 2013 +0100 @@ -121,6 +121,12 @@ 'egonomy', ) +ugettext = lambda s: s +LANGUAGES = ( + ('fr', ugettext('French')), + ('en', ugettext('English')), +) + # A sample logging configuration. The only tangible logging # performed by this configuration is to send an email to # the site admins on every HTTP 500 error when DEBUG=False. diff -r dd32b8b689e8 -r a5c4f3bf91a7 src/egonomy/templates/egonomy_home.html --- a/src/egonomy/templates/egonomy_home.html Mon Jan 28 18:49:51 2013 +0100 +++ b/src/egonomy/templates/egonomy_home.html Tue Jan 29 11:13:14 2013 +0100 @@ -48,7 +48,7 @@
-

{% trans "Last modified fragments" %}

+

{% trans "Last created fragments" %}