Added Hindi language. Updated packages.

This commit is contained in:
Mike Cao 2020-11-29 20:39:16 -08:00
parent 9a5790b4b4
commit ec0af1878e
5 changed files with 428 additions and 590 deletions

View File

@ -8,6 +8,7 @@ import {
es,
fi,
fr,
hi,
id,
ja,
nb,
@ -47,6 +48,7 @@ import fiMessages from 'lang-compiled/fi-FI.json';
import csMessages from 'lang-compiled/cs-CZ.json';
import plMessages from 'lang-compiled/pl-PL.json';
import taMessages from 'lang-compiled/ta-IN.json';
import hiMessages from 'lang-compiled/hi-IN.json';
export const messages = {
'en-US': enMessages,
@ -73,6 +75,7 @@ export const messages = {
'cs-CZ': csMessages,
'pl-PL': plMessages,
'ta-IN': taMessages,
'hi-IN': hiMessages,
};
export const dateLocales = {
@ -100,6 +103,7 @@ export const dateLocales = {
'cs-CZ': cs,
'pl-PL': pl,
'ta-In': ta,
'hi-IN': hi,
};
export const menuOptions = [
@ -113,6 +117,7 @@ export const menuOptions = [
{ label: 'Føroyskt', value: 'fo-FO', display: 'fo' },
{ label: 'Français', value: 'fr-FR', display: 'fr' },
{ label: 'Ελληνικά', value: 'el-GR', display: 'el' },
{ label: 'हिन्दी', value: 'hi-IN', display: 'hi' },
{ label: 'Bahasa Indonesia', value: 'id-ID', display: 'id' },
{ label: '日本語', value: 'ja-JP', display: 'ja' },
{ label: 'Монгол', value: 'mn-MN', display: 'mn' },

View File

@ -1,6 +1,6 @@
{
"name": "umami",
"version": "1.7.0",
"version": "1.8.0",
"description": "A simple, fast, website analytics alternative to Google Analytics. ",
"author": "Mike Cao <mike@mikecao.com>",
"license": "MIT",
@ -56,7 +56,7 @@
}
},
"dependencies": {
"@prisma/client": "2.11.0",
"@prisma/client": "2.12.1",
"@reduxjs/toolkit": "^1.4.0",
"bcrypt": "^5.0.0",
"chalk": "^4.1.0",
@ -68,22 +68,22 @@
"date-fns-tz": "^1.0.12",
"detect-browser": "^5.2.0",
"dotenv": "^8.2.0",
"formik": "^2.2.1",
"formik": "^2.2.5",
"immer": "^7.0.14",
"is-localhost-ip": "^1.4.0",
"isbot-fast": "^1.2.0",
"jose": "^2.0.3",
"maxmind": "^4.3.1",
"moment-timezone": "^0.5.31",
"next": "^10.0.1",
"moment-timezone": "^0.5.32",
"next": "^10.0.3",
"prompts": "2.4.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-intl": "^5.10.1",
"react-intl": "^5.10.6",
"react-redux": "^7.2.2",
"react-simple-maps": "^2.3.0",
"react-spring": "^8.0.27",
"react-tooltip": "^4.2.10",
"react-tooltip": "^4.2.11",
"react-use-measure": "^2.0.3",
"react-window": "^1.8.6",
"redux": "^4.0.5",
@ -96,8 +96,8 @@
"uuid": "^8.3.1"
},
"devDependencies": {
"@formatjs/cli": "^2.13.5",
"@prisma/cli": "2.11.0",
"@formatjs/cli": "^2.13.15",
"@prisma/cli": "2.12.1",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.3.4",
@ -105,22 +105,22 @@
"cross-env": "^7.0.2",
"del": "^6.0.0",
"dotenv-cli": "^4.0.0",
"eslint": "^7.13.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"extract-react-intl-messages": "^4.1.1",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"lint-staged": "^10.5.2",
"loadtest": "5.1.0",
"npm-run-all": "^4.1.5",
"postcss-flexbugs-fixes": "^4.2.1",
"postcss-import": "^13.0.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.1.2",
"prettier-eslint": "^11.0.0",
"rollup": "^2.33.2",
"prettier": "^2.2.1",
"prettier-eslint": "^12.0.0",
"rollup": "^2.34.0",
"rollup-plugin-hashbang": "^2.2.2",
"rollup-plugin-terser": "^7.0.2",
"stylelint": "^13.8.0",

File diff suppressed because one or more lines are too long

984
yarn.lock

File diff suppressed because it is too large Load Diff