Skip to content

Commit 5e112b3

Browse files
authored
Merge pull request #267 from jean-gui/master
French version
2 parents 40a2749 + 1d71d49 commit 5e112b3

6 files changed

+3545
-2
lines changed

alexa.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@
4444
app.config['ASK_APPLICATION_ID'] = os.getenv('MEDIA_CENTER_SKILL_ID')
4545

4646
LANGUAGE = config.get('global', 'language')
47-
if LANGUAGE and LANGUAGE != 'None' and LANGUAGE == 'de':
47+
if LANGUAGE == 'de':
4848
TEMPLATE_FILE = "templates.de.yaml"
49+
elif LANGUAGE == 'fr':
50+
TEMPLATE_FILE = "templates.fr.yaml"
4951
else:
5052
LANGUAGE = 'en'
5153
TEMPLATE_FILE = "templates.en.yaml"

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
gunicorn
22
pytz
33
flask-ask>=0.9.8
4-
kodi-voice>=1.1.0
4+
kodi-voice>=1.1.3
55
cryptography==2.1.4

sample_slotvals.fr.txt

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Addon YouTube
2+
MovieGenre Comédie
3+
Movie Tropic Thunder
4+
Artist Sia
5+
Album One Thousand Forms of Fear
6+
MusicGenre Pop
7+
AudioPlaylist Vacances
8+
Song Elastic Heart
9+
Show Farscape
10+
VideoPlaylist vidéos HD
11+
ShowGenre Science Fiction
12+
MusicVideoGenre Pop
13+
MusicVideo Chandelier
14+
Volume soixante-quinze
15+
Season deux
16+
Episode huit
17+
ForwardDur une minute
18+
BackwardDur trente secondes

0 commit comments

Comments
 (0)