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:
maksarsanjeev
2026-10-06 20:15:30 +03:00
parent 750e5ad0ad
commit 319cdc8b18
20 changed files with 565 additions and 519 deletions
@@ -25,7 +25,7 @@ struct ShortcutsSettingsView: View {
// MARK: - Global shortcuts
private var globalSection: some View {
GroupBox("Global shortcuts — work from any app") {
GroupBox("Глобальные сочетания — работают в любом приложении") {
VStack(alignment: .leading, spacing: 0) {
ForEach(globalActions, id: \.self) { action in
shortcutRow(action)
@@ -36,7 +36,7 @@ struct ShortcutsSettingsView: View {
Divider().padding(.top, 8)
HStack {
Spacer()
Button("Reset all to defaults") { resetAll() }
Button("Сбросить всё по умолчанию") { resetAll() }
.buttonStyle(.bordered)
.controlSize(.small)
}
@@ -82,9 +82,9 @@ struct ShortcutsSettingsView: View {
.onChange(of: specs[action]) { _, _ in specChanged(action) }
if hasSysConf {
conflictTag("System conflict", color: .orange)
conflictTag("Конфликт с системой", color: .orange)
} else if hasIntConf {
conflictTag("Duplicate", color: .red)
conflictTag("Повтор", color: .red)
}
}
.padding(.vertical, 5)
@@ -104,7 +104,7 @@ struct ShortcutsSettingsView: View {
// MARK: - Island-local shortcuts (read-only)
private var islandSection: some View {
GroupBox("Island shortcuts — active when the island is focused") {
GroupBox("Сочетания острова — работают, когда остров в фокусе") {
VStack(alignment: .leading, spacing: 0) {
ForEach(Array(ShortcutLogic.islandShortcuts.enumerated()), id: \.offset) { _, pair in
HStack(spacing: 10) {