Mercurial > sat_legacy_website
comparison sat_website/screenshots.py @ 2:0df46e87537d
i18n: marked translatable texts + add change language form on pages footer
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 30 Jul 2012 02:09:38 +0200 |
parents | 9305c6458e2f |
children | d42dd630476f |
comparison
equal
deleted
inserted
replaced
1:a49aa1b823f6 | 2:0df46e87537d |
---|---|
17 GNU Affero General Public License for more details. | 17 GNU Affero General Public License for more details. |
18 | 18 |
19 You should have received a copy of the GNU Affero General Public License | 19 You should have received a copy of the GNU Affero General Public License |
20 along with Foobar. If not, see <http://www.gnu.org/licenses/>. | 20 along with Foobar. If not, see <http://www.gnu.org/licenses/>. |
21 """ | 21 """ |
22 from django.utils.translation import ugettext_lazy as _ | |
22 from collections import namedtuple | 23 from collections import namedtuple |
23 | 24 |
24 ImageDesc = namedtuple("ImageDesc","path description") | 25 ImageDesc = namedtuple("ImageDesc","path description") |
25 VideoDesc = namedtuple("VideoDesc","path description poster") | 26 VideoDesc = namedtuple("VideoDesc","path description poster") |
26 | 27 |
27 #list the pictures | 28 #list the pictures |
28 | 29 |
29 screenshots = [ | 30 screenshots = [ |
30 ImageDesc("images/screenshots/libervia/libervia_login.png", "Libervia's login page"), | 31 ImageDesc("images/screenshots/libervia/libervia_login.png", _("Libervia's login page")), |
31 ImageDesc("images/screenshots/libervia/libervia_discussions.png", "Libervia's main view"), | 32 ImageDesc("images/screenshots/libervia/libervia_discussions.png", _("Libervia's main view")), |
32 ImageDesc("images/screenshots/primitivus/primitivus_tarot.png", "Primitivus showing a french Tarot play"), | 33 ImageDesc("images/screenshots/primitivus/primitivus_tarot.png", _("Primitivus showing a french Tarot play")), |
33 ImageDesc("images/screenshots/jp/jp.png", "cowsay sent in conversation through jp"), | 34 ImageDesc("images/screenshots/jp/jp.png", _("cowsay sent in conversation through jp")), |
34 ImageDesc("images/screenshots/wix/wix_tarot.png", "Wix showing a french Tarot play"), | 35 ImageDesc("images/screenshots/wix/wix_tarot.png", _("Wix showing a french Tarot play")), |
35 ] | 36 ] |
36 | 37 |
37 screencasts = [ | 38 screencasts = [ |
38 VideoDesc("videos/screencasts/présentation_SàT.webm", "The first video show wix, primitivus and jp", "videos/screencasts/posters/présentation_SàT.jpg"), | 39 VideoDesc("videos/screencasts/présentation_SàT.webm", _("The first video show wix, primitivus and jp"), "videos/screencasts/posters/présentation_SàT.jpg"), |
39 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"), | 40 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"), |
40 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"), | 41 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"), |
41 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"), | 42 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"), |
42 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"), | 43 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"), |
43 ] | 44 ] |
44 | 45 |
45 | 46 |
46 | 47 |
47 | 48 |