Russian UI: settings, notch views, agent steps, errors; visible success after installing hooks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -46,24 +46,24 @@ struct MochiActivityState: Codable, Hashable, Sendable {
|
||||
|
||||
static func statusText(state: BotState, urgency: Int, stepIndex: Int, stepCount: Int) -> String {
|
||||
switch urgency {
|
||||
case 0: return "waiting for your OK"
|
||||
case 1: return "has a question"
|
||||
case 0: return "ждёт вашего OK"
|
||||
case 1: return "есть вопрос"
|
||||
default: break
|
||||
}
|
||||
switch state {
|
||||
case .working, .thinking, .searching:
|
||||
return stepCount == 0 ? "working" : "working · \(min(stepIndex + 1, stepCount))/\(stepCount)"
|
||||
case .finished: return "✓ done"
|
||||
case .error: return "error"
|
||||
case .ratelimit: return "rate limited"
|
||||
case .sleeping: return "asleep"
|
||||
case .dizzy: return "dizzy"
|
||||
default: return "idle"
|
||||
return stepCount == 0 ? "работает" : "работает · \(min(stepIndex + 1, stepCount))/\(stepCount)"
|
||||
case .finished: return "✓ готово"
|
||||
case .error: return "ошибка"
|
||||
case .ratelimit: return "лимит запросов"
|
||||
case .sleeping: return "спит"
|
||||
case .dizzy: return "голова кружится"
|
||||
default: return "отдыхает"
|
||||
}
|
||||
}
|
||||
|
||||
static let placeholder = MochiActivityState(
|
||||
pillId: "integration_claude", agent: "VS Code", color: "#4A86E8",
|
||||
state: "working", statusText: "working · 3/7", tone: "working",
|
||||
state: "working", statusText: "работает · 3/7", tone: "working",
|
||||
stepIndex: 2, stepCount: 7, others: 1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user