aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-19 14:02:57 +0200
committerChocobozzz <me@florianbigard.com>2018-06-19 14:02:57 +0200
commit9c2e0dbfa9098675390e00ccb0fa49c51b3c6732 (patch)
treede2b894e0ba439bb012b895cc86d90b892eead7b /client/src/app
parent3aa5cea8fec998805e32c0480884906d8e4fd490 (diff)
downloadPeerTube-9c2e0dbfa9098675390e00ccb0fa49c51b3c6732.tar.gz
PeerTube-9c2e0dbfa9098675390e00ccb0fa49c51b3c6732.tar.zst
PeerTube-9c2e0dbfa9098675390e00ccb0fa49c51b3c6732.zip
Update iso639 translations for french and deutch
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/core/server/server.service.ts1
-rw-r--r--client/src/app/videos/+video-edit/shared/video-edit.component.ts1
2 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts
index 6323a7edf..74363e6a1 100644
--- a/client/src/app/core/server/server.service.ts
+++ b/client/src/app/core/server/server.service.ts
@@ -141,7 +141,6 @@ export class ServerService {
141 ) 141 )
142 .subscribe(({ data, translations }) => { 142 .subscribe(({ data, translations }) => {
143 Object.keys(data) 143 Object.keys(data)
144 .map(dataKey => parseInt(dataKey, 10))
145 .forEach(dataKey => { 144 .forEach(dataKey => {
146 const label = data[ dataKey ] 145 const label = data[ dataKey ]
147 146
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.ts b/client/src/app/videos/+video-edit/shared/video-edit.component.ts
index 66eb6611a..35d406ee3 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.ts
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.ts
@@ -101,6 +101,7 @@ export class VideoEditComponent implements OnInit {
101 this.videoCategories = this.serverService.getVideoCategories() 101 this.videoCategories = this.serverService.getVideoCategories()
102 this.videoLicences = this.serverService.getVideoLicences() 102 this.videoLicences = this.serverService.getVideoLicences()
103 this.videoLanguages = this.serverService.getVideoLanguages() 103 this.videoLanguages = this.serverService.getVideoLanguages()
104 console.log(this.videoLanguages)
104 105
105 setTimeout(() => this.minScheduledDate = new Date(), 1000 * 60) // Update every minute 106 setTimeout(() => this.minScheduledDate = new Date(), 1000 * 60) // Update every minute
106 } 107 }