From 926372d503c8522c1b1c9cdfeb6b891b7f96e08d Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 5 Jun 2020 21:32:16 +0800 Subject: feat(front): Fix #73 . --- Timeline/ClientApp/src/locales/en/translation.ts | 7 +++++++ Timeline/ClientApp/src/locales/scheme.ts | 6 ++++++ Timeline/ClientApp/src/locales/zh/translation.ts | 6 ++++++ 3 files changed, 19 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 803f8ea6..6faf1121 100644 --- a/Timeline/ClientApp/src/locales/en/translation.ts +++ b/Timeline/ClientApp/src/locales/en/translation.ts @@ -81,6 +81,13 @@ const translation: TranslationResource = { 'This is a dangerous action. If you are sure to delete timeline<1>{{name}}, please input its name below and click confirm button.', notMatch: 'Name does not match.', }, + post: { + deleteDialog: { + title: 'Confirm Delete', + prompt: + 'Are you sure to delete the post? This operation is not recoverable.', + }, + }, }, user: { username: 'username', diff --git a/Timeline/ClientApp/src/locales/scheme.ts b/Timeline/ClientApp/src/locales/scheme.ts index 6e2a3669..fef39a8e 100644 --- a/Timeline/ClientApp/src/locales/scheme.ts +++ b/Timeline/ClientApp/src/locales/scheme.ts @@ -75,6 +75,12 @@ export default interface TranslationResource { inputPrompt: string; notMatch: string; }; + post: { + deleteDialog: { + title: string; + prompt: string; + }; + }; }; user: { username: string; diff --git a/Timeline/ClientApp/src/locales/zh/translation.ts b/Timeline/ClientApp/src/locales/zh/translation.ts index d1789f3c..130ee297 100644 --- a/Timeline/ClientApp/src/locales/zh/translation.ts +++ b/Timeline/ClientApp/src/locales/zh/translation.ts @@ -79,6 +79,12 @@ const translation: TranslationResource = { '这是一个危险的操作。如果您确认要删除时间线<1>{{name}},请在下面输入它的名字并点击确认。', notMatch: '名字不匹配', }, + post: { + deleteDialog: { + title: '确认删除', + prompt: '确定删除这个消息?这个操作不可撤销。', + }, + }, }, user: { username: '用户名', -- cgit v1.2.3