X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fangular.json;h=e07cf6707d58dc71e5815360d94c68fb6a029df0;hb=fccbbc1a77d6e215eb299b569e9a4e5c79c7b719;hp=d9cee9bac6d826265049a2dedaf573c334d7166d;hpb=8cc56c7fddb4c9fe3cfe1a19f340fc07dc4cec0f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/angular.json b/client/angular.json index d9cee9bac..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/" @@ -104,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/" } } }, @@ -129,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": { @@ -153,7 +193,7 @@ { "type": "anyComponentStyle", "maximumWarning": "6kb", - "maximumError": "10kb" + "maximumError": "50kb" } ], "fileReplacements": [ @@ -191,6 +231,9 @@ } ] }, + "ar": { + "localize": [ "ar" ] + }, "hu-HU": { "localize": [ "hu" ] }, @@ -259,6 +302,12 @@ }, "it-IT": { "localize": [ "it" ] + }, + "vi-VN": { + "localize": [ "vi" ] + }, + "kab": { + "localize": [ "kab" ] } } }, @@ -327,7 +376,7 @@ "i18nBaseFile": "angular", "defaultLanguage": "en-US", "languages": [ - "ar-001", + "ar", "ca-ES", "cs-CZ", "da-DK", @@ -347,6 +396,7 @@ "it-IT", "ja-JP", "jbo", + "kab", "ko-KR", "lt-LT", "nb-NO", @@ -407,7 +457,7 @@ "schematics": { "@schematics/angular:component": { "prefix": "app", - "styleext": "scss" + "style": "scss" }, "@schematics/angular:directive": { "prefix": "app"