mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
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:
@ -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")}
|
||||
|
Reference in New Issue
Block a user