Skip to content

Commit 11680f4

Browse files
committed
修复代码中的中文注释和配置文件中的中文内容,全部替换为英文
1 parent 1751af6 commit 11680f4

File tree

5 files changed

+21
-20
lines changed

5 files changed

+21
-20
lines changed

_config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Site settings
22
title: FlyPython
3-
subtitle: Python 学习资源聚合
3+
subtitle: Python Learning Resource Hub
44
description: >-
5-
FlyPython 是一个精心策划的 Python 学习资源集合,包含教程、书籍、课程、
6-
工具和最佳实践,帮助从初学者到高级开发者的 Python 学习之旅。
5+
FlyPython is a carefully curated collection of Python learning resources,
6+
including tutorials, books, courses, tools, and best practices to support
7+
Python learners from beginners to advanced developers.
78
89
# Site information
910
url: "https://python.flypython.com"
@@ -34,7 +35,7 @@ plugins:
3435
- jekyll-relative-links
3536

3637
# SEO settings
37-
lang: zh-CN
38+
lang: en
3839
logo: /assets/images/logo.png
3940

4041
# Social links

_data/navigation.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
main:
2-
- title: "🏠 首页 / Home"
2+
- title: "🏠 Home"
33
url: "/"
44
- title: "🇨🇳 中文版"
55
url: "/README_cn.html"
6-
- title: "📚 资源库 / Resources"
6+
- title: "📚 Resources"
77
url: "#resources"
88
children:
9-
- title: "📖 教程 / Tutorials"
9+
- title: "📖 Tutorials"
1010
url: "#tutorials"
11-
- title: "📚 书籍 / Books"
11+
- title: "📚 Books"
1212
url: "#books"
13-
- title: "🎓 课程 / Courses"
13+
- title: "🎓 Courses"
1414
url: "#courses"
15-
- title: "🛠️ 工具 / Tools"
15+
- title: "🛠️ Tools"
1616
url: "#tools"
1717
- title: "🤖 AI/ML"
1818
url: "#ai-ml"
1919
children:
2020
- title: "🧠 LLM"
2121
url: "#python-for-llm"
22-
- title: "📊 数据科学 / Data Science"
22+
- title: "📊 Data Science"
2323
url: "#data-science"
24-
- title: "💹 金融 / Finance"
24+
- title: "💹 Finance"
2525
url: "#finance"
2626
- title: "🔗 GitHub"
2727
url: "https://github.com/flypython/python"
2828
external: true
2929

3030
footer:
31-
- title: "快速链接 / Quick Links"
31+
- title: "Quick Links"
3232
children:
33-
- title: "Python 官网 / Python.org"
33+
- title: "Python.org"
3434
url: "https://python.org"
3535
- title: "PyPI"
3636
url: "https://pypi.org"
3737
- title: "Real Python"
3838
url: "https://realpython.com"
39-
- title: "社区 / Community"
39+
- title: "Community"
4040
children:
4141
- title: "Reddit r/Python"
4242
url: "https://reddit.com/r/Python"

_includes/head-custom.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
<link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🐍</text></svg>">
209209

210210
<!-- Additional Meta Tags -->
211-
<meta name="keywords" content="Python, 教程, 学习, 编程, 资源, tutorials, learning, programming, resources">
211+
<meta name="keywords" content="Python, tutorials, learning, programming, resources, books, courses, guides, development">
212212
<meta name="robots" content="index, follow">
213213
<meta property="og:type" content="website">
214214
<meta property="og:image" content="{{ site.url }}/assets/images/og-image.png">

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h2 class="project-tagline">{{ page.description | default: site.description | de
4343
<!-- Table of Contents for long pages -->
4444
{% if content contains '##' %}
4545
<nav class="toc">
46-
<h3>📚 目录 / Table of Contents</h3>
46+
<h3>📚 Table of Contents</h3>
4747
<div id="toc-content"></div>
4848
</nav>
4949
{% endif %}

assets/css/custom.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body {
2222
border-radius: 0.3rem;
2323
border: 1px solid rgba(255, 255, 255, 0.3);
2424
transition: all 0.2s ease;
25-
/* 确保按钮不受通用 .btn 样式影响 */
25+
/* Ensure buttons are not affected by generic .btn styles */
2626
transform: none !important;
2727
box-shadow: none;
2828
}
@@ -32,7 +32,7 @@ body {
3232
border-color: rgba(255, 255, 255, 0.5);
3333
text-decoration: none;
3434
color: white;
35-
/* 禁用悬浮时的变形效果 */
35+
/* Disable transform effects on hover */
3636
transform: none !important;
3737
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
3838
}
@@ -95,7 +95,7 @@ body {
9595
opacity: 0.9;
9696
}
9797

98-
/* Enhanced Buttons - 只影响GitHub按钮,不影响语言切换按钮 */
98+
/* Enhanced Buttons - Only affects GitHub buttons, not language toggle buttons */
9999
.btn:not(.btn-lang) {
100100
transition: all 0.3s ease;
101101
}

0 commit comments

Comments
 (0)