chore: switch to a single letter
Co-authored-by: tcely <tcely@users.noreply.github.com>
This commit is contained in:
@@ -33,8 +33,8 @@ class CapChoices(models.IntegerChoices):
|
||||
|
||||
|
||||
class AudioTrack(models.TextChoices):
|
||||
ORIGINAL = 'original', _('Original audio (recorded language)')
|
||||
DEFAULT = 'default', _("Publisher's default audio (often an auto-dub)")
|
||||
ORIGINAL = 'o', _('Original audio (recorded language)')
|
||||
DEFAULT = 'd', _("Publisher's default audio (often an auto-dub)")
|
||||
|
||||
|
||||
class Fallback(models.TextChoices):
|
||||
|
||||
@@ -28,7 +28,7 @@ class Migration(migrations.Migration):
|
||||
'dubbed translation. This setting has no effect when a video only offers a '
|
||||
'single audio track.'
|
||||
),
|
||||
max_length=8,
|
||||
max_length=1,
|
||||
verbose_name='prefer audio track',
|
||||
),
|
||||
),
|
||||
|
||||
@@ -254,7 +254,7 @@ class Source(db.models.Model):
|
||||
)
|
||||
prefer_audio_track = db.models.CharField(
|
||||
_('prefer audio track'),
|
||||
max_length=8,
|
||||
max_length=1,
|
||||
db_index=True,
|
||||
choices=AudioTrack.choices,
|
||||
default=AudioTrack.ORIGINAL,
|
||||
|
||||
Reference in New Issue
Block a user