diff --git a/components/layout/Page.js b/components/layout/Page.js
index 3fbd7673..bcb61395 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
{children}
;
- }
+export default function Page({ className, children }) {
+ return {children}
;
}
diff --git a/public/intl/messages/de-DE.json b/public/intl/messages/de-DE.json
index 0bc273b6..aa4c9d9f 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.json
index 6ea8623b..229c6691 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.json
index 0ad13b3b..5773f835 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": [