aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-08-18 14:12:32 +0200
committerChocobozzz <me@florianbigard.com>2023-08-18 14:12:32 +0200
commit273d57023becd32c2728ace16341e99f242ff387 (patch)
treef691c79e9fdcc641a52f9fe279d2427b20159076 /scripts
parenta4a8ccdfb601af3d32d891cfe72095595e5d0ef3 (diff)
downloadPeerTube-273d57023becd32c2728ace16341e99f242ff387.tar.gz
PeerTube-273d57023becd32c2728ace16341e99f242ff387.tar.zst
PeerTube-273d57023becd32c2728ace16341e99f242ff387.zip
Update translations
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci.sh4
-rwxr-xr-xscripts/i18n/create-custom-files.ts2
-rw-r--r--scripts/tsconfig.json5
3 files changed, 6 insertions, 5 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh
index 64968cf94..0046fe41a 100755
--- a/scripts/ci.sh
+++ b/scripts/ci.sh
@@ -144,7 +144,5 @@ elif [ "$1" = "lint" ]; then
144 144
145 npm run swagger-cli -- validate support/doc/api/openapi.yaml 145 npm run swagger-cli -- validate support/doc/api/openapi.yaml
146 146
147 ( cd client 147 ( cd client && npm run lint )
148 npm run lint
149 )
150fi 148fi
diff --git a/scripts/i18n/create-custom-files.ts b/scripts/i18n/create-custom-files.ts
index 887ab86af..beb46191c 100755
--- a/scripts/i18n/create-custom-files.ts
+++ b/scripts/i18n/create-custom-files.ts
@@ -15,7 +15,7 @@ import {
15 VIDEO_PLAYLIST_TYPES, 15 VIDEO_PLAYLIST_TYPES,
16 VIDEO_PRIVACIES, 16 VIDEO_PRIVACIES,
17 VIDEO_STATES 17 VIDEO_STATES
18} from '../../server/initializers/constants.js' 18} from '@peertube/peertube-server/server/initializers/constants.js'
19 19
20const videojs = readJsonSync(join(root(), 'client', 'src', 'locale', 'videojs.en-US.json')) 20const videojs = readJsonSync(join(root(), 'client', 'src', 'locale', 'videojs.en-US.json'))
21const playerKeys = { 21const playerKeys = {
diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json
index 0a7e07599..667d6e6d8 100644
--- a/scripts/tsconfig.json
+++ b/scripts/tsconfig.json
@@ -1,7 +1,10 @@
1{ 1{
2 "extends": "../tsconfig.base.json", 2 "extends": "../tsconfig.base.json",
3 "compilerOptions": { 3 "compilerOptions": {
4 "outDir": "../dist/scripts" 4 "outDir": "../dist/scripts",
5 "paths": {
6 "@server/*": [ "./server/server/*" ]
7 }
5 }, 8 },
6 "references": [ 9 "references": [
7 { "path": "../packages/core-utils" }, 10 { "path": "../packages/core-utils" },