From e52dc980109c0f810241262b99499161431eb5eb Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Sun, 31 Aug 2025 20:35:21 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=9C=AC=E5=9C=B0=E5=8C=96):=20?= =?UTF-8?q?=E5=B0=86=E7=A8=8B=E5=BA=8F=E6=A0=87=E9=A2=98=E4=BB=8E=E4=B8=AD?= =?UTF-8?q?=E6=96=87=E6=94=B9=E4=B8=BA=E8=8B=B1=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 统一程序界面标题为英文,提高代码一致性并方便国际化维护 --- data/computercraft/lua/rom/programs/alias.lua | 2 +- data/computercraft/lua/rom/programs/clear.lua | 2 +- data/computercraft/lua/rom/programs/help.lua | 2 +- data/computercraft/lua/rom/programs/list.lua | 2 +- data/computercraft/lua/rom/programs/lua.lua | 2 +- data/computercraft/lua/rom/programs/peripherals.lua | 2 +- data/computercraft/lua/rom/programs/redstone.lua | 2 +- data/computercraft/lua/rom/programs/set.lua | 2 +- data/computercraft/lua/rom/programs/shell.lua | 2 +- data/computercraft/lua/rom/programs/threads.lua | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/data/computercraft/lua/rom/programs/alias.lua b/data/computercraft/lua/rom/programs/alias.lua index bbca7d4..4bb62a0 100644 --- a/data/computercraft/lua/rom/programs/alias.lua +++ b/data/computercraft/lua/rom/programs/alias.lua @@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor() term.setTextColor(colors.white) term.setBackgroundColor(colors.cyan) term.at(1, 1).clearLine() -term.at(1, 1).write("=== Shell 别名管理器 ===") +term.at(1, 1).write("=== Shell Alias Manager ===") -- 恢复颜色设置 term.setTextColor(old_fg) diff --git a/data/computercraft/lua/rom/programs/clear.lua b/data/computercraft/lua/rom/programs/clear.lua index 0bff360..f0b915b 100644 --- a/data/computercraft/lua/rom/programs/clear.lua +++ b/data/computercraft/lua/rom/programs/clear.lua @@ -10,7 +10,7 @@ local old_bg = term.getBackgroundColor() term.setTextColor(colors.white) term.setBackgroundColor(colors.cyan) term.at(1, 1).clearLine() -term.at(1, 1).write("=== 清除屏幕 ===") +term.at(1, 1).write("=== Clear Screen ===") -- 恢复颜色设置 term.setTextColor(old_fg) diff --git a/data/computercraft/lua/rom/programs/help.lua b/data/computercraft/lua/rom/programs/help.lua index dc8db14..182b144 100644 --- a/data/computercraft/lua/rom/programs/help.lua +++ b/data/computercraft/lua/rom/programs/help.lua @@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor() term.setTextColor(colors.white) term.setBackgroundColor(colors.cyan) term.at(1, 1).clearLine() -term.at(1, 1).write("=== 帮助系统 ===") +term.at(1, 1).write("=== Help System ===") -- 恢复颜色设置 term.setTextColor(old_fg) diff --git a/data/computercraft/lua/rom/programs/list.lua b/data/computercraft/lua/rom/programs/list.lua index bba492f..fd92944 100644 --- a/data/computercraft/lua/rom/programs/list.lua +++ b/data/computercraft/lua/rom/programs/list.lua @@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor() term.setTextColor(colors.white) term.setBackgroundColor(colors.cyan) term.at(1, 1).clearLine() -term.at(1, 1).write("=== 文件列表工具 ===") +term.at(1, 1).write("=== File Listing Utility ===") -- 恢复颜色设置 term.setTextColor(old_fg) diff --git a/data/computercraft/lua/rom/programs/lua.lua b/data/computercraft/lua/rom/programs/lua.lua index 90e2c72..ae46bb9 100644 --- a/data/computercraft/lua/rom/programs/lua.lua +++ b/data/computercraft/lua/rom/programs/lua.lua @@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor() term.setTextColor(colors.white) term.setBackgroundColor(colors.cyan) term.at(1, 1).clearLine() -term.at(1, 1).write("=== Lua 交互环境 ===") +term.at(1, 1).write("=== Lua REPL ===") -- 恢复颜色设置 term.setTextColor(old_fg) diff --git a/data/computercraft/lua/rom/programs/peripherals.lua b/data/computercraft/lua/rom/programs/peripherals.lua index 204078e..06f6f56 100644 --- a/data/computercraft/lua/rom/programs/peripherals.lua +++ b/data/computercraft/lua/rom/programs/peripherals.lua @@ -10,7 +10,7 @@ local old_bg = term.getBackgroundColor() term.setTextColor(colors.white) term.setBackgroundColor(colors.cyan) term.at(1, 1).clearLine() -term.at(1, 1).write("=== 已连接外设 ===") +term.at(1, 1).write("=== Connected Peripherals ===") -- 恢复颜色设置 term.setTextColor(old_fg) diff --git a/data/computercraft/lua/rom/programs/redstone.lua b/data/computercraft/lua/rom/programs/redstone.lua index dd9c926..7de93ba 100644 --- a/data/computercraft/lua/rom/programs/redstone.lua +++ b/data/computercraft/lua/rom/programs/redstone.lua @@ -10,7 +10,7 @@ local old_bg = term.getBackgroundColor() term.setTextColor(colors.white) term.setBackgroundColor(colors.cyan) term.at(1, 1).clearLine() -term.at(1, 1).write("=== 红石控制 ===") +term.at(1, 1).write("=== Redstone Control ===") -- 恢复颜色设置 term.setTextColor(old_fg) diff --git a/data/computercraft/lua/rom/programs/set.lua b/data/computercraft/lua/rom/programs/set.lua index c590510..2db7b59 100644 --- a/data/computercraft/lua/rom/programs/set.lua +++ b/data/computercraft/lua/rom/programs/set.lua @@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor() term.setTextColor(colors.white) term.setBackgroundColor(colors.cyan) term.at(1, 1).clearLine() -term.at(1, 1).write("=== 设置管理 ===") +term.at(1, 1).write("=== Settings Manager ===") -- 恢复颜色设置 term.setTextColor(old_fg) diff --git a/data/computercraft/lua/rom/programs/shell.lua b/data/computercraft/lua/rom/programs/shell.lua index cd5d60e..a27bd1a 100644 --- a/data/computercraft/lua/rom/programs/shell.lua +++ b/data/computercraft/lua/rom/programs/shell.lua @@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor() term.setTextColor(colors.white) term.setBackgroundColor(colors.cyan) term.at(1, 1).clearLine() -term.at(1, 1).write("=== Shell 命令行 ===") +term.at(1, 1).write("=== Shell Command Line ===") -- 恢复颜色设置 term.setTextColor(old_fg) diff --git a/data/computercraft/lua/rom/programs/threads.lua b/data/computercraft/lua/rom/programs/threads.lua index 871d0bc..c4a8743 100644 --- a/data/computercraft/lua/rom/programs/threads.lua +++ b/data/computercraft/lua/rom/programs/threads.lua @@ -12,7 +12,7 @@ local old_bg = term.getBackgroundColor() term.setTextColor(colors.white) term.setBackgroundColor(colors.cyan) term.at(1, 1).clearLine() -term.at(1, 1).write("=== 线程管理 ===") +term.at(1, 1).write("=== Thread Manager ===") -- 恢复颜色设置 term.setTextColor(old_fg)