From 57b972698208ba5e393aac718995a60388360450 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 22 Nov 2018 14:06:11 +0100 Subject: [PATCH] Fix some zanata translations --- client/src/locale/target/angular_ar_001.xml | 3 +- client/src/locale/target/angular_de_DE.xml | 42 ++++------- client/src/locale/target/angular_fa_IR.xml | 12 +-- client/src/locale/target/angular_it_IT.xml | 69 ++++++------------ client/src/locale/target/angular_ja_JP.xml | 24 ++---- client/src/locale/target/angular_jbo.xml | 3 +- client/src/locale/target/angular_nl_NL.xml | 3 +- client/src/locale/target/angular_pl_PL.xml | 18 ++--- client/src/locale/target/angular_sv_SE.xml | 81 +++++++-------------- scripts/i18n/pull-hook.sh | 1 + 10 files changed, 86 insertions(+), 170 deletions(-) diff --git a/client/src/locale/target/angular_ar_001.xml b/client/src/locale/target/angular_ar_001.xml index 386d190ff..05e55793d 100644 --- a/client/src/locale/target/angular_ar_001.xml +++ b/client/src/locale/target/angular_ar_001.xml @@ -883,8 +883,7 @@ - PeerTube is a federated (ActivityPub) video streaming platform using P2P (WebTorrent) directly in the web browser. - + PeerTube is a federated (ActivityPub) video streaming platform using P2P (WebTorrent) directly in the web browser.PeerTube is a federated (ActivityPub) video streaming platform using P2P (WebTorrent) directly in the web browser. 6 diff --git a/client/src/locale/target/angular_de_DE.xml b/client/src/locale/target/angular_de_DE.xml index c49c6d701..46e622908 100644 --- a/client/src/locale/target/angular_de_DE.xml +++ b/client/src/locale/target/angular_de_DE.xml @@ -1278,32 +1278,27 @@ Konto erstellen - Banned - + BannedBanned 12 - Muted - + MutedMuted 13 - Muted by your instance - + Muted by your instanceMuted by your instance 14 - Instance muted - + Instance mutedInstance muted 15 - Instance muted by your instance - + Instance muted by your instanceInstance muted by your instance 16 @@ -1968,8 +1963,7 @@ Konto erstellen - (banned) - + (banned)(banned) 65 @@ -2118,14 +2112,12 @@ Konto erstellen - Muted accounts - + Muted accountsMuted accounts 2 - Muted servers - + Muted serversMuted servers 11 @@ -2137,14 +2129,12 @@ Konto erstellen - Muted at - + Muted at Muted at 13 - Unmute - + UnmuteUnmute 23 @@ -2191,8 +2181,7 @@ Konto erstellen - Muted instances - + Muted instancesMuted instances 2 @@ -3679,8 +3668,7 @@ Wenn du ein Video in diesen Kanal hochlädst, wird das entsprechende Feld automa - Account unmuted by your instance. - + Account unmuted by your instance.Account unmuted by your instance. 1 @@ -3776,8 +3764,7 @@ Wenn du ein Video in diesen Kanal hochlädst, wird das entsprechende Feld automa - If you remove these users, you will not be able to create others with the same username! - + If you remove these users, you will not be able to create others with the same username!If you remove these users, you will not be able to create others with the same username! 1 @@ -3992,8 +3979,7 @@ Wenn du ein Video in diesen Kanal hochlädst, wird das entsprechende Feld automa - Subscribe to the account - + Subscribe to the accountSubscribe to the account 1 diff --git a/client/src/locale/target/angular_fa_IR.xml b/client/src/locale/target/angular_fa_IR.xml index fbef34713..fe2d0b0cf 100644 --- a/client/src/locale/target/angular_fa_IR.xml +++ b/client/src/locale/target/angular_fa_IR.xml @@ -377,8 +377,7 @@ - Username - + UsernameUsername 8 @@ -529,8 +528,7 @@ - Toggle dark interface - + Toggle dark interfaceToggle dark interface 94 @@ -764,14 +762,12 @@ - State - + StateState 10 - Follow - + FollowFollow 7 diff --git a/client/src/locale/target/angular_it_IT.xml b/client/src/locale/target/angular_it_IT.xml index 2f98b52dc..dea48b4a7 100644 --- a/client/src/locale/target/angular_it_IT.xml +++ b/client/src/locale/target/angular_it_IT.xml @@ -1857,8 +1857,7 @@ - Finished on - + Finished onFinished on 23 @@ -1921,14 +1920,12 @@ - Batch actions - + Batch actionsBatch actions 19 - Username - + Username Username 40 @@ -1979,8 +1976,7 @@ - Reporter - + ReporterReporter 8 @@ -2712,8 +2708,7 @@ When you will upload a video in this channel, the video support field will be au - Select the caption file - + Select the caption fileSelect the caption file 24 @@ -2806,14 +2801,12 @@ When you will upload a video in this channel, the video support field will be au - Wait transcoding before publishing the video - + Wait transcoding before publishing the videoWait transcoding before publishing the video 130 - If you decide not to wait for transcoding before publishing the video, it could be unplayable until transcoding ends. - + If you decide not to wait for transcoding before publishing the video, it could be unplayable until transcoding ends.If you decide not to wait for transcoding before publishing the video, it could be unplayable until transcoding ends. 131 @@ -2853,8 +2846,7 @@ When you will upload a video in this channel, the video support field will be au - Captions - + CaptionsCaptions 139 @@ -2866,8 +2858,7 @@ When you will upload a video in this channel, the video support field will be au - Upload preview - + Upload previewUpload preview 202 @@ -2879,8 +2870,7 @@ When you will upload a video in this channel, the video support field will be au - Short text to tell people how they can support you (membership platform...). - + Short text to tell people how they can support you (membership platform...).Short text to tell people how they can support you (membership platform...). 209 @@ -2967,14 +2957,12 @@ When you will upload a video in this channel, the video support field will be au - QR-Code - + QR-CodeQR-Code 29 - Embed - + EmbedEmbed 34 @@ -3310,8 +3298,7 @@ Altri video - Success - + SuccessSuccess 1 @@ -3456,8 +3443,7 @@ Altri video - Abuse deleted. - + Abuse deleted.Abuse deleted. 1 @@ -3504,8 +3490,7 @@ Altri video - You cannot ban root. - + You cannot ban root.You cannot ban root. 1 @@ -3517,8 +3502,7 @@ Altri video - Ownership accepted - + Ownership acceptedOwnership accepted 1 @@ -3677,14 +3661,12 @@ Altri video - To transcode - + To transcodeTo transcode 1 - To import - + To importTo import 1 @@ -4097,14 +4079,12 @@ Altri video - Display name must be at least 3 characters long. - + Display name must be at least 3 characters long.Display name must be at least 3 characters long. 1 - Display name cannot be more than 120 characters long. - + Display name cannot be more than 120 characters long.Display name cannot be more than 120 characters long. 1 @@ -4697,14 +4677,12 @@ Altri video - of HD videos - + of HD videos of HD videos 1 - of average quality videos - + of average quality videos of average quality videos 1 @@ -4828,8 +4806,7 @@ Altri video - Do you really want to unban ? - + Do you really want to unban ?Do you really want to unban ? 1 diff --git a/client/src/locale/target/angular_ja_JP.xml b/client/src/locale/target/angular_ja_JP.xml index cb303ad3a..d0b592098 100644 --- a/client/src/locale/target/angular_ja_JP.xml +++ b/client/src/locale/target/angular_ja_JP.xml @@ -109,8 +109,7 @@ - % - + %% 6 @@ -220,8 +219,7 @@ - (extensions: , max size: ) - + (extensions: , max size: )(extensions: , max size: ) 11 @@ -362,8 +360,7 @@ - Forgot your password - + Forgot your passwordForgot your password 57 @@ -400,8 +397,7 @@ - Confirm password - + Confirm passwordConfirm password 19 @@ -459,8 +455,7 @@ - Change the language - + Change the languageChange the language 88 @@ -520,8 +515,7 @@ - Trending - + TrendingTrending 57 @@ -891,8 +885,7 @@ - Transcoding threads - + Transcoding threadsTranscoding threads 223 @@ -1658,8 +1651,7 @@ - You cannot ban root. - + You cannot ban root.You cannot ban root. 1 diff --git a/client/src/locale/target/angular_jbo.xml b/client/src/locale/target/angular_jbo.xml index f05bc88c2..83e61a714 100644 --- a/client/src/locale/target/angular_jbo.xml +++ b/client/src/locale/target/angular_jbo.xml @@ -480,8 +480,7 @@ lo mi vidvi - Instance - + InstanceInstance 12 diff --git a/client/src/locale/target/angular_nl_NL.xml b/client/src/locale/target/angular_nl_NL.xml index 00cfcb954..3db9f0504 100644 --- a/client/src/locale/target/angular_nl_NL.xml +++ b/client/src/locale/target/angular_nl_NL.xml @@ -1115,8 +1115,7 @@ Als je een video uploadt in dit kanaal, wordt deze tekst ingevuld in het "onders - Automatically plays video - + Automatically plays videoAutomatically plays video 28 diff --git a/client/src/locale/target/angular_pl_PL.xml b/client/src/locale/target/angular_pl_PL.xml index 325dd86f9..fd6e03469 100644 --- a/client/src/locale/target/angular_pl_PL.xml +++ b/client/src/locale/target/angular_pl_PL.xml @@ -1061,8 +1061,7 @@ - An automatic video redundancy program: we wouldn't know if the IP downloaded the video on purpose or if it was the automatized program - + An automatic video redundancy program: we wouldn't know if the IP downloaded the video on purpose or if it was the automatized programAn automatic video redundancy program: we wouldn't know if the IP downloaded the video on purpose or if it was the automatized program 95 @@ -1123,8 +1122,7 @@ - Default client route - + Default client routeDefault client route 55 @@ -1496,8 +1494,7 @@ - State - + StateState 10 @@ -2326,8 +2323,7 @@ Jeżeli umieścisz film na ten kanał, pole informujące o możliwości wsparcia - Dislike this video - + Dislike this videoDislike this video 64 @@ -3404,8 +3400,7 @@ Jeżeli umieścisz film na ten kanał, pole informujące o możliwości wsparcia - Video support must be at least 3 characters long. - + Video support must be at least 3 characters long.Video support must be at least 3 characters long. 1 @@ -4068,8 +4063,7 @@ Jeżeli umieścisz film na ten kanał, pole informujące o możliwości wsparcia - likes / dislikes - + likes / dislikes likes / dislikes 1 diff --git a/client/src/locale/target/angular_sv_SE.xml b/client/src/locale/target/angular_sv_SE.xml index 7b4553359..e30575d80 100644 --- a/client/src/locale/target/angular_sv_SE.xml +++ b/client/src/locale/target/angular_sv_SE.xml @@ -1319,26 +1319,22 @@ - Muted - + MutedMuted 13 - Muted by your instance - + Muted by your instanceMuted by your instance 14 - Instance muted - + Instance mutedInstance muted 15 - Instance muted by your instance - + Instance muted by your instanceInstance muted by your instance 16 @@ -2157,14 +2153,12 @@ Det verkar som du inte är på en HTTPS-server. Din webbserver behöver ha TLS a - Muted accounts - + Muted accountsMuted accounts 2 - Muted servers - + Muted serversMuted servers 11 @@ -2176,14 +2170,12 @@ Det verkar som du inte är på en HTTPS-server. Din webbserver behöver ha TLS a - Muted at - + Muted at Muted at 13 - Unmute - + UnmuteUnmute 23 @@ -2237,8 +2229,7 @@ Det verkar som du inte är på en HTTPS-server. Din webbserver behöver ha TLS a - Muted instances - + Muted instancesMuted instances 2 @@ -3725,14 +3716,12 @@ När du laddar upp en video i den här kanalen kommer supportfältet automatiskt - Account unmuted by your instance. - + Account unmuted by your instance.Account unmuted by your instance. 1 - Instance unmuted by your instance. - + Instance unmuted by your instance.Instance unmuted by your instance. 1 @@ -3870,14 +3859,12 @@ När du laddar upp en video i den här kanalen kommer supportfältet automatiskt - Account unmuted. - + Account unmuted.Account unmuted. 1 - Instance unmuted. - + Instance unmuted.Instance unmuted. 1 @@ -5410,86 +5397,72 @@ När du laddar upp en video i den här kanalen kommer supportfältet automatiskt - Account muted. - + Account muted.Account muted. 1 - Instance muted. - + Instance muted.Instance muted. 1 - Account muted by the instance. - + Account muted by the instance.Account muted by the instance. 1 - Account unmuted by the instance. - + Account unmuted by the instance.Account unmuted by the instance. 1 - Instance muted by the instance. - + Instance muted by the instance.Instance muted by the instance. 1 - Instance unmuted by the instance. - + Instance unmuted by the instance.Instance unmuted by the instance. 1 - Mute this account - + Mute this accountMute this account 1 - Unmute this account - + Unmute this accountUnmute this account 1 - Mute the instance - + Mute the instanceMute the instance 1 - Unmute the instance - + Unmute the instanceUnmute the instance 1 - Mute this account by your instance - + Mute this account by your instanceMute this account by your instance 1 - Unmute this account by your instance - + Unmute this account by your instanceUnmute this account by your instance 1 - Mute the instance by your instance - + Mute the instance by your instanceMute the instance by your instance 1 - Unmute the instance by your instance - + Unmute the instance by your instanceUnmute the instance by your instance 1 diff --git a/scripts/i18n/pull-hook.sh b/scripts/i18n/pull-hook.sh index 3a8394110..b0668436d 100755 --- a/scripts/i18n/pull-hook.sh +++ b/scripts/i18n/pull-hook.sh @@ -7,6 +7,7 @@ set -eu for i in 1 2 3; do perl -pi -e 's|<x id=(.+?)/>([^"])|\2|g' client/src/locale/target/*.xml + perl -0pi -e 's|(.+?)\s*\1\1