chore: update i18n for resource page (#4505)

* chore: update i18n for resources

* Update Resources.tsx

Co-authored-by: kiss-fire <iamtaoxin@gmail.com>

---------

Co-authored-by: kiss-fire <iamtaoxin@gmail.com>
pull/4507/head
XIN_____ 3 months ago committed by GitHub
parent 32c69bbb52
commit be18a7b77b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -219,7 +219,8 @@
"no-unused-resources": "No unused resources",
"reset-link": "Reset Link",
"reset-link-prompt": "Are you sure to reset the link? This will break all current link usages. THIS ACTION IS IRREVERSIBLE",
"reset-resource-link": "Reset Resource Link"
"reset-resource-link": "Reset Resource Link",
"unused-resources": "Unused resources"
},
"router": {
"back-to-top": "Back to Top",

@ -212,7 +212,8 @@
"no-unused-resources": "没有可删除的资源",
"reset-link": "重置链接",
"reset-link-prompt": "您确定要重置链接吗?这将导致当前使用的链接失效。(此操作不可逆)",
"reset-resource-link": "重置资源链接"
"reset-resource-link": "重置资源链接",
"unused-resources": "未使用到的资源"
},
"router": {
"back-to-top": "回到顶部",

@ -132,7 +132,7 @@ const Resources = () => {
<div className="w-16 sm:w-24 sm:pl-4 flex flex-col justify-start items-start"></div>
<div className="w-full max-w-[calc(100%-4rem)] sm:max-w-[calc(100%-6rem)] flex flex-row justify-start items-start gap-4 flex-wrap">
<div className="w-full flex flex-row justify-start items-center gap-2">
<span className="text-gray-600 dark:text-gray-400">Unused resources</span>
<span className="text-gray-600 dark:text-gray-400">{t("resource.unused-resources")}</span>
<span className="text-gray-500 dark:text-gray-500 opacity-80">({unusedResources.length})</span>
<Tooltip title="Delete all" placement="top">
<Button size="sm" variant="plain" onClick={handleDeleteUnusedResources}>

Loading…
Cancel
Save