X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular.json;h=e07cf6707d58dc71e5815360d94c68fb6a029df0;hb=fccbbc1a77d6e215eb299b569e9a4e5c79c7b719;hp=a64596a08743f7c9de602bb6170482802a301132;hpb=610d0be13b3d01f653ef269271dd667a57c85ef2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index a64596a08..e07cf6707 100644 --- a/client/angular.json +++ b/client/angular.json @@ -13,6 +13,10 @@ "baseHref": "/client/en-US/" }, "locales": { + "ar": { + "translation": "src/locale/angular.ar.xlf", + "baseHref": "/client/ar/" + }, "hu": { "translation": "src/locale/angular.hu-HU.xlf", "baseHref": "/client/hu-HU/" @@ -41,6 +45,10 @@ "translation": "src/locale/angular.es-ES.xlf", "baseHref": "/client/es-ES/" }, + "oc": { + "translation": "src/locale/angular.oc.xlf", + "baseHref": "/client/oc/" + }, "pt": { "translation": "src/locale/angular.pt-BR.xlf", "baseHref": "/client/pt-BR/" @@ -100,6 +108,14 @@ "it": { "translation": "src/locale/angular.it-IT.xlf", "baseHref": "/client/it-IT/" + }, + "vi": { + "translation": "src/locale/angular.vi-VN.xlf", + "baseHref": "/client/vi-VN/" + }, + "kab": { + "translation": "src/locale/angular.kab.xlf", + "baseHref": "/client/kab/" } } }, @@ -125,6 +141,34 @@ "styles": [ "src/sass/application.scss" ], + "allowedCommonJsDependencies": [ + "@angularclass/hmr", + "debug", + "mousetrap", + "chart.js", + "linkifyjs/html", + "linkifyjs", + "markdown-it", + "sanitize-html", + "socket.io-client", + "socket.io-parser", + "@app/+about/about-peertube/about-peertube-contributors.component", + "path", + "video.js", + "p2p-media-loader-hlsjs", + "videojs-hotkeys/videojs.hotkeys", + "p2p-media-loader-core", + "qrcode", + "webtorrent", + "cache-chunk-store", + "global/document", + "videojs-vtt.js", + "videojs-vtt.js", + "@babel/runtime/helpers/possibleConstructorReturn", + "@babel/runtime/helpers/inherits", + "@babel/runtime/helpers/construct", + "@videojs/xhr" + ], "scripts": [] }, "configurations": { @@ -187,6 +231,9 @@ } ] }, + "ar": { + "localize": [ "ar" ] + }, "hu-HU": { "localize": [ "hu" ] }, @@ -208,6 +255,9 @@ "es-ES": { "localize": [ "es" ] }, + "oc": { + "localize": [ "oc" ] + }, "pt-BR": { "localize": [ "pt" ] }, @@ -252,6 +302,12 @@ }, "it-IT": { "localize": [ "it" ] + }, + "vi-VN": { + "localize": [ "vi" ] + }, + "kab": { + "localize": [ "kab" ] } } }, @@ -320,7 +376,7 @@ "i18nBaseFile": "angular", "defaultLanguage": "en-US", "languages": [ - "ar-001", + "ar", "ca-ES", "cs-CZ", "da-DK", @@ -340,6 +396,7 @@ "it-IT", "ja-JP", "jbo", + "kab", "ko-KR", "lt-LT", "nb-NO", @@ -400,7 +457,7 @@ "schematics": { "@schematics/angular:component": { "prefix": "app", - "styleext": "scss" + "style": "scss" }, "@schematics/angular:directive": { "prefix": "app"