feat: add IsDemoMode for frontend (#1555)

* feat: add `IsDemoMode` for frontend

* fix: add i18n

* fix: support autologin and go same page

* fix: use i18n for button text
This commit is contained in:
imp2002
2023-02-16 20:36:30 +08:00
committed by GitHub
parent e877045671
commit 14fa914e6f
12 changed files with 82 additions and 1 deletions

View File

@ -181,6 +181,7 @@
"First name": "名字",
"Forget URL": "忘记密码URL",
"Forget URL - Tooltip": "忘记密码URL",
"Go Writable demo site?": "跳转至可写演示站点?",
"Home": "首页",
"Home - Tooltip": "应用的首页",
"ID": "ID",
@ -255,6 +256,7 @@
"Sync": "同步",
"Syncers": "同步器",
"SysInfo": "系统信息",
"This is a read-only demo site!": "这是一个只读演示站点!",
"Timestamp": "时间戳",
"Tokens": "令牌",
"URL": "链接",