chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -65,7 +65,7 @@ export const GlobalLayoutActionBtn: FC<LayoutButtonItem> = ({
data-testid={dataTestId}
/>
);
// 如果 tooltip 为空,则不显示 tooltip
// If tooltip is empty, tooltip is not displayed
return (
<>
{tooltip ? (

View File

@@ -41,7 +41,7 @@ export const GLobalLayoutMenuItem: FC<LayoutMenuItem> = ({
let isActive = false;
let newPath = '';
// 如果 path 是数组,则取第一个匹配的路径
// If path is an array, take the first matching path
if (Array.isArray(path)) {
isActive = path.some(p => location.pathname.startsWith(p));
newPath = path.find(p => location.pathname.startsWith(p)) || path[0];

View File

@@ -53,7 +53,7 @@ export const GlobalLayoutSider: FC<Omit<LayoutProps, 'hasSider'>> = ({
return (
<div className="pl-8px py-8px h-full">
<div className={siderStyle}>
{/* 主导航 */}
{/* main navigation */}
<div
className={classNames(
mainMenuStyle,
@@ -83,7 +83,7 @@ export const GlobalLayoutSider: FC<Omit<LayoutProps, 'hasSider'>> = ({
{footer}
</Space>
</div>
{/* 二级导航 */}
{/* secondary navigation */}
<SubMenu />
</div>
</div>