Commit 25119f4b2f
Verified · cmc
Changed files (9)
- Sources/OrgApp/DocumentSession.swift +18 −8
- Sources/OrgApp/WorkspaceModel.swift +15 −5
- Sources/Orgstar/ContentView.swift +9 −2
- Sources/Orgstar/GrantAccess.swift +3 −1
- Sources/Orgstar/Sidebar.swift +3 −1
- Sources/OrgstarMobile/EditorScreen.swift +4 −1
- Tests/OrgAppTests/AppTests.swift +108
- docs/manual/guide/14-ios.org +1 −1
- l10n/Localizable.xcstrings +280
Sources/OrgApp/DocumentSession.swift +18 −8 · view
| @@ -75,7 +75,17 @@ public final class DocumentSession { | ||
| 75 | 75 | public private(set) var openPaths: [String] = [] |
| 76 | 76 | /// Open files with unsaved edits. |
| 77 | 77 | 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 | ||
| 79 | 89 | public var saveMode: SaveMode = .automatic |
| 80 | 90 | public var autosaveDelay: Duration = .seconds(1) |
| 81 | 91 | /// Org options for commands the session runs (refile, archive). |
| @@ -259,7 +269,7 @@ public final class DocumentSession { | ||
| 259 | 269 | } |
| 260 | 270 | do { |
| 261 | 271 | 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.") | |
| 263 | 273 | return |
| 264 | 274 | } |
| 265 | 275 | let entry = Entry(path: path, buffer: StateBuffer(loaded(bytes, path: path))) |
| @@ -267,7 +277,7 @@ public final class DocumentSession { | ||
| 267 | 277 | entries.insert(entry, at: index) |
| 268 | 278 | show(entry, in: pane) |
| 269 | 279 | } 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)") | |
| 271 | 281 | } |
| 272 | 282 | } |
| 273 | 283 | |
| @@ -461,7 +471,7 @@ public final class DocumentSession { | ||
| 461 | 471 | } |
| 462 | 472 | } |
| 463 | 473 | } 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)") | |
| 465 | 475 | } |
| 466 | 476 | refresh(entry) |
| 467 | 477 | return !entry.buffer.document.isDirty |
| @@ -474,7 +484,7 @@ public final class DocumentSession { | ||
| 474 | 484 | try buffer.update { try saver.overwrite(&$0, to: url) } |
| 475 | 485 | current?.conflict = nil |
| 476 | 486 | } 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)") | |
| 478 | 488 | } |
| 479 | 489 | refresh() |
| 480 | 490 | } |
| @@ -489,7 +499,7 @@ public final class DocumentSession { | ||
| 489 | 499 | buffer.update { $0 = loaded(bytes, path: path) } |
| 490 | 500 | current?.conflict = nil |
| 491 | 501 | } 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)") | |
| 493 | 503 | } |
| 494 | 504 | refresh() |
| 495 | 505 | } |
| @@ -516,7 +526,7 @@ public final class DocumentSession { | ||
| 516 | 526 | } |
| 517 | 527 | current?.conflict = nil |
| 518 | 528 | } 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)") | |
| 520 | 530 | } |
| 521 | 531 | refresh() |
| 522 | 532 | } |
| @@ -1105,7 +1115,7 @@ public final class DocumentSession { | ||
| 1105 | 1115 | do { |
| 1106 | 1116 | read = try fileSystem.read(URL(fileURLWithPath: path)) |
| 1107 | 1117 | } 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)") | |
| 1109 | 1119 | return |
| 1110 | 1120 | } |
| 1111 | 1121 | guard let bytes = read else { return } |
Sources/OrgApp/WorkspaceModel.swift +15 −5 · view
| @@ -16,7 +16,17 @@ public final class WorkspaceModel { | ||
| 16 | 16 | public private(set) var downloading: Set<String> = [] |
| 17 | 17 | public private(set) var isIndexing = false |
| 18 | 18 | /// 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 | ||
| 20 | 30 | /// Bumped when an indexed file changes on disk, with its path. |
| 21 | 31 | public private(set) var changedFile: (path: String, version: Int)? |
| 22 | 32 | /// Bumped when the index may hold other rows: after a reconcile, or a root's removal. |
| @@ -140,7 +150,7 @@ public final class WorkspaceModel { | ||
| 140 | 150 | var refreshed = roots |
| 141 | 151 | for (i, root) in roots.enumerated() { |
| 142 | 152 | 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).") | |
| 144 | 154 | unresolvedRoots.append(root) |
| 145 | 155 | continue |
| 146 | 156 | } |
| @@ -255,7 +265,7 @@ public final class WorkspaceModel { | ||
| 255 | 265 | let report = try await Task.detached { try reconciler.reconcile(root: url) }.value |
| 256 | 266 | pending.formUnion(report.placeholders.map(\.path)) |
| 257 | 267 | } 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)") | |
| 259 | 269 | } |
| 260 | 270 | } |
| 261 | 271 | // Rows of folders that moved or went away (indexed under their old paths). |
| @@ -293,7 +303,7 @@ public final class WorkspaceModel { | ||
| 293 | 303 | do { |
| 294 | 304 | placeholders = try await Task.detached { try reconciler.reconcile(root: rootURL) }.value.placeholders.map(\.path) |
| 295 | 305 | } 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)") | |
| 297 | 307 | } |
| 298 | 308 | pending = pending.filter { !$0.hasPrefix(rootURL.path + "/") }.union(placeholders) |
| 299 | 309 | } |
| @@ -304,7 +314,7 @@ public final class WorkspaceModel { | ||
| 304 | 314 | let report = try await Task.detached { try reconciler.reconcile(root: rootURL, paths: inRoot) }.value |
| 305 | 315 | pending.formUnion(report.placeholders.map(\.path)) |
| 306 | 316 | } 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)") | |
| 308 | 318 | } |
| 309 | 319 | } |
| 310 | 320 | try? reloadFiles() |
Sources/Orgstar/ContentView.swift +9 −2 · view
| @@ -501,7 +501,9 @@ struct ContentView: View { | ||
| 501 | 501 | .fileImporter(isPresented: $commands.showingFolderPicker, allowedContentTypes: [.folder]) { result in |
| 502 | 502 | guard case .success(let url) = result else { return } |
| 503 | 503 | 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 | } | |
| 505 | 507 | } |
| 506 | 508 | } |
| 507 | 509 | .sheet(isPresented: $commands.showingQuickOpen) { |
| @@ -514,7 +516,7 @@ struct ContentView: View { | ||
| 514 | 516 | } |
| 515 | 517 | } |
| 516 | 518 | } |
| 517 | .alert("orgstar", isPresented: errorShown) { | |
| 519 | .alert(errorTitle, isPresented: errorShown) { | |
| 518 | 520 | Button("OK") { |
| 519 | 521 | workspace.lastError = nil |
| 520 | 522 | session.lastError = nil |
| @@ -1513,6 +1515,11 @@ struct ContentView: View { | ||
| 1513 | 1515 | if let message = outcome.messages.last(where: { !$0.isEmpty }) { commands.show(message) } |
| 1514 | 1516 | } |
| 1515 | 1517 | |
| 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 | ||
| 1516 | 1523 | private var errorShown: Binding<Bool> { |
| 1517 | 1524 | Binding(get: { workspace.lastError != nil || session.lastError != nil }, set: { _ in }) |
| 1518 | 1525 | } |
Sources/Orgstar/GrantAccess.swift +3 −1 · view
| @@ -71,7 +71,9 @@ enum GrantAccess { | ||
| 71 | 71 | message: String(localized: "Choose \(name) to give orgstar access to it again.", comment: "Open panel for a sidebar folder orgstar can't open"), |
| 72 | 72 | prompt: String(localized: "Grant Access", comment: "Open panel button that gives orgstar access to a folder")) else { return } |
| 73 | 73 | 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 | } | |
| 75 | 77 | } |
| 76 | 78 | } |
| 77 | 79 | |
Sources/Orgstar/Sidebar.swift +3 −1 · view
| @@ -83,7 +83,9 @@ struct Sidebar: View { | ||
| 83 | 83 | guard !folders.isEmpty else { return false } |
| 84 | 84 | Task { |
| 85 | 85 | 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 | } | |
| 87 | 89 | } |
| 88 | 90 | } |
| 89 | 91 | return true |
Sources/OrgstarMobile/EditorScreen.swift +4 −1 · view
| @@ -346,7 +346,10 @@ struct EditorScreen: View { | ||
| 346 | 346 | if conflict != nil, isFocused { sheet = .conflict } |
| 347 | 347 | } |
| 348 | 348 | .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 | |
| 350 | 353 | } |
| 351 | 354 | .onReceive(NotificationCenter.default.publisher(for: OrgExport.refused)) { message = $0.object as? String } |
| 352 | 355 | .onAppear(perform: start) |
Tests/OrgAppTests/AppTests.swift +108 · view
| @@ -109,6 +109,7 @@ struct WorkspaceModelTests { | ||
| 109 | 109 | let reopened = try WorkspaceModel(directory: data) |
| 110 | 110 | let root = try #require(reopened.unresolvedRoots.first) |
| 111 | 111 | #expect(reopened.rootPaths.isEmpty && root.path == gone.path) |
| 112 | #expect(reopened.lastErrorTitle == "Couldn't Find Folder") | |
| 112 | 113 | let found = try parent.write("found/a.org", "* Plumber\n").deletingLastPathComponent() |
| 113 | 114 | try await reopened.regrant(root, with: found) |
| 114 | 115 | #expect(reopened.unresolvedRoots.isEmpty) |
| @@ -233,9 +234,12 @@ struct WorkspaceModelTests { | ||
| 233 | 234 | #expect(throws: WorkspaceModel.FileError.self) { try model.backlinks(to: target) } |
| 234 | 235 | await model.filesChanged([file], rescan: []) |
| 235 | 236 | #expect(model.lastError?.hasPrefix("Indexing ") == true) |
| 237 | #expect(model.lastErrorTitle == "Couldn't Index Folder") | |
| 236 | 238 | model.lastError = nil |
| 239 | #expect(model.lastErrorTitle == nil) | |
| 237 | 240 | await model.filesChanged([], rescan: [notes.url]) |
| 238 | 241 | #expect(model.lastError?.hasPrefix("Indexing ") == true) |
| 242 | #expect(model.lastErrorTitle == "Couldn't Index Folder") | |
| 239 | 243 | } |
| 240 | 244 | } |
| 241 | 245 | |
| @@ -1494,3 +1498,107 @@ struct ICalendarFilesTests { | ||
| 1494 | 1498 | #expect(OrgPreferences.icalendarOptions(defaults).includeTodo == .unblocked) |
| 1495 | 1499 | } |
| 1496 | 1500 | } |
| 1501 | ||
| 1502 | /// Each error says what failed in a title for its alert. | |
| 1503 | @MainActor | |
| 1504 | struct 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: | ||
| 57 | 57 | - Undo :: touch and hold it for Redo. |
| 58 | 58 | - More :: Commands, Clock In, Show Markup, Recent Entries, Export, Sync Conflict Copies, and Recovered Versions. |
| 59 | 59 | |
| 60 | Messages 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. | |
| 60 | Messages 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=. | |
| 61 | 61 | |
| 62 | 62 | ** Panes and windows on iPad |
| 63 | 63 | |
l10n/Localizable.xcstrings +280 · view
| @@ -9723,6 +9723,286 @@ | ||
| 9723 | 9723 | } |
| 9724 | 9724 | } |
| 9725 | 9725 | }, |
| 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 | }, | |
| 9726 | 10006 | "Couldn't change the file": { |
| 9727 | 10007 | "localizations": { |
| 9728 | 10008 | "de": { |