aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/forms/form-validators/video.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-04-07 14:57:05 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-04-07 14:57:05 +0200
commitdb216afd980846c418a4ebab8190c3ead561dfc1 (patch)
tree4542ab1e5c9b4d750f5877e22b1de627892564d2 /client/src/app/shared/forms/form-validators/video.ts
parent3092476e64d09b449b4ad4f5198024afec1b22ca (diff)
downloadPeerTube-db216afd980846c418a4ebab8190c3ead561dfc1.tar.gz
PeerTube-db216afd980846c418a4ebab8190c3ead561dfc1.tar.zst
PeerTube-db216afd980846c418a4ebab8190c3ead561dfc1.zip
Client: support video language
Diffstat (limited to 'client/src/app/shared/forms/form-validators/video.ts')
-rw-r--r--client/src/app/shared/forms/form-validators/video.ts5
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
26export const VIDEO_LANGUAGE = {
27 VALIDATORS: [ ],
28 MESSAGES: {}
29};
30
26export const VIDEO_DESCRIPTION = { 31export 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: {