# HG changeset patch # User ymh # Date 1352979287 -3600 # Node ID 6bebef3405d570c86b2f2e0763c79e6b512f2320 # Parent de1e5c484575694bc4df269691eb9b5388a6db74 Add translation files diff -r de1e5c484575 -r 6bebef3405d5 src/hp/locale/en/LC_MESSAGES/django.mo Binary file src/hp/locale/en/LC_MESSAGES/django.mo has changed diff -r de1e5c484575 -r 6bebef3405d5 src/hp/locale/en/LC_MESSAGES/django.po --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/hp/locale/en/LC_MESSAGES/django.po Thu Nov 15 12:34:47 2012 +0100 @@ -0,0 +1,77 @@ +# 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. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-11-15 10:34+0100\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" + +#: models.py:13 +msgid "content.iri_id" +msgstr "Content id" + +#: models.py:14 +msgid "graph_id" +msgstr "Graph id" + +#: models.py:15 +msgid "topic_id" +msgstr "Topic id" + +#: settings.py:36 +msgid "French" +msgstr "French" + +#: settings.py:37 +msgid "English" +msgstr "English" + +#: settings.py:38 +msgid "Japanese" +msgstr "Japanese" + +#: templates/hp/all_videos.html:8 +msgid "Hyperplateau : all videos" +msgstr "Hyperplateau: all videos" + +#: templates/hp/all_videos.html:22 +msgid "All videos" +msgstr "All videos" + +#: templates/hp/all_videos.html:28 templates/hp/all_videos.html.py:32 +msgid "open this media" +msgstr "open this media" + +#: templates/hp/all_videos.html:35 +msgid "Duration:" +msgstr "Duration:" + +#: templates/hp/base.html:13 +msgid "Hyperplateau" +msgstr "Hyperplateau" + +#: templates/hp/base.html:34 +msgid "homepage" +msgstr "homepage" + +#: templates/hp/base.html:34 +msgid "Hyperplateau" +msgstr "Hyperplateau" + +#: templates/hp/video_player.html:7 templates/hp/video_player.html.py:22 +msgid "Watch" +msgstr "Watch" + +#: templates/hp/video_player.html:26 +msgid "Explore topics" +msgstr "Explore topics" diff -r de1e5c484575 -r 6bebef3405d5 src/hp/locale/fr/LC_MESSAGES/django.mo Binary file src/hp/locale/fr/LC_MESSAGES/django.mo has changed diff -r de1e5c484575 -r 6bebef3405d5 src/hp/locale/fr/LC_MESSAGES/django.po --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/hp/locale/fr/LC_MESSAGES/django.po Thu Nov 15 12:34:47 2012 +0100 @@ -0,0 +1,78 @@ +# 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. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-11-15 10:34+0100\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" + +#: models.py:13 +msgid "content.iri_id" +msgstr "Id contenu" + +#: models.py:14 +msgid "graph_id" +msgstr "Id graphe" + +#: models.py:15 +msgid "topic_id" +msgstr "Id topic" + +#: settings.py:36 +msgid "French" +msgstr "Français" + +#: settings.py:37 +msgid "English" +msgstr "Anglais" + +#: settings.py:38 +msgid "Japanese" +msgstr "Japonais" + +#: templates/hp/all_videos.html:8 +msgid "Hyperplateau : all videos" +msgstr "Hyperplateau : toutes les vidéos" + +#: templates/hp/all_videos.html:22 +msgid "All videos" +msgstr "Toutes les vidéos" + +#: templates/hp/all_videos.html:28 templates/hp/all_videos.html.py:32 +msgid "open this media" +msgstr "Ouvriri ce média" + +#: templates/hp/all_videos.html:35 +msgid "Duration:" +msgstr "Durée :" + +#: templates/hp/base.html:13 +msgid "Hyperplateau" +msgstr "Hyperplateau" + +#: templates/hp/base.html:34 +msgid "homepage" +msgstr "acceuil" + +#: templates/hp/base.html:34 +msgid "Hyperplateau" +msgstr "Hyperplateau" + +#: templates/hp/video_player.html:7 templates/hp/video_player.html.py:22 +msgid "Watch" +msgstr "Regarder" + +#: templates/hp/video_player.html:26 +msgid "Explore topics" +msgstr "Explorer les topics" diff -r de1e5c484575 -r 6bebef3405d5 src/hp/locale/ja/LC_MESSAGES/django.mo Binary file src/hp/locale/ja/LC_MESSAGES/django.mo has changed diff -r de1e5c484575 -r 6bebef3405d5 src/hp/locale/ja/LC_MESSAGES/django.po --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/hp/locale/ja/LC_MESSAGES/django.po Thu Nov 15 12:34:47 2012 +0100 @@ -0,0 +1,78 @@ +# 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. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-11-15 10:35+0100\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=1; plural=0\n" + +#: models.py:13 +msgid "content.iri_id" +msgstr "Content id" + +#: models.py:14 +msgid "graph_id" +msgstr "Graph id" + +#: models.py:15 +msgid "topic_id" +msgstr "Topic id" + +#: settings.py:36 +msgid "French" +msgstr "フランス語" + +#: settings.py:37 +msgid "English" +msgstr "英語" + +#: settings.py:38 +msgid "Japanese" +msgstr "日本語" + +#: templates/hp/all_videos.html:8 +msgid "Hyperplateau : all videos" +msgstr "Hyperplateau : すべてのビデオ" + +#: templates/hp/all_videos.html:22 +msgid "All videos" +msgstr "すべてのビデオ" + +#: templates/hp/all_videos.html:28 templates/hp/all_videos.html.py:32 +msgid "open this media" +msgstr "このメディアを開く" + +#: templates/hp/all_videos.html:35 +msgid "Duration:" +msgstr "ビデオ再生時間:" + +#: templates/hp/base.html:13 +msgid "Hyperplateau" +msgstr "Hyperplateau" + +#: templates/hp/base.html:34 +msgid "homepage" +msgstr "ホームページ" + +#: templates/hp/base.html:34 +msgid "Hyperplateau" +msgstr "Hyperplateau" + +#: templates/hp/video_player.html:7 templates/hp/video_player.html.py:22 +msgid "Watch" +msgstr "見守る" + +#: templates/hp/video_player.html:26 +msgid "Explore topics" +msgstr "トピック 探る" diff -r de1e5c484575 -r 6bebef3405d5 src/hp/settings.py --- a/src/hp/settings.py Thu Nov 15 04:14:18 2012 +0100 +++ b/src/hp/settings.py Thu Nov 15 12:34:47 2012 +0100 @@ -30,6 +30,15 @@ # http://www.i18nguy.com/unicode/language-identifiers.html LANGUAGE_CODE = 'en-us' +ugettext = lambda s: s + +LANGUAGES = ( + ('fr', ugettext('French')), + ('en', ugettext('English')), + ('ja', ugettext('Japanese')), +) + + SITE_ID = 1 # If you set this to False, Django will make some optimizations so as not