From b59f12b0955d34b447a2bbcd3fbb0eb40b241631 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 13 May 2019 14:26:00 +0200 Subject: [PATCH] Fix client build --- .../+video-watch/video-watch.component.html | 5 +- client/src/locale/source/angular_en_US.xml | 82 +++++++++---------- scripts/i18n/pull-hook.sh | 9 +- 3 files changed, 43 insertions(+), 53 deletions(-) diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index 7da74b57e..2e39b9c6b 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html @@ -28,10 +28,6 @@ This video will be published on {{ video.scheduledUpdate.updateAt | date: 'full' }}. -
- This playlist does not have videos. -
-
This video is blacklisted.
{{ video.blacklistedReason }} @@ -219,6 +215,7 @@ OK
+ diff --git a/client/src/locale/source/angular_en_US.xml b/client/src/locale/source/angular_en_US.xml index 7fb8161b6..88e55a497 100644 --- a/client/src/locale/source/angular_en_US.xml +++ b/client/src/locale/source/angular_en_US.xml @@ -570,8 +570,8 @@ 12 - app/videos/+video-watch/video-watch.component.html - 17 + app/videos/+video-watch/video-watch-playlist.component.html + 6 Private @@ -580,8 +580,8 @@ 13 - app/videos/+video-watch/video-watch.component.html - 18 + app/videos/+video-watch/video-watch-playlist.component.html + 7 <x id="INTERPOLATION" equiv-text="{{ video.views | myNumberFormatter }}"/> views @@ -641,7 +641,7 @@ app/videos/+video-watch/video-watch.component.html - 117 + 92 Delete from <x id="INTERPOLATION" equiv-text="{{ playlist?.displayName }}"/> @@ -1422,7 +1422,7 @@ app/videos/+video-watch/video-watch.component.html - 189 + 164 Licence @@ -1436,7 +1436,7 @@ app/videos/+video-watch/video-watch.component.html - 198 + 173 Language @@ -1454,7 +1454,7 @@ app/videos/+video-watch/video-watch.component.html - 207 + 182 All of these tags @@ -2704,7 +2704,7 @@ app/videos/+video-watch/video-watch.component.html - 153 + 128 User's email must be verified to login @@ -3263,7 +3263,7 @@ When you will upload a video in this channel, the video support field will be au app/videos/+video-watch/video-watch.component.html - 179 + 154 Channel @@ -3673,7 +3673,7 @@ When you will upload a video in this channel, the video support field will be au app/videos/+video-watch/video-watch.component.html - 216 + 191 Tags could be used to suggest relevant recommendations.</br>Press Enter to add a new tag. @@ -3809,7 +3809,7 @@ When you will upload a video in this channel, the video support field will be au app/videos/+video-watch/video-watch.component.html - 103 + 78 Short text to tell people how they can support you (membership platform...). @@ -3855,6 +3855,12 @@ When you will upload a video in this channel, the video support field will be au app/videos/+video-edit/video-update.component.html 2 + + Public + + app/videos/+video-watch/video-watch-playlist.component.html + 8 + Share @@ -3863,7 +3869,7 @@ When you will upload a video in this channel, the video support field will be au app/videos/+video-watch/video-watch.component.html - 108 + 83 QR-Code @@ -3891,19 +3897,13 @@ When you will upload a video in this channel, the video support field will be au app/videos/+video-watch/modal/video-share.component.html 59 - - Public - - app/videos/+video-watch/video-watch.component.html - 19 - The video is being imported, it will be available when the import is finished. app/videos/+video-watch/video-watch.component.html - 40 + 19 @@ -3911,7 +3911,7 @@ When you will upload a video in this channel, the video support field will be au app/videos/+video-watch/video-watch.component.html - 44 + 23 @@ -3919,21 +3919,13 @@ When you will upload a video in this channel, the video support field will be au app/videos/+video-watch/video-watch.component.html - 48 - - - - This playlist does not have videos. - - - app/videos/+video-watch/video-watch.component.html - 52 + 27 This video is blacklisted. app/videos/+video-watch/video-watch.component.html - 57 + 32 @@ -3941,7 +3933,7 @@ When you will upload a video in this channel, the video support field will be au app/videos/+video-watch/video-watch.component.html - 69 + 44 @@ -3949,55 +3941,55 @@ When you will upload a video in this channel, the video support field will be au app/videos/+video-watch/video-watch.component.html - 78 + 53 Like this video app/videos/+video-watch/video-watch.component.html - 88 + 63 Dislike this video app/videos/+video-watch/video-watch.component.html - 96 + 71 Go the channel page app/videos/+video-watch/video-watch.component.html - 143 + 118 By <x id="INTERPOLATION" equiv-text="{{ video.byAccount }}"/> app/videos/+video-watch/video-watch.component.html - 154 + 129 Show more app/videos/+video-watch/video-watch.component.html - 166 + 141 Show less app/videos/+video-watch/video-watch.component.html - 172 + 147 Originally published app/videos/+video-watch/video-watch.component.html - 184 + 159 Friendly Reminder: app/videos/+video-watch/video-watch.component.html - 232 + 207 @@ -4005,19 +3997,19 @@ When you will upload a video in this channel, the video support field will be au app/videos/+video-watch/video-watch.component.html - 233 + 208 More information app/videos/+video-watch/video-watch.component.html - 236 + 211 Get more information app/videos/+video-watch/video-watch.component.html - 236 + 211 @@ -4025,7 +4017,7 @@ When you will upload a video in this channel, the video support field will be au app/videos/+video-watch/video-watch.component.html - 239 + 214 diff --git a/scripts/i18n/pull-hook.sh b/scripts/i18n/pull-hook.sh index b0668436d..e616f715b 100755 --- a/scripts/i18n/pull-hook.sh +++ b/scripts/i18n/pull-hook.sh @@ -2,12 +2,13 @@ set -eu -# Zanata does not support inner elements in , so we hack these special elements -# This regex translate the converted elements to initial Angular elements - for i in 1 2 3; do + # Zanata does not support inner elements in , so we hack these special elements + # This regex translate the converted elements to initial Angular elements perl -pi -e 's|<x id=(.+?)/>([^"])|\2|g' client/src/locale/target/*.xml - perl -0pi -e 's|(.+?)\s*\1\1(.+?)\s*\1\1