mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-06 05:03:45 +08:00
chore: update locale
This commit is contained in:
parent
d81ef1d67c
commit
e343b1790e
@ -226,12 +226,12 @@ export const ProfileItem = (props: Props) => {
|
|||||||
disabled: option?.groups === null,
|
disabled: option?.groups === null,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Edit Merge",
|
label: "Extend Config",
|
||||||
handler: onEditMerge,
|
handler: onEditMerge,
|
||||||
disabled: option?.merge === null,
|
disabled: option?.merge === null,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Edit Script",
|
label: "Extend Script",
|
||||||
handler: onEditScript,
|
handler: onEditScript,
|
||||||
disabled: option?.script === null,
|
disabled: option?.script === null,
|
||||||
},
|
},
|
||||||
@ -267,12 +267,12 @@ export const ProfileItem = (props: Props) => {
|
|||||||
disabled: option?.groups === null,
|
disabled: option?.groups === null,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Edit Merge",
|
label: "Extend Config",
|
||||||
handler: onEditMerge,
|
handler: onEditMerge,
|
||||||
disabled: option?.merge === null,
|
disabled: option?.merge === null,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Edit Script",
|
label: "Extend Script",
|
||||||
handler: onEditScript,
|
handler: onEditScript,
|
||||||
disabled: option?.script === null,
|
disabled: option?.script === null,
|
||||||
},
|
},
|
||||||
|
@ -104,8 +104,8 @@ export const ProfileMore = (props: Props) => {
|
|||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<Box sx={boxStyle}>
|
<Box sx={boxStyle}>
|
||||||
{id === "Script" ? (
|
{id === "Script" &&
|
||||||
hasError ? (
|
(hasError ? (
|
||||||
<Badge color="error" variant="dot" overlap="circular">
|
<Badge color="error" variant="dot" overlap="circular">
|
||||||
<IconButton
|
<IconButton
|
||||||
size="small"
|
size="small"
|
||||||
@ -127,16 +127,7 @@ export const ProfileMore = (props: Props) => {
|
|||||||
>
|
>
|
||||||
<FeaturedPlayListRounded fontSize="inherit" />
|
<FeaturedPlayListRounded fontSize="inherit" />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
)
|
))}
|
||||||
) : (
|
|
||||||
<Typography
|
|
||||||
noWrap
|
|
||||||
title={t(`${id} Description`)}
|
|
||||||
sx={i18n.language === "zh" ? { width: "calc(100% - 75px)" } : {}}
|
|
||||||
>
|
|
||||||
{t(`${id} Description`)}
|
|
||||||
</Typography>
|
|
||||||
)}
|
|
||||||
</Box>
|
</Box>
|
||||||
</ProfileBox>
|
</ProfileBox>
|
||||||
|
|
||||||
|
@ -60,8 +60,10 @@
|
|||||||
"Add Append Rule": "Add Append Rule",
|
"Add Append Rule": "Add Append Rule",
|
||||||
"Delete Rule": "Delete Rule",
|
"Delete Rule": "Delete Rule",
|
||||||
"Edit Groups": "Edit Proxy Groups",
|
"Edit Groups": "Edit Proxy Groups",
|
||||||
"Edit Merge": "Edit Merge",
|
"Extend Config": "Extend Config",
|
||||||
"Edit Script": "Edit Script",
|
"Extend Script": "Extend Script",
|
||||||
|
"Global Merge": "Global Extend Config",
|
||||||
|
"Global Script": "Global Extend Script",
|
||||||
"Type": "Type",
|
"Type": "Type",
|
||||||
"Name": "Name",
|
"Name": "Name",
|
||||||
"Descriptions": "Descriptions",
|
"Descriptions": "Descriptions",
|
||||||
|
@ -50,8 +50,10 @@
|
|||||||
"Expire Time": "زمان انقضا",
|
"Expire Time": "زمان انقضا",
|
||||||
"Create Profile": "ایجاد پروفایل",
|
"Create Profile": "ایجاد پروفایل",
|
||||||
"Edit Profile": "ویرایش پروفایل",
|
"Edit Profile": "ویرایش پروفایل",
|
||||||
"Edit Merge": "ادغام ویرایش",
|
"Extend Config": "توسعه پیکربندی",
|
||||||
"Edit Script": "ویرایش اسکریپت",
|
"Extend Script": "ادغام اسکریپت",
|
||||||
|
"Global Merge": "تنظیمات گستردهی سراسری",
|
||||||
|
"Global Script": "اسکریپت گسترش سراسری",
|
||||||
"Type": "نوع",
|
"Type": "نوع",
|
||||||
"Name": "نام",
|
"Name": "نام",
|
||||||
"Descriptions": "توضیحات",
|
"Descriptions": "توضیحات",
|
||||||
|
@ -50,8 +50,10 @@
|
|||||||
"Expire Time": "Время окончания",
|
"Expire Time": "Время окончания",
|
||||||
"Create Profile": "Создать профиль",
|
"Create Profile": "Создать профиль",
|
||||||
"Edit Profile": "Изменить профиль",
|
"Edit Profile": "Изменить профиль",
|
||||||
"Edit Merge": "Изменить Merge.",
|
"Extend Config": "Изменить Merge.",
|
||||||
"Edit Script": "Изменить Script",
|
"Extend Script": "Изменить Script",
|
||||||
|
"Global Merge": "Глобальный расширенный Настройки",
|
||||||
|
"Global Script": "Глобальный расширенный скрипт",
|
||||||
"Type": "Тип",
|
"Type": "Тип",
|
||||||
"Name": "Название",
|
"Name": "Название",
|
||||||
"Descriptions": "Описания",
|
"Descriptions": "Описания",
|
||||||
|
@ -50,8 +50,8 @@
|
|||||||
"Expire Time": "到期时间",
|
"Expire Time": "到期时间",
|
||||||
"Create Profile": "新建配置",
|
"Create Profile": "新建配置",
|
||||||
"Edit Profile": "编辑配置",
|
"Edit Profile": "编辑配置",
|
||||||
"Edit Proxies": "添加/删除 节点",
|
"Edit Proxies": "编辑节点",
|
||||||
"Edit Rules": "添加/删除 规则",
|
"Edit Rules": "编辑规则",
|
||||||
"Rule Type": "规则类型",
|
"Rule Type": "规则类型",
|
||||||
"Rule Content": "规则内容",
|
"Rule Content": "规则内容",
|
||||||
"Proxy Policy": "代理策略",
|
"Proxy Policy": "代理策略",
|
||||||
@ -59,9 +59,11 @@
|
|||||||
"Add Prepend Rule": "添加前置规则",
|
"Add Prepend Rule": "添加前置规则",
|
||||||
"Add Append Rule": "添加后置规则",
|
"Add Append Rule": "添加后置规则",
|
||||||
"Delete Rule": "删除规则",
|
"Delete Rule": "删除规则",
|
||||||
"Edit Groups": "添加/删除 代理组",
|
"Edit Groups": "编辑代理组",
|
||||||
"Edit Merge": "微调配置 (yaml)",
|
"Extend Config": "扩展配置",
|
||||||
"Edit Script": "微调配置 (js)",
|
"Extend Script": "扩展脚本",
|
||||||
|
"Global Merge": "全局扩展配置",
|
||||||
|
"Global Script": "全局扩展脚本",
|
||||||
"Type": "类型",
|
"Type": "类型",
|
||||||
"Name": "名称",
|
"Name": "名称",
|
||||||
"Descriptions": "描述",
|
"Descriptions": "描述",
|
||||||
|
@ -398,7 +398,7 @@ const ProfilePage = () => {
|
|||||||
></Divider>
|
></Divider>
|
||||||
<Box sx={{ mt: 1.5 }}>
|
<Box sx={{ mt: 1.5 }}>
|
||||||
<Grid container spacing={{ xs: 1, lg: 1 }}>
|
<Grid container spacing={{ xs: 1, lg: 1 }}>
|
||||||
<Grid item sm={6} md={6} lg={6}>
|
<Grid item xs={12} sm={6} md={6} lg={6}>
|
||||||
<ProfileMore
|
<ProfileMore
|
||||||
id="Merge"
|
id="Merge"
|
||||||
onChange={async (prev, curr) => {
|
onChange={async (prev, curr) => {
|
||||||
@ -408,7 +408,7 @@ const ProfilePage = () => {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item sm={6} md={6} lg={6}>
|
<Grid item xs={12} sm={6} md={6} lg={6}>
|
||||||
<ProfileMore
|
<ProfileMore
|
||||||
id="Script"
|
id="Script"
|
||||||
logInfo={chainLogs["Script"]}
|
logInfo={chainLogs["Script"]}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user