diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-23 14:39:52 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-23 14:39:52 +0200 |
commit | 9d3ef9fe052ed29bd67566754cb28662bd122234 (patch) | |
tree | 7b704dbc0b2c8b4ca18bef2409d640d0019c3d0a /client/src/app/shared | |
parent | 2a2c19dfef7a9aa313c6ca0798f271c9a63449a9 (diff) | |
download | PeerTube-9d3ef9fe052ed29bd67566754cb28662bd122234.tar.gz PeerTube-9d3ef9fe052ed29bd67566754cb28662bd122234.tar.zst PeerTube-9d3ef9fe052ed29bd67566754cb28662bd122234.zip |
Use ISO 639 for languages
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/video/video-edit.model.ts | 2 | ||||
-rw-r--r-- | client/src/app/shared/video/video.model.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/video/video-edit.model.ts b/client/src/app/shared/video/video-edit.model.ts index c1a70d1b3..39826d71e 100644 --- a/client/src/app/shared/video/video-edit.model.ts +++ b/client/src/app/shared/video/video-edit.model.ts | |||
@@ -4,7 +4,7 @@ import { VideoPrivacy } from '../../../../../shared/models/videos/video-privacy. | |||
4 | export class VideoEdit { | 4 | export class VideoEdit { |
5 | category: number | 5 | category: number |
6 | licence: number | 6 | licence: number |
7 | language: number | 7 | language: string |
8 | description: string | 8 | description: string |
9 | name: string | 9 | name: string |
10 | tags: string[] | 10 | tags: string[] |
diff --git a/client/src/app/shared/video/video.model.ts b/client/src/app/shared/video/video.model.ts index e25c172e0..a284c1688 100644 --- a/client/src/app/shared/video/video.model.ts +++ b/client/src/app/shared/video/video.model.ts | |||
@@ -13,7 +13,7 @@ export class Video implements VideoServerModel { | |||
13 | publishedAt: Date | 13 | publishedAt: Date |
14 | category: VideoConstant<number> | 14 | category: VideoConstant<number> |
15 | licence: VideoConstant<number> | 15 | licence: VideoConstant<number> |
16 | language: VideoConstant<number> | 16 | language: VideoConstant<string> |
17 | privacy: VideoConstant<VideoPrivacy> | 17 | privacy: VideoConstant<VideoPrivacy> |
18 | description: string | 18 | description: string |
19 | duration: number | 19 | duration: number |