Commit 4e9b0e76ee

4e9b0e76eed7f397b477bede8be17185c8417ad9

parent: 517ec65ad7

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-25 23:37 UTC

Mac: "This is the only pane." as on iOS

Ref #222

Layout: unified · split

Changed files (2)
Sources/Orgstar/ContentView.swift +1 −1 · view
@@ -1304,7 +1304,7 @@ struct ContentView: View {
13041304 case "app.split-below": paneWindow?.split(.vertical)
13051305 case "app.split-right": paneWindow?.split(.horizontal)
13061306 case "app.pane-close":
1307 guard let window = paneWindow, window.paneCount > 1 else { return commands.show(String(localized: "Attempt to delete the only pane")) }
1307 guard let window = paneWindow, window.paneCount > 1 else { return commands.show(String(localized: "This is the only pane.", comment: "Close Pane with one pane")) }
13081308 commands.store.releasePane(window.focused)
13091309 window.close(window.focused)
13101310 focusPane(window)
l10n/Localizable.xcstrings −35 · view
@@ -4690,41 +4690,6 @@
46904690 }
46914691 }
46924692 },
4693 "Attempt to delete the only pane": {
4694 "comment": "Echo area: Close Pane with one pane",
4695 "localizations": {
4696 "de": {
4697 "stringUnit": {
4698 "state": "translated",
4699 "value": "Der einzige Bereich kann nicht geschlossen werden"
4700 }
4701 },
4702 "es": {
4703 "stringUnit": {
4704 "state": "translated",
4705 "value": "No se puede cerrar el único panel"
4706 }
4707 },
4708 "fr": {
4709 "stringUnit": {
4710 "state": "translated",
4711 "value": "Impossible de fermer le seul panneau"
4712 }
4713 },
4714 "ja": {
4715 "stringUnit": {
4716 "state": "translated",
4717 "value": "唯一のペインは閉じられません"
4718 }
4719 },
4720 "pt-BR": {
4721 "stringUnit": {
4722 "state": "translated",
4723 "value": "Não é possível fechar o único painel"
4724 }
4725 }
4726 }
4727 },
47284693 "Auto Fill": {
47294694 "comment": "View menu toggle (auto-fill-mode)",
47304695 "localizations": {
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form