diff options
author | Chocobozzz <me@florianbigard.com> | 2019-11-07 09:45:14 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-11-07 09:45:14 +0100 |
commit | 3aea8eb2e7ee8fa53e05298030eaeef98d234797 (patch) | |
tree | 9dfb03803b8a2b7d7eedad33eb2a0c6925469167 /client/angular.json | |
parent | c2368b72411253d825a3a4169a85ec4570ba5854 (diff) | |
download | PeerTube-3aea8eb2e7ee8fa53e05298030eaeef98d234797.tar.gz PeerTube-3aea8eb2e7ee8fa53e05298030eaeef98d234797.tar.zst PeerTube-3aea8eb2e7ee8fa53e05298030eaeef98d234797.zip |
Try new worflow with french
Diffstat (limited to 'client/angular.json')
-rw-r--r-- | client/angular.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/client/angular.json b/client/angular.json index 950ac059e..bbe3d07b3 100644 --- a/client/angular.json +++ b/client/angular.json | |||
@@ -78,6 +78,13 @@ | |||
78 | "with": "src/environments/environment.e2e.ts" | 78 | "with": "src/environments/environment.e2e.ts" |
79 | } | 79 | } |
80 | ] | 80 | ] |
81 | }, | ||
82 | "fr_FR": { | ||
83 | "aot": true, | ||
84 | "outputPath": "dist/PeerTube-fr_FR", | ||
85 | "i18nFile": "src/i18n/messages.fr_FR.xlf", | ||
86 | "i18nFormat": "xlf", | ||
87 | "i18nLocale": "fr_FR" | ||
81 | } | 88 | } |
82 | } | 89 | } |
83 | }, | 90 | }, |
@@ -99,6 +106,9 @@ | |||
99 | "e2e": { | 106 | "e2e": { |
100 | "browserTarget": "PeerTube:build:e2e", | 107 | "browserTarget": "PeerTube:build:e2e", |
101 | "proxyConfig": "e2e/proxy.config.json" | 108 | "proxyConfig": "e2e/proxy.config.json" |
109 | }, | ||
110 | "fr_FR": { | ||
111 | "browserTarget": "PeerTube:build:fr_FR" | ||
102 | } | 112 | } |
103 | } | 113 | } |
104 | }, | 114 | }, |
@@ -135,6 +145,23 @@ | |||
135 | "**/node_modules/**" | 145 | "**/node_modules/**" |
136 | ] | 146 | ] |
137 | } | 147 | } |
148 | }, | ||
149 | "xliffmerge": { | ||
150 | "builder": "@ngx-i18nsupport/tooling:xliffmerge", | ||
151 | "options": { | ||
152 | "xliffmergeOptions": { | ||
153 | "i18nFormat": "xlf", | ||
154 | "srcDir": "src/locale", | ||
155 | "genDir": "src/locale", | ||
156 | "useSourceAsTarget": false, | ||
157 | "i18nBaseFile": "angular", | ||
158 | "defaultLanguage": "en-US", | ||
159 | "languages": [ | ||
160 | "en-US", | ||
161 | "fr-FR" | ||
162 | ] | ||
163 | } | ||
164 | } | ||
138 | } | 165 | } |
139 | } | 166 | } |
140 | }, | 167 | }, |