From 962360988d90418d40de50a0b993ed0a2232761d Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 7 Jun 2020 14:21:17 +0800 Subject: feat(front): Fix #74 . --- Timeline/ClientApp/src/locales/en/translation.ts | 5 +++++ Timeline/ClientApp/src/locales/scheme.ts | 4 ++++ Timeline/ClientApp/src/locales/zh/translation.ts | 4 ++++ 3 files changed, 13 insertions(+) (limited to 'Timeline/ClientApp/src/locales') diff --git a/Timeline/ClientApp/src/locales/en/translation.ts b/Timeline/ClientApp/src/locales/en/translation.ts index 6faf1121..99783d04 100644 --- a/Timeline/ClientApp/src/locales/en/translation.ts +++ b/Timeline/ClientApp/src/locales/en/translation.ts @@ -146,6 +146,11 @@ const translation: TranslationResource = { errorEmptyNewPassword: "New password can't be empty.", errorRetypeNotMatch: 'Password retyped does not match.', }, + dialogConfirmLogout: { + title: 'Confirm Logout', + prompt: + 'Are you sure to log out? All cached data in the browser will be deleted.', + }, }, about: { author: { diff --git a/Timeline/ClientApp/src/locales/scheme.ts b/Timeline/ClientApp/src/locales/scheme.ts index fef39a8e..0bf08257 100644 --- a/Timeline/ClientApp/src/locales/scheme.ts +++ b/Timeline/ClientApp/src/locales/scheme.ts @@ -135,6 +135,10 @@ export default interface TranslationResource { errorEmptyNewPassword: string; errorRetypeNotMatch: string; }; + dialogConfirmLogout: { + title: string; + prompt: string; + }; }; about: { author: { diff --git a/Timeline/ClientApp/src/locales/zh/translation.ts b/Timeline/ClientApp/src/locales/zh/translation.ts index 130ee297..4054893e 100644 --- a/Timeline/ClientApp/src/locales/zh/translation.ts +++ b/Timeline/ClientApp/src/locales/zh/translation.ts @@ -142,6 +142,10 @@ const translation: TranslationResource = { errorEmptyNewPassword: '新密码不能为空', errorRetypeNotMatch: '两次输入的密码不一致', }, + dialogConfirmLogout: { + title: '确定注销', + prompt: '您确定注销此账号?这将删除所有已经缓存在浏览器的数据。', + }, }, about: { author: { -- cgit v1.2.3