feat [both]: allow dubbed
This commit is contained in:
parent
5339cf8d0f
commit
4be2470122
3 changed files with 6 additions and 0 deletions
|
@ -98,6 +98,10 @@
|
||||||
<input type="radio" name="language-subtitle" />
|
<input type="radio" name="language-subtitle" />
|
||||||
{{ LanguageSubtitles.FOREIGN }}
|
{{ LanguageSubtitles.FOREIGN }}
|
||||||
</label>
|
</label>
|
||||||
|
<label class="radio">
|
||||||
|
<input type="radio" name="language-subtitle" />
|
||||||
|
{{ LanguageSubtitles.DUBBED }}
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@ export enum Format {
|
||||||
export enum LanguageSubtitles {
|
export enum LanguageSubtitles {
|
||||||
FRENCH = "VOF",
|
FRENCH = "VOF",
|
||||||
FOREIGN = "VOSTFR",
|
FOREIGN = "VOSTFR",
|
||||||
|
DUBBED = "VF",
|
||||||
}
|
}
|
||||||
|
|
||||||
export type Film = {
|
export type Film = {
|
||||||
|
|
|
@ -14,6 +14,7 @@ class Film(models.Model):
|
||||||
class LanguageSubtitles(models.TextChoices):
|
class LanguageSubtitles(models.TextChoices):
|
||||||
FRENCH = "VOF"
|
FRENCH = "VOF"
|
||||||
FOREIGN = "VOSTFR"
|
FOREIGN = "VOSTFR"
|
||||||
|
DUBBED = "VF"
|
||||||
|
|
||||||
projection_date = models.DateTimeField(null=True, blank=True)
|
projection_date = models.DateTimeField(null=True, blank=True)
|
||||||
title = models.CharField(max_length=60)
|
title = models.CharField(max_length=60)
|
||||||
|
|
Loading…
Reference in a new issue