aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/locales
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-05 21:32:16 +0800
committercrupest <crupest@outlook.com>2020-06-05 21:32:16 +0800
commit926372d503c8522c1b1c9cdfeb6b891b7f96e08d (patch)
tree0b828d3f885d6211449c7ebbbbd40bc6322d65cb /Timeline/ClientApp/src/locales
parente1ccc1cfe43a44e975dba3a412522f8ea5760ca4 (diff)
downloadtimeline-926372d503c8522c1b1c9cdfeb6b891b7f96e08d.tar.gz
timeline-926372d503c8522c1b1c9cdfeb6b891b7f96e08d.tar.bz2
timeline-926372d503c8522c1b1c9cdfeb6b891b7f96e08d.zip
feat(front): Fix #73 .
Diffstat (limited to 'Timeline/ClientApp/src/locales')
-rw-r--r--Timeline/ClientApp/src/locales/en/translation.ts7
-rw-r--r--Timeline/ClientApp/src/locales/scheme.ts6
-rw-r--r--Timeline/ClientApp/src/locales/zh/translation.ts6
3 files changed, 19 insertions, 0 deletions
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}}</1>, 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}}</1>,请在下面输入它的名字并点击确认。',
notMatch: '名字不匹配',
},
+ post: {
+ deleteDialog: {
+ title: '确认删除',
+ prompt: '确定删除这个消息?这个操作不可撤销。',
+ },
+ },
},
user: {
username: '用户名',