feat: update RU i18n locale (#1422)

* feat: Fix i18n and RU locale

* fix: eslint issues

* change the position of deps

---------

Co-authored-by: CorrectRoadH <a778917369@gmail.com>
This commit is contained in:
Dmitry Shemin
2023-04-01 14:35:25 +07:00
committed by GitHub
parent d21abfc60c
commit b03778fa73
14 changed files with 169 additions and 59 deletions

View File

@ -205,7 +205,7 @@ const Memo: React.FC<Props> = (props: Props) => {
className={`status-text ${memo.visibility.toLocaleLowerCase()}`}
onClick={() => handleMemoVisibilityClick(memo.visibility)}
>
{memo.visibility}
{t(`visibility.${memo.visibility}`)}
</span>
)}
</div>
@ -237,7 +237,7 @@ const Memo: React.FC<Props> = (props: Props) => {
{t("memo.view-detail")}
</span>
<span className="btn" onClick={handleShowEmbedMemoDialog}>
Embed memo
{t("memo.embed")}
</span>
<span className="btn archive-btn" onClick={handleArchiveMemoClick}>
{t("common.archive")}