diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-04-07 14:57:05 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-04-07 14:57:05 +0200 |
commit | db216afd980846c418a4ebab8190c3ead561dfc1 (patch) | |
tree | 4542ab1e5c9b4d750f5877e22b1de627892564d2 /client/src/app/shared | |
parent | 3092476e64d09b449b4ad4f5198024afec1b22ca (diff) | |
download | PeerTube-db216afd980846c418a4ebab8190c3ead561dfc1.tar.gz PeerTube-db216afd980846c418a4ebab8190c3ead561dfc1.tar.zst PeerTube-db216afd980846c418a4ebab8190c3ead561dfc1.zip |
Client: support video language
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/forms/form-validators/video.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/shared/forms/form-validators/video.ts b/client/src/app/shared/forms/form-validators/video.ts index 50d7304b5..293fd805f 100644 --- a/client/src/app/shared/forms/form-validators/video.ts +++ b/client/src/app/shared/forms/form-validators/video.ts | |||
@@ -23,6 +23,11 @@ export const VIDEO_LICENCE = { | |||
23 | } | 23 | } |
24 | }; | 24 | }; |
25 | 25 | ||
26 | export const VIDEO_LANGUAGE = { | ||
27 | VALIDATORS: [ ], | ||
28 | MESSAGES: {} | ||
29 | }; | ||
30 | |||
26 | export const VIDEO_DESCRIPTION = { | 31 | export const VIDEO_DESCRIPTION = { |
27 | VALIDATORS: [ Validators.required, Validators.minLength(3), Validators.maxLength(250) ], | 32 | VALIDATORS: [ Validators.required, Validators.minLength(3), Validators.maxLength(250) ], |
28 | MESSAGES: { | 33 | MESSAGES: { |