Add french
This commit is contained in:
parent
b1d40cff89
commit
510fefb194
|
@ -168,7 +168,7 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit {
|
|||
'Please type "I understand the {{ customizationsText }} I set" to confirm.',
|
||||
{ customizationsText }
|
||||
)
|
||||
const expectedInputValue = this.i18n('I understand the {{ customizationsText }} I set', { customizationsText})
|
||||
const expectedInputValue = this.i18n('I understand the {{ customizationsText }} I set', { customizationsText })
|
||||
|
||||
const confirmRes = await this.confirmService.confirmWithInput(message, label, expectedInputValue)
|
||||
if (confirmRes === false) return
|
||||
|
|
|
@ -84,7 +84,7 @@ export class SignupComponent extends FormReactive implements OnInit {
|
|||
() => {
|
||||
this.notificationsService.success(
|
||||
this.i18n('Success'),
|
||||
this.i18n('Registration for {{ username }} complete.', { username: userCreate.username})
|
||||
this.i18n('Registration for {{ username }} complete.', { username: userCreate.username })
|
||||
)
|
||||
this.redirectService.redirectToHomepage()
|
||||
},
|
||||
|
|
|
@ -908,7 +908,7 @@ Check this checkbox, save the configuration and test with a video URL of your in
|
|||
<context context-type="linenumber">20</context>
|
||||
</context-group>
|
||||
</trans-unit><trans-unit id="ff3173170e5b03536dd3b3e1afbae1f55356eb1b" datatype="html">
|
||||
<source>Created <x id="START_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="<p-sortIcon>"/><x id="CLOSE_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="</p-sortIcon>"/></source>
|
||||
<source>Created <x id="START_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="<p-sortIcon>"/><x id="CLOSE_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="</p-sortIcon>"/></source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">app/+admin/follows/followers-list/followers-list.component.ts</context>
|
||||
<context context-type="linenumber">12</context>
|
||||
|
@ -1031,7 +1031,7 @@ Check this checkbox, save the configuration and test with a video URL of your in
|
|||
</context-group>
|
||||
</trans-unit><trans-unit id="42e3c0e89177ca135974221eaf0e4e836c32e345" datatype="html">
|
||||
<source>
|
||||
Transcoding is enabled on server. The video quota only take in account <x id="START_TAG_STRONG" ctype="x-strong" equiv-text="<strong>"/>original<x id="CLOSE_TAG_STRONG" ctype="x-strong" equiv-text="</strong>"/> video. <x id="LINE_BREAK" ctype="lb" equiv-text="<br/>"/>
|
||||
Transcoding is enabled on server. The video quota only take in account <x id="START_TAG_STRONG" ctype="x-strong" equiv-text="<strong>"/>original<x id="CLOSE_TAG_STRONG" ctype="x-strong" equiv-text="</strong>"/> video. <x id="LINE_BREAK" ctype="lb" equiv-text="<br/>"/>
|
||||
At most, this user could use ~ <x id="INTERPOLATION" equiv-text="{{ computeQuotaWithTranscoding() | bytes: 0 }}"/>.
|
||||
</source>
|
||||
<context-group purpose="location">
|
||||
|
@ -1049,7 +1049,7 @@ Check this checkbox, save the configuration and test with a video URL of your in
|
|||
<context context-type="linenumber">2</context>
|
||||
</context-group>
|
||||
</trans-unit><trans-unit id="08ea8692dc2a7050026df26fc39b22960bde9de5" datatype="html">
|
||||
<source>Username <x id="START_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="<p-sortIcon>"/><x id="CLOSE_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="</p-sortIcon>"/></source>
|
||||
<source>Username <x id="START_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="<p-sortIcon>"/><x id="CLOSE_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="</p-sortIcon>"/></source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">app/+admin/users/user-list/user-list.component.ts</context>
|
||||
<context context-type="linenumber">16</context>
|
||||
|
@ -1097,13 +1097,13 @@ Check this checkbox, save the configuration and test with a video URL of your in
|
|||
<context context-type="linenumber">2</context>
|
||||
</context-group>
|
||||
</trans-unit><trans-unit id="7c02d113e9b7884037834cddecf2a32a5538b35b" datatype="html">
|
||||
<source>Name <x id="START_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="<p-sortIcon>"/><x id="CLOSE_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="</p-sortIcon>"/></source>
|
||||
<source>Name <x id="START_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="<p-sortIcon>"/><x id="CLOSE_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="</p-sortIcon>"/></source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">app/+admin/video-blacklist/video-blacklist-list/video-blacklist-list.component.ts</context>
|
||||
<context context-type="linenumber">11</context>
|
||||
</context-group>
|
||||
</trans-unit><trans-unit id="cd5ca5da9e2fa21571e9f86a24a5c3b45a3ddc51" datatype="html">
|
||||
<source>Views <x id="START_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="<p-sortIcon>"/><x id="CLOSE_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="</p-sortIcon>"/></source>
|
||||
<source>Views <x id="START_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="<p-sortIcon>"/><x id="CLOSE_TAG_P-SORTICON" ctype="x-p-sortIcon" equiv-text="</p-sortIcon>"/></source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">app/+admin/video-blacklist/video-blacklist-list/video-blacklist-list.component.ts</context>
|
||||
<context context-type="linenumber">13</context>
|
||||
|
@ -1188,7 +1188,7 @@ Check this checkbox, save the configuration and test with a video URL of your in
|
|||
</context-group>
|
||||
</trans-unit><trans-unit id="a475a4862efc4e473d6201f09b258e05d651c1df" datatype="html">
|
||||
<source>
|
||||
<x id="START_TAG_SPAN" ctype="x-span" equiv-text="<span>"/><x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="</span>"/>
|
||||
<x id="START_TAG_SPAN" ctype="x-span" equiv-text="<span>"/><x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="</span>"/>
|
||||
Delete
|
||||
</source>
|
||||
<context-group purpose="location">
|
||||
|
@ -2168,7 +2168,7 @@ When you will upload a video in this channel, the video support field will be au
|
|||
</context-group>
|
||||
</trans-unit>
|
||||
<trans-unit id="a6718d6aaf5bcd1692eed48daa61d2bed62c1f50" datatype="html">
|
||||
<source>If you confirm, you will send a follow request to:<x id="LINE_BREAK" ctype="lb" equiv-text="<br/>"/> - </source>
|
||||
<source>If you confirm, you will send a follow request to:<x id="LINE_BREAK" ctype="lb" equiv-text="<br/>"/> - </source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/+admin/follows/following-add/following-add.component.ts</context>
|
||||
<context context-type="linenumber">1</context>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -8,4 +8,5 @@ npm run ngx-extractor -- --locale "en-US" -i 'src/**/*.ts' -f xlf -o src/locale/
|
|||
|
||||
# Zanata does not support inner elements in <source>, so we hack these special elements
|
||||
# This regex translate the Angular elements to special entities (that we will reconvert on pull)
|
||||
sed -i 's/<x id=\([^\/]\+\?\)\/>/\<x id=\1\/\>/g' src/locale/source/messages_en_US.xml
|
||||
#sed -i 's/<x id=\(.\+\?\)\/>/\<x id=\1\/\>/g' src/locale/source/messages_en_US.xml
|
||||
perl -pi -e 's|<x id=(.+?)/>|<x id=\1/>|g' src/locale/source/messages_en_US.xml
|
|
@ -4,4 +4,8 @@ set -eu
|
|||
|
||||
# Zanata does not support inner elements in <source>, so we hack these special elements
|
||||
# This regex translate the converted elements to initial Angular elements
|
||||
sed -i 's/\<x id=\([^\/]\+\?\)\/\>/<x id=\1\/>/g' client/src/locale/target/*
|
||||
#sed -i 's/\<x id=\(.\+\?\)\/\>/<x id=\1\/>/g' client/src/locale/target/*
|
||||
|
||||
for i in 1 2 3; do
|
||||
perl -pi -e 's|<x id=(.+?)/>([^"])|<x id=\1/>\2|g' client/src/locale/target/*
|
||||
done
|
Loading…
Reference in New Issue