Detect theme and exercice language at runtime (not stored)
This commit is contained in:
parent
99cc79421f
commit
aa0e7406c1
17 changed files with 99 additions and 42 deletions
|
|
@ -143,7 +143,7 @@ func checkResolutionVideo(e *fic.Exercice, exceptions *sync.CheckExceptions) (er
|
|||
if !subtitles_seen && !exceptions.HasException(":subtitle:no_track") {
|
||||
errs = append(errs, fmt.Errorf("no subtitles track found"))
|
||||
} else if subtitles_seen {
|
||||
errs = append(errs, CheckGrammarSubtitleTrack(path, exceptions)...)
|
||||
errs = append(errs, CheckGrammarSubtitleTrack(path, e, exceptions)...)
|
||||
}
|
||||
|
||||
return
|
||||
|
|
|
|||
Reference in a new issue