Merge pull request #393 from mikecao/dev

v1.8.0
This commit is contained in:
Mike Cao 2020-11-29 20:47:52 -08:00 committed by GitHub
commit a0bab038a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 527 additions and 590 deletions

99
lang/hi-IN.json Normal file
View File

@ -0,0 +1,99 @@
{
"label.accounts": "खाता",
"label.add-account": "खाता जोड़ें",
"label.add-website": "वेबसाइट",
"label.administrator": "प्रशासक",
"label.all": "सब",
"label.all-websites": "सभी वेबसाइटें",
"label.back": "पीछे",
"label.cancel": "रद्द करें",
"label.change-password": "पासवर्ड बदलें",
"label.confirm-password": "पासवर्ड की पुष्टि कीजिये",
"label.copy-to-clipboard": "क्लिपबोर्ड पर कॉपी करें",
"label.current-password": "वर्तमान पासवर्ड",
"label.custom-range": "कस्टम रेंज",
"label.dashboard": "नियंत्रण-पट्ट",
"label.date-range": "तिथि सीमा",
"label.default-date-range": "डिफ़ॉल्ट तिथि सीमा",
"label.delete": "खाता हटाएं",
"label.delete-account": "खाता हटाएं",
"label.delete-website": "वेबसाइट हटाएं",
"label.dismiss": "खारिज कीजिये",
"label.domain": "डोमेन",
"label.edit": "संपादित करें",
"label.edit-account": "खाता संपादित करें",
"label.edit-website": "वेबसाइट संपादित करें",
"label.enable-share-url": "शेयर URL सक्षम करें",
"label.invalid": "अमान्य",
"label.invalid-domain": "अमान्य डोमेन",
"label.last-days": "पिछले {x} दिन",
"label.last-hours": "पिछले {x} घंटे",
"label.logged-in-as": "{x} के रूप में लॉग इन किया",
"label.login": "लॉग इन",
"label.logout": "लॉग आउट",
"label.more": "और",
"label.name": "नाम",
"label.new-password": "नया पासवर्ड",
"label.password": "पासवर्ड",
"label.passwords-dont-match": "पासवर्ड मेल नहीं खाते",
"label.profile": "प्रोफ़ाइल",
"label.realtime": "वास्तव काल",
"label.realtime-logs": "वास्तविक समय लॉग",
"label.refresh": "रिफ्रेश",
"label.required": "अपेक्षित",
"label.reset": "रीसेट",
"label.save": "सहेजें",
"label.settings": "समायोजन",
"label.share-url": "यूआरएल साझा करें",
"label.single-day": "एक दिन",
"label.this-month": "इस महीने",
"label.this-week": "इस सप्ताह",
"label.this-year": "इस साल",
"label.timezone": "समय क्षेत्र",
"label.today": "आज",
"label.tracking-code": "ट्रैकिंग कोड",
"label.unknown": "अज्ञात",
"label.username": "उपयोगकर्ता नाम",
"label.view-details": "विवरण देखें",
"label.websites": "वेबसाइटों",
"message.active-users": "{x} मौजूद {x, plural, one {आगंतुक} other {आगंतुकों}}",
"message.confirm-delete": "क्या आप वाकई में {target} हटाना चाहते हैं?",
"message.copied": "कॉपी हो गया!",
"message.delete-warning": "सभी संबद्ध डेटा को भी हटा दिया जाएगा।",
"message.failure": "कुछ गलत हो गया।",
"message.get-share-url": "शेयर URL प्राप्त करें",
"message.get-tracking-code": "ट्रैकिंग कोड प्राप्त करें",
"message.go-to-settings": "समायोजन में जाइए",
"message.incorrect-username-password": "ग़लत उपयोगकर्ता नाम / पासवर्ड।",
"message.log.visitor": "{country} का आगंतुक, जो {browser} का उपयोग करता है, {os} यन्त्र पर",
"message.new-version-available": "उमामी का नया संस्करण {version} उपलब्ध है!",
"message.no-data-available": "कोई डेटा उपलब्ध नहीं है।",
"message.no-websites-configured": "आपके पास कोई वेबसाइट कॉन्फ़िगर नहीं है।",
"message.page-not-found": "पृष्ठ नहीं मिला।",
"message.powered-by": "{name} द्वारा संचालित",
"message.save-success": "सफलतापूर्वक संचित कर लिया गया है।",
"message.share-url": "यह {target} के लिए सार्वजनिक रूप से साझा किया गया URL है।",
"message.track-stats": "{target} के आँकड़ों को ट्रैक करने के लिए, अपनी वेबसाइट के {head} अनुभाग में निम्नलिखित कोड रखें।",
"message.type-delete": "पुष्टि करने के लिए नीचे दिए गए बॉक्स में {delete} टाइप करें।",
"metrics.actions": "कार्य",
"metrics.average-visit-time": "औसत दृश्य समय",
"metrics.bounce-rate": "उछाल दर",
"metrics.browsers": "वेब ब्राउज़र",
"metrics.countries": "देश",
"metrics.device.desktop": "डेस्कटॉप",
"metrics.device.laptop": "लैपटॉप",
"metrics.device.mobile": "मोबाइल फोन",
"metrics.device.tablet": "टैबलेट",
"metrics.devices": "उपकरण",
"metrics.events": "स्पर्धाएँ",
"metrics.filter.combined": "संयुक्त",
"metrics.filter.domain-only": "केवल डोमेन",
"metrics.filter.raw": "रॉ",
"metrics.operating-systems": "ऑपरेटिंग सिस्टम",
"metrics.page-views": "पृष्ठ दृश्य",
"metrics.pages": "पृष्ठों",
"metrics.referrers": "सन्दर्भदाता",
"metrics.unique-visitors": "अद्वितीय आगंतुकों",
"metrics.views": "दृश्य",
"metrics.visitors": "आगंतुकों"
}

View File

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

View File

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