refactor(本地化): 将程序标题从中文改为英文

统一程序界面标题为英文,提高代码一致性并方便国际化维护
This commit is contained in:
2025-08-31 20:35:21 +08:00
parent a655c05d42
commit e52dc98010
10 changed files with 10 additions and 10 deletions

View File

@@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor()
term.setTextColor(colors.white) term.setTextColor(colors.white)
term.setBackgroundColor(colors.cyan) term.setBackgroundColor(colors.cyan)
term.at(1, 1).clearLine() term.at(1, 1).clearLine()
term.at(1, 1).write("=== Shell 别名管理器 ===") term.at(1, 1).write("=== Shell Alias Manager ===")
-- 恢复颜色设置 -- 恢复颜色设置
term.setTextColor(old_fg) term.setTextColor(old_fg)

View File

@@ -10,7 +10,7 @@ local old_bg = term.getBackgroundColor()
term.setTextColor(colors.white) term.setTextColor(colors.white)
term.setBackgroundColor(colors.cyan) term.setBackgroundColor(colors.cyan)
term.at(1, 1).clearLine() term.at(1, 1).clearLine()
term.at(1, 1).write("=== 清除屏幕 ===") term.at(1, 1).write("=== Clear Screen ===")
-- 恢复颜色设置 -- 恢复颜色设置
term.setTextColor(old_fg) term.setTextColor(old_fg)

View File

@@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor()
term.setTextColor(colors.white) term.setTextColor(colors.white)
term.setBackgroundColor(colors.cyan) term.setBackgroundColor(colors.cyan)
term.at(1, 1).clearLine() term.at(1, 1).clearLine()
term.at(1, 1).write("=== 帮助系统 ===") term.at(1, 1).write("=== Help System ===")
-- 恢复颜色设置 -- 恢复颜色设置
term.setTextColor(old_fg) term.setTextColor(old_fg)

View File

@@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor()
term.setTextColor(colors.white) term.setTextColor(colors.white)
term.setBackgroundColor(colors.cyan) term.setBackgroundColor(colors.cyan)
term.at(1, 1).clearLine() term.at(1, 1).clearLine()
term.at(1, 1).write("=== 文件列表工具 ===") term.at(1, 1).write("=== File Listing Utility ===")
-- 恢复颜色设置 -- 恢复颜色设置
term.setTextColor(old_fg) term.setTextColor(old_fg)

View File

@@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor()
term.setTextColor(colors.white) term.setTextColor(colors.white)
term.setBackgroundColor(colors.cyan) term.setBackgroundColor(colors.cyan)
term.at(1, 1).clearLine() term.at(1, 1).clearLine()
term.at(1, 1).write("=== Lua 交互环境 ===") term.at(1, 1).write("=== Lua REPL ===")
-- 恢复颜色设置 -- 恢复颜色设置
term.setTextColor(old_fg) term.setTextColor(old_fg)

View File

@@ -10,7 +10,7 @@ local old_bg = term.getBackgroundColor()
term.setTextColor(colors.white) term.setTextColor(colors.white)
term.setBackgroundColor(colors.cyan) term.setBackgroundColor(colors.cyan)
term.at(1, 1).clearLine() term.at(1, 1).clearLine()
term.at(1, 1).write("=== 已连接外设 ===") term.at(1, 1).write("=== Connected Peripherals ===")
-- 恢复颜色设置 -- 恢复颜色设置
term.setTextColor(old_fg) term.setTextColor(old_fg)

View File

@@ -10,7 +10,7 @@ local old_bg = term.getBackgroundColor()
term.setTextColor(colors.white) term.setTextColor(colors.white)
term.setBackgroundColor(colors.cyan) term.setBackgroundColor(colors.cyan)
term.at(1, 1).clearLine() term.at(1, 1).clearLine()
term.at(1, 1).write("=== 红石控制 ===") term.at(1, 1).write("=== Redstone Control ===")
-- 恢复颜色设置 -- 恢复颜色设置
term.setTextColor(old_fg) term.setTextColor(old_fg)

View File

@@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor()
term.setTextColor(colors.white) term.setTextColor(colors.white)
term.setBackgroundColor(colors.cyan) term.setBackgroundColor(colors.cyan)
term.at(1, 1).clearLine() term.at(1, 1).clearLine()
term.at(1, 1).write("=== 设置管理 ===") term.at(1, 1).write("=== Settings Manager ===")
-- 恢复颜色设置 -- 恢复颜色设置
term.setTextColor(old_fg) term.setTextColor(old_fg)

View File

@@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor()
term.setTextColor(colors.white) term.setTextColor(colors.white)
term.setBackgroundColor(colors.cyan) term.setBackgroundColor(colors.cyan)
term.at(1, 1).clearLine() term.at(1, 1).clearLine()
term.at(1, 1).write("=== Shell 命令行 ===") term.at(1, 1).write("=== Shell Command Line ===")
-- 恢复颜色设置 -- 恢复颜色设置
term.setTextColor(old_fg) term.setTextColor(old_fg)

View File

@@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor()
term.setTextColor(colors.white) term.setTextColor(colors.white)
term.setBackgroundColor(colors.cyan) term.setBackgroundColor(colors.cyan)
term.at(1, 1).clearLine() term.at(1, 1).clearLine()
term.at(1, 1).write("=== 线程管理 ===") term.at(1, 1).write("=== Thread Manager ===")
-- 恢复颜色设置 -- 恢复颜色设置
term.setTextColor(old_fg) term.setTextColor(old_fg)