mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
refactor(本地化): 将程序标题从中文改为英文
统一程序界面标题为英文,提高代码一致性并方便国际化维护
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user