diff options
author | crupest <crupest@outlook.com> | 2021-01-03 19:35:36 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-01-03 19:35:36 +0800 |
commit | 8af803cb0da57af1355ad28cd056cb5dcf6d6915 (patch) | |
tree | 42e2c0396a16cb5fbaaae665a238a8a031bef7f0 /FrontEnd/src/app/views | |
parent | a1e912b473b41185cdf0e6bd1810a2becb8f9659 (diff) | |
download | timeline-8af803cb0da57af1355ad28cd056cb5dcf6d6915.tar.gz timeline-8af803cb0da57af1355ad28cd056cb5dcf6d6915.tar.bz2 timeline-8af803cb0da57af1355ad28cd056cb5dcf6d6915.zip |
...
Diffstat (limited to 'FrontEnd/src/app/views')
-rw-r--r-- | FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx index 21720601..7f5c8206 100644 --- a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx +++ b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx @@ -125,7 +125,10 @@ export default function TimelinePageTemplate<TManageItem>( .put(name, user.token) .then(() => { pushAlert({ - message: "Succeeded to add bookmark!", // TODO: i18n + message: { + type: "i18n", + key: "timeline.addBookmarkSuccess", + }, type: "success", }); }); @@ -138,7 +141,10 @@ export default function TimelinePageTemplate<TManageItem>( .put(name, user.token) .then(() => { pushAlert({ - message: "Succeeded to add highlight!", // TODO: i18n + message: { + type: "i18n", + key: "timeline.addHighlightSuccess", + }, type: "success", }); }); |