diff --git a/web/src/App.js b/web/src/App.js index 0bd9297e..8c82c845 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -16,8 +16,8 @@ import React, {Component} from "react"; import "./App.less"; import {Helmet} from "react-helmet"; import * as Setting from "./Setting"; -import {BarsOutlined, DownOutlined, LogoutOutlined, SettingOutlined} from "@ant-design/icons"; -import {Avatar, Button, Card, ConfigProvider, Drawer, Dropdown, FloatButton, Layout, Menu, Result} from "antd"; +import {BarsOutlined, DownOutlined, InfoCircleFilled, LogoutOutlined, SettingOutlined} from "@ant-design/icons"; +import {Alert, Avatar, Button, Card, ConfigProvider, Drawer, Dropdown, FloatButton, Layout, Menu, Result} from "antd"; import {Link, Redirect, Route, Switch, withRouter} from "react-router-dom"; import OrganizationListPage from "./OrganizationListPage"; import OrganizationEditPage from "./OrganizationEditPage"; @@ -671,6 +671,9 @@ class App extends Component { return ( + { + this.renderBanner() + } { @@ -680,6 +683,27 @@ class App extends Component { ); } + renderBanner() { + if (!Conf.IsDemoMode) { + return null; + } + + return ( + + +    + {i18next.t("general:Found some texts still not translated? Please help us translate at")} +   + + Crowdin + +  ! 🙏 + + } /> + ); + } + render() { return ( diff --git a/web/src/locales/de/data.json b/web/src/locales/de/data.json index 1ea158ae..afe2689a 100644 --- a/web/src/locales/de/data.json +++ b/web/src/locales/de/data.json @@ -181,6 +181,7 @@ "First name": "First name", "Forget URL": "URL vergessen", "Forget URL - Tooltip": "Unique string-style identifier", + "Found some texts still not translated? Please help us translate at": "Found some texts still not translated? Please help us translate at", "Go to writable demo site?": "Go to writable demo site?", "Home": "Zuhause", "Home - Tooltip": "Application homepage", diff --git a/web/src/locales/en/data.json b/web/src/locales/en/data.json index 92824501..8d70d352 100644 --- a/web/src/locales/en/data.json +++ b/web/src/locales/en/data.json @@ -181,6 +181,7 @@ "First name": "First name", "Forget URL": "Forget URL", "Forget URL - Tooltip": "Forget URL - Tooltip", + "Found some texts still not translated? Please help us translate at": "Found some texts still not translated? Please help us translate at", "Go to writable demo site?": "Go to writable demo site?", "Home": "Home", "Home - Tooltip": "Home - Tooltip", diff --git a/web/src/locales/es/data.json b/web/src/locales/es/data.json index 0beb4c37..4c305475 100644 --- a/web/src/locales/es/data.json +++ b/web/src/locales/es/data.json @@ -181,6 +181,7 @@ "First name": "Nombre", "Forget URL": "URL de olvido", "Forget URL - Tooltip": "URL de olvido - Tooltip", + "Found some texts still not translated? Please help us translate at": "Found some texts still not translated? Please help us translate at", "Go to writable demo site?": "Go to writable demo site?", "Home": "Inicio", "Home - Tooltip": "Inicio - Tooltip", diff --git a/web/src/locales/fr/data.json b/web/src/locales/fr/data.json index b14618fb..aa26c787 100644 --- a/web/src/locales/fr/data.json +++ b/web/src/locales/fr/data.json @@ -181,6 +181,7 @@ "First name": "First name", "Forget URL": "Oublier l'URL", "Forget URL - Tooltip": "Unique string-style identifier", + "Found some texts still not translated? Please help us translate at": "Found some texts still not translated? Please help us translate at", "Go to writable demo site?": "Go to writable demo site?", "Home": "Domicile", "Home - Tooltip": "Application homepage", diff --git a/web/src/locales/ja/data.json b/web/src/locales/ja/data.json index 1d1b5270..379433a7 100644 --- a/web/src/locales/ja/data.json +++ b/web/src/locales/ja/data.json @@ -181,6 +181,7 @@ "First name": "First name", "Forget URL": "URLを忘れた", "Forget URL - Tooltip": "Unique string-style identifier", + "Found some texts still not translated? Please help us translate at": "Found some texts still not translated? Please help us translate at", "Go to writable demo site?": "Go to writable demo site?", "Home": "ホーム", "Home - Tooltip": "Application homepage", diff --git a/web/src/locales/ko/data.json b/web/src/locales/ko/data.json index 648ff7ee..106a8b64 100644 --- a/web/src/locales/ko/data.json +++ b/web/src/locales/ko/data.json @@ -181,6 +181,7 @@ "First name": "First name", "Forget URL": "Forget URL", "Forget URL - Tooltip": "Unique string-style identifier", + "Found some texts still not translated? Please help us translate at": "Found some texts still not translated? Please help us translate at", "Go to writable demo site?": "Go to writable demo site?", "Home": "Home", "Home - Tooltip": "Application homepage", diff --git a/web/src/locales/ru/data.json b/web/src/locales/ru/data.json index 5420eab8..891c95fe 100644 --- a/web/src/locales/ru/data.json +++ b/web/src/locales/ru/data.json @@ -181,6 +181,7 @@ "First name": "Имя", "Forget URL": "Забыть URL", "Forget URL - Tooltip": "Unique string-style identifier", + "Found some texts still not translated? Please help us translate at": "Found some texts still not translated? Please help us translate at", "Go to writable demo site?": "Go to writable demo site?", "Home": "Домашний", "Home - Tooltip": "Application homepage", diff --git a/web/src/locales/vi/data.json b/web/src/locales/vi/data.json index 92824501..8d70d352 100644 --- a/web/src/locales/vi/data.json +++ b/web/src/locales/vi/data.json @@ -181,6 +181,7 @@ "First name": "First name", "Forget URL": "Forget URL", "Forget URL - Tooltip": "Forget URL - Tooltip", + "Found some texts still not translated? Please help us translate at": "Found some texts still not translated? Please help us translate at", "Go to writable demo site?": "Go to writable demo site?", "Home": "Home", "Home - Tooltip": "Home - Tooltip", diff --git a/web/src/locales/zh/data.json b/web/src/locales/zh/data.json index 0dcf3634..e3d9341d 100644 --- a/web/src/locales/zh/data.json +++ b/web/src/locales/zh/data.json @@ -181,6 +181,7 @@ "First name": "名字", "Forget URL": "忘记密码URL", "Forget URL - Tooltip": "忘记密码URL", + "Found some texts still not translated? Please help us translate at": "发现有些文字尚未翻译?请移步这里帮我们翻译:", "Go to writable demo site?": "跳转至可写演示站点?", "Home": "首页", "Home - Tooltip": "应用的首页",