@@ -9,39 +9,39 @@ adding translations, please do not modify (.*), $1, ([0-9]+), etc.
9
9
a quite complicated regular expression. Plugging it into https://www.debuggex.com/ should help you figure out how
10
10
it is constructed.
11
11
-->
12
- <item name =" pattern_recognition" type =" string" >^(((watch|resume watching|listen to|watch movie ) (.+))|((offset|timecode ) (.+))|((pause|stop|resume) playback ))(on (.+))?</item >
12
+ <item name =" pattern_recognition" type =" string" >^(((lancer|reprendre lecture|écouter|lancer film ) (.+))|((position ) (.+))|((pause|reprise|arrêt) lecture ))(sur (.+))?</item >
13
13
14
- <item name =" pattern_resume_watching" type =" string" >^resume watching (.+)</item >
15
- <item name =" pattern_watch" type =" string" >watch $1</item >
16
- <item name =" pattern_watch_movie" type =" string" >watch movie (.+)</item >
17
- <item name =" pattern_watch_season_episode_of_show" type =" string" >watch season ([0-9]+) episode ([0-9]+) of (.+)</item >
18
- <item name =" pattern_watch_show_season_episode" type =" string" >watch (.+) season ([0-9]+) episode ([0-9]+)</item >
19
- <item name =" pattern_watch_episode_of_show" type =" string" >watch episode (.+) of (.+)</item >
20
- <item name =" pattern_watch_next_episode_of_show" type =" string" >watch the next episode of (.+)</item >
21
- <item name =" pattern_watch_latest_episode_of_show" type =" string" >watch( the )? latest episode of (.+)</item >
22
- <item name =" pattern_watch_show_episode_named" type =" string" >watch (.+) episode (.+)</item >
23
- <item name =" pattern_watch2" type =" string" >watch (.+)</item >
14
+ <item name =" pattern_resume_watching" type =" string" >^reprendre lecture (.+)</item >
15
+ <item name =" pattern_watch" type =" string" >lancer $1</item >
16
+ <item name =" pattern_watch_movie" type =" string" >lancer film (.+)</item >
17
+ <item name =" pattern_watch_season_episode_of_show" type =" string" >lancer saison ([0-9]+) épisode ([0-9]+) of (.+)</item >
18
+ <item name =" pattern_watch_show_season_episode" type =" string" >lancer (.+) saison ([0-9]+) épisode ([0-9]+)</item >
19
+ <item name =" pattern_watch_episode_of_show" type =" string" >lancer épisode (.+) of (.+)</item >
20
+ <item name =" pattern_watch_next_episode_of_show" type =" string" >lancer( le)? prochain épisode de (.+)</item >
21
+ <item name =" pattern_watch_latest_episode_of_show" type =" string" >lancer( le )? dernier épisode de (.+)</item >
22
+ <item name =" pattern_watch_show_episode_named" type =" string" >lancer (.+) épisode (.+)</item >
23
+ <item name =" pattern_watch2" type =" string" >lancer (.+)</item >
24
24
25
25
<!--
26
26
The following pattern lets the user say "listen to <album> by <artist>" or
27
27
"listen to the album <album> by <artist>".
28
28
-->
29
- <item name =" pattern_listen_to_album_by_artist" type =" string" >listen to( the album)? (.+) by (.+)</item >
29
+ <item name =" pattern_listen_to_album_by_artist" type =" string" >écouter( l' album)? (.+) de (.+)</item >
30
30
31
- <item name =" pattern_listen_to_album" type =" string" >listen to the album (.+)</item >
32
- <item name =" pattern_pause_playback" type =" string" >pause playback </item >
33
- <item name =" pattern_resume_playback" type =" string" >resume playback </item >
34
- <item name =" pattern_stop_playback" type =" string" >stop playback </item >
31
+ <item name =" pattern_listen_to_album" type =" string" >écouter l' album (.+)</item >
32
+ <item name =" pattern_pause_playback" type =" string" >pause lecture </item >
33
+ <item name =" pattern_resume_playback" type =" string" >reprise lecture </item >
34
+ <item name =" pattern_stop_playback" type =" string" >arrêt lecture </item >
35
35
36
36
<!--
37
37
The following are used in conjunction with the pattern_offset below. These should match the
38
38
(hours?minutes?seconds?), with the addition of the ^ character (to indicate that in the matching
39
39
pattern group starts with (hours or minutes or seconds). Unreliable behavior may result if
40
40
these to not match the corresponding groups in pattern_offset.
41
41
-->
42
- <item name =" pattern_hours" type =" string" >^hours ?</item >
42
+ <item name =" pattern_hours" type =" string" >^heures ?</item >
43
43
<item name =" pattern_minutes" type =" string" >^minutes?</item >
44
- <item name =" pattern_seconds" type =" string" >^seconds ?</item >
44
+ <item name =" pattern_seconds" type =" string" >^secondes ?</item >
45
45
46
46
<!--
47
47
Offset pattern. This lets the user start with with "offset" or "timecode", followed by:
@@ -57,5 +57,5 @@ adding translations, please do not modify (.*), $1, ([0-9]+), etc.
57
57
The (hours?|minutes?|seconds?) means hour, with or without an s at the end (singular or plural), and the
58
58
same for minutes and seconds (the | means "or").
59
59
-->
60
- <item name =" pattern_offset" type =" string" >^(offset|timecode ) ([0-9]+|two|to ) (hours ?|minutes?|seconds ?)(?: ([0-9]+|two|to ) (minutes?|seconds ?))?(?: ([0-9]+|two|to ) (seconds ?))?</item >
60
+ <item name =" pattern_offset" type =" string" >^(position ) ([0-9]+|de ) (heures ?|minutes?|secondes ?)(?: ([0-9]+|de ) (minutes?|secondes ?))?(?: ([0-9]+|de ) (secondes ?))?</item >
61
61
</resources >
0 commit comments