Commit 25119f4b2f

25119f4b2ffb63711ac162144288a075b8e1fe7d

parent: 3396d8c8de

Verified · cmc

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

Error alerts say what failed

Each error in DocumentSession and WorkspaceModel carries a title: Couldn't Open File, Couldn't Save File, Couldn't Read File, Couldn't Merge, Couldn't Index Folder, Couldn't Find Folder. Adding a folder (Add Folder… and sidebar drops) and granting access again set their own. The Mac alert uses the title; the iOS editor shows it on the message's first line.

Ref #222

Layout: unified · split

Changed files (9)
Sources/OrgApp/DocumentSession.swift +18 −8 · view
@@ -75,7 +75,17 @@ public final class DocumentSession {
7575 public private(set) var openPaths: [String] = []
7676 /// Open files with unsaved edits.
7777 public private(set) var dirtyPaths: Set<String> = []
78 public var lastError: String?
78 public var lastError: String? { didSet { lastErrorTitle = nil } }
79 /// What failed, as the title of the alert that shows `lastError`; nil when `lastError` was
80 /// set without one.
81 public private(set) var lastErrorTitle: String?
82
83 /// Sets `lastError` to `message` under `title`, which says what failed ("Couldn't Save File").
84 public func showError(_ title: String, _ message: String) {
85 lastError = message
86 lastErrorTitle = title
87 }
88
7989 public var saveMode: SaveMode = .automatic
8090 public var autosaveDelay: Duration = .seconds(1)
8191 /// Org options for commands the session runs (refile, archive).
@@ -259,7 +269,7 @@ public final class DocumentSession {
259269 }
260270 do {
261271 guard let bytes = try fileSystem.read(URL(fileURLWithPath: path)) else {
262 lastError = "\((path as NSString).lastPathComponent) no longer exists."
272 showError(String(localized: "Couldn't Open File", comment: "Error alert title"), "\((path as NSString).lastPathComponent) no longer exists.")
263273 return
264274 }
265275 let entry = Entry(path: path, buffer: StateBuffer(loaded(bytes, path: path)))
@@ -267,7 +277,7 @@ public final class DocumentSession {
267277 entries.insert(entry, at: index)
268278 show(entry, in: pane)
269279 } catch {
270 lastError = "Can't open \(path): \(error.localizedDescription)"
280 showError(String(localized: "Couldn't Open File", comment: "Error alert title"), "Can't open \(path): \(error.localizedDescription)")
271281 }
272282 }
273283
@@ -461,7 +471,7 @@ public final class DocumentSession {
461471 }
462472 }
463473 } catch {
464 lastError = "Can't save \(name): \(error.localizedDescription)"
474 showError(String(localized: "Couldn't Save File", comment: "Error alert title"), "Can't save \(name): \(error.localizedDescription)")
465475 }
466476 refresh(entry)
467477 return !entry.buffer.document.isDirty
@@ -474,7 +484,7 @@ public final class DocumentSession {
474484 try buffer.update { try saver.overwrite(&$0, to: url) }
475485 current?.conflict = nil
476486 } catch {
477 lastError = "Can't save \(name): \(error.localizedDescription)"
487 showError(String(localized: "Couldn't Save File", comment: "Error alert title"), "Can't save \(name): \(error.localizedDescription)")
478488 }
479489 refresh()
480490 }
@@ -489,7 +499,7 @@ public final class DocumentSession {
489499 buffer.update { $0 = loaded(bytes, path: path) }
490500 current?.conflict = nil
491501 } catch {
492 lastError = "Can't read \(name): \(error.localizedDescription)"
502 showError(String(localized: "Couldn't Read File", comment: "Error alert title"), "Can't read \(name): \(error.localizedDescription)")
493503 }
494504 refresh()
495505 }
@@ -516,7 +526,7 @@ public final class DocumentSession {
516526 }
517527 current?.conflict = nil
518528 } catch {
519 lastError = "Can't merge \(name): \(error.localizedDescription)"
529 showError(String(localized: "Couldn't Merge", comment: "Error alert title"), "Can't merge \(name): \(error.localizedDescription)")
520530 }
521531 refresh()
522532 }
@@ -1105,7 +1115,7 @@ public final class DocumentSession {
11051115 do {
11061116 read = try fileSystem.read(URL(fileURLWithPath: path))
11071117 } catch {
1108 lastError = "Can't read \(name): \(error.localizedDescription)"
1118 showError(String(localized: "Couldn't Read File", comment: "Error alert title"), "Can't read \(name): \(error.localizedDescription)")
11091119 return
11101120 }
11111121 guard let bytes = read else { return }
Sources/OrgApp/WorkspaceModel.swift +15 −5 · view
@@ -16,7 +16,17 @@ public final class WorkspaceModel {
1616 public private(set) var downloading: Set<String> = []
1717 public private(set) var isIndexing = false
1818 /// The last error worth showing, such as a folder that can no longer be found.
19 public var lastError: String?
19 public var lastError: String? { didSet { lastErrorTitle = nil } }
20 /// What failed, as the title of the alert that shows `lastError`; nil when `lastError` was
21 /// set without one.
22 public private(set) var lastErrorTitle: String?
23
24 /// Sets `lastError` to `message` under `title`, which says what failed ("Couldn't Save File").
25 public func showError(_ title: String, _ message: String) {
26 lastError = message
27 lastErrorTitle = title
28 }
29
2030 /// Bumped when an indexed file changes on disk, with its path.
2131 public private(set) var changedFile: (path: String, version: Int)?
2232 /// Bumped when the index may hold other rows: after a reconcile, or a root's removal.
@@ -140,7 +150,7 @@ public final class WorkspaceModel {
140150 var refreshed = roots
141151 for (i, root) in roots.enumerated() {
142152 guard let (url, isStale) = try? root.resolve() else {
143 lastError = "Can't find the folder \(root.path)."
153 showError(String(localized: "Couldn't Find Folder", comment: "Error alert title"), "Can't find the folder \(root.path).")
144154 unresolvedRoots.append(root)
145155 continue
146156 }
@@ -255,7 +265,7 @@ public final class WorkspaceModel {
255265 let report = try await Task.detached { try reconciler.reconcile(root: url) }.value
256266 pending.formUnion(report.placeholders.map(\.path))
257267 } catch {
258 lastError = "Indexing \(url.path) failed: \(error.localizedDescription)"
268 showError(String(localized: "Couldn't Index Folder", comment: "Error alert title"), "Indexing \(url.path) failed: \(error.localizedDescription)")
259269 }
260270 }
261271 // Rows of folders that moved or went away (indexed under their old paths).
@@ -293,7 +303,7 @@ public final class WorkspaceModel {
293303 do {
294304 placeholders = try await Task.detached { try reconciler.reconcile(root: rootURL) }.value.placeholders.map(\.path)
295305 } catch {
296 lastError = "Indexing \(rootURL.path) failed: \(error.localizedDescription)"
306 showError(String(localized: "Couldn't Index Folder", comment: "Error alert title"), "Indexing \(rootURL.path) failed: \(error.localizedDescription)")
297307 }
298308 pending = pending.filter { !$0.hasPrefix(rootURL.path + "/") }.union(placeholders)
299309 }
@@ -304,7 +314,7 @@ public final class WorkspaceModel {
304314 let report = try await Task.detached { try reconciler.reconcile(root: rootURL, paths: inRoot) }.value
305315 pending.formUnion(report.placeholders.map(\.path))
306316 } catch {
307 lastError = "Indexing \(rootURL.path) failed: \(error.localizedDescription)"
317 showError(String(localized: "Couldn't Index Folder", comment: "Error alert title"), "Indexing \(rootURL.path) failed: \(error.localizedDescription)")
308318 }
309319 }
310320 try? reloadFiles()
Sources/Orgstar/ContentView.swift +9 −2 · view
@@ -501,7 +501,9 @@ struct ContentView: View {
501501 .fileImporter(isPresented: $commands.showingFolderPicker, allowedContentTypes: [.folder]) { result in
502502 guard case .success(let url) = result else { return }
503503 Task {
504 do { try await workspace.addRoot(url) } catch { workspace.lastError = error.localizedDescription }
504 do { try await workspace.addRoot(url) } catch {
505 workspace.showError(String(localized: "Couldn't Add Folder", comment: "Error alert title"), error.localizedDescription)
506 }
505507 }
506508 }
507509 .sheet(isPresented: $commands.showingQuickOpen) {
@@ -514,7 +516,7 @@ struct ContentView: View {
514516 }
515517 }
516518 }
517 .alert("orgstar", isPresented: errorShown) {
519 .alert(errorTitle, isPresented: errorShown) {
518520 Button("OK") {
519521 workspace.lastError = nil
520522 session.lastError = nil
@@ -1513,6 +1515,11 @@ struct ContentView: View {
15131515 if let message = outcome.messages.last(where: { !$0.isEmpty }) { commands.show(message) }
15141516 }
15151517
1518 /// What failed, for the error alert's title.
1519 private var errorTitle: String {
1520 (workspace.lastError != nil ? workspace.lastErrorTitle : session.lastErrorTitle) ?? "orgstar"
1521 }
1522
15161523 private var errorShown: Binding<Bool> {
15171524 Binding(get: { workspace.lastError != nil || session.lastError != nil }, set: { _ in })
15181525 }
Sources/Orgstar/GrantAccess.swift +3 −1 · view
@@ -71,7 +71,9 @@ enum GrantAccess {
7171 message: String(localized: "Choose \(name) to give orgstar access to it again.", comment: "Open panel for a sidebar folder orgstar can't open"),
7272 prompt: String(localized: "Grant Access", comment: "Open panel button that gives orgstar access to a folder")) else { return }
7373 Task {
74 do { try await workspace.regrant(root, with: url) } catch { workspace.lastError = error.localizedDescription }
74 do { try await workspace.regrant(root, with: url) } catch {
75 workspace.showError(String(localized: "Couldn't Grant Access", comment: "Error alert title"), error.localizedDescription)
76 }
7577 }
7678 }
7779
Sources/Orgstar/Sidebar.swift +3 −1 · view
@@ -83,7 +83,9 @@ struct Sidebar: View {
8383 guard !folders.isEmpty else { return false }
8484 Task {
8585 for folder in folders {
86 do { try await workspace.addRoot(folder) } catch { workspace.lastError = error.localizedDescription }
86 do { try await workspace.addRoot(folder) } catch {
87 workspace.showError(String(localized: "Couldn't Add Folder", comment: "Error alert title"), error.localizedDescription)
88 }
8789 }
8890 }
8991 return true
Sources/OrgstarMobile/EditorScreen.swift +4 −1 · view
@@ -346,7 +346,10 @@ struct EditorScreen: View {
346346 if conflict != nil, isFocused { sheet = .conflict }
347347 }
348348 .onChange(of: session.lastError) { _, error in
349 if let error { message = error; session.lastError = nil }
349 guard let error else { return }
350 // The title says what failed.
351 message = session.lastErrorTitle.map { "\($0)\n\(error)" } ?? error
352 session.lastError = nil
350353 }
351354 .onReceive(NotificationCenter.default.publisher(for: OrgExport.refused)) { message = $0.object as? String }
352355 .onAppear(perform: start)
Tests/OrgAppTests/AppTests.swift +108 · view
@@ -109,6 +109,7 @@ struct WorkspaceModelTests {
109109 let reopened = try WorkspaceModel(directory: data)
110110 let root = try #require(reopened.unresolvedRoots.first)
111111 #expect(reopened.rootPaths.isEmpty && root.path == gone.path)
112 #expect(reopened.lastErrorTitle == "Couldn't Find Folder")
112113 let found = try parent.write("found/a.org", "* Plumber\n").deletingLastPathComponent()
113114 try await reopened.regrant(root, with: found)
114115 #expect(reopened.unresolvedRoots.isEmpty)
@@ -233,9 +234,12 @@ struct WorkspaceModelTests {
233234 #expect(throws: WorkspaceModel.FileError.self) { try model.backlinks(to: target) }
234235 await model.filesChanged([file], rescan: [])
235236 #expect(model.lastError?.hasPrefix("Indexing ") == true)
237 #expect(model.lastErrorTitle == "Couldn't Index Folder")
236238 model.lastError = nil
239 #expect(model.lastErrorTitle == nil)
237240 await model.filesChanged([], rescan: [notes.url])
238241 #expect(model.lastError?.hasPrefix("Indexing ") == true)
242 #expect(model.lastErrorTitle == "Couldn't Index Folder")
239243 }
240244}
241245
@@ -1494,3 +1498,107 @@ struct ICalendarFilesTests {
14941498 #expect(OrgPreferences.icalendarOptions(defaults).includeTodo == .unblocked)
14951499 }
14961500}
1501
1502/// Each error says what failed in a title for its alert.
1503@MainActor
1504struct ErrorTitleTests {
1505 let notes: Folder
1506 let file: URL
1507 let session: DocumentSession
1508
1509 init() throws {
1510 notes = try Folder()
1511 file = try notes.write("a.org", "a\nb\nc\n")
1512 session = DocumentSession(recovery: FileRecoveryStore(directory: notes.url.appendingPathComponent(".r")))
1513 session.saveMode = .explicit
1514 session.open(file.path)
1515 }
1516
1517 /// Types `x` at the start of the buffer.
1518 func type(in session: DocumentSession) throws {
1519 let buffer = StateBuffer(session.document!)
1520 session.attach(buffer)
1521 try buffer.update { try $0.apply([TextEdit(range: 0..<0, replacement: "x")], baseRevision: $0.revision) }
1522 session.bufferChanged()
1523 }
1524
1525 /// Makes the folder and the file read-only while `body` runs.
1526 func readOnly(_ body: () -> Void) {
1527 let fm = FileManager.default
1528 try? fm.setAttributes([.posixPermissions: 0o444], ofItemAtPath: file.path)
1529 try? fm.setAttributes([.posixPermissions: 0o555], ofItemAtPath: notes.url.path)
1530 defer {
1531 try? fm.setAttributes([.posixPermissions: 0o755], ofItemAtPath: notes.url.path)
1532 try? fm.setAttributes([.posixPermissions: 0o644], ofItemAtPath: file.path)
1533 }
1534 body()
1535 }
1536
1537 /// Edits `session`'s buffer and the file on disk so that they conflict.
1538 func conflict(in session: DocumentSession) throws {
1539 try type(in: session)
1540 try notes.write("a.org", "z\nb\nc\n")
1541 #expect(!session.save())
1542 #expect(session.conflict != nil)
1543 }
1544
1545 @Test func open() throws {
1546 session.open("/nonexistent/a.org")
1547 #expect(session.lastErrorTitle == "Couldn't Open File")
1548 let locked = try notes.write("b.org", "b\n")
1549 try FileManager.default.setAttributes([.posixPermissions: 0], ofItemAtPath: locked.path)
1550 session.lastError = nil
1551 session.open(locked.path)
1552 #expect(session.lastError?.hasPrefix("Can't open ") == true)
1553 #expect(session.lastErrorTitle == "Couldn't Open File")
1554 }
1555
1556 @Test func save() throws {
1557 try type(in: session)
1558 readOnly { #expect(!session.save()) }
1559 #expect(session.lastError?.hasPrefix("Can't save a.org: ") == true)
1560 #expect(session.lastErrorTitle == "Couldn't Save File")
1561 }
1562
1563 @Test func keepMine() throws {
1564 try conflict(in: session)
1565 readOnly { session.keepMine() }
1566 #expect(session.lastError?.hasPrefix("Can't save a.org: ") == true)
1567 #expect(session.lastErrorTitle == "Couldn't Save File")
1568 }
1569
1570 @Test func useDiskVersion() throws {
1571 try conflict(in: session)
1572 try FileManager.default.setAttributes([.posixPermissions: 0], ofItemAtPath: file.path)
1573 session.useDiskVersion()
1574 #expect(session.lastError?.hasPrefix("Can't read a.org: ") == true)
1575 #expect(session.lastErrorTitle == "Couldn't Read File")
1576 }
1577
1578 /// The buffer can't be kept in recovery, whose folder is now a file.
1579 @Test func merge() throws {
1580 try conflict(in: session)
1581 try? FileManager.default.removeItem(at: notes.url.appendingPathComponent(".r"))
1582 try notes.write(".r", "")
1583 session.mergeConflictWithMarkers()
1584 #expect(session.lastError?.hasPrefix("Can't merge a.org: ") == true)
1585 #expect(session.lastErrorTitle == "Couldn't Merge")
1586 }
1587
1588 @Test func changedFile() throws {
1589 try notes.write("a.org", "d\n")
1590 try FileManager.default.setAttributes([.posixPermissions: 0], ofItemAtPath: file.path)
1591 session.fileChanged(file.path)
1592 #expect(session.lastErrorTitle == "Couldn't Read File")
1593 }
1594
1595 /// An error set without a title, as the iOS Folders screen sets them, has none.
1596 @Test func anErrorWithoutATitle() {
1597 session.showError("Couldn't Save File", "Can't save a.org")
1598 session.lastError = "Something else"
1599 #expect(session.lastErrorTitle == nil)
1600 session.showError("Couldn't Save File", "Can't save a.org")
1601 session.lastError = nil
1602 #expect(session.lastErrorTitle == nil)
1603 }
1604}
docs/manual/guide/14-ios.org +1 −1 · view
@@ -57,7 +57,7 @@ The toolbar has:
5757- Undo :: touch and hold it for Redo.
5858- More :: Commands, Clock In, Show Markup, Recent Entries, Export, Sync Conflict Copies, and Recovered Versions.
5959
60Messages from commands show at the top of the editor, and at the bottom of the reader, for a few seconds; tap one to dismiss it. VoiceOver reads each message as it appears.
60Messages from commands show at the top of the editor, and at the bottom of the reader, for a few seconds; tap one to dismiss it. VoiceOver reads each message as it appears. An error opening, saving or reading a file shows what failed on its first line, such as =Couldn't Save File=.
6161
6262** Panes and windows on iPad
6363
l10n/Localizable.xcstrings +280 · view
@@ -9723,6 +9723,286 @@
97239723 }
97249724 }
97259725 },
9726 "Couldn't Add Folder": {
9727 "comment": "Error alert title",
9728 "localizations": {
9729 "de": {
9730 "stringUnit": {
9731 "state": "translated",
9732 "value": "Ordner konnte nicht hinzugefügt werden"
9733 }
9734 },
9735 "es": {
9736 "stringUnit": {
9737 "state": "translated",
9738 "value": "No se ha podido añadir la carpeta"
9739 }
9740 },
9741 "fr": {
9742 "stringUnit": {
9743 "state": "translated",
9744 "value": "Impossible d'ajouter le dossier"
9745 }
9746 },
9747 "ja": {
9748 "stringUnit": {
9749 "state": "translated",
9750 "value": "フォルダを追加できませんでした"
9751 }
9752 },
9753 "pt-BR": {
9754 "stringUnit": {
9755 "state": "translated",
9756 "value": "Não Foi Possível Adicionar a Pasta"
9757 }
9758 }
9759 }
9760 },
9761 "Couldn't Find Folder": {
9762 "comment": "Error alert title",
9763 "localizations": {
9764 "de": {
9765 "stringUnit": {
9766 "state": "translated",
9767 "value": "Ordner nicht gefunden"
9768 }
9769 },
9770 "es": {
9771 "stringUnit": {
9772 "state": "translated",
9773 "value": "No se ha encontrado la carpeta"
9774 }
9775 },
9776 "fr": {
9777 "stringUnit": {
9778 "state": "translated",
9779 "value": "Dossier introuvable"
9780 }
9781 },
9782 "ja": {
9783 "stringUnit": {
9784 "state": "translated",
9785 "value": "フォルダが見つかりませんでした"
9786 }
9787 },
9788 "pt-BR": {
9789 "stringUnit": {
9790 "state": "translated",
9791 "value": "Pasta Não Encontrada"
9792 }
9793 }
9794 }
9795 },
9796 "Couldn't Grant Access": {
9797 "comment": "Error alert title",
9798 "localizations": {
9799 "de": {
9800 "stringUnit": {
9801 "state": "translated",
9802 "value": "Zugriff konnte nicht gewährt werden"
9803 }
9804 },
9805 "es": {
9806 "stringUnit": {
9807 "state": "translated",
9808 "value": "No se ha podido conceder el acceso"
9809 }
9810 },
9811 "fr": {
9812 "stringUnit": {
9813 "state": "translated",
9814 "value": "Impossible d'accorder l'accès"
9815 }
9816 },
9817 "ja": {
9818 "stringUnit": {
9819 "state": "translated",
9820 "value": "アクセスを許可できませんでした"
9821 }
9822 },
9823 "pt-BR": {
9824 "stringUnit": {
9825 "state": "translated",
9826 "value": "Não Foi Possível Conceder Acesso"
9827 }
9828 }
9829 }
9830 },
9831 "Couldn't Index Folder": {
9832 "comment": "Error alert title",
9833 "localizations": {
9834 "de": {
9835 "stringUnit": {
9836 "state": "translated",
9837 "value": "Ordner konnte nicht indiziert werden"
9838 }
9839 },
9840 "es": {
9841 "stringUnit": {
9842 "state": "translated",
9843 "value": "No se ha podido indexar la carpeta"
9844 }
9845 },
9846 "fr": {
9847 "stringUnit": {
9848 "state": "translated",
9849 "value": "Impossible d'indexer le dossier"
9850 }
9851 },
9852 "ja": {
9853 "stringUnit": {
9854 "state": "translated",
9855 "value": "フォルダをインデックスできませんでした"
9856 }
9857 },
9858 "pt-BR": {
9859 "stringUnit": {
9860 "state": "translated",
9861 "value": "Não Foi Possível Indexar a Pasta"
9862 }
9863 }
9864 }
9865 },
9866 "Couldn't Merge": {
9867 "comment": "Error alert title",
9868 "localizations": {
9869 "de": {
9870 "stringUnit": {
9871 "state": "translated",
9872 "value": "Zusammenführen nicht möglich"
9873 }
9874 },
9875 "es": {
9876 "stringUnit": {
9877 "state": "translated",
9878 "value": "No se ha podido combinar"
9879 }
9880 },
9881 "fr": {
9882 "stringUnit": {
9883 "state": "translated",
9884 "value": "Impossible de fusionner"
9885 }
9886 },
9887 "ja": {
9888 "stringUnit": {
9889 "state": "translated",
9890 "value": "結合できませんでした"
9891 }
9892 },
9893 "pt-BR": {
9894 "stringUnit": {
9895 "state": "translated",
9896 "value": "Não Foi Possível Mesclar"
9897 }
9898 }
9899 }
9900 },
9901 "Couldn't Open File": {
9902 "comment": "Error alert title",
9903 "localizations": {
9904 "de": {
9905 "stringUnit": {
9906 "state": "translated",
9907 "value": "Datei konnte nicht geöffnet werden"
9908 }
9909 },
9910 "es": {
9911 "stringUnit": {
9912 "state": "translated",
9913 "value": "No se ha podido abrir el archivo"
9914 }
9915 },
9916 "fr": {
9917 "stringUnit": {
9918 "state": "translated",
9919 "value": "Impossible d'ouvrir le fichier"
9920 }
9921 },
9922 "ja": {
9923 "stringUnit": {
9924 "state": "translated",
9925 "value": "ファイルを開けませんでした"
9926 }
9927 },
9928 "pt-BR": {
9929 "stringUnit": {
9930 "state": "translated",
9931 "value": "Não Foi Possível Abrir o Arquivo"
9932 }
9933 }
9934 }
9935 },
9936 "Couldn't Read File": {
9937 "comment": "Error alert title",
9938 "localizations": {
9939 "de": {
9940 "stringUnit": {
9941 "state": "translated",
9942 "value": "Datei konnte nicht gelesen werden"
9943 }
9944 },
9945 "es": {
9946 "stringUnit": {
9947 "state": "translated",
9948 "value": "No se ha podido leer el archivo"
9949 }
9950 },
9951 "fr": {
9952 "stringUnit": {
9953 "state": "translated",
9954 "value": "Impossible de lire le fichier"
9955 }
9956 },
9957 "ja": {
9958 "stringUnit": {
9959 "state": "translated",
9960 "value": "ファイルを読み込めませんでした"
9961 }
9962 },
9963 "pt-BR": {
9964 "stringUnit": {
9965 "state": "translated",
9966 "value": "Não Foi Possível Ler o Arquivo"
9967 }
9968 }
9969 }
9970 },
9971 "Couldn't Save File": {
9972 "comment": "Error alert title",
9973 "localizations": {
9974 "de": {
9975 "stringUnit": {
9976 "state": "translated",
9977 "value": "Datei konnte nicht gesichert werden"
9978 }
9979 },
9980 "es": {
9981 "stringUnit": {
9982 "state": "translated",
9983 "value": "No se ha podido guardar el archivo"
9984 }
9985 },
9986 "fr": {
9987 "stringUnit": {
9988 "state": "translated",
9989 "value": "Impossible d'enregistrer le fichier"
9990 }
9991 },
9992 "ja": {
9993 "stringUnit": {
9994 "state": "translated",
9995 "value": "ファイルを保存できませんでした"
9996 }
9997 },
9998 "pt-BR": {
9999 "stringUnit": {
10000 "state": "translated",
10001 "value": "Não Foi Possível Salvar o Arquivo"
10002 }
10003 }
10004 }
10005 },
972610006 "Couldn't change the file": {
972710007 "localizations": {
972810008 "de": {
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