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": "First name",
"Forget URL": "Forget URL",
"Forget URL - Tooltip": "Forget URL - Tooltip",
"Go Writable demo site?": "Go Writable demo site?",
"Home": "Home",
"Home - Tooltip": "Home - Tooltip",
"ID": "ID",
@ -255,6 +256,7 @@
"Sync": "Sync",
"Syncers": "Syncers",
"SysInfo": "SysInfo",
"This is a read-only demo site!": "This is a read-only demo site!",
"Timestamp": "Timestamp",
"Tokens": "Tokens",
"URL": "URL",