Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Updated message bundles.
Mike Cao313743658895
diff --git a/components/layout/Page.js b/components/layout/Page.jsindex 3fbd76732..bcb613955 100644--- a/components/layout/Page.js+++ b/components/layout/Page.js@@ -1,26 +1,6 @@-import React from 'react';import classNames from 'classnames';import styles from './Page.module.css';-export default class Page extends React.Component {- getSnapshotBeforeUpdate() {- if (window.pageXOffset === 0 && window.pageYOffset === 0) return null;-- // Return the scrolled position as the snapshot value- return { x: window.pageXOffset, y: window.pageYOffset };- }-- /* eslint-disable no-unused-vars */- componentDidUpdate(prevProps, prevState, snapshot) {- if (snapshot !== null) {- // Restore the scrolled position after re-rendering- window.scrollTo(snapshot.x, snapshot.y);- }- }- /* eslint-enable no-unused-vars */-- render() {- const { className, children } = this.props;- return <div className={classNames(styles.page, className)}>{children}</div>;- }+export default function Page({ className, children }) {+ return <div className={classNames(styles.page, className)}>{children}</div>;}diff --git a/public/intl/messages/de-DE.json b/public/intl/messages/de-DE.jsonindex 0bc273b68..aa4c9d9f0 100644--- a/public/intl/messages/de-DE.json+++ b/public/intl/messages/de-DE.json@@ -474,7 +474,7 @@"message.edit-dashboard": [{"type": 0,- "value": "Edit dashboard"+ "value": "Dashboard bearbeiten"}],"message.failure": [@@ -770,7 +770,7 @@"metrics.query-parameters": [{"type": 0,- "value": "Query parameters"+ "value": "Abfrageparameter"}],"metrics.referrers": [diff --git a/public/intl/messages/fr-FR.json b/public/intl/messages/fr-FR.jsonindex 6ea8623b5..229c6691a 100644--- a/public/intl/messages/fr-FR.json+++ b/public/intl/messages/fr-FR.json@@ -170,7 +170,7 @@"label.language": [{"type": 0,- "value": "Langage"+ "value": "Langue"}],"label.last-days": [@@ -470,7 +470,7 @@"message.edit-dashboard": [{"type": 0,- "value": "Edit dashboard"+ "value": "Modifier l'ordre des sites"}],"message.failure": [diff --git a/public/intl/messages/zh-CN.json b/public/intl/messages/zh-CN.jsonindex 0ad13b3bd..5773f8358 100644--- a/public/intl/messages/zh-CN.json+++ b/public/intl/messages/zh-CN.json@@ -454,7 +454,7 @@"message.edit-dashboard": [{"type": 0,- "value": "Edit dashboard"+ "value": "编辑仪表板"}],"message.failure": [@@ -758,7 +758,7 @@"metrics.query-parameters": [{"type": 0,- "value": "Query parameters"+ "value": "查询参数"}],"metrics.referrers": [