mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
chore: update locale
This commit is contained in:
@@ -226,12 +226,12 @@ export const ProfileItem = (props: Props) => {
|
||||
disabled: option?.groups === null,
|
||||
},
|
||||
{
|
||||
label: "Edit Merge",
|
||||
label: "Extend Config",
|
||||
handler: onEditMerge,
|
||||
disabled: option?.merge === null,
|
||||
},
|
||||
{
|
||||
label: "Edit Script",
|
||||
label: "Extend Script",
|
||||
handler: onEditScript,
|
||||
disabled: option?.script === null,
|
||||
},
|
||||
@@ -267,12 +267,12 @@ export const ProfileItem = (props: Props) => {
|
||||
disabled: option?.groups === null,
|
||||
},
|
||||
{
|
||||
label: "Edit Merge",
|
||||
label: "Extend Config",
|
||||
handler: onEditMerge,
|
||||
disabled: option?.merge === null,
|
||||
},
|
||||
{
|
||||
label: "Edit Script",
|
||||
label: "Extend Script",
|
||||
handler: onEditScript,
|
||||
disabled: option?.script === null,
|
||||
},
|
||||
|
||||
@@ -104,8 +104,8 @@ export const ProfileMore = (props: Props) => {
|
||||
</Box>
|
||||
|
||||
<Box sx={boxStyle}>
|
||||
{id === "Script" ? (
|
||||
hasError ? (
|
||||
{id === "Script" &&
|
||||
(hasError ? (
|
||||
<Badge color="error" variant="dot" overlap="circular">
|
||||
<IconButton
|
||||
size="small"
|
||||
@@ -127,16 +127,7 @@ export const ProfileMore = (props: Props) => {
|
||||
>
|
||||
<FeaturedPlayListRounded fontSize="inherit" />
|
||||
</IconButton>
|
||||
)
|
||||
) : (
|
||||
<Typography
|
||||
noWrap
|
||||
title={t(`${id} Description`)}
|
||||
sx={i18n.language === "zh" ? { width: "calc(100% - 75px)" } : {}}
|
||||
>
|
||||
{t(`${id} Description`)}
|
||||
</Typography>
|
||||
)}
|
||||
))}
|
||||
</Box>
|
||||
</ProfileBox>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user