aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-05-13 14:26:00 +0200
committerChocobozzz <me@florianbigard.com>2019-05-13 14:26:00 +0200
commitb59f12b0955d34b447a2bbcd3fbb0eb40b241631 (patch)
tree3a8190961d1c532650a2cc5f39e83878aef03abd
parent187a00f0852e82580574aa0a37eae2fcb969db23 (diff)
downloadPeerTube-b59f12b0955d34b447a2bbcd3fbb0eb40b241631.tar.gz
PeerTube-b59f12b0955d34b447a2bbcd3fbb0eb40b241631.tar.zst
PeerTube-b59f12b0955d34b447a2bbcd3fbb0eb40b241631.zip
Fix client build
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.html5
-rw-r--r--client/src/locale/source/angular_en_US.xml82
-rwxr-xr-xscripts/i18n/pull-hook.sh9
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 @@
28 This video will be published on {{ video.scheduledUpdate.updateAt | date: 'full' }}. 28 This video will be published on {{ video.scheduledUpdate.updateAt | date: 'full' }}.
29 </div> 29 </div>
30 30
31 <div i18n class="col-md-12 alert alert-info" *ngIf="noPlaylistVideos">
32 This playlist does not have videos.
33 </div>
34
35 <div class="col-md-12 alert alert-danger" *ngIf="video?.blacklisted"> 31 <div class="col-md-12 alert alert-danger" *ngIf="video?.blacklisted">
36 <div class="blacklisted-label" i18n>This video is blacklisted.</div> 32 <div class="blacklisted-label" i18n>This video is blacklisted.</div>
37 {{ video.blacklistedReason }} 33 {{ video.blacklistedReason }}
@@ -219,6 +215,7 @@
219 OK 215 OK
220 </div> 216 </div>
221 </div> 217 </div>
218</div>
222 219
223<ng-template [ngIf]="video !== null"> 220<ng-template [ngIf]="video !== null">
224 <my-video-support #videoSupportModal [video]="video"></my-video-support> 221 <my-video-support #videoSupportModal [video]="video"></my-video-support>
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 @@
570 <context context-type="linenumber">12</context> 570 <context context-type="linenumber">12</context>
571 </context-group> 571 </context-group>
572 <context-group purpose="location"> 572 <context-group purpose="location">
573 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 573 <context context-type="sourcefile">app/videos/+video-watch/video-watch-playlist.component.html</context>
574 <context context-type="linenumber">17</context> 574 <context context-type="linenumber">6</context>
575 </context-group> 575 </context-group>
576 </trans-unit><trans-unit id="ddd8a4986d2d1717a274a5a0fbed04988a819e69" datatype="html"> 576 </trans-unit><trans-unit id="ddd8a4986d2d1717a274a5a0fbed04988a819e69" datatype="html">
577 <source>Private</source> 577 <source>Private</source>
@@ -580,8 +580,8 @@
580 <context context-type="linenumber">13</context> 580 <context context-type="linenumber">13</context>
581 </context-group> 581 </context-group>
582 <context-group purpose="location"> 582 <context-group purpose="location">
583 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 583 <context context-type="sourcefile">app/videos/+video-watch/video-watch-playlist.component.html</context>
584 <context context-type="linenumber">18</context> 584 <context context-type="linenumber">7</context>
585 </context-group> 585 </context-group>
586 </trans-unit><trans-unit id="6aec8cb024acc333218d72f279caa8ea623bb628" datatype="html"> 586 </trans-unit><trans-unit id="6aec8cb024acc333218d72f279caa8ea623bb628" datatype="html">
587 <source>&lt;x id="INTERPOLATION" equiv-text="{{ video.views | myNumberFormatter }}"/&gt; views</source> 587 <source>&lt;x id="INTERPOLATION" equiv-text="{{ video.views | myNumberFormatter }}"/&gt; views</source>
@@ -641,7 +641,7 @@
641 </context-group> 641 </context-group>
642 <context-group purpose="location"> 642 <context-group purpose="location">
643 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 643 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
644 <context context-type="linenumber">117</context> 644 <context context-type="linenumber">92</context>
645 </context-group> 645 </context-group>
646 </trans-unit><trans-unit id="b9dee3108a18796bd69c6be316c8fb985b58fb8e" datatype="html"> 646 </trans-unit><trans-unit id="b9dee3108a18796bd69c6be316c8fb985b58fb8e" datatype="html">
647 <source>Delete from &lt;x id="INTERPOLATION" equiv-text="{{ playlist?.displayName }}"/&gt;</source> 647 <source>Delete from &lt;x id="INTERPOLATION" equiv-text="{{ playlist?.displayName }}"/&gt;</source>
@@ -1422,7 +1422,7 @@
1422 </context-group> 1422 </context-group>
1423 <context-group purpose="location"> 1423 <context-group purpose="location">
1424 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 1424 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
1425 <context context-type="linenumber">189</context> 1425 <context context-type="linenumber">164</context>
1426 </context-group> 1426 </context-group>
1427 </trans-unit><trans-unit id="78d6d3ea26777cd0dad8ddbf9b314151678da46c" datatype="html"> 1427 </trans-unit><trans-unit id="78d6d3ea26777cd0dad8ddbf9b314151678da46c" datatype="html">
1428 <source>Licence</source> 1428 <source>Licence</source>
@@ -1436,7 +1436,7 @@
1436 </context-group> 1436 </context-group>
1437 <context-group purpose="location"> 1437 <context-group purpose="location">
1438 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 1438 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
1439 <context context-type="linenumber">198</context> 1439 <context context-type="linenumber">173</context>
1440 </context-group> 1440 </context-group>
1441 </trans-unit><trans-unit id="fe46ccaae902ce974e2441abe752399288298619" datatype="html"> 1441 </trans-unit><trans-unit id="fe46ccaae902ce974e2441abe752399288298619" datatype="html">
1442 <source>Language</source> 1442 <source>Language</source>
@@ -1454,7 +1454,7 @@
1454 </context-group> 1454 </context-group>
1455 <context-group purpose="location"> 1455 <context-group purpose="location">
1456 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 1456 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
1457 <context context-type="linenumber">207</context> 1457 <context context-type="linenumber">182</context>
1458 </context-group> 1458 </context-group>
1459 </trans-unit><trans-unit id="c8d58c4fbe23e51af3dc8f58cb4a81eac20739e8" datatype="html"> 1459 </trans-unit><trans-unit id="c8d58c4fbe23e51af3dc8f58cb4a81eac20739e8" datatype="html">
1460 <source>All of these tags</source> 1460 <source>All of these tags</source>
@@ -2704,7 +2704,7 @@
2704 </context-group> 2704 </context-group>
2705 <context-group purpose="location"> 2705 <context-group purpose="location">
2706 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 2706 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
2707 <context context-type="linenumber">153</context> 2707 <context context-type="linenumber">128</context>
2708 </context-group> 2708 </context-group>
2709 </trans-unit><trans-unit id="02ba1a65db92d1d0ab4ba380086e9be61891aaa5" datatype="html"> 2709 </trans-unit><trans-unit id="02ba1a65db92d1d0ab4ba380086e9be61891aaa5" datatype="html">
2710 <source>User&apos;s email must be verified to login</source> 2710 <source>User&apos;s email must be verified to login</source>
@@ -3263,7 +3263,7 @@ When you will upload a video in this channel, the video support field will be au
3263 </context-group> 3263 </context-group>
3264 <context-group purpose="location"> 3264 <context-group purpose="location">
3265 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3265 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3266 <context context-type="linenumber">179</context> 3266 <context context-type="linenumber">154</context>
3267 </context-group> 3267 </context-group>
3268 </trans-unit><trans-unit id="0cc554f4d7bb6a87515d2d95438e183b50702071" datatype="html"> 3268 </trans-unit><trans-unit id="0cc554f4d7bb6a87515d2d95438e183b50702071" datatype="html">
3269 <source>Channel</source> 3269 <source>Channel</source>
@@ -3673,7 +3673,7 @@ When you will upload a video in this channel, the video support field will be au
3673 </context-group> 3673 </context-group>
3674 <context-group purpose="location"> 3674 <context-group purpose="location">
3675 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3675 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3676 <context context-type="linenumber">216</context> 3676 <context context-type="linenumber">191</context>
3677 </context-group> 3677 </context-group>
3678 </trans-unit><trans-unit id="457b1cff4d8d7fad0c8742f69c413ecf5e443851" datatype="html"> 3678 </trans-unit><trans-unit id="457b1cff4d8d7fad0c8742f69c413ecf5e443851" datatype="html">
3679 <source>Tags could be used to suggest relevant recommendations.&lt;/br&gt;Press Enter to add a new tag.</source> 3679 <source>Tags could be used to suggest relevant recommendations.&lt;/br&gt;Press Enter to add a new tag.</source>
@@ -3809,7 +3809,7 @@ When you will upload a video in this channel, the video support field will be au
3809 </context-group> 3809 </context-group>
3810 <context-group purpose="location"> 3810 <context-group purpose="location">
3811 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3811 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3812 <context context-type="linenumber">103</context> 3812 <context context-type="linenumber">78</context>
3813 </context-group> 3813 </context-group>
3814 </trans-unit><trans-unit id="f61f989de6fc12f99369a90800e4b5462d3f10a0" datatype="html"> 3814 </trans-unit><trans-unit id="f61f989de6fc12f99369a90800e4b5462d3f10a0" datatype="html">
3815 <source>Short text to tell people how they can support you (membership platform...).</source> 3815 <source>Short text to tell people how they can support you (membership platform...).</source>
@@ -3855,6 +3855,12 @@ When you will upload a video in this channel, the video support field will be au
3855 <context context-type="sourcefile">app/videos/+video-edit/video-update.component.html</context> 3855 <context context-type="sourcefile">app/videos/+video-edit/video-update.component.html</context>
3856 <context context-type="linenumber">2</context> 3856 <context context-type="linenumber">2</context>
3857 </context-group> 3857 </context-group>
3858 </trans-unit><trans-unit id="3c4c080864b313cfdff5fdea6aae5da276246d99" datatype="html">
3859 <source>Public</source>
3860 <context-group purpose="location">
3861 <context context-type="sourcefile">app/videos/+video-watch/video-watch-playlist.component.html</context>
3862 <context context-type="linenumber">8</context>
3863 </context-group>
3858 </trans-unit><trans-unit id="0bd8b27f60a1f098a53e06328426d818e3508ff9" datatype="html"> 3864 </trans-unit><trans-unit id="0bd8b27f60a1f098a53e06328426d818e3508ff9" datatype="html">
3859 <source>Share</source> 3865 <source>Share</source>
3860 <context-group purpose="location"> 3866 <context-group purpose="location">
@@ -3863,7 +3869,7 @@ When you will upload a video in this channel, the video support field will be au
3863 </context-group> 3869 </context-group>
3864 <context-group purpose="location"> 3870 <context-group purpose="location">
3865 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3871 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3866 <context context-type="linenumber">108</context> 3872 <context context-type="linenumber">83</context>
3867 </context-group> 3873 </context-group>
3868 </trans-unit><trans-unit id="e0cfbc8ea680e4527ebf094c035f3342e9146d9f" datatype="html"> 3874 </trans-unit><trans-unit id="e0cfbc8ea680e4527ebf094c035f3342e9146d9f" datatype="html">
3869 <source>QR-Code</source> 3875 <source>QR-Code</source>
@@ -3891,19 +3897,13 @@ When you will upload a video in this channel, the video support field will be au
3891 <context context-type="sourcefile">app/videos/+video-watch/modal/video-share.component.html</context> 3897 <context context-type="sourcefile">app/videos/+video-watch/modal/video-share.component.html</context>
3892 <context context-type="linenumber">59</context> 3898 <context context-type="linenumber">59</context>
3893 </context-group> 3899 </context-group>
3894 </trans-unit><trans-unit id="3c4c080864b313cfdff5fdea6aae5da276246d99" datatype="html">
3895 <source>Public</source>
3896 <context-group purpose="location">
3897 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3898 <context context-type="linenumber">19</context>
3899 </context-group>
3900 </trans-unit><trans-unit id="38e66e2d779d6d819cd7703ab73ab1bab75f8614" datatype="html"> 3900 </trans-unit><trans-unit id="38e66e2d779d6d819cd7703ab73ab1bab75f8614" datatype="html">
3901 <source> 3901 <source>
3902 The video is being imported, it will be available when the import is finished. 3902 The video is being imported, it will be available when the import is finished.
3903 </source> 3903 </source>
3904 <context-group purpose="location"> 3904 <context-group purpose="location">
3905 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3905 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3906 <context context-type="linenumber">40</context> 3906 <context context-type="linenumber">19</context>
3907 </context-group> 3907 </context-group>
3908 </trans-unit><trans-unit id="d2a8e8e4e5345201c07ba03a7fafe8b663230246" datatype="html"> 3908 </trans-unit><trans-unit id="d2a8e8e4e5345201c07ba03a7fafe8b663230246" datatype="html">
3909 <source> 3909 <source>
@@ -3911,7 +3911,7 @@ When you will upload a video in this channel, the video support field will be au
3911 </source> 3911 </source>
3912 <context-group purpose="location"> 3912 <context-group purpose="location">
3913 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3913 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3914 <context context-type="linenumber">44</context> 3914 <context context-type="linenumber">23</context>
3915 </context-group> 3915 </context-group>
3916 </trans-unit><trans-unit id="2dd4add38e83d8ec58e37735e76090e9738c974a" datatype="html"> 3916 </trans-unit><trans-unit id="2dd4add38e83d8ec58e37735e76090e9738c974a" datatype="html">
3917 <source> 3917 <source>
@@ -3919,21 +3919,13 @@ When you will upload a video in this channel, the video support field will be au
3919 </source> 3919 </source>
3920 <context-group purpose="location"> 3920 <context-group purpose="location">
3921 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3921 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3922 <context context-type="linenumber">48</context> 3922 <context context-type="linenumber">27</context>
3923 </context-group>
3924 </trans-unit><trans-unit id="f52722430ddd59507177f005a357bfd335ffa7fd" datatype="html">
3925 <source>
3926 This playlist does not have videos.
3927 </source>
3928 <context-group purpose="location">
3929 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3930 <context context-type="linenumber">52</context>
3931 </context-group> 3923 </context-group>
3932 </trans-unit><trans-unit id="bd7055d3e38beff538463e75d508d1c75c683710" datatype="html"> 3924 </trans-unit><trans-unit id="bd7055d3e38beff538463e75d508d1c75c683710" datatype="html">
3933 <source>This video is blacklisted.</source> 3925 <source>This video is blacklisted.</source>
3934 <context-group purpose="location"> 3926 <context-group purpose="location">
3935 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3927 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3936 <context context-type="linenumber">57</context> 3928 <context context-type="linenumber">32</context>
3937 </context-group> 3929 </context-group>
3938 </trans-unit><trans-unit id="99686034581579c92a971f4eeebd2c072c812e2d" datatype="html"> 3930 </trans-unit><trans-unit id="99686034581579c92a971f4eeebd2c072c812e2d" datatype="html">
3939 <source> 3931 <source>
@@ -3941,7 +3933,7 @@ When you will upload a video in this channel, the video support field will be au
3941 </source> 3933 </source>
3942 <context-group purpose="location"> 3934 <context-group purpose="location">
3943 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3935 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3944 <context context-type="linenumber">69</context> 3936 <context context-type="linenumber">44</context>
3945 </context-group> 3937 </context-group>
3946 </trans-unit><trans-unit id="3da5360f8314aa95973aa52629c9f635363c5a36" datatype="html"> 3938 </trans-unit><trans-unit id="3da5360f8314aa95973aa52629c9f635363c5a36" datatype="html">
3947 <source> 3939 <source>
@@ -3949,55 +3941,55 @@ When you will upload a video in this channel, the video support field will be au
3949 </source> 3941 </source>
3950 <context-group purpose="location"> 3942 <context-group purpose="location">
3951 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3943 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3952 <context context-type="linenumber">78</context> 3944 <context context-type="linenumber">53</context>
3953 </context-group> 3945 </context-group>
3954 </trans-unit><trans-unit id="82b59049f3f89d900c98da9319e156dd513e3ced" datatype="html"> 3946 </trans-unit><trans-unit id="82b59049f3f89d900c98da9319e156dd513e3ced" datatype="html">
3955 <source>Like this video</source> 3947 <source>Like this video</source>
3956 <context-group purpose="location"> 3948 <context-group purpose="location">
3957 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3949 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3958 <context context-type="linenumber">88</context> 3950 <context context-type="linenumber">63</context>
3959 </context-group> 3951 </context-group>
3960 </trans-unit><trans-unit id="623698f075025b2b2fc2e0c59fd95f4f4662a509" datatype="html"> 3952 </trans-unit><trans-unit id="623698f075025b2b2fc2e0c59fd95f4f4662a509" datatype="html">
3961 <source>Dislike this video</source> 3953 <source>Dislike this video</source>
3962 <context-group purpose="location"> 3954 <context-group purpose="location">
3963 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3955 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3964 <context context-type="linenumber">96</context> 3956 <context context-type="linenumber">71</context>
3965 </context-group> 3957 </context-group>
3966 </trans-unit><trans-unit id="5cb397241041f7ad70997806227bafcdf7eb1b33" datatype="html"> 3958 </trans-unit><trans-unit id="5cb397241041f7ad70997806227bafcdf7eb1b33" datatype="html">
3967 <source>Go the channel page</source> 3959 <source>Go the channel page</source>
3968 <context-group purpose="location"> 3960 <context-group purpose="location">
3969 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3961 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3970 <context context-type="linenumber">143</context> 3962 <context context-type="linenumber">118</context>
3971 </context-group> 3963 </context-group>
3972 </trans-unit><trans-unit id="0b7f242da10ece3f2995095c455b9a92ebcdd3b4" datatype="html"> 3964 </trans-unit><trans-unit id="0b7f242da10ece3f2995095c455b9a92ebcdd3b4" datatype="html">
3973 <source>By &lt;x id="INTERPOLATION" equiv-text="{{ video.byAccount }}"/&gt;</source> 3965 <source>By &lt;x id="INTERPOLATION" equiv-text="{{ video.byAccount }}"/&gt;</source>
3974 <context-group purpose="location"> 3966 <context-group purpose="location">
3975 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3967 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3976 <context context-type="linenumber">154</context> 3968 <context context-type="linenumber">129</context>
3977 </context-group> 3969 </context-group>
3978 </trans-unit><trans-unit id="f0c5f6f270e70cbe063b5368fcf48f9afc1abd9b" datatype="html"> 3970 </trans-unit><trans-unit id="f0c5f6f270e70cbe063b5368fcf48f9afc1abd9b" datatype="html">
3979 <source>Show more</source> 3971 <source>Show more</source>
3980 <context-group purpose="location"> 3972 <context-group purpose="location">
3981 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3973 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3982 <context context-type="linenumber">166</context> 3974 <context context-type="linenumber">141</context>
3983 </context-group> 3975 </context-group>
3984 </trans-unit><trans-unit id="5403a767248e304199592271bba3366d2ca3f903" datatype="html"> 3976 </trans-unit><trans-unit id="5403a767248e304199592271bba3366d2ca3f903" datatype="html">
3985 <source>Show less</source> 3977 <source>Show less</source>
3986 <context-group purpose="location"> 3978 <context-group purpose="location">
3987 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3979 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3988 <context context-type="linenumber">172</context> 3980 <context context-type="linenumber">147</context>
3989 </context-group> 3981 </context-group>
3990 </trans-unit><trans-unit id="284b55e2ae9f6e5bc78c92a18ef26da02f380079" datatype="html"> 3982 </trans-unit><trans-unit id="284b55e2ae9f6e5bc78c92a18ef26da02f380079" datatype="html">
3991 <source>Originally published</source> 3983 <source>Originally published</source>
3992 <context-group purpose="location"> 3984 <context-group purpose="location">
3993 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3985 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
3994 <context context-type="linenumber">184</context> 3986 <context context-type="linenumber">159</context>
3995 </context-group> 3987 </context-group>
3996 </trans-unit><trans-unit id="4c0ba3cde3b3c58b855ffb4beaa5804a2fc3826b" datatype="html"> 3988 </trans-unit><trans-unit id="4c0ba3cde3b3c58b855ffb4beaa5804a2fc3826b" datatype="html">
3997 <source>Friendly Reminder: </source> 3989 <source>Friendly Reminder: </source>
3998 <context-group purpose="location"> 3990 <context-group purpose="location">
3999 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3991 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
4000 <context context-type="linenumber">232</context> 3992 <context context-type="linenumber">207</context>
4001 </context-group> 3993 </context-group>
4002 </trans-unit><trans-unit id="9e66f7507eb263abdbab7abafd825f1dc8bc880b" datatype="html"> 3994 </trans-unit><trans-unit id="9e66f7507eb263abdbab7abafd825f1dc8bc880b" datatype="html">
4003 <source> 3995 <source>
@@ -4005,19 +3997,19 @@ When you will upload a video in this channel, the video support field will be au
4005 </source> 3997 </source>
4006 <context-group purpose="location"> 3998 <context-group purpose="location">
4007 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 3999 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
4008 <context context-type="linenumber">233</context> 4000 <context context-type="linenumber">208</context>
4009 </context-group> 4001 </context-group>
4010 </trans-unit><trans-unit id="e60c11e1b1dfbbeda577364b8de39ded2d796c5e" datatype="html"> 4002 </trans-unit><trans-unit id="e60c11e1b1dfbbeda577364b8de39ded2d796c5e" datatype="html">
4011 <source>More information</source> 4003 <source>More information</source>
4012 <context-group purpose="location"> 4004 <context-group purpose="location">
4013 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 4005 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
4014 <context context-type="linenumber">236</context> 4006 <context context-type="linenumber">211</context>
4015 </context-group> 4007 </context-group>
4016 </trans-unit><trans-unit id="bd499ca7913bb5408fd139a4cb4f863852d5f318" datatype="html"> 4008 </trans-unit><trans-unit id="bd499ca7913bb5408fd139a4cb4f863852d5f318" datatype="html">
4017 <source>Get more information</source> 4009 <source>Get more information</source>
4018 <context-group purpose="location"> 4010 <context-group purpose="location">
4019 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 4011 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
4020 <context context-type="linenumber">236</context> 4012 <context context-type="linenumber">211</context>
4021 </context-group> 4013 </context-group>
4022 </trans-unit><trans-unit id="20fc98888baf65b5ba9fe9622dc036fa8dec6a5f" datatype="html"> 4014 </trans-unit><trans-unit id="20fc98888baf65b5ba9fe9622dc036fa8dec6a5f" datatype="html">
4023 <source> 4015 <source>
@@ -4025,7 +4017,7 @@ When you will upload a video in this channel, the video support field will be au
4025 </source> 4017 </source>
4026 <context-group purpose="location"> 4018 <context-group purpose="location">
4027 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context> 4019 <context context-type="sourcefile">app/videos/+video-watch/video-watch.component.html</context>
4028 <context context-type="linenumber">239</context> 4020 <context context-type="linenumber">214</context>
4029 </context-group> 4021 </context-group>
4030 </trans-unit><trans-unit id="abf2b0f7b6405fa2841ca39c827e86089a95cc27" datatype="html"> 4022 </trans-unit><trans-unit id="abf2b0f7b6405fa2841ca39c827e86089a95cc27" datatype="html">
4031 <source> 4023 <source>
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 @@
2 2
3set -eu 3set -eu
4 4
5# Zanata does not support inner elements in <source>, so we hack these special elements
6# This regex translate the converted elements to initial Angular elements
7
8for i in 1 2 3; do 5for i in 1 2 3; do
6 # Zanata does not support inner elements in <source>, so we hack these special elements
7 # This regex translate the converted elements to initial Angular elements
9 perl -pi -e 's|&lt;x id=(.+?)/&gt;([^"])|<x id=\1/>\2|g' client/src/locale/target/*.xml 8 perl -pi -e 's|&lt;x id=(.+?)/&gt;([^"])|<x id=\1/>\2|g' client/src/locale/target/*.xml
10 perl -0pi -e 's|<source>(.+?)</source>\s*<context-group |<source>\1</source><target>\1</target><context-group |g' client/src/locale/target/angular_*.xml 9
10 # Angular does not like when there is not target element, so we create it with the same content than the source element
11 perl -0pi -e 's#<source>(.+?)</source>\s*<context-group #<source>\1</source><target>\1</target><context-group #g' client/src/locale/target/angular_*.xml
11done 12done
12 13
13npm run i18n:xliff2json 14npm run i18n:xliff2json