aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular.json
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-07 15:51:19 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-02-10 16:39:28 +0100
commit361dcebc75dea74947b6c3aafd9d7d720c054b01 (patch)
tree5edf2a0d871097ba7da2b974b8ccdef9c6b73261 /client/angular.json
parentf77eb73b5e02bed9e223dafc1c203ceb7c05b6e5 (diff)
downloadPeerTube-361dcebc75dea74947b6c3aafd9d7d720c054b01.tar.gz
PeerTube-361dcebc75dea74947b6c3aafd9d7d720c054b01.tar.zst
PeerTube-361dcebc75dea74947b6c3aafd9d7d720c054b01.zip
Support i18n build
Diffstat (limited to 'client/angular.json')
-rw-r--r--client/angular.json167
1 files changed, 166 insertions, 1 deletions
diff --git a/client/angular.json b/client/angular.json
index f3f146bcb..bf3a860aa 100644
--- a/client/angular.json
+++ b/client/angular.json
@@ -7,12 +7,108 @@
7 "root": "", 7 "root": "",
8 "sourceRoot": "src", 8 "sourceRoot": "src",
9 "projectType": "application", 9 "projectType": "application",
10 "i18n": {
11 "sourceLocale": "en",
12 "locales": {
13 "hu": {
14 "translation": "src/locale/angular.hu-HU.xlf",
15 "baseHref": "/"
16 },
17 "th": {
18 "translation": "src/locale/angular.th-TH.xlf",
19 "baseHref": "/"
20 },
21 "fi": {
22 "translation": "src/locale/angular.fi-FI.xlf",
23 "baseHref": "/"
24 },
25 "nl": {
26 "translation": "src/locale/angular.nl-NL.xlf",
27 "baseHref": "/"
28 },
29 "gd": {
30 "translation": "src/locale/angular.gd.xlf",
31 "baseHref": "/"
32 },
33 "el": {
34 "translation": "src/locale/angular.el-GR.xlf",
35 "baseHref": "/"
36 },
37 "es": {
38 "translation": "src/locale/angular.es-ES.xlf",
39 "baseHref": "/"
40 },
41 "oc": {
42 "translation": "src/locale/angular.oc.xlf",
43 "baseHref": "/"
44 },
45 "pt": {
46 "translation": "src/locale/angular.pt-BR.xlf",
47 "baseHref": "/"
48 },
49 "pt-PT": {
50 "translation": "src/locale/angular.pt-PT.xlf",
51 "baseHref": "/"
52 },
53 "sv": {
54 "translation": "src/locale/angular.sv-SE.xlf",
55 "baseHref": "/"
56 },
57 "pl": {
58 "translation": "src/locale/angular.pl-PL.xlf",
59 "baseHref": "/"
60 },
61 "ru": {
62 "translation": "src/locale/angular.ru-RU.xlf",
63 "baseHref": "/"
64 },
65 "zh-Hans": {
66 "translation": "src/locale/angular.zh-Hans-CN.xlf",
67 "baseHref": "/"
68 },
69 "zh-Hant": {
70 "translation": "src/locale/angular.zh-Hant-TW.xlf",
71 "baseHref": "/"
72 },
73 "fr": {
74 "translation": "src/locale/angular.fr-FR.xlf",
75 "baseHref": "/"
76 },
77 "ja": {
78 "translation": "src/locale/angular.ja-JP.xlf",
79 "baseHref": "/"
80 },
81 "eu": {
82 "translation": "src/locale/angular.eu-ES.xlf",
83 "baseHref": "/"
84 },
85 "ca": {
86 "translation": "src/locale/angular.ca-ES.xlf",
87 "baseHref": "/"
88 },
89 "cs": {
90 "translation": "src/locale/angular.cs-CZ.xlf",
91 "baseHref": "/"
92 },
93 "eo": {
94 "translation": "src/locale/angular.eo.xlf",
95 "baseHref": "/"
96 },
97 "de": {
98 "translation": "src/locale/angular.de-DE.xlf",
99 "baseHref": "/"
100 },
101 "it": {
102 "translation": "src/locale/angular.it-IT.xlf",
103 "baseHref": "/"
104 }
105 }
106 },
10 "architect": { 107 "architect": {
11 "build": { 108 "build": {
12 "builder": "@angular-devkit/build-angular:browser", 109 "builder": "@angular-devkit/build-angular:browser",
13 "options": { 110 "options": {
14 "aot": true, 111 "aot": true,
15 "deployUrl": "client/",
16 "outputPath": "dist", 112 "outputPath": "dist",
17 "index": "src/index.html", 113 "index": "src/index.html",
18 "main": "src/main.ts", 114 "main": "src/main.ts",
@@ -91,6 +187,75 @@
91 "with": "src/environments/environment.e2e.ts" 187 "with": "src/environments/environment.e2e.ts"
92 } 188 }
93 ] 189 ]
190 },
191 "hu-HU": {
192 "localize": [ "hu" ]
193 },
194 "th-TH": {
195 "localize": [ "th" ]
196 },
197 "fi-FI": {
198 "localize": [ "fi" ]
199 },
200 "nl-NL": {
201 "localize": [ "nl" ]
202 },
203 "gd": {
204 "localize": [ "gd" ]
205 },
206 "el-GR": {
207 "localize": [ "el" ]
208 },
209 "es-ES": {
210 "localize": [ "es" ]
211 },
212 "oc": {
213 "localize": [ "oc" ]
214 },
215 "pt-BR": {
216 "localize": [ "pt" ]
217 },
218 "pt-PT": {
219 "localize": [ "pt-PT" ]
220 },
221 "sv-SE": {
222 "localize": [ "sv" ]
223 },
224 "pl-PL": {
225 "localize": [ "pl" ]
226 },
227 "ru-RU": {
228 "localize": [ "ru" ]
229 },
230 "zh-Hans-CN": {
231 "localize": [ "zh-Hans" ]
232 },
233 "zh-Hant-TW": {
234 "localize": [ "zh-Hant" ]
235 },
236 "fr-FR": {
237 "localize": [ "fr" ]
238 },
239 "ja-JP": {
240 "localize": [ "ja" ]
241 },
242 "eu-ES": {
243 "localize": [ "eu" ]
244 },
245 "ca-ES": {
246 "localize": [ "ca" ]
247 },
248 "cs-CZ": {
249 "localize": [ "cs" ]
250 },
251 "eo": {
252 "localize": [ "eo" ]
253 },
254 "de-DE": {
255 "localize": [ "de" ]
256 },
257 "it-IT": {
258 "localize": [ "it" ]
94 } 259 }
95 } 260 }
96 }, 261 },