Mercurial > sat_legacy_website
changeset 4:d42dd630476f
unicode fix
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 31 Jul 2012 13:51:38 +0200 |
parents | 43d8c6d59557 |
children | e45aed963722 |
files | sat_website/screenshots.py sat_website/views.py |
diffstat | 2 files changed, 16 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_website/screenshots.py Mon Jul 30 02:10:14 2012 +0200 +++ b/sat_website/screenshots.py Tue Jul 31 13:51:38 2012 +0200 @@ -28,19 +28,19 @@ #list the pictures screenshots = [ - ImageDesc("images/screenshots/libervia/libervia_login.png", _("Libervia's login page")), - ImageDesc("images/screenshots/libervia/libervia_discussions.png", _("Libervia's main view")), - ImageDesc("images/screenshots/primitivus/primitivus_tarot.png", _("Primitivus showing a french Tarot play")), - ImageDesc("images/screenshots/jp/jp.png", _("cowsay sent in conversation through jp")), - ImageDesc("images/screenshots/wix/wix_tarot.png", _("Wix showing a french Tarot play")), + ImageDesc("images/screenshots/libervia/libervia_login.png", _(u"Libervia's login page")), + ImageDesc("images/screenshots/libervia/libervia_discussions.png", _(u"Libervia's main view")), + ImageDesc("images/screenshots/primitivus/primitivus_tarot.png", _(u"Primitivus showing a french Tarot play")), + ImageDesc("images/screenshots/jp/jp.png", _(u"cowsay sent in conversation through jp")), + ImageDesc("images/screenshots/wix/wix_tarot.png", _(u"Wix showing a french Tarot play")), ] screencasts = [ - VideoDesc("videos/screencasts/présentation_SàT.webm", _("The first video show wix, primitivus and jp"), "videos/screencasts/posters/présentation_SàT.jpg"), - VideoDesc("videos/screencasts/présentation_SàT_2.webm", _("This video show french Tarot game, and how to use Thunderbird with SàT"), "videos/screencasts/posters/présentation_SàT_2.jpg"), - VideoDesc("videos/screencasts/présentation_SàT_3.webm", _("This video focuses on Libervia. The UI is really outdated, but we can see some features"), "videos/screencasts/posters/présentation_SàT_3.jpg"), - VideoDesc("videos/screencasts/présentation_SàT_4_copie_et_pipe.webm", _("How to copy and pipe streams over XMPP"), "videos/screencasts/posters/présentation_SàT_4.jpg"), - VideoDesc("videos/screencasts/présentation_SàT_5_radio_collective.webm", _("Demo of the new Libervia UI, and of the collective radio feature"), "videos/screencasts/posters/radiocol.jpg"), + VideoDesc("videos/screencasts/présentation_SàT.webm", _(u"The first video show wix, primitivus and jp"), "videos/screencasts/posters/présentation_SàT.jpg"), + VideoDesc("videos/screencasts/présentation_SàT_2.webm", _(u"This video show french Tarot game, and how to use Thunderbird with SàT"), "videos/screencasts/posters/présentation_SàT_2.jpg"), + VideoDesc("videos/screencasts/présentation_SàT_3.webm", _(u"This video focuses on Libervia. The UI is really outdated, but we can see some features"), "videos/screencasts/posters/présentation_SàT_3.jpg"), + VideoDesc("videos/screencasts/présentation_SàT_4_copie_et_pipe.webm", _(u"How to copy and pipe streams over XMPP"), "videos/screencasts/posters/présentation_SàT_4.jpg"), + VideoDesc("videos/screencasts/présentation_SàT_5_radio_collective.webm", _(u"Demo of the new Libervia UI, and of the collective radio feature"), "videos/screencasts/posters/radiocol.jpg"), ]
--- a/sat_website/views.py Mon Jul 30 02:10:14 2012 +0200 +++ b/sat_website/views.py Tue Jul 31 13:51:38 2012 +0200 @@ -27,12 +27,12 @@ from collections import OrderedDict import screenshots, social_contract, utils -CATEGORIES = OrderedDict([("features", _("Features")), - ("frontends", _("Frontends")), - ("screenshots", _("Screenshots & Videos")), - ("community", _("Community")), - ("developers", _("Developers corner")), - ("social_contract", _("Social contract"))]) +CATEGORIES = OrderedDict([("features", _(u"Features")), + ("frontends", _(u"Frontends")), + ("screenshots", _(u"Screenshots & Videos")), + ("community", _(u"Community")), + ("developers", _(u"Developers corner")), + ("social_contract", _(u"Social contract"))]) def overview(request): return render_to_response('sat_website/overview.html')