mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Support i18n.
This commit is contained in:
parent
f0ac9b6522
commit
e8538f6e23
14 changed files with 372 additions and 36 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "umami",
|
||||
"version": "0.23.0",
|
||||
"version": "0.24.0",
|
||||
"description": "A simple, fast, website analytics alternative to Google Analytics. ",
|
||||
"author": "Mike Cao <mike@mikecao.com>",
|
||||
"license": "MIT",
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "npm-run-all build-tracker copy-db-schema build-db-client build-app",
|
||||
"build": "npm-run-all build-tracker compile-lang copy-db-schema build-db-client build-app",
|
||||
"start": "next start",
|
||||
"build-app": "next build",
|
||||
"build-tracker": "rollup -c rollup.tracker.config.js",
|
||||
|
|
@ -22,7 +22,8 @@
|
|||
"build-mysql-client": "dotenv prisma generate -- --schema=./prisma/schema.mysql.prisma",
|
||||
"build-postgresql-schema": "dotenv prisma introspect -- --schema=./prisma/schema.postgresql.prisma",
|
||||
"build-postgresql-client": "dotenv prisma generate -- --schema=./prisma/schema.postgresql.prisma",
|
||||
"extract": "formatjs extract --out-file lang/en.json components/**/*.js"
|
||||
"extract-lang": "formatjs extract {pages,components}/**/*.js --out-file lang/en.json",
|
||||
"compile-lang": "formatjs compile-folder --ast lang lang-compiled"
|
||||
},
|
||||
"lint-staged": {
|
||||
"**/*.js": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue