feat: i18n for dialogs (#203)

* feat: i18n in dialog

* fix: use common translation
This commit is contained in:
winwin2011
2022-09-10 09:30:10 +08:00
committed by GitHub
parent 50fa560d4a
commit 7b0987610c
5 changed files with 47 additions and 13 deletions

View File

@ -97,7 +97,7 @@ const DailyReviewDialog: React.FC<Props> = (props: Props) => {
</div>
{dailyMemos.length === 0 ? (
<div className="tip-container">
<p className="tip-text">Oops, there is nothing.</p>
<p className="tip-text">{t("daily-review.oops-nothing")}</p>
</div>
) : (
<div className="dailymemos-wrapper">