Skip to content

CodexBar 是一个 macOS 菜单栏应用,用于查看本机 Codex 账号状态、额度、Token 用量、详细统计信息

fix: 统一应用名称写法并修正文案错误

Bob0577dd6b7ef2
diff --git a/CodexBar/Resources/Localizable.xcstrings b/CodexBar/Resources/Localizable.xcstrings
index e4c0955..8fd9865 100644
--- a/CodexBar/Resources/Localizable.xcstrings
+++ b/CodexBar/Resources/Localizable.xcstrings
@@ -1564,7 +1564,7 @@
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "找不到 Codex CLI 或 Codex APP"
+ "value" : "找不到 Codex CLI 或 Codex App"
}
}
}
@@ -4220,7 +4220,7 @@
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "清除 APP 快捷键"
+ "value" : "清除 App 快捷键"
}
}
}
@@ -4252,7 +4252,7 @@
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "APP 快捷键"
+ "value" : "App 快捷键"
}
}
}
diff --git a/CodexBar/Services/CodexCLI/CodexCLIResolver.swift b/CodexBar/Services/CodexCLI/CodexCLIResolver.swift
index 38a21d7..3798b3d 100644
--- a/CodexBar/Services/CodexCLI/CodexCLIResolver.swift
+++ b/CodexBar/Services/CodexCLI/CodexCLIResolver.swift
@@ -9,7 +9,7 @@ nonisolated enum CodexCLIExecutableSource: String, Equatable {
var displayName: String {
switch self {
case .global: "Codex CLI"
- case .bundled: "Codex APP"
+ case .bundled: "Codex App"
}
}
}
diff --git a/CodexBar/Services/CodexCLI/CodexCLIVersionService.swift b/CodexBar/Services/CodexCLI/CodexCLIVersionService.swift
index c78c5ec..5653f86 100644
--- a/CodexBar/Services/CodexCLI/CodexCLIVersionService.swift
+++ b/CodexBar/Services/CodexCLI/CodexCLIVersionService.swift
@@ -83,7 +83,7 @@ nonisolated struct CodexCLIVersionDisplay: Equatable {
}
}
-/// 并发检测 Codex CLI 与 Codex APP 内置 CLI 的磁盘版本
+/// 并发检测 Codex CLI 与 Codex App 内置 CLI 的磁盘版本
actor CodexCLIVersionService {
private let timeout: TimeInterval
private static let pipeDrainTimeout: TimeInterval = 0.25
diff --git a/CodexBar/Views/Settings/AppSettingsView.swift b/CodexBar/Views/Settings/AppSettingsView.swift
index 14c19ff..c73eb07 100644
--- a/CodexBar/Views/Settings/AppSettingsView.swift
+++ b/CodexBar/Views/Settings/AppSettingsView.swift
@@ -1,7 +1,7 @@
import AppKit
import SwiftUI
-/// 设置窗口根视图, 按通用; 工作流和关于分页汇总设置与版本信息
+/// 设置窗口根视图, 按通用、高级和关于分页汇总设置与版本信息
struct AppSettingsView: View {
@EnvironmentObject private var statusViewModel: CodexStatusViewModel
@EnvironmentObject private var appUpdater: AppUpdater
@@ -631,7 +631,7 @@ private extension AppSettingsView {
}
/// 返回 nil 表示这一行整个收起
- /// 正常运行时不必占一行说"一切正常", 是否正在防睡眠由主面板的咖啡杯标记呈现
+ /// 正常运行时不必占一行说"一切正常", 是否正在防睡眠由主面板的太阳标记呈现
var keepAliveCaption: SettingsStatusCaption? {
guard keepAliveController.isEnabled else {
return nil
@@ -919,7 +919,7 @@ private extension AppSettingsView {
.background {
ScreenFrameReader(provider: notificationAnchorProvider)
}
- // 关掉总开关或被系统拒授权都会让 canShowOptions 转假, 收面板只需要认这一个信号
+ // 关掉总开关或被系统拒绝授权都会让 canShowOptions 转假, 收面板只需要认这一个信号
.onChange(of: notificationSettings.canShowOptions) { _, canShowOptions in
guard !canShowOptions else {
return
diff --git a/CodexBar/Views/Settings/CodexVersionSection.swift b/CodexBar/Views/Settings/CodexVersionSection.swift
index 7f084ba..58556fa 100644
--- a/CodexBar/Views/Settings/CodexVersionSection.swift
+++ b/CodexBar/Views/Settings/CodexVersionSection.swift
@@ -1,7 +1,7 @@
import AppKit
import SwiftUI
-/// Codex CLI/APP 版本区, 同时展示磁盘版本和当前 app-server 运行版本
+/// Codex CLI/App 版本区, 同时展示磁盘版本和当前 app-server 运行版本
struct CodexVersionSection: View {
@EnvironmentObject private var animationState: SettingsWindowAnimationState
let snapshot: CodexCLIVersionSnapshot
diff --git a/Docs/UserGuide/settings.md b/Docs/UserGuide/settings.md
index c12d494..5403479 100644
--- a/Docs/UserGuide/settings.md
+++ b/Docs/UserGuide/settings.md
@@ -103,7 +103,7 @@ HTTP 代理也能转发 HTTPS 请求。只有代理端口本身支持 TLS 时才
| --- | --- |
| 来源 | 自动优先选择 Codex CLI,找不到时使用 ChatGPT App 或 Codex App 内置的 Codex,也可手动选择 |
| 重新建立连接 | 使用所选 Codex 来源重新连接,更新 Codex 后可用它立即切换到新版本 |
-| Codex CLI / Codex APP | 查看检测到的版本,点击路径可复制 |
+| Codex CLI / Codex App | 查看检测到的版本,点击路径可复制 |
| 当前使用 | 当前连接所用的来源和版本 |
| 不可用(Codex 来源) | 之前使用或选择的来源已无法找到 |
| CodexBar Helper | 查看后台组件的安装与授权状态 |
diff --git a/Docs/UserGuide/sleep-prevention.md b/Docs/UserGuide/sleep-prevention.md
index b95939e..903a43d 100644
--- a/Docs/UserGuide/sleep-prevention.md
+++ b/Docs/UserGuide/sleep-prevention.md
@@ -40,7 +40,7 @@ CodexBar 可以在任务运行时保持 Mac 唤醒,任务结束或保护条件
## 异常会话保护
-运行任务超过所选时间没有进展时,会从活动卡片和任务中心隐藏,并停止支撑防睡眠。恢复进展后自动重新显示;调长阈值时,未超过新阈值的任务也会恢复。
+运行任务超过所选时间没有进展时,会从活动卡片和任务中心隐藏,并停止支持防睡眠。恢复进展后自动重新显示;调长阈值时,未超过新阈值的任务也会恢复。
保护跟随防睡眠主开关,仅判断非匿名运行任务,不判断等待批准任务。启动恢复、系统睡眠和任务数据暂时不可用期间暂停判断。
diff --git a/Docs/en/UserGuide/settings.md b/Docs/en/UserGuide/settings.md
index 699774d..6f5005b 100644
--- a/Docs/en/UserGuide/settings.md
+++ b/Docs/en/UserGuide/settings.md
@@ -103,7 +103,7 @@ Automatic Reset runs independently of notifications. Configure result alerts in
| --- | --- |
| Source | Automatic selection prefers Codex CLI, then Codex bundled with ChatGPT App or Codex App; manual selection is also available |
| Reconnect | Reconnect using the selected source; use after upgrading Codex to switch immediately to the new version |
-| Codex CLI / Codex APP | View detected versions; click a path to copy it |
+| Codex CLI / Codex App | View detected versions; click a path to copy it |
| Currently Using | Source and version used by the current connection |
| Unavailable (Codex source) | A previously used or selected source can no longer be found |
| CodexBar Helper | View the background component's installation and authorization status |