annotate sat_website/screenshots.py @ 25:930e73ea9e8e

select the current language in the languages selection list
author souliane <souliane@mailoo.org>
date Mon, 19 Jan 2015 14:23:56 +0100
parents 8cfc33e4d435
children b45621706d83
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
1 #!/usr/bin/python
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
3 """
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
4 SàT website: Salut à Toi's presentation website
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
5 Copyright (C) 2012 Jérôme Poisson (goffi@goffi.org)
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
6
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
7 This file is part of SàT website.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
8
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
9 SàT website is free software: you can redistribute it and/or modify
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
10 it under the terms of the GNU Affero General Public License as published by
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
11 the Free Software Foundation, either version 3 of the License, or
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
12 (at your option) any later version.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
13
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
14 Foobar is distributed in the hope that it will be useful,
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
17 GNU Affero General Public License for more details.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
18
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
19 You should have received a copy of the GNU Affero General Public License
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
20 along with Foobar. If not, see <http://www.gnu.org/licenses/>.
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
21 """
2
0df46e87537d i18n: marked translatable texts + add change language form on pages footer
Goffi <goffi@goffi.org>
parents: 0
diff changeset
22 from django.utils.translation import ugettext_lazy as _
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
23 from collections import namedtuple
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
24
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
25 ImageDesc = namedtuple("ImageDesc","path description")
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
26 VideoDesc = namedtuple("VideoDesc","path description poster")
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
27
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
28 #list the pictures
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
29
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
30 screenshots = [
4
d42dd630476f unicode fix
Goffi <goffi@goffi.org>
parents: 2
diff changeset
31 ImageDesc("images/screenshots/libervia/libervia_login.png", _(u"Libervia's login page")),
d42dd630476f unicode fix
Goffi <goffi@goffi.org>
parents: 2
diff changeset
32 ImageDesc("images/screenshots/libervia/libervia_discussions.png", _(u"Libervia's main view")),
d42dd630476f unicode fix
Goffi <goffi@goffi.org>
parents: 2
diff changeset
33 ImageDesc("images/screenshots/primitivus/primitivus_tarot.png", _(u"Primitivus showing a french Tarot play")),
d42dd630476f unicode fix
Goffi <goffi@goffi.org>
parents: 2
diff changeset
34 ImageDesc("images/screenshots/jp/jp.png", _(u"cowsay sent in conversation through jp")),
d42dd630476f unicode fix
Goffi <goffi@goffi.org>
parents: 2
diff changeset
35 ImageDesc("images/screenshots/wix/wix_tarot.png", _(u"Wix showing a french Tarot play")),
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
36 ]
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
37
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
38 screencasts = [
4
d42dd630476f unicode fix
Goffi <goffi@goffi.org>
parents: 2
diff changeset
39 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"),
d42dd630476f unicode fix
Goffi <goffi@goffi.org>
parents: 2
diff changeset
40 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"),
d42dd630476f unicode fix
Goffi <goffi@goffi.org>
parents: 2
diff changeset
41 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"),
d42dd630476f unicode fix
Goffi <goffi@goffi.org>
parents: 2
diff changeset
42 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"),
d42dd630476f unicode fix
Goffi <goffi@goffi.org>
parents: 2
diff changeset
43 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"),
15
b76ca5137041 added 6th presentation video (command export)
Goffi <goffi@goffi.org>
parents: 4
diff changeset
44 VideoDesc("videos/screencasts/présentation_SàT_6_export_commande.webm", _(u"Exporting a command: an FTP client is exported to a Gajim contact"), "videos/screencasts/posters/présentation_SàT_6_export_commande.jpg"),
21
8cfc33e4d435 add video showing the ad-hoc commands + fix some English
souliane <souliane@mailoo.org>
parents: 15
diff changeset
45 VideoDesc("videos/screencasts/présentation_SàT_7_télécommande_universelle.webm", _(u"Use ad-hoc commands to control a VLC player from Libervia"), "videos/screencasts/posters/présentation_SàT_7_télécommande_universelle.png"),
0
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
46 ]
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
47
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
48
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
49
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
50
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
51
9305c6458e2f initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
52