fix locale
This commit is contained in:
@@ -142,7 +142,8 @@
|
||||
"mine": "Mine",
|
||||
"preferences": "Preferences",
|
||||
"profile": "My Profile",
|
||||
"notes": "Note"
|
||||
"notes": "Note",
|
||||
"help": "Help"
|
||||
},
|
||||
"form": {
|
||||
"lengthMustBeAtLeast": "{{field}} must be at least {{length}} characters",
|
||||
@@ -193,7 +194,7 @@
|
||||
"retry": "Retry",
|
||||
"failedToLogin": "Failed to login",
|
||||
"sendCode": "Send code",
|
||||
"codeSent": "Code sent, please check your SMS",
|
||||
"codeSent": "Code has been sent",
|
||||
"verificationCode": "Verification code",
|
||||
"email": "Email",
|
||||
"phoneNumber": "Phone number",
|
||||
|
||||
@@ -142,7 +142,8 @@
|
||||
"mine": "我的",
|
||||
"preferences": "软件设置",
|
||||
"profile": "个人主页",
|
||||
"notes": "笔记"
|
||||
"notes": "笔记",
|
||||
"help": "帮助"
|
||||
},
|
||||
"form": {
|
||||
"lengthMustBeAtLeast": "{{field}} 长度不可超过 {{length}} 个字符",
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
SheetTrigger,
|
||||
SheetContent,
|
||||
} from "@renderer/components/ui";
|
||||
import { useContext, useEffect, useRef, useState } from "react";
|
||||
import { useContext, useEffect, useState } from "react";
|
||||
import { AppSettingsProviderContext } from "@renderer/context";
|
||||
import { t } from "i18next";
|
||||
import { LoaderIcon } from "lucide-react";
|
||||
|
||||
@@ -170,7 +170,7 @@ export const Sidebar = () => {
|
||||
className="w-full xl:justify-start px-2 xl:px-4"
|
||||
>
|
||||
<HelpCircleIcon className="h-5 w-5" />
|
||||
<span className="ml-2 hidden xl:block">{t("help")}</span>
|
||||
<span className="ml-2 hidden xl:block">{t("sidebar.help")}</span>
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user