aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/locales
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-03-18 21:17:12 +0800
committercrupest <crupest@outlook.com>2021-03-18 21:17:12 +0800
commit36145a18463e0ad4fb372df82cd488f1b4dae2f7 (patch)
treef6761eacb376f277f6d6f3ba0e7f1fe7c626123b /FrontEnd/src/app/locales
parente83da106a259f4a8ab11324eceef2c15a9a08bf0 (diff)
downloadtimeline-36145a18463e0ad4fb372df82cd488f1b4dae2f7.tar.gz
timeline-36145a18463e0ad4fb372df82cd488f1b4dae2f7.tar.bz2
timeline-36145a18463e0ad4fb372df82cd488f1b4dae2f7.zip
feat: Prevent leave.
Diffstat (limited to 'FrontEnd/src/app/locales')
-rw-r--r--FrontEnd/src/app/locales/en/translation.json1
-rw-r--r--FrontEnd/src/app/locales/zh/translation.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/FrontEnd/src/app/locales/en/translation.json b/FrontEnd/src/app/locales/en/translation.json
index 5613668e..8fcd5bcd 100644
--- a/FrontEnd/src/app/locales/en/translation.json
+++ b/FrontEnd/src/app/locales/en/translation.json
@@ -67,6 +67,7 @@
"send": "Send",
"deletePostFailed": "Failed to delete post.",
"sendPostFailed": "Failed to send post.",
+ "confirmLeave": "Are you sure to leave? All content you typed would be lost.",
"visibility": {
"public": "public to everyone",
"register": "only registed people can see",
diff --git a/FrontEnd/src/app/locales/zh/translation.json b/FrontEnd/src/app/locales/zh/translation.json
index c73f2876..f03c4c03 100644
--- a/FrontEnd/src/app/locales/zh/translation.json
+++ b/FrontEnd/src/app/locales/zh/translation.json
@@ -67,6 +67,7 @@
"send": "发送",
"deletePostFailed": "删除消息失败。",
"sendPostFailed": "发送消息失败。",
+ "confirmLeave":"确定要离开吗?所有输入的内容将会丢失。",
"visibility": {
"public": "对所有人公开",
"register": "仅注册可见",