Skip to content

Commit

Permalink
Merge pull request #267 from jean-gui/master
Browse files Browse the repository at this point in the history
French version
  • Loading branch information
m0ngr31 authored Jul 28, 2018
2 parents 40a2749 + 1d71d49 commit 5e112b3
Show file tree
Hide file tree
Showing 6 changed files with 3,545 additions and 2 deletions.
4 changes: 3 additions & 1 deletion alexa.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@
app.config['ASK_APPLICATION_ID'] = os.getenv('MEDIA_CENTER_SKILL_ID')

LANGUAGE = config.get('global', 'language')
if LANGUAGE and LANGUAGE != 'None' and LANGUAGE == 'de':
if LANGUAGE == 'de':
TEMPLATE_FILE = "templates.de.yaml"
elif LANGUAGE == 'fr':
TEMPLATE_FILE = "templates.fr.yaml"
else:
LANGUAGE = 'en'
TEMPLATE_FILE = "templates.en.yaml"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gunicorn
pytz
flask-ask>=0.9.8
kodi-voice>=1.1.0
kodi-voice>=1.1.3
cryptography==2.1.4
18 changes: 18 additions & 0 deletions sample_slotvals.fr.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Addon YouTube
MovieGenre Comédie
Movie Tropic Thunder
Artist Sia
Album One Thousand Forms of Fear
MusicGenre Pop
AudioPlaylist Vacances
Song Elastic Heart
Show Farscape
VideoPlaylist vidéos HD
ShowGenre Science Fiction
MusicVideoGenre Pop
MusicVideo Chandelier
Volume soixante-quinze
Season deux
Episode huit
ForwardDur une minute
BackwardDur trente secondes
Loading

0 comments on commit 5e112b3

Please sign in to comment.