mirror of
https://github.com/wgh136/nysoure.git
synced 2025-12-16 07:51:14 +00:00
feat: add Chinese translation for "Download" in i18n data
This commit is contained in:
@@ -261,6 +261,7 @@ export const i18nData = {
|
||||
"File Size": "文件大小",
|
||||
"Tag": "标签",
|
||||
"Optional": "可选",
|
||||
"Download": "下载",
|
||||
},
|
||||
},
|
||||
"zh-TW": {
|
||||
@@ -525,6 +526,7 @@ export const i18nData = {
|
||||
"File Size": "檔案大小",
|
||||
"Tag": "標籤",
|
||||
"Optional": "可選",
|
||||
"Download": "下載",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -465,7 +465,7 @@ function DeleteResourceDialog({
|
||||
);
|
||||
}
|
||||
|
||||
const context = createContext<() => void>(() => {});
|
||||
const context = createContext<() => void>(() => { });
|
||||
|
||||
function Article({ resource }: { resource: ResourceDetails }) {
|
||||
return (
|
||||
@@ -898,8 +898,6 @@ function CloudflarePopup({ file }: { file: RFile }) {
|
||||
<h3 className={"font-bold m-2"}>
|
||||
{downloadToken ? t("Verification successful") : t("Verifying your request")}
|
||||
</h3>
|
||||
{!downloadToken && (
|
||||
<>
|
||||
<div className={"h-20 w-full"}>
|
||||
<Turnstile
|
||||
siteKey={app.cloudflareTurnstileSiteKey!}
|
||||
@@ -916,8 +914,6 @@ function CloudflarePopup({ file }: { file: RFile }) {
|
||||
"Please check your network if the verification takes too long or the captcha does not appear.",
|
||||
)}
|
||||
</p>
|
||||
</>
|
||||
)}
|
||||
{downloadToken && (
|
||||
<div className="p-2">
|
||||
<a
|
||||
|
||||
Reference in New Issue
Block a user