Commit 8835742e44

8835742e443f585e36a10c9a266ea1fd0225d7e3

parent: c952060b84

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-22 21:21 UTC

Mac: route echo-area, alert, inspector and modeline strings through the catalog

Messages and prompts the main window shows, the unsaved-changes alerts, the inspector's tabs and spans, and the modeline's notes and word count use String(localized:) or LocalizedStringKey, with German, Spanish, French, Japanese and Portuguese. The word count and the sync conflict message have plural forms.

Ref #224

Layout: unified · split

Changed files (7)
Sources/Orgstar/ContentView.swift +68 −68 · view
@@ -338,7 +338,7 @@ struct ContentView: View {
338 saveBuffers() 338 saveBuffers()
339 // Syncthing's conflict copies of the file. 339 // Syncthing's conflict copies of the file.
340 let copies = session.syncConflictCopies().count 340 let copies = session.syncConflictCopies().count
341 if copies > 0 { commands.show("\(copies) sync conflict \(copies == 1 ? "copy" : "copies") of this file; Resolve Sync Conflicts compares them.") } 341 if copies > 0 { commands.show(String(localized: "\(copies) sync conflict copies of this file; Resolve Sync Conflicts compares them.")) }
342 } 342 }
343 .onChange(of: session.openPaths) { _, paths in 343 .onChange(of: session.openPaths) { _, paths in
344 saveBuffers() 344 saveBuffers()
@@ -479,7 +479,7 @@ struct ContentView: View {
479 } 479 }
480 .onChange(of: ConfigSync.shared.problems, initial: true) { _, problems in 480 .onChange(of: ConfigSync.shared.problems, initial: true) { _, problems in
481 if let first = problems.first { 481 if let first = problems.first {
482 commands.show(first + (problems.count > 1 ? " (and \(problems.count - 1) more)" : "")) 482 commands.show(problems.count > 1 ? String(localized: "\(first) (and \(problems.count - 1) more)") : first)
483 } 483 }
484 } 484 }
485 .onChange(of: ConfigSync.shared.changedFile?.serial) { 485 .onChange(of: ConfigSync.shared.changedFile?.serial) {
@@ -588,7 +588,7 @@ struct ContentView: View {
588 /// The selection, or the whole file without one, on the clipboard as HTML, RTF and plain 588 /// The selection, or the whole file without one, on the clipboard as HTML, RTF and plain
589 /// text, to paste formatted into mail and documents. 589 /// text, to paste formatted into mail and documents.
590 private func copyRichText() { 590 private func copyRichText() {
591 guard let path = session.path, let whole = session.document?.text, let editor = commands.editor else { return commands.show("No file is open") } 591 guard let path = session.path, let whole = session.document?.text, let editor = commands.editor else { return commands.show(String(localized: "No file is open")) }
592 let defaults = Preferences.orgSettings.resolvingSetupFiles(in: whole, path: path, read: OrgSettings.readFile) 592 let defaults = Preferences.orgSettings.resolvingSetupFiles(in: whole, path: path, read: OrgSettings.readFile)
593 let selection = editor.context().selection.first { !$0.isEmpty } 593 let selection = editor.context().selection.first { !$0.isEmpty }
594 let selected = selection.map { (whole as NSString).substring(with: NSRange($0)) } 594 let selected = selection.map { (whole as NSString).substring(with: NSRange($0)) }
@@ -599,7 +599,7 @@ struct ContentView: View {
599 ) 599 )
600 do { 600 do {
601 try RichTextExport.copy(html: html, directory: url.deletingLastPathComponent()) 601 try RichTextExport.copy(html: html, directory: url.deletingLastPathComponent())
602 commands.show(selected == nil ? "Copied the file as rich text" : "Copied the selection as rich text") 602 commands.show(selected == nil ? String(localized: "Copied the file as rich text") : String(localized: "Copied the selection as rich text"))
603 } catch { 603 } catch {
604 commands.show("\(error)") 604 commands.show("\(error)")
605 } 605 }
@@ -627,7 +627,7 @@ struct ContentView: View {
627 if let feature = ProFeature.required(byExport: format), !ProAccess.shared.allows(feature) { return } 627 if let feature = ProFeature.required(byExport: format), !ProAccess.shared.allows(feature) { return }
628 if format == "icalendar-agenda" || format == "icalendar-combined" { return exportAgendaCalendars(combined: format == "icalendar-combined") } 628 if format == "icalendar-agenda" || format == "icalendar-combined" { return exportAgendaCalendars(combined: format == "icalendar-combined") }
629 guard let path = session.path, var text = session.document?.text else { 629 guard let path = session.path, var text = session.document?.text else {
630 commands.show("No file is open") 630 commands.show(String(localized: "No file is open"))
631 return 631 return
632 } 632 }
633 guard readsIncludes(text, path: path) else { return } 633 guard readsIncludes(text, path: path) else { return }
@@ -638,7 +638,7 @@ struct ContentView: View {
638 let caret = commands.editor?.context().caret ?? 0 638 let caret = commands.editor?.context().caret ?? 0
639 let whole = text 639 let whole = text
640 if subtree { 640 if subtree {
641 guard let narrowed = ExportScope.subtree(text, at: caret, settings: defaults) else { return commands.show("Not in a subtree") } 641 guard let narrowed = ExportScope.subtree(text, at: caret, settings: defaults) else { return commands.show(String(localized: "Not in a subtree")) }
642 text = narrowed 642 text = narrowed
643 } 643 }
644 switch format { 644 switch format {
@@ -651,7 +651,7 @@ struct ContentView: View {
651 commands.show(ExportSettings.exported(target.lastPathComponent, subtree: subtree, bodyOnly: bodyOnly)) 651 commands.show(ExportSettings.exported(target.lastPathComponent, subtree: subtree, bodyOnly: bodyOnly))
652 if open { NSWorkspace.shared.open(target) } 652 if open { NSWorkspace.shared.open(target) }
653 } catch { 653 } catch {
654 commands.show("Can't export: \(error.localizedDescription)") 654 commands.show(String(localized: "Can't export: \(error.localizedDescription)"))
655 } 655 }
656 case "html", "html-open", "markdown": 656 case "html", "html-open", "markdown":
657 let name = ExportScope.fileName(whole, subtreeAt: subtree ? caret : nil, settings: defaults) 657 let name = ExportScope.fileName(whole, subtreeAt: subtree ? caret : nil, settings: defaults)
@@ -668,7 +668,7 @@ struct ContentView: View {
668 commands.show(ExportSettings.exported(target.lastPathComponent, subtree: subtree, bodyOnly: bodyOnly)) 668 commands.show(ExportSettings.exported(target.lastPathComponent, subtree: subtree, bodyOnly: bodyOnly))
669 if open { NSWorkspace.shared.open(target) } 669 if open { NSWorkspace.shared.open(target) }
670 } catch { 670 } catch {
671 commands.show("Can't write \(target.lastPathComponent): \(error.localizedDescription)") 671 commands.show(String(localized: "Can't write \(target.lastPathComponent): \(error.localizedDescription)"))
672 } 672 }
673 case "latex" where exportNative("LaTeX", extension: "tex", whole: whole, url: url, to: destination, open: open, subtree: subtree ? caret : nil, bodyOnly: bodyOnly, settings: defaults, export: { 673 case "latex" where exportNative("LaTeX", extension: "tex", whole: whole, url: url, to: destination, open: open, subtree: subtree ? caret : nil, bodyOnly: bodyOnly, settings: defaults, export: {
674 try LaTeXExport.document(text, settings: defaults, path: path, bodyOnly: bodyOnly, author: NSFullUserName(), language: OrgPreferences.exportLanguage(), file: true) 674 try LaTeXExport.document(text, settings: defaults, path: path, bodyOnly: bodyOnly, author: NSFullUserName(), language: OrgPreferences.exportLanguage(), file: true)
@@ -690,7 +690,7 @@ struct ContentView: View {
690 commands.show(ExportSettings.exported(target.lastPathComponent, subtree: subtree, bodyOnly: bodyOnly)) 690 commands.show(ExportSettings.exported(target.lastPathComponent, subtree: subtree, bodyOnly: bodyOnly))
691 if open { NSWorkspace.shared.open(target) } 691 if open { NSWorkspace.shared.open(target) }
692 } catch { 692 } catch {
693 commands.show("Can't export \(target.lastPathComponent): \(error.localizedDescription)") 693 commands.show(String(localized: "Can't export \(target.lastPathComponent): \(error.localizedDescription)"))
694 } 694 }
695 case "print-pdf", "docx", "rtf", "plain-text": 695 case "print-pdf", "docx", "rtf", "plain-text":
696 let ext = ["print-pdf": "pdf", "plain-text": "txt"][format] ?? format 696 let ext = ["print-pdf": "pdf", "plain-text": "txt"][format] ?? format
@@ -703,7 +703,7 @@ struct ContentView: View {
703 let directory = url.deletingLastPathComponent() 703 let directory = url.deletingLastPathComponent()
704 // Images that can't be read are left out, so offer access to them first. 704 // Images that can't be read are left out, so offer access to them first.
705 _ = reach(PDFExport.imageFiles(html, directory: directory).filter(WorkspaceModel.isThere)) 705 _ = reach(PDFExport.imageFiles(html, directory: directory).filter(WorkspaceModel.isThere))
706 if format == "print-pdf" { commands.show("Exporting to PDF…") } 706 if format == "print-pdf" { commands.show(String(localized: "Exporting to PDF…")) }
707 Task { 707 Task {
708 do { 708 do {
709 let data: Data 709 let data: Data
@@ -718,14 +718,14 @@ struct ContentView: View {
718 commands.show(ExportSettings.exported(target.lastPathComponent, subtree: subtree, bodyOnly: bodyOnly)) 718 commands.show(ExportSettings.exported(target.lastPathComponent, subtree: subtree, bodyOnly: bodyOnly))
719 if open { NSWorkspace.shared.open(target) } 719 if open { NSWorkspace.shared.open(target) }
720 } catch { 720 } catch {
721 commands.show("Can't export \(target.lastPathComponent): \(error)") 721 commands.show(String(localized: "Can't export \(target.lastPathComponent): \(String(describing: error))"))
722 } 722 }
723 } 723 }
724 default: 724 default:
725 #if !APPSTORE 725 #if !APPSTORE
726 let functions = ["pdf": "org-latex-export-to-pdf", "latex": "org-latex-export-to-latex", "text": "org-ascii-export-to-ascii"] 726 let functions = ["pdf": "org-latex-export-to-pdf", "latex": "org-latex-export-to-latex", "text": "org-ascii-export-to-ascii"]
727 guard let function = functions[format] else { return } 727 guard let function = functions[format] else { return }
728 commands.show("Exporting with Emacs…") 728 commands.show(String(localized: "Exporting with Emacs…"))
729 commands.runInEmacs { 729 commands.runInEmacs {
730 do { 730 do {
731 // Emacs narrows to the subtree and reads EXPORT_FILE_NAME itself. 731 // Emacs narrows to the subtree and reads EXPORT_FILE_NAME itself.
@@ -741,7 +741,7 @@ struct ContentView: View {
741 commands.show(ExportSettings.exported(written.lastPathComponent, subtree: subtree, bodyOnly: bodyOnly)) 741 commands.show(ExportSettings.exported(written.lastPathComponent, subtree: subtree, bodyOnly: bodyOnly))
742 if open { NSWorkspace.shared.open(written) } 742 if open { NSWorkspace.shared.open(written) }
743 } catch is CancellationError { 743 } catch is CancellationError {
744 commands.show("Export canceled") 744 commands.show(String(localized: "Export canceled"))
745 } catch { 745 } catch {
746 commands.show("\(error)") 746 commands.show("\(error)")
747 } 747 }
@@ -766,7 +766,7 @@ struct ContentView: View {
766 #if !APPSTORE 766 #if !APPSTORE
767 if EmacsRunner.executable() != nil { return false } 767 if EmacsRunner.executable() != nil { return false }
768 #endif 768 #endif
769 commands.show("Can't export to \(format): \(error.localizedDescription)") 769 commands.show(String(localized: "Can't export to \(format): \(error.localizedDescription)"))
770 return true 770 return true
771 } 771 }
772 let name = ExportScope.fileName(whole, subtreeAt: subtree, settings: settings) 772 let name = ExportScope.fileName(whole, subtreeAt: subtree, settings: settings)
@@ -777,7 +777,7 @@ struct ContentView: View {
777 commands.show(ExportSettings.exported(target.lastPathComponent, subtree: subtree != nil, bodyOnly: bodyOnly)) 777 commands.show(ExportSettings.exported(target.lastPathComponent, subtree: subtree != nil, bodyOnly: bodyOnly))
778 if open { NSWorkspace.shared.open(target) } 778 if open { NSWorkspace.shared.open(target) }
779 } catch { 779 } catch {
780 commands.show("Can't write \(target.lastPathComponent): \(error.localizedDescription)") 780 commands.show(String(localized: "Can't write \(target.lastPathComponent): \(error.localizedDescription)"))
781 } 781 }
782 return true 782 return true
783 } 783 }
@@ -861,34 +861,34 @@ struct ContentView: View {
861 let options = OrgPreferences.icalendarOptions() 861 let options = OrgPreferences.icalendarOptions()
862 if combined { 862 if combined {
863 let url = try ICalendarFiles.combine(paths, to: OrgPreferences.icalendarCombinedFile(), options: options, read: read) 863 let url = try ICalendarFiles.combine(paths, to: OrgPreferences.icalendarCombinedFile(), options: options, read: read)
864 commands.show("Exported \(paths.count) agenda files to \(url.lastPathComponent)") 864 commands.show(String(localized: "Exported \(paths.count) agenda files to \(url.lastPathComponent)"))
865 } else { 865 } else {
866 let written = try ICalendarFiles.exportEach(paths, options: options, read: read) 866 let written = try ICalendarFiles.exportEach(paths, options: options, read: read)
867 commands.show("Exported \(written.count) agenda files to iCalendar") 867 commands.show(String(localized: "Exported \(written.count) agenda files to iCalendar"))
868 } 868 }
869 } catch { 869 } catch {
870 commands.show("Can't export: \(error.localizedDescription)") 870 commands.show(String(localized: "Can't export: \(error.localizedDescription)"))
871 } 871 }
872 } 872 }
873 873
874 /// org-crypt's commands at the caret, through the passphrase sheet. 874 /// org-crypt's commands at the caret, through the passphrase sheet.
875 private func crypt(_ id: String) { 875 private func crypt(_ id: String) {
876 guard let editor = commands.editor, let path = session.path else { return commands.show("No file is open") } 876 guard let editor = commands.editor, let path = session.path else { return commands.show(String(localized: "No file is open")) }
877 let caret = editor.context().caret 877 let caret = editor.context().caret
878 let text = editor.context().text 878 let text = editor.context().text
879 switch id { 879 switch id {
880 case "app.crypt.forget-passphrase": 880 case "app.crypt.forget-passphrase":
881 CryptPassphrases.forget(path) 881 CryptPassphrases.forget(path)
882 commands.show("Passphrase forgotten for \((path as NSString).lastPathComponent)") 882 commands.show(String(localized: "Passphrase forgotten for \((path as NSString).lastPathComponent)"))
883 case "app.crypt.encrypt-entries": 883 case "app.crypt.encrypt-entries":
884 panel = .crypt(UUID(), CryptRequest(mode: .encryptAll(tag: OrgPreferences.cryptTag()), path: path, offset: caret)) 884 panel = .crypt(UUID(), CryptRequest(mode: .encryptAll(tag: OrgPreferences.cryptTag()), path: path, offset: caret))
885 default: 885 default:
886 guard OrgCrypt.heading(text, at: caret) != nil else { return commands.show("Before first headline") } 886 guard OrgCrypt.heading(text, at: caret) != nil else { return commands.show(String(localized: "Before first headline")) }
887 if id == "app.crypt.encrypt-entry" { 887 if id == "app.crypt.encrypt-entry" {
888 guard OrgCrypt.encryptedRange(text, at: caret) == nil else { return commands.show("The entry is encrypted already") } 888 guard OrgCrypt.encryptedRange(text, at: caret) == nil else { return commands.show(String(localized: "The entry is encrypted already")) }
889 panel = .crypt(UUID(), CryptRequest(mode: .encrypt, path: path, offset: caret)) 889 panel = .crypt(UUID(), CryptRequest(mode: .encrypt, path: path, offset: caret))
890 } else { 890 } else {
891 guard OrgCrypt.encryptedRange(text, at: caret) != nil else { return commands.show("Not an encrypted entry") } 891 guard OrgCrypt.encryptedRange(text, at: caret) != nil else { return commands.show(String(localized: "Not an encrypted entry")) }
892 panel = .crypt(UUID(), CryptRequest(mode: id == "app.crypt.open-entry" ? .open : .decryptInPlace, path: path, offset: caret)) 892 panel = .crypt(UUID(), CryptRequest(mode: id == "app.crypt.open-entry" ? .open : .decryptInPlace, path: path, offset: caret))
893 } 893 }
894 } 894 }
@@ -902,7 +902,7 @@ struct ContentView: View {
902 show: { [commands] in commands.show($0) }, ask: { [commands] in commands.ask($0, reply: $1) }, 902 show: { [commands] in commands.show($0) }, ask: { [commands] in commands.ask($0, reply: $1) },
903 open: { [commands] path, offset in commands.jump(path: path, offset: offset) }, 903 open: { [commands] path, offset in commands.jump(path: path, offset: offset) },
904 insertLink: { [commands] link, title in 904 insertLink: { [commands] link, title in
905 guard let editor = commands.editor else { return commands.show("No file is open") } 905 guard let editor = commands.editor else { return commands.show(String(localized: "No file is open")) }
906 let context = editor.context() 906 let context = editor.context()
907 let range = context.selection.first ?? context.caret..<context.caret 907 let range = context.selection.first ?? context.caret..<context.caret
908 let selected = (context.text as NSString).substring(with: NSRange(range)) 908 let selected = (context.text as NSString).substring(with: NSRange(range))
@@ -989,14 +989,14 @@ struct ContentView: View {
989 /// `org-plot/gnuplot` for the table at the caret: through gnuplot when it's installed, as 989 /// `org-plot/gnuplot` for the table at the caret: through gnuplot when it's installed, as
990 /// Emacs runs it, else drawn here; written to `file:` when the options name one, else shown. 990 /// Emacs runs it, else drawn here; written to `file:` when the options name one, else shown.
991 private func plotTable() { 991 private func plotTable() {
992 guard let editor = commands.editor, let path = session.path else { return commands.show("No file is open") } 992 guard let editor = commands.editor, let path = session.path else { return commands.show(String(localized: "No file is open")) }
993 let context = editor.context() 993 let context = editor.context()
994 let plot: TablePlot.Plot 994 let plot: TablePlot.Plot
995 do { plot = try TablePlot.plot(context.text, at: context.caret) } catch { return commands.show("\(error)") } 995 do { plot = try TablePlot.plot(context.text, at: context.caret) } catch { return commands.show("\(error)") }
996 let directory = URL(fileURLWithPath: path).deletingLastPathComponent() 996 let directory = URL(fileURLWithPath: path).deletingLastPathComponent()
997 #if !APPSTORE 997 #if !APPSTORE
998 if let gnuplot = PlotOutput.gnuplot { 998 if let gnuplot = PlotOutput.gnuplot {
999 commands.show("Plotting with gnuplot…") 999 commands.show(String(localized: "Plotting with gnuplot…"))
1000 Task { 1000 Task {
1001 do { 1001 do {
1002 let image = try await PlotOutput.runGnuplot(plot, directory: directory, gnuplot: gnuplot) 1002 let image = try await PlotOutput.runGnuplot(plot, directory: directory, gnuplot: gnuplot)
@@ -1025,7 +1025,7 @@ struct ContentView: View {
1025 1025
1026 /// The image is where `file:` says; a link to it shows it again. 1026 /// The image is where `file:` says; a link to it shows it again.
1027 private func plotWritten(_ url: URL, editor: OrgEditor, note: String? = nil) { 1027 private func plotWritten(_ url: URL, editor: OrgEditor, note: String? = nil) {
1028 commands.show("Plot written to \(url.lastPathComponent)" + (note.map { ". " + $0 } ?? "")) 1028 commands.show(String(localized: "Plot written to \(url.lastPathComponent)") + (note.map { ". " + $0 } ?? ""))
1029 if editor.showsImages { editor.refreshImages() } 1029 if editor.showsImages { editor.refreshImages() }
1030 } 1030 }
1031 1031
@@ -1035,7 +1035,7 @@ struct ContentView: View {
1035 let config = (try? String(contentsOf: UserConfig.file("config.toml"), encoding: .utf8)) ?? "" 1035 let config = (try? String(contentsOf: UserConfig.file("config.toml"), encoding: .utf8)) ?? ""
1036 let loaded = Publish.projects(fromConfig: config, root: workspace.rootPaths.first) 1036 let loaded = Publish.projects(fromConfig: config, root: workspace.rootPaths.first)
1037 if let problem = loaded.problems.first { commands.show(problem) } 1037 if let problem = loaded.problems.first { commands.show(problem) }
1038 guard !loaded.projects.isEmpty else { return commands.show("No [[publish]] projects in config.toml") } 1038 guard !loaded.projects.isEmpty else { return commands.show(String(localized: "No [[publish]] projects in config.toml")) }
1039 let read = { (path: String) -> String? in 1039 let read = { (path: String) -> String? in
1040 session.openDocuments.first { $0.path == path }?.document.text ?? (try? String(contentsOfFile: path, encoding: .utf8)) 1040 session.openDocuments.first { $0.path == path }?.document.text ?? (try? String(contentsOfFile: path, encoding: .utf8))
1041 } 1041 }
@@ -1048,7 +1048,8 @@ struct ContentView: View {
1048 let report = try Publish.publish(chosen, all: loaded.projects, only: only, read: read) { function, text, path, bodyOnly in 1048 let report = try Publish.publish(chosen, all: loaded.projects, only: only, read: read) { function, text, path, bodyOnly in
1049 try Publish.export(function, text: text, path: path, bodyOnly: bodyOnly, settings: Preferences.orgSettings, codeStyle: codeStyle) 1049 try Publish.export(function, text: text, path: path, bodyOnly: bodyOnly, settings: Preferences.orgSettings, codeStyle: codeStyle)
1050 } 1050 }
1051 commands.show("Published \(report.published.count) files" + (report.skipped.isEmpty ? "" : ", \(report.skipped.count) up to date")) 1051 commands.show(report.skipped.isEmpty ? String(localized: "Published \(report.published.count) files")
1052 : String(localized: "Published \(report.published.count) files, \(report.skipped.count) up to date"))
1052 } catch { 1053 } catch {
1053 commands.show("\(error)") 1054 commands.show("\(error)")
1054 } 1055 }
@@ -1058,14 +1059,14 @@ struct ContentView: View {
1058 case "app.publish.all": 1059 case "app.publish.all":
1059 run(loaded.projects) 1060 run(loaded.projects)
1060 case "app.publish.current-file": 1061 case "app.publish.current-file":
1061 guard let path = session.path, !current.isEmpty else { return commands.show("File is not part of any known project") } 1062 guard let path = session.path, !current.isEmpty else { return commands.show(String(localized: "File is not part of any known project")) }
1062 run([current[0]], only: path) 1063 run([current[0]], only: path)
1063 case "app.publish.current-project": 1064 case "app.publish.current-project":
1064 guard !current.isEmpty else { return commands.show("File is not part of any known project") } 1065 guard !current.isEmpty else { return commands.show(String(localized: "File is not part of any known project")) }
1065 run([current[0]]) 1066 run([current[0]])
1066 default: 1067 default:
1067 let names = loaded.projects.map(\.name) 1068 let names = loaded.projects.map(\.name)
1068 commands.ask(Prompt(key: "project", message: "Publish project:", choices: names)) { answer in 1069 commands.ask(Prompt(key: "project", message: String(localized: "Publish project:"), choices: names)) { answer in
1069 guard let answer, let project = loaded.projects.first(where: { $0.name == answer }) else { return } 1070 guard let answer, let project = loaded.projects.first(where: { $0.name == answer }) else { return }
1070 run([project]) 1071 run([project])
1071 } 1072 }
@@ -1128,14 +1129,14 @@ struct ContentView: View {
1128 guard lisp, let path = session.path, let text = session.document?.text else { return run() } 1129 guard lisp, let path = session.path, let text = session.document?.text else { return run() }
1129 let content = (text as NSString).substring(with: NSRange(location: table.lowerBound, length: min((text as NSString).length, table.upperBound + 2000) - table.lowerBound)) 1130 let content = (text as NSString).substring(with: NSRange(location: table.lowerBound, length: min((text as NSString).length, table.upperBound + 2000) - table.lowerBound))
1130 if !blocks, trust.isTrusted(path: path, content: content) { return run() } 1131 if !blocks, trust.isTrusted(path: path, content: content) { return run() }
1131 let message = blocks ? "This table's formulas run Lisp and source blocks. Run them? (yes, no)" : "This table's formulas run Lisp. Run them? (yes, no, always)" 1132 let message = blocks ? String(localized: "This table's formulas run Lisp and source blocks. Run them? (yes, no)") : String(localized: "This table's formulas run Lisp. Run them? (yes, no, always)")
1132 commands.ask(Prompt(key: "confirm", message: message, choices: blocks ? ["yes", "no"] : ["yes", "no", "always"])) { answer in 1133 commands.ask(Prompt(key: "confirm", message: message, choices: blocks ? ["yes", "no"] : ["yes", "no", "always"])) { answer in
1133 switch answer { 1134 switch answer {
1134 case "always": 1135 case "always":
1135 trust.trust(path: path, content: content) 1136 trust.trust(path: path, content: content)
1136 run() 1137 run()
1137 case "yes": run() 1138 case "yes": run()
1138 default: commands.show("Not recalculated") 1139 default: commands.show(String(localized: "Not recalculated"))
1139 } 1140 }
1140 } 1141 }
1141 #endif 1142 #endif
@@ -1143,19 +1144,19 @@ struct ContentView: View {
1143 guard ProAccess.shared.allows(.babel) else { return } 1144 guard ProAccess.shared.allows(.babel) else { return }
1144 let run = { 1145 let run = {
1145 guard reach(session.resultFile(of: job).map { [$0] } ?? []) else { return } 1146 guard reach(session.resultFile(of: job).map { [$0] } ?? []) else { return }
1146 commands.show("Running \(job.language) block… (⌘. to cancel)") 1147 commands.show(String(localized: "Running \(job.language) block… (⌘. to cancel)"))
1147 session.startBabel(job) { commands.show($0) } 1148 session.startBabel(job) { commands.show($0) }
1148 } 1149 }
1149 guard let path = session.path else { return } 1150 guard let path = session.path else { return }
1150 if !job.alwaysAsk, trust.isTrusted(path: path, content: job.blockText) { return run() } 1151 if !job.alwaysAsk, trust.isTrusted(path: path, content: job.blockText) { return run() }
1151 let choices = job.alwaysAsk ? ["yes", "no"] : ["yes", "no", "always"] 1152 let choices = job.alwaysAsk ? ["yes", "no"] : ["yes", "no", "always"]
1152 commands.ask(Prompt(key: "confirm", message: "Run this \(job.language) block? (\(choices.joined(separator: ", ")))", choices: choices)) { answer in 1153 commands.ask(Prompt(key: "confirm", message: String(localized: "Run this \(job.language) block? (\(choices.joined(separator: ", ")))"), choices: choices)) { answer in
1153 switch answer { 1154 switch answer {
1154 case "always": 1155 case "always":
1155 trust.trust(path: path, content: job.blockText) 1156 trust.trust(path: path, content: job.blockText)
1156 run() 1157 run()
1157 case "yes": run() 1158 case "yes": run()
1158 default: commands.show("Not run") 1159 default: commands.show(String(localized: "Not run"))
1159 } 1160 }
1160 } 1161 }
1161 } 1162 }
@@ -1167,13 +1168,13 @@ struct ContentView: View {
1167 let content = "elisp:" + form 1168 let content = "elisp:" + form
1168 if let path = session.path, trust.isTrusted(path: path, content: content) { return run() } 1169 if let path = session.path, trust.isTrusted(path: path, content: content) { return run() }
1169 let choices = session.path == nil ? ["yes", "no"] : ["yes", "no", "always"] 1170 let choices = session.path == nil ? ["yes", "no"] : ["yes", "no", "always"]
1170 commands.ask(Prompt(key: "confirm", message: "Execute \(form) as Elisp? (\(choices.joined(separator: ", ")))", choices: choices)) { answer in 1171 commands.ask(Prompt(key: "confirm", message: String(localized: "Execute \(form) as Elisp? (\(choices.joined(separator: ", ")))"), choices: choices)) { answer in
1171 switch answer { 1172 switch answer {
1172 case "always": 1173 case "always":
1173 if let path = session.path { trust.trust(path: path, content: content) } 1174 if let path = session.path { trust.trust(path: path, content: content) }
1174 run() 1175 run()
1175 case "yes": run() 1176 case "yes": run()
1176 default: commands.show("Not run") 1177 default: commands.show(String(localized: "Not run"))
1177 } 1178 }
1178 } 1179 }
1179 } 1180 }
@@ -1247,8 +1248,7 @@ struct ContentView: View {
1247 commands.keymap = loaded.keymap 1248 commands.keymap = loaded.keymap
1248 commands.modal = preset.isModal 1249 commands.modal = preset.isModal
1249 if let first = loaded.problems.first { 1250 if let first = loaded.problems.first {
1250 let more = loaded.problems.count > 1 ? " (and \(loaded.problems.count - 1) more)" : "" 1251 commands.show("keymap.toml: " + (loaded.problems.count > 1 ? String(localized: "\(first) (and \(loaded.problems.count - 1) more)") : first))
1251 commands.show("keymap.toml: \(first)\(more)")
1252 } 1252 }
1253 } 1253 }
1254 1254
@@ -1256,8 +1256,8 @@ struct ContentView: View {
1256 private func switchBuffer() { 1256 private func switchBuffer() {
1257 let paths = session.recentPaths.dropFirst() + session.recentPaths.prefix(1) 1257 let paths = session.recentPaths.dropFirst() + session.recentPaths.prefix(1)
1258 let labels = paths.map(session.bufferName) 1258 let labels = paths.map(session.bufferName)
1259 guard !labels.isEmpty else { return commands.show("No buffers are open") } 1259 guard !labels.isEmpty else { return commands.show(String(localized: "No buffers are open")) }
1260 commands.ask(Prompt(key: "buffer", message: "Switch to buffer:", choices: labels)) { answer in 1260 commands.ask(Prompt(key: "buffer", message: String(localized: "Switch to buffer:"), choices: labels)) { answer in
1261 guard let answer, let index = labels.firstIndex(of: answer) else { return } 1261 guard let answer, let index = labels.firstIndex(of: answer) else { return }
1262 session.open(Array(paths)[index]) 1262 session.open(Array(paths)[index])
1263 } 1263 }
@@ -1272,7 +1272,7 @@ struct ContentView: View {
1272 if let feature = ProFeature.required(byCommand: id), !ProAccess.shared.allows(feature) { return } 1272 if let feature = ProFeature.required(byCommand: id), !ProAccess.shared.allows(feature) { return }
1273 let orgOnly = ["app.refile", "app.refile.copy", "app.archive", "app.clock.in", "app.clock.default", "app.copy-rich-text", "app.export-subtree", "app.export-body-only"].contains(id) || (id.hasPrefix("app.export.") && !id.hasPrefix("app.export.icalendar-")) || id.hasPrefix("org.") 1273 let orgOnly = ["app.refile", "app.refile.copy", "app.archive", "app.clock.in", "app.clock.default", "app.copy-rich-text", "app.export-subtree", "app.export-body-only"].contains(id) || (id.hasPrefix("app.export.") && !id.hasPrefix("app.export.icalendar-")) || id.hasPrefix("org.")
1274 if orgOnly, !session.isOrg { 1274 if orgOnly, !session.isOrg {
1275 commands.show("Not an org file") 1275 commands.show(String(localized: "Not an org file"))
1276 return 1276 return
1277 } 1277 }
1278 switch id { 1278 switch id {
@@ -1303,7 +1303,7 @@ struct ContentView: View {
1303 case "app.split-below": paneWindow?.split(.vertical) 1303 case "app.split-below": paneWindow?.split(.vertical)
1304 case "app.split-right": paneWindow?.split(.horizontal) 1304 case "app.split-right": paneWindow?.split(.horizontal)
1305 case "app.pane-close": 1305 case "app.pane-close":
1306 guard let window = paneWindow, window.paneCount > 1 else { return commands.show("Attempt to delete the only pane") } 1306 guard let window = paneWindow, window.paneCount > 1 else { return commands.show(String(localized: "Attempt to delete the only pane")) }
1307 commands.store.releasePane(window.focused) 1307 commands.store.releasePane(window.focused)
1308 window.close(window.focused) 1308 window.close(window.focused)
1309 focusPane(window) 1309 focusPane(window)
@@ -1323,7 +1323,7 @@ struct ContentView: View {
1323 } else if let task = commands.emacsTask { 1323 } else if let task = commands.emacsTask {
1324 task.cancel() 1324 task.cancel()
1325 } else { 1325 } else {
1326 commands.show("Nothing is running") 1326 commands.show(String(localized: "Nothing is running"))
1327 } 1327 }
1328 case "app.toggle-outline": toggleOutline() 1328 case "app.toggle-outline": toggleOutline()
1329 case "app.toggle-backlinks": backlinksShown.toggle() 1329 case "app.toggle-backlinks": backlinksShown.toggle()
@@ -1338,11 +1338,11 @@ struct ContentView: View {
1338 case "app.search": commands.focusSearch = true 1338 case "app.search": commands.focusSearch = true
1339 case "app.reload-keymap": 1339 case "app.reload-keymap":
1340 loadKeymap() 1340 loadKeymap()
1341 commands.show("Keymap reloaded") 1341 commands.show(String(localized: "Keymap reloaded"))
1342 case "app.refile", "app.refile.copy": 1342 case "app.refile", "app.refile.copy":
1343 let keep = id == "app.refile.copy" 1343 let keep = id == "app.refile.copy"
1344 let targets = workspace.refileTargets(openPath: session.path, document: session.document) 1344 let targets = workspace.refileTargets(openPath: session.path, document: session.document)
1345 commands.ask(Prompt(key: "refile", message: keep ? "Copy to:" : "Refile to:", choices: targets.map(\.label))) { answer in 1345 commands.ask(Prompt(key: "refile", message: keep ? String(localized: "Copy to:") : String(localized: "Refile to:"), choices: targets.map(\.label))) { answer in
1346 guard let answer else { return } 1346 guard let answer else { return }
1347 if let target = targets.first(where: { $0.label == answer }) { 1347 if let target = targets.first(where: { $0.label == answer }) {
1348 if let message = session.refile(to: target, keep: keep) { commands.show(message) } 1348 if let message = session.refile(to: target, keep: keep) { commands.show(message) }
@@ -1350,7 +1350,7 @@ struct ContentView: View {
1350 } 1350 }
1351 // `org-refile-allow-creating-parent-nodes`: `parent/new` adds the heading first. 1351 // `org-refile-allow-creating-parent-nodes`: `parent/new` adds the heading first.
1352 let creating = OrgPreferences.refileSettings().creating 1352 let creating = OrgPreferences.refileSettings().creating
1353 guard creating != .no, let (parent, child) = RefileSettings.newNode(answer, in: targets) else { return commands.show("Invalid target location") } 1353 guard creating != .no, let (parent, child) = RefileSettings.newNode(answer, in: targets) else { return commands.show(String(localized: "Invalid target location")) }
1354 let create = { 1354 let create = {
1355 switch session.createRefileChild(under: parent, title: child) { 1355 switch session.createRefileChild(under: parent, title: child) {
1356 case .success(let target): if let message = session.refile(to: target, keep: keep) { commands.show(message) } 1356 case .success(let target): if let message = session.refile(to: target, keep: keep) { commands.show(message) }
@@ -1358,14 +1358,14 @@ struct ContentView: View {
1358 } 1358 }
1359 } 1359 }
1360 guard creating == .confirm else { return create() } 1360 guard creating == .confirm else { return create() }
1361 commands.ask(Prompt(key: "confirm", message: "Create new node \"\(child)\"?", choices: ["yes", "no"])) { reply in 1361 commands.ask(Prompt(key: "confirm", message: String(localized: "Create new node \"\(child)\"?"), choices: ["yes", "no"])) { reply in
1362 if reply == "yes" { create() } 1362 if reply == "yes" { create() }
1363 } 1363 }
1364 } 1364 }
1365 case "app.refile.goto": 1365 case "app.refile.goto":
1366 // `C-u C-c C-w`: the target heading, or the end of a file. 1366 // `C-u C-c C-w`: the target heading, or the end of a file.
1367 let targets = workspace.refileTargets(openPath: session.path, document: session.document) 1367 let targets = workspace.refileTargets(openPath: session.path, document: session.document)
1368 commands.ask(Prompt(key: "refile", message: "Goto:", choices: targets.map(\.label))) { answer in 1368 commands.ask(Prompt(key: "refile", message: String(localized: "Goto:"), choices: targets.map(\.label))) { answer in
1369 guard let answer, let target = targets.first(where: { $0.label == answer }) else { return } 1369 guard let answer, let target = targets.first(where: { $0.label == answer }) else { return }
1370 commands.jump(path: target.path, offset: target.start ?? Int.max) 1370 commands.jump(path: target.path, offset: target.start ?? Int.max)
1371 } 1371 }
@@ -1374,34 +1374,34 @@ struct ContentView: View {
1374 if let message = session.archive() { commands.show(message) } 1374 if let message = session.archive() { commands.show(message) }
1375 case "app.table-import": 1375 case "app.table-import":
1376 // `org-table-import`: a TSV, CSV or space-separated file becomes a table at point. 1376 // `org-table-import`: a TSV, CSV or space-separated file becomes a table at point.
1377 guard let editor = commands.editor else { return commands.show("No file is open") } 1377 guard let editor = commands.editor else { return commands.show(String(localized: "No file is open")) }
1378 let panel = NSOpenPanel() 1378 let panel = NSOpenPanel()
1379 panel.allowedContentTypes = [.commaSeparatedText, .tabSeparatedText, .plainText] 1379 panel.allowedContentTypes = [.commaSeparatedText, .tabSeparatedText, .plainText]
1380 guard panel.runModal() == .OK, let url = panel.url else { return } 1380 guard panel.runModal() == .OK, let url = panel.url else { return }
1381 guard let contents = try? String(contentsOf: url, encoding: .utf8) else { return commands.show("Can't read \(url.lastPathComponent)") } 1381 guard let contents = try? String(contentsOf: url, encoding: .utf8) else { return commands.show(String(localized: "Can't read \(url.lastPathComponent)")) }
1382 editor.perform(ImportTable(contents: contents)) 1382 editor.perform(ImportTable(contents: contents))
1383 case "app.table-export": 1383 case "app.table-export":
1384 // `org-table-export`: CSV for a .csv name, else TSV. 1384 // `org-table-export`: CSV for a .csv name, else TSV.
1385 guard let editor = commands.editor else { return commands.show("No file is open") } 1385 guard let editor = commands.editor else { return commands.show(String(localized: "No file is open")) }
1386 let context = editor.context() 1386 let context = editor.context()
1387 guard ImportTable.exportText(context.text, at: context.caret, path: "") != nil else { return commands.show("No table at point") } 1387 guard ImportTable.exportText(context.text, at: context.caret, path: "") != nil else { return commands.show(String(localized: "No table at point")) }
1388 let panel = NSSavePanel() 1388 let panel = NSSavePanel()
1389 panel.nameFieldStringValue = "table.csv" 1389 panel.nameFieldStringValue = "table.csv"
1390 guard panel.runModal() == .OK, let url = panel.url, 1390 guard panel.runModal() == .OK, let url = panel.url,
1391 let text = ImportTable.exportText(context.text, at: context.caret, path: url.path) else { return } 1391 let text = ImportTable.exportText(context.text, at: context.caret, path: url.path) else { return }
1392 do { 1392 do {
1393 try text.write(to: url, atomically: true, encoding: .utf8) 1393 try text.write(to: url, atomically: true, encoding: .utf8)
1394 commands.show("Export done.") 1394 commands.show(String(localized: "Export done."))
1395 } catch { 1395 } catch {
1396 commands.show("File not written: \(error.localizedDescription)") 1396 commands.show(String(localized: "File not written: \(error.localizedDescription)"))
1397 } 1397 }
1398 case "org.subtree.paste": 1398 case "org.subtree.paste":
1399 guard let text = NSPasteboard.general.string(forType: .string) else { return commands.show("The clipboard is empty") } 1399 guard let text = NSPasteboard.general.string(forType: .string) else { return commands.show(String(localized: "The clipboard is empty")) }
1400 commands.editor?.perform(PasteSubtree(text: text)) 1400 commands.editor?.perform(PasteSubtree(text: text))
1401 case "org.link.insert": 1401 case "org.link.insert":
1402 commands.editor?.perform(InsertLink(stored: commands.storedLinks, file: session.path)) 1402 commands.editor?.perform(InsertLink(stored: commands.storedLinks, file: session.path))
1403 case "org.link.store": 1403 case "org.link.store":
1404 guard let editor = commands.editor, let path = session.path else { return commands.show("No method for storing a link from this buffer") } 1404 guard let editor = commands.editor, let path = session.path else { return commands.show(String(localized: "No method for storing a link from this buffer")) }
1405 let context = editor.context() 1405 let context = editor.context()
1406 let denote = OrgPreferences.usesDenote() ? Links.storeDenote(in: context, path: path) : nil 1406 let denote = OrgPreferences.usesDenote() ? Links.storeDenote(in: context, path: path) : nil
1407 commands.storeLink(denote ?? Links.store(in: context, path: Links.abbreviate(path, home: OrgPaths.home))) 1407 commands.storeLink(denote ?? Links.store(in: context, path: Links.abbreviate(path, home: OrgPaths.home)))
@@ -1452,29 +1452,29 @@ struct ContentView: View {
1452 openWindow(id: "capture") 1452 openWindow(id: "capture")
1453 case "app.revert": 1453 case "app.revert":
1454 // `:e`: the file as it is on disk; unsaved changes go to recovery. 1454 // `:e`: the file as it is on disk; unsaved changes go to recovery.
1455 guard session.path != nil else { return commands.show("No file is open") } 1455 guard session.path != nil else { return commands.show(String(localized: "No file is open")) }
1456 session.useDiskVersion() 1456 session.useDiskVersion()
1457 commands.show("Reverted to the file on disk") 1457 commands.show(String(localized: "Reverted to the file on disk"))
1458 case "app.sync-conflicts": 1458 case "app.sync-conflicts":
1459 guard session.path != nil else { return commands.show("No file is open") } 1459 guard session.path != nil else { return commands.show(String(localized: "No file is open")) }
1460 panel = .syncCopies(UUID()) 1460 panel = .syncCopies(UUID())
1461 case "app.recovery": 1461 case "app.recovery":
1462 guard session.path != nil else { return commands.show("No file is open") } 1462 guard session.path != nil else { return commands.show(String(localized: "No file is open")) }
1463 panel = .recovery(UUID()) 1463 panel = .recovery(UUID())
1464 case "app.copy-rich-text": 1464 case "app.copy-rich-text":
1465 copyRichText() 1465 copyRichText()
1466 case "app.export-dialog": 1466 case "app.export-dialog":
1467 guard let path = session.path else { return commands.show("No file is open") } 1467 guard let path = session.path else { return commands.show(String(localized: "No file is open")) }
1468 panel = .export(UUID(), URL(fileURLWithPath: path)) 1468 panel = .export(UUID(), URL(fileURLWithPath: path))
1469 case "app.export-subtree", "app.export-body-only": 1469 case "app.export-subtree", "app.export-body-only":
1470 guard let path = session.path else { return commands.show("No file is open") } 1470 guard let path = session.path else { return commands.show(String(localized: "No file is open")) }
1471 var settings = ExportSettings.saved(for: path) 1471 var settings = ExportSettings.saved(for: path)
1472 if id == "app.export-subtree" { 1472 if id == "app.export-subtree" {
1473 settings.subtree.toggle() 1473 settings.subtree.toggle()
1474 commands.show(settings.subtree ? "Export commands: subtree at the caret" : "Export commands: whole file") 1474 commands.show(settings.subtree ? String(localized: "Export commands: subtree at the caret") : String(localized: "Export commands: whole file"))
1475 } else { 1475 } else {
1476 settings.bodyOnly.toggle() 1476 settings.bodyOnly.toggle()
1477 commands.show(settings.bodyOnly ? "Export commands: body only" : "Export commands: whole document") 1477 commands.show(settings.bodyOnly ? String(localized: "Export commands: body only") : String(localized: "Export commands: whole document"))
1478 } 1478 }
1479 settings.save(for: path) 1479 settings.save(for: path)
1480 case let id where id.hasPrefix("app.export."): 1480 case let id where id.hasPrefix("app.export."):
@@ -1495,7 +1495,7 @@ struct ContentView: View {
1495 case let id where id.hasPrefix("app.dailies.") || id.hasPrefix("app.node."): 1495 case let id where id.hasPrefix("app.dailies.") || id.hasPrefix("app.node."):
1496 roamActions.run(id) 1496 roamActions.run(id)
1497 default: 1497 default:
1498 if let editor = commands.editor { editor.run(id) } else { commands.show("No file is open") } 1498 if let editor = commands.editor { editor.run(id) } else { commands.show(String(localized: "No file is open")) }
1499 } 1499 }
1500 } 1500 }
1501 1501
Sources/Orgstar/InspectorPane.swift +25 −5 · view
@@ -15,8 +15,28 @@ struct InspectorPane: View {
15 @State private var columns: ColumnView.View? 15 @State private var columns: ColumnView.View?
16 @State private var clocked: [(start: Int, heading: String, minutes: Int)] = [] 16 @State private var clocked: [(start: Int, heading: String, minutes: Int)] = []
17 17
18 enum Tab: String, CaseIterable { case columns = "Columns", clock = "Clock" } 18 enum Tab: String, CaseIterable {
19 enum Span: String, CaseIterable { case today = "Today", week = "This Week", all = "All" } 19 case columns = "Columns", clock = "Clock"
20
21 var title: LocalizedStringKey {
22 switch self {
23 case .columns: "Columns"
24 case .clock: "Clock"
25 }
26 }
27 }
28
29 enum Span: String, CaseIterable {
30 case today = "Today", week = "This Week", all = "All"
31
32 var title: LocalizedStringKey {
33 switch self {
34 case .today: "Today"
35 case .week: "This Week"
36 case .all: "All"
37 }
38 }
39 }
20 40
21 private struct Key: Equatable { 41 private struct Key: Equatable {
22 var shown: Bool 42 var shown: Bool
@@ -33,7 +53,7 @@ struct InspectorPane: View {
33 var body: some View { 53 var body: some View {
34 VStack(spacing: 0) { 54 VStack(spacing: 0) {
35 Picker("", selection: $tab) { 55 Picker("", selection: $tab) {
36 ForEach(Tab.allCases, id: \.self) { Text($0.rawValue) } 56 ForEach(Tab.allCases, id: \.self) { Text($0.title) }
37 } 57 }
38 .pickerStyle(.segmented) 58 .pickerStyle(.segmented)
39 .labelsHidden() 59 .labelsHidden()
@@ -94,7 +114,7 @@ struct InspectorPane: View {
94 @ViewBuilder 114 @ViewBuilder
95 private var clockView: some View { 115 private var clockView: some View {
96 Picker("Span", selection: $span) { 116 Picker("Span", selection: $span) {
97 ForEach(Span.allCases, id: \.self) { Text($0.rawValue) } 117 ForEach(Span.allCases, id: \.self) { Text($0.title) }
98 } 118 }
99 .pickerStyle(.segmented) 119 .pickerStyle(.segmented)
100 .padding(.horizontal, 8) 120 .padding(.horizontal, 8)
@@ -105,7 +125,7 @@ struct InspectorPane: View {
105 List { 125 List {
106 ForEach(clocked, id: \.start) { entry in 126 ForEach(clocked, id: \.start) { entry in
107 HStack { 127 HStack {
108 Text(entry.heading.isEmpty ? "(untitled)" : entry.heading).lineLimit(1) 128 Text(entry.heading.isEmpty ? String(localized: "(untitled)") : entry.heading).lineLimit(1)
109 Spacer() 129 Spacer()
110 Text(ClockReport.hours(entry.minutes)).monospacedDigit() 130 Text(ClockReport.hours(entry.minutes)).monospacedDigit()
111 } 131 }
Sources/Orgstar/ModeLine.swift +6 −6 · view
@@ -56,10 +56,10 @@ struct ModeLine: View {
56 Menu { 56 Menu {
57 Text(TextStats.summary(words: words, characters: characters)) 57 Text(TextStats.summary(words: words, characters: characters))
58 if selection.length > 0, let region = region(text, selection) { 58 if selection.length > 0, let region = region(text, selection) {
59 Text("Selection: " + TextStats.summary(words: region.words, characters: region.characters)) 59 Text(String(localized: "Selection: \(TextStats.summary(words: region.words, characters: region.characters))"))
60 } 60 }
61 } label: { 61 } label: {
62 Text("\(words.formatted()) \(words == 1 ? "word" : "words")") 62 Text("\(words) words")
63 } 63 }
64 .menuStyle(.borderlessButton) 64 .menuStyle(.borderlessButton)
65 .menuIndicator(.hidden) 65 .menuIndicator(.hidden)
@@ -129,7 +129,7 @@ struct ModeLine: View {
129 var path: [String] = [] 129 var path: [String] = []
130 var current = outline.lastIndex { $0.start <= offset } 130 var current = outline.lastIndex { $0.start <= offset }
131 while let i = current { 131 while let i = current {
132 path.insert(outline[i].title.isEmpty ? "(untitled)" : outline[i].title, at: 0) 132 path.insert(outline[i].title.isEmpty ? String(localized: "(untitled)") : outline[i].title, at: 0)
133 current = outline[i].parent 133 current = outline[i].parent
134 } 134 }
135 return path 135 return path
@@ -145,9 +145,9 @@ struct ModeLine: View {
145 private var encodingNotes: [String] { 145 private var encodingNotes: [String] {
146 guard let document = session.document else { return [] } 146 guard let document = session.document else { return [] }
147 var notes: [String] = [] 147 var notes: [String] = []
148 if session.isReadOnly { notes.append("Read-only") } 148 if session.isReadOnly { notes.append(String(localized: "Read-only")) }
149 if document.source.hasBOM { notes.append("BOM") } 149 if document.source.hasBOM { notes.append(String(localized: "BOM", comment: "Modeline: the file starts with a byte order mark")) }
150 if crlf { notes.append("CRLF") } 150 if crlf { notes.append(String(localized: "CRLF", comment: "Modeline: the file has Windows line endings")) }
151 return notes 151 return notes
152 } 152 }
153} 153}
Sources/Orgstar/OrgstarApp.swift +11 −10 · view
@@ -165,7 +165,7 @@ final class AppCommands {
165 NSPasteboard.general.clearContents() 165 NSPasteboard.general.clearContents()
166 NSPasteboard.general.setString(link, forType: .string) 166 NSPasteboard.general.setString(link, forType: .string)
167 case nil: 167 case nil:
168 show("orgstar handles org-protocol capture and store-link") 168 show(String(localized: "orgstar handles org-protocol capture and store-link"))
169 } 169 }
170 } 170 }
171 171
@@ -289,11 +289,12 @@ enum UnsavedChanges {
289 guard session.isDirty else { return true } 289 guard session.isDirty else { return true }
290 if session.saveMode == .automatic { return session.save() } 290 if session.saveMode == .automatic { return session.save() }
291 let alert = NSAlert() 291 let alert = NSAlert()
292 alert.messageText = "Save changes to \(session.path.map { ($0 as NSString).lastPathComponent } ?? "this file")?" 292 alert.messageText = session.path.map { String(localized: "Save changes to \(($0 as NSString).lastPathComponent)?") }
293 alert.informativeText = "Your changes will be lost if you don't save them." 293 ?? String(localized: "Save changes to this file?")
294 alert.addButton(withTitle: "Save") 294 alert.informativeText = String(localized: "Your changes will be lost if you don't save them.")
295 alert.addButton(withTitle: "Don't Save") 295 alert.addButton(withTitle: String(localized: "Save"))
296 alert.addButton(withTitle: "Cancel") 296 alert.addButton(withTitle: String(localized: "Don't Save"))
297 alert.addButton(withTitle: String(localized: "Cancel"))
297 switch alert.runModal() { 298 switch alert.runModal() {
298 case .alertFirstButtonReturn: return session.save() 299 case .alertFirstButtonReturn: return session.save()
299 case .alertSecondButtonReturn: return true 300 case .alertSecondButtonReturn: return true
@@ -309,11 +310,11 @@ enum UnsavedChanges {
309 if session.saveMode == .automatic { return dirty.map(session.save).allSatisfy { $0 } } 310 if session.saveMode == .automatic { return dirty.map(session.save).allSatisfy { $0 } }
310 if dirty == [session.path] { return resolve(session) } 311 if dirty == [session.path] { return resolve(session) }
311 let alert = NSAlert() 312 let alert = NSAlert()
312 alert.messageText = "Save changes to \(dirty.count) files?" 313 alert.messageText = String(localized: "Save changes to \(dirty.count) files?")
313 alert.informativeText = dirty.map { ($0 as NSString).lastPathComponent }.joined(separator: ", ") 314 alert.informativeText = dirty.map { ($0 as NSString).lastPathComponent }.joined(separator: ", ")
314 alert.addButton(withTitle: "Save All") 315 alert.addButton(withTitle: String(localized: "Save All"))
315 alert.addButton(withTitle: "Don't Save") 316 alert.addButton(withTitle: String(localized: "Don't Save"))
316 alert.addButton(withTitle: "Cancel") 317 alert.addButton(withTitle: String(localized: "Cancel"))
317 switch alert.runModal() { 318 switch alert.runModal() {
318 case .alertFirstButtonReturn: return dirty.map(session.save).allSatisfy { $0 } 319 case .alertFirstButtonReturn: return dirty.map(session.save).allSatisfy { $0 }
319 case .alertSecondButtonReturn: return true 320 case .alertSecondButtonReturn: return true
Sources/Orgstar/PaneView.swift +1 −1 · view
@@ -117,7 +117,7 @@ struct PaneView: NSViewRepresentable {
117 guard commands?.reach([target]) ?? false else { return } 117 guard commands?.reach([target]) ?? false else { return }
118 #endif 118 #endif
119 guard FileManager.default.fileExists(atPath: target) else { 119 guard FileManager.default.fileExists(atPath: target) else {
120 commands?.show("No file \(typed)") 120 commands?.show(String(localized: "No file \(typed)"))
121 return 121 return
122 } 122 }
123 session?.open(target) 123 session?.open(target)
Sources/Orgstar/SearchViews.swift +1 −1 · view
@@ -15,7 +15,7 @@ struct SearchResults: View {
15 open(location) 15 open(location)
16 } label: { 16 } label: {
17 VStack(alignment: .leading, spacing: 2) { 17 VStack(alignment: .leading, spacing: 2) {
18 Text(location.title.isEmpty ? "(untitled)" : location.title).lineLimit(1) 18 Text(location.title.isEmpty ? String(localized: "(untitled)") : location.title).lineLimit(1)
19 if let snippet = location.snippet { 19 if let snippet = location.snippet {
20 Text(snippet.attributed).font(.callout).foregroundStyle(.secondary).lineLimit(3) 20 Text(snippet.attributed).font(.callout).foregroundStyle(.secondary).lineLimit(3)
21 } 21 }
l10n/Localizable.xcstrings +2573 −32 · view
@@ -52,6 +52,41 @@
52 }, 52 },
53 "shouldTranslate": false 53 "shouldTranslate": false
54 }, 54 },
55 "%@ (and %lld more)": {
56 "comment": "A problem with the configuration, and how many more there are",
57 "localizations": {
58 "de": {
59 "stringUnit": {
60 "state": "translated",
61 "value": "%1$@ (und %2$lld weitere)"
62 }
63 },
64 "es": {
65 "stringUnit": {
66 "state": "translated",
67 "value": "%1$@ (y %2$lld más)"
68 }
69 },
70 "fr": {
71 "stringUnit": {
72 "state": "translated",
73 "value": "%1$@ (et %2$lld autres)"
74 }
75 },
76 "ja": {
77 "stringUnit": {
78 "state": "translated",
79 "value": "%1$@(ほか%2$lld件)"
80 }
81 },
82 "pt-BR": {
83 "stringUnit": {
84 "state": "translated",
85 "value": "%1$@ (e mais %2$lld)"
86 }
87 }
88 }
89 },
55 "%@ (orgstar+)": { 90 "%@ (orgstar+)": {
56 "localizations": { 91 "localizations": {
57 "de": { 92 "de": {
@@ -1759,6 +1794,208 @@
1759 } 1794 }
1760 } 1795 }
1761 }, 1796 },
1797 "%lld sync conflict copies of this file; Resolve Sync Conflicts compares them.": {
1798 "comment": "Echo area when a file with Syncthing conflict copies opens",
1799 "localizations": {
1800 "de": {
1801 "variations": {
1802 "plural": {
1803 "one": {
1804 "stringUnit": {
1805 "state": "translated",
1806 "value": "%lld Synchronisierungskonflikt-Kopie dieser Datei; Synchronisierungskonflikte auflösen vergleicht sie."
1807 }
1808 },
1809 "other": {
1810 "stringUnit": {
1811 "state": "translated",
1812 "value": "%lld Synchronisierungskonflikt-Kopien dieser Datei; Synchronisierungskonflikte auflösen vergleicht sie."
1813 }
1814 }
1815 }
1816 }
1817 },
1818 "en": {
1819 "variations": {
1820 "plural": {
1821 "one": {
1822 "stringUnit": {
1823 "state": "translated",
1824 "value": "%lld sync conflict copy of this file; Resolve Sync Conflicts compares them."
1825 }
1826 },
1827 "other": {
1828 "stringUnit": {
1829 "state": "translated",
1830 "value": "%lld sync conflict copies of this file; Resolve Sync Conflicts compares them."
1831 }
1832 }
1833 }
1834 }
1835 },
1836 "es": {
1837 "variations": {
1838 "plural": {
1839 "one": {
1840 "stringUnit": {
1841 "state": "translated",
1842 "value": "%lld copia de conflicto de sincronización de este archivo; Resolver conflictos de sincronización las compara."
1843 }
1844 },
1845 "other": {
1846 "stringUnit": {
1847 "state": "translated",
1848 "value": "%lld copias de conflicto de sincronización de este archivo; Resolver conflictos de sincronización las compara."
1849 }
1850 }
1851 }
1852 }
1853 },
1854 "fr": {
1855 "variations": {
1856 "plural": {
1857 "one": {
1858 "stringUnit": {
1859 "state": "translated",
1860 "value": "%lld copie de conflit de synchronisation de ce fichier ; Résoudre les conflits de synchronisation les compare."
1861 }
1862 },
1863 "other": {
1864 "stringUnit": {
1865 "state": "translated",
1866 "value": "%lld copies de conflit de synchronisation de ce fichier ; Résoudre les conflits de synchronisation les compare."
1867 }
1868 }
1869 }
1870 }
1871 },
1872 "ja": {
1873 "stringUnit": {
1874 "state": "translated",
1875 "value": "このファイルの同期競合コピーが%lld個あります。「同期の競合を解決」で比較できます。"
1876 }
1877 },
1878 "pt-BR": {
1879 "variations": {
1880 "plural": {
1881 "one": {
1882 "stringUnit": {
1883 "state": "translated",
1884 "value": "%lld cópia de conflito de sincronização deste arquivo; Resolver Conflitos de Sincronização as compara."
1885 }
1886 },
1887 "other": {
1888 "stringUnit": {
1889 "state": "translated",
1890 "value": "%lld cópias de conflito de sincronização deste arquivo; Resolver Conflitos de Sincronização as compara."
1891 }
1892 }
1893 }
1894 }
1895 }
1896 }
1897 },
1898 "%lld words": {
1899 "comment": "Modeline: words in the file",
1900 "localizations": {
1901 "de": {
1902 "variations": {
1903 "plural": {
1904 "one": {
1905 "stringUnit": {
1906 "state": "translated",
1907 "value": "%lld Wort"
1908 }
1909 },
1910 "other": {
1911 "stringUnit": {
1912 "state": "translated",
1913 "value": "%lld Wörter"
1914 }
1915 }
1916 }
1917 }
1918 },
1919 "en": {
1920 "variations": {
1921 "plural": {
1922 "one": {
1923 "stringUnit": {
1924 "state": "translated",
1925 "value": "%lld word"
1926 }
1927 },
1928 "other": {
1929 "stringUnit": {
1930 "state": "translated",
1931 "value": "%lld words"
1932 }
1933 }
1934 }
1935 }
1936 },
1937 "es": {
1938 "variations": {
1939 "plural": {
1940 "one": {
1941 "stringUnit": {
1942 "state": "translated",
1943 "value": "%lld palabra"
1944 }
1945 },
1946 "other": {
1947 "stringUnit": {
1948 "state": "translated",
1949 "value": "%lld palabras"
1950 }
1951 }
1952 }
1953 }
1954 },
1955 "fr": {
1956 "variations": {
1957 "plural": {
1958 "one": {
1959 "stringUnit": {
1960 "state": "translated",
1961 "value": "%lld mot"
1962 }
1963 },
1964 "other": {
1965 "stringUnit": {
1966 "state": "translated",
1967 "value": "%lld mots"
1968 }
1969 }
1970 }
1971 }
1972 },
1973 "ja": {
1974 "stringUnit": {
1975 "state": "translated",
1976 "value": "%lld語"
1977 }
1978 },
1979 "pt-BR": {
1980 "variations": {
1981 "plural": {
1982 "one": {
1983 "stringUnit": {
1984 "state": "translated",
1985 "value": "%lld palavra"
1986 }
1987 },
1988 "other": {
1989 "stringUnit": {
1990 "state": "translated",
1991 "value": "%lld palavras"
1992 }
1993 }
1994 }
1995 }
1996 }
1997 }
1998 },
1762 "%lld/%lld today": { 1999 "%lld/%lld today": {
1763 "localizations": { 2000 "localizations": {
1764 "de": { 2001 "de": {
@@ -3283,6 +3520,41 @@
3283 } 3520 }
3284 } 3521 }
3285 }, 3522 },
3523 "All": {
3524 "comment": "Inspector: all clocked time",
3525 "localizations": {
3526 "de": {
3527 "stringUnit": {
3528 "state": "translated",
3529 "value": "Alle"
3530 }
3531 },
3532 "es": {
3533 "stringUnit": {
3534 "state": "translated",
3535 "value": "Todo"
3536 }
3537 },
3538 "fr": {
3539 "stringUnit": {
3540 "state": "translated",
3541 "value": "Tout"
3542 }
3543 },
3544 "ja": {
3545 "stringUnit": {
3546 "state": "translated",
3547 "value": "すべて"
3548 }
3549 },
3550 "pt-BR": {
3551 "stringUnit": {
3552 "state": "translated",
3553 "value": "Tudo"
3554 }
3555 }
3556 }
3557 },
3286 "All Folders": { 3558 "All Folders": {
3287 "localizations": { 3559 "localizations": {
3288 "de": { 3560 "de": {
@@ -4418,6 +4690,41 @@
4418 } 4690 }
4419 } 4691 }
4420 }, 4692 },
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 },
4421 "Auto Fill": { 4728 "Auto Fill": {
4422 "comment": "View menu toggle (auto-fill-mode)", 4729 "comment": "View menu toggle (auto-fill-mode)",
4423 "localizations": { 4730 "localizations": {
@@ -4522,6 +4829,41 @@
4522 } 4829 }
4523 } 4830 }
4524 }, 4831 },
4832 "BOM": {
4833 "comment": "Modeline: the file starts with a byte order mark",
4834 "localizations": {
4835 "de": {
4836 "stringUnit": {
4837 "state": "translated",
4838 "value": "BOM"
4839 }
4840 },
4841 "es": {
4842 "stringUnit": {
4843 "state": "translated",
4844 "value": "BOM"
4845 }
4846 },
4847 "fr": {
4848 "stringUnit": {
4849 "state": "translated",
4850 "value": "BOM"
4851 }
4852 },
4853 "ja": {
4854 "stringUnit": {
4855 "state": "translated",
4856 "value": "BOM"
4857 }
4858 },
4859 "pt-BR": {
4860 "stringUnit": {
4861 "state": "translated",
4862 "value": "BOM"
4863 }
4864 }
4865 }
4866 },
4525 "Back to today (.)": { 4867 "Back to today (.)": {
4526 "localizations": { 4868 "localizations": {
4527 "de": { 4869 "de": {
@@ -4694,6 +5036,41 @@
4694 } 5036 }
4695 } 5037 }
4696 }, 5038 },
5039 "Before first headline": {
5040 "comment": "Echo area: an entry command before the file's first heading",
5041 "localizations": {
5042 "de": {
5043 "stringUnit": {
5044 "state": "translated",
5045 "value": "Vor der ersten Überschrift"
5046 }
5047 },
5048 "es": {
5049 "stringUnit": {
5050 "state": "translated",
5051 "value": "Antes del primer encabezado"
5052 }
5053 },
5054 "fr": {
5055 "stringUnit": {
5056 "state": "translated",
5057 "value": "Avant le premier titre"
5058 }
5059 },
5060 "ja": {
5061 "stringUnit": {
5062 "state": "translated",
5063 "value": "最初の見出しより前です"
5064 }
5065 },
5066 "pt-BR": {
5067 "stringUnit": {
5068 "state": "translated",
5069 "value": "Antes do primeiro cabeçalho"
5070 }
5071 }
5072 }
5073 },
4697 "Beginning of Buffer": { 5074 "Beginning of Buffer": {
4698 "comment": "Command title", 5075 "comment": "Command title",
4699 "localizations": { 5076 "localizations": {
@@ -5312,6 +5689,41 @@
5312 } 5689 }
5313 } 5690 }
5314 }, 5691 },
5692 "CRLF": {
5693 "comment": "Modeline: the file has Windows line endings",
5694 "localizations": {
5695 "de": {
5696 "stringUnit": {
5697 "state": "translated",
5698 "value": "CRLF"
5699 }
5700 },
5701 "es": {
5702 "stringUnit": {
5703 "state": "translated",
5704 "value": "CRLF"
5705 }
5706 },
5707 "fr": {
5708 "stringUnit": {
5709 "state": "translated",
5710 "value": "CRLF"
5711 }
5712 },
5713 "ja": {
5714 "stringUnit": {
5715 "state": "translated",
5716 "value": "CRLF"
5717 }
5718 },
5719 "pt-BR": {
5720 "stringUnit": {
5721 "state": "translated",
5722 "value": "CRLF"
5723 }
5724 }
5725 }
5726 },
5315 "Calc constants": { 5727 "Calc constants": {
5316 "comment": "Why a table needs Emacs", 5728 "comment": "Why a table needs Emacs",
5317 "localizations": { 5729 "localizations": {
@@ -5450,6 +5862,110 @@
5450 } 5862 }
5451 } 5863 }
5452 }, 5864 },
5865 "Can't export %@: %@": {
5866 "comment": "Echo area: file name, then the reason",
5867 "localizations": {
5868 "de": {
5869 "stringUnit": {
5870 "state": "translated",
5871 "value": "%1$@ kann nicht exportiert werden: %2$@"
5872 }
5873 },
5874 "es": {
5875 "stringUnit": {
5876 "state": "translated",
5877 "value": "No se puede exportar %1$@: %2$@"
5878 }
5879 },
5880 "fr": {
5881 "stringUnit": {
5882 "state": "translated",
5883 "value": "Impossible d'exporter %1$@ : %2$@"
5884 }
5885 },
5886 "ja": {
5887 "stringUnit": {
5888 "state": "translated",
5889 "value": "%1$@を書き出せません:%2$@"
5890 }
5891 },
5892 "pt-BR": {
5893 "stringUnit": {
5894 "state": "translated",
5895 "value": "Não é possível exportar %1$@: %2$@"
5896 }
5897 }
5898 }
5899 },
5900 "Can't export to %@: %@": {
5901 "comment": "Echo area: export format, then the reason",
5902 "localizations": {
5903 "de": {
5904 "stringUnit": {
5905 "state": "translated",
5906 "value": "Export nach %1$@ nicht möglich: %2$@"
5907 }
5908 },
5909 "es": {
5910 "stringUnit": {
5911 "state": "translated",
5912 "value": "No se puede exportar a %1$@: %2$@"
5913 }
5914 },
5915 "fr": {
5916 "stringUnit": {
5917 "state": "translated",
5918 "value": "Impossible d'exporter en %1$@ : %2$@"
5919 }
5920 },
5921 "ja": {
5922 "stringUnit": {
5923 "state": "translated",
5924 "value": "%1$@に書き出せません:%2$@"
5925 }
5926 },
5927 "pt-BR": {
5928 "stringUnit": {
5929 "state": "translated",
5930 "value": "Não é possível exportar para %1$@: %2$@"
5931 }
5932 }
5933 }
5934 },
5935 "Can't export: %@": {
5936 "localizations": {
5937 "de": {
5938 "stringUnit": {
5939 "state": "translated",
5940 "value": "Export nicht möglich: %@"
5941 }
5942 },
5943 "es": {
5944 "stringUnit": {
5945 "state": "translated",
5946 "value": "No se puede exportar: %@"
5947 }
5948 },
5949 "fr": {
5950 "stringUnit": {
5951 "state": "translated",
5952 "value": "Impossible d'exporter : %@"
5953 }
5954 },
5955 "ja": {
5956 "stringUnit": {
5957 "state": "translated",
5958 "value": "書き出せません:%@"
5959 }
5960 },
5961 "pt-BR": {
5962 "stringUnit": {
5963 "state": "translated",
5964 "value": "Não é possível exportar: %@"
5965 }
5966 }
5967 }
5968 },
5453 "Can't include %@.": { 5969 "Can't include %@.": {
5454 "comment": "Export stopped by an #+INCLUDE file that can't be read", 5970 "comment": "Export stopped by an #+INCLUDE file that can't be read",
5455 "localizations": { 5971 "localizations": {
@@ -5588,6 +6104,75 @@
5588 } 6104 }
5589 } 6105 }
5590 }, 6106 },
6107 "Can't read %@": {
6108 "localizations": {
6109 "de": {
6110 "stringUnit": {
6111 "state": "translated",
6112 "value": "%@ kann nicht gelesen werden"
6113 }
6114 },
6115 "es": {
6116 "stringUnit": {
6117 "state": "translated",
6118 "value": "No se puede leer %@"
6119 }
6120 },
6121 "fr": {
6122 "stringUnit": {
6123 "state": "translated",
6124 "value": "Impossible de lire %@"
6125 }
6126 },
6127 "ja": {
6128 "stringUnit": {
6129 "state": "translated",
6130 "value": "%@を読み込めません"
6131 }
6132 },
6133 "pt-BR": {
6134 "stringUnit": {
6135 "state": "translated",
6136 "value": "Não é possível ler %@"
6137 }
6138 }
6139 }
6140 },
6141 "Can't write %@: %@": {
6142 "comment": "Echo area: file name, then the reason",
6143 "localizations": {
6144 "de": {
6145 "stringUnit": {
6146 "state": "translated",
6147 "value": "%1$@ kann nicht geschrieben werden: %2$@"
6148 }
6149 },
6150 "es": {
6151 "stringUnit": {
6152 "state": "translated",
6153 "value": "No se puede escribir %1$@: %2$@"
6154 }
6155 },
6156 "fr": {
6157 "stringUnit": {
6158 "state": "translated",
6159 "value": "Impossible d'écrire %1$@ : %2$@"
6160 }
6161 },
6162 "ja": {
6163 "stringUnit": {
6164 "state": "translated",
6165 "value": "%1$@に書き込めません:%2$@"
6166 }
6167 },
6168 "pt-BR": {
6169 "stringUnit": {
6170 "state": "translated",
6171 "value": "Não é possível gravar %1$@: %2$@"
6172 }
6173 }
6174 }
6175 },
5591 "Cancel": { 6176 "Cancel": {
5592 "localizations": { 6177 "localizations": {
5593 "de": { 6178 "de": {
@@ -8346,6 +8931,41 @@
8346 } 8931 }
8347 } 8932 }
8348 }, 8933 },
8934 "Columns": {
8935 "comment": "Inspector tab",
8936 "localizations": {
8937 "de": {
8938 "stringUnit": {
8939 "state": "translated",
8940 "value": "Spalten"
8941 }
8942 },
8943 "es": {
8944 "stringUnit": {
8945 "state": "translated",
8946 "value": "Columnas"
8947 }
8948 },
8949 "fr": {
8950 "stringUnit": {
8951 "state": "translated",
8952 "value": "Colonnes"
8953 }
8954 },
8955 "ja": {
8956 "stringUnit": {
8957 "state": "translated",
8958 "value": "列"
8959 }
8960 },
8961 "pt-BR": {
8962 "stringUnit": {
8963 "state": "translated",
8964 "value": "Colunas"
8965 }
8966 }
8967 }
8968 },
8349 "Combine Agenda Files into iCalendar": { 8969 "Combine Agenda Files into iCalendar": {
8350 "comment": "Command title", 8970 "comment": "Command title",
8351 "localizations": { 8971 "localizations": {
@@ -8724,6 +9344,74 @@
8724 } 9344 }
8725 } 9345 }
8726 }, 9346 },
9347 "Copied the file as rich text": {
9348 "localizations": {
9349 "de": {
9350 "stringUnit": {
9351 "state": "translated",
9352 "value": "Datei als formatierter Text kopiert"
9353 }
9354 },
9355 "es": {
9356 "stringUnit": {
9357 "state": "translated",
9358 "value": "Archivo copiado como texto enriquecido"
9359 }
9360 },
9361 "fr": {
9362 "stringUnit": {
9363 "state": "translated",
9364 "value": "Fichier copié en texte enrichi"
9365 }
9366 },
9367 "ja": {
9368 "stringUnit": {
9369 "state": "translated",
9370 "value": "ファイルをリッチテキストとしてコピーしました"
9371 }
9372 },
9373 "pt-BR": {
9374 "stringUnit": {
9375 "state": "translated",
9376 "value": "Arquivo copiado como texto formatado"
9377 }
9378 }
9379 }
9380 },
9381 "Copied the selection as rich text": {
9382 "localizations": {
9383 "de": {
9384 "stringUnit": {
9385 "state": "translated",
9386 "value": "Auswahl als formatierter Text kopiert"
9387 }
9388 },
9389 "es": {
9390 "stringUnit": {
9391 "state": "translated",
9392 "value": "Selección copiada como texto enriquecido"
9393 }
9394 },
9395 "fr": {
9396 "stringUnit": {
9397 "state": "translated",
9398 "value": "Sélection copiée en texte enrichi"
9399 }
9400 },
9401 "ja": {
9402 "stringUnit": {
9403 "state": "translated",
9404 "value": "選択範囲をリッチテキストとしてコピーしました"
9405 }
9406 },
9407 "pt-BR": {
9408 "stringUnit": {
9409 "state": "translated",
9410 "value": "Seleção copiada como texto formatado"
9411 }
9412 }
9413 }
9414 },
8727 "Copied to my-theme.toml, now the theme file in place of %@.": { 9415 "Copied to my-theme.toml, now the theme file in place of %@.": {
8728 "localizations": { 9416 "localizations": {
8729 "de": { 9417 "de": {
@@ -9000,6 +9688,41 @@
9000 } 9688 }
9001 } 9689 }
9002 }, 9690 },
9691 "Copy to:": {
9692 "comment": "Echo area prompt for a refile target",
9693 "localizations": {
9694 "de": {
9695 "stringUnit": {
9696 "state": "translated",
9697 "value": "Kopieren nach:"
9698 }
9699 },
9700 "es": {
9701 "stringUnit": {
9702 "state": "translated",
9703 "value": "Copiar a:"
9704 }
9705 },
9706 "fr": {
9707 "stringUnit": {
9708 "state": "translated",
9709 "value": "Copier vers :"
9710 }
9711 },
9712 "ja": {
9713 "stringUnit": {
9714 "state": "translated",
9715 "value": "コピー先:"
9716 }
9717 },
9718 "pt-BR": {
9719 "stringUnit": {
9720 "state": "translated",
9721 "value": "Copiar para:"
9722 }
9723 }
9724 }
9725 },
9003 "Couldn't change the file": { 9726 "Couldn't change the file": {
9004 "localizations": { 9727 "localizations": {
9005 "de": { 9728 "de": {
@@ -9172,6 +9895,41 @@
9172 } 9895 }
9173 } 9896 }
9174 }, 9897 },
9898 "Create new node \"%@\"?": {
9899 "comment": "Echo area prompt when refiling to a heading that doesn't exist yet",
9900 "localizations": {
9901 "de": {
9902 "stringUnit": {
9903 "state": "translated",
9904 "value": "Neuen Knoten „%@“ anlegen?"
9905 }
9906 },
9907 "es": {
9908 "stringUnit": {
9909 "state": "translated",
9910 "value": "¿Crear el nodo «%@»?"
9911 }
9912 },
9913 "fr": {
9914 "stringUnit": {
9915 "state": "translated",
9916 "value": "Créer le nœud « %@ » ?"
9917 }
9918 },
9919 "ja": {
9920 "stringUnit": {
9921 "state": "translated",
9922 "value": "新しいノード「%@」を作成しますか?"
9923 }
9924 },
9925 "pt-BR": {
9926 "stringUnit": {
9927 "state": "translated",
9928 "value": "Criar o nó \"%@\"?"
9929 }
9930 }
9931 }
9932 },
9175 "Current plan": { 9933 "Current plan": {
9176 "localizations": { 9934 "localizations": {
9177 "de": { 9935 "de": {
@@ -10719,6 +11477,40 @@
10719 } 11477 }
10720 } 11478 }
10721 }, 11479 },
11480 "Don't Save": {
11481 "localizations": {
11482 "de": {
11483 "stringUnit": {
11484 "state": "translated",
11485 "value": "Nicht sichern"
11486 }
11487 },
11488 "es": {
11489 "stringUnit": {
11490 "state": "translated",
11491 "value": "No guardar"
11492 }
11493 },
11494 "fr": {
11495 "stringUnit": {
11496 "state": "translated",
11497 "value": "Ne pas enregistrer"
11498 }
11499 },
11500 "ja": {
11501 "stringUnit": {
11502 "state": "translated",
11503 "value": "保存しない"
11504 }
11505 },
11506 "pt-BR": {
11507 "stringUnit": {
11508 "state": "translated",
11509 "value": "Não Salvar"
11510 }
11511 }
11512 }
11513 },
10722 "Done": { 11514 "Done": {
10723 "localizations": { 11515 "localizations": {
10724 "de": { 11516 "de": {
@@ -12344,6 +13136,41 @@
12344 } 13136 }
12345 } 13137 }
12346 }, 13138 },
13139 "Execute %@ as Elisp? (%@)": {
13140 "comment": "Echo area prompt: the elisp: link's form, then the answers it accepts (yes, no, always), which stay in English",
13141 "localizations": {
13142 "de": {
13143 "stringUnit": {
13144 "state": "translated",
13145 "value": "%1$@ als Elisp ausführen? (%2$@)"
13146 }
13147 },
13148 "es": {
13149 "stringUnit": {
13150 "state": "translated",
13151 "value": "¿Ejecutar %1$@ como Elisp? (%2$@)"
13152 }
13153 },
13154 "fr": {
13155 "stringUnit": {
13156 "state": "translated",
13157 "value": "Exécuter %1$@ en Elisp ? (%2$@)"
13158 }
13159 },
13160 "ja": {
13161 "stringUnit": {
13162 "state": "translated",
13163 "value": "%1$@をElispとして実行しますか?(%2$@)"
13164 }
13165 },
13166 "pt-BR": {
13167 "stringUnit": {
13168 "state": "translated",
13169 "value": "Executar %1$@ como Elisp? (%2$@)"
13170 }
13171 }
13172 }
13173 },
12347 "Expand": { 13174 "Expand": {
12348 "localizations": { 13175 "localizations": {
12349 "de": { 13176 "de": {
@@ -12721,6 +13548,211 @@
12721 } 13548 }
12722 } 13549 }
12723 }, 13550 },
13551 "Export canceled": {
13552 "localizations": {
13553 "de": {
13554 "stringUnit": {
13555 "state": "translated",
13556 "value": "Export abgebrochen"
13557 }
13558 },
13559 "es": {
13560 "stringUnit": {
13561 "state": "translated",
13562 "value": "Exportación cancelada"
13563 }
13564 },
13565 "fr": {
13566 "stringUnit": {
13567 "state": "translated",
13568 "value": "Exportation annulée"
13569 }
13570 },
13571 "ja": {
13572 "stringUnit": {
13573 "state": "translated",
13574 "value": "書き出しをキャンセルしました"
13575 }
13576 },
13577 "pt-BR": {
13578 "stringUnit": {
13579 "state": "translated",
13580 "value": "Exportação cancelada"
13581 }
13582 }
13583 }
13584 },
13585 "Export commands: body only": {
13586 "localizations": {
13587 "de": {
13588 "stringUnit": {
13589 "state": "translated",
13590 "value": "Exportbefehle: nur Inhalt"
13591 }
13592 },
13593 "es": {
13594 "stringUnit": {
13595 "state": "translated",
13596 "value": "Comandos de exportación: solo el cuerpo"
13597 }
13598 },
13599 "fr": {
13600 "stringUnit": {
13601 "state": "translated",
13602 "value": "Commandes d'exportation : corps seulement"
13603 }
13604 },
13605 "ja": {
13606 "stringUnit": {
13607 "state": "translated",
13608 "value": "書き出しコマンド:本文のみ"
13609 }
13610 },
13611 "pt-BR": {
13612 "stringUnit": {
13613 "state": "translated",
13614 "value": "Comandos de exportação: só o corpo"
13615 }
13616 }
13617 }
13618 },
13619 "Export commands: subtree at the caret": {
13620 "localizations": {
13621 "de": {
13622 "stringUnit": {
13623 "state": "translated",
13624 "value": "Exportbefehle: Teilbaum an der Einfügemarke"
13625 }
13626 },
13627 "es": {
13628 "stringUnit": {
13629 "state": "translated",
13630 "value": "Comandos de exportación: subárbol en el punto de inserción"
13631 }
13632 },
13633 "fr": {
13634 "stringUnit": {
13635 "state": "translated",
13636 "value": "Commandes d'exportation : sous-arbre au point d'insertion"
13637 }
13638 },
13639 "ja": {
13640 "stringUnit": {
13641 "state": "translated",
13642 "value": "書き出しコマンド:キャレット位置のサブツリー"
13643 }
13644 },
13645 "pt-BR": {
13646 "stringUnit": {
13647 "state": "translated",
13648 "value": "Comandos de exportação: subárvore no cursor"
13649 }
13650 }
13651 }
13652 },
13653 "Export commands: whole document": {
13654 "localizations": {
13655 "de": {
13656 "stringUnit": {
13657 "state": "translated",
13658 "value": "Exportbefehle: ganzes Dokument"
13659 }
13660 },
13661 "es": {
13662 "stringUnit": {
13663 "state": "translated",
13664 "value": "Comandos de exportación: documento completo"
13665 }
13666 },
13667 "fr": {
13668 "stringUnit": {
13669 "state": "translated",
13670 "value": "Commandes d'exportation : document entier"
13671 }
13672 },
13673 "ja": {
13674 "stringUnit": {
13675 "state": "translated",
13676 "value": "書き出しコマンド:ドキュメント全体"
13677 }
13678 },
13679 "pt-BR": {
13680 "stringUnit": {
13681 "state": "translated",
13682 "value": "Comandos de exportação: documento inteiro"
13683 }
13684 }
13685 }
13686 },
13687 "Export commands: whole file": {
13688 "localizations": {
13689 "de": {
13690 "stringUnit": {
13691 "state": "translated",
13692 "value": "Exportbefehle: ganze Datei"
13693 }
13694 },
13695 "es": {
13696 "stringUnit": {
13697 "state": "translated",
13698 "value": "Comandos de exportación: archivo completo"
13699 }
13700 },
13701 "fr": {
13702 "stringUnit": {
13703 "state": "translated",
13704 "value": "Commandes d'exportation : fichier entier"
13705 }
13706 },
13707 "ja": {
13708 "stringUnit": {
13709 "state": "translated",
13710 "value": "書き出しコマンド:ファイル全体"
13711 }
13712 },
13713 "pt-BR": {
13714 "stringUnit": {
13715 "state": "translated",
13716 "value": "Comandos de exportação: arquivo inteiro"
13717 }
13718 }
13719 }
13720 },
13721 "Export done.": {
13722 "comment": "Echo area after Export Table to File, as org-table-export says",
13723 "localizations": {
13724 "de": {
13725 "stringUnit": {
13726 "state": "translated",
13727 "value": "Export abgeschlossen."
13728 }
13729 },
13730 "es": {
13731 "stringUnit": {
13732 "state": "translated",
13733 "value": "Exportación terminada."
13734 }
13735 },
13736 "fr": {
13737 "stringUnit": {
13738 "state": "translated",
13739 "value": "Exportation terminée."
13740 }
13741 },
13742 "ja": {
13743 "stringUnit": {
13744 "state": "translated",
13745 "value": "書き出しが完了しました。"
13746 }
13747 },
13748 "pt-BR": {
13749 "stringUnit": {
13750 "state": "translated",
13751 "value": "Exportação concluída."
13752 }
13753 }
13754 }
13755 },
12724 "Export to HTML": { 13756 "Export to HTML": {
12725 "comment": "Command title", 13757 "comment": "Command title",
12726 "localizations": { 13758 "localizations": {
@@ -13175,6 +14207,142 @@
13175 } 14207 }
13176 } 14208 }
13177 }, 14209 },
14210 "Exported %lld agenda files to %@": {
14211 "localizations": {
14212 "de": {
14213 "stringUnit": {
14214 "state": "translated",
14215 "value": "%1$lld Agenda-Dateien nach %2$@ exportiert"
14216 }
14217 },
14218 "es": {
14219 "stringUnit": {
14220 "state": "translated",
14221 "value": "%1$lld archivos de agenda exportados a %2$@"
14222 }
14223 },
14224 "fr": {
14225 "stringUnit": {
14226 "state": "translated",
14227 "value": "%1$lld fichiers d'agenda exportés vers %2$@"
14228 }
14229 },
14230 "ja": {
14231 "stringUnit": {
14232 "state": "translated",
14233 "value": "%1$lld個のアジェンダファイルを%2$@に書き出しました"
14234 }
14235 },
14236 "pt-BR": {
14237 "stringUnit": {
14238 "state": "translated",
14239 "value": "%1$lld arquivos de agenda exportados para %2$@"
14240 }
14241 }
14242 }
14243 },
14244 "Exported %lld agenda files to iCalendar": {
14245 "localizations": {
14246 "de": {
14247 "stringUnit": {
14248 "state": "translated",
14249 "value": "%lld Agenda-Dateien nach iCalendar exportiert"
14250 }
14251 },
14252 "es": {
14253 "stringUnit": {
14254 "state": "translated",
14255 "value": "%lld archivos de agenda exportados a iCalendar"
14256 }
14257 },
14258 "fr": {
14259 "stringUnit": {
14260 "state": "translated",
14261 "value": "%lld fichiers d'agenda exportés en iCalendar"
14262 }
14263 },
14264 "ja": {
14265 "stringUnit": {
14266 "state": "translated",
14267 "value": "%lld個のアジェンダファイルをiCalendarに書き出しました"
14268 }
14269 },
14270 "pt-BR": {
14271 "stringUnit": {
14272 "state": "translated",
14273 "value": "%lld arquivos de agenda exportados para iCalendar"
14274 }
14275 }
14276 }
14277 },
14278 "Exporting to PDF…": {
14279 "localizations": {
14280 "de": {
14281 "stringUnit": {
14282 "state": "translated",
14283 "value": "Export als PDF …"
14284 }
14285 },
14286 "es": {
14287 "stringUnit": {
14288 "state": "translated",
14289 "value": "Exportando a PDF…"
14290 }
14291 },
14292 "fr": {
14293 "stringUnit": {
14294 "state": "translated",
14295 "value": "Exportation en PDF…"
14296 }
14297 },
14298 "ja": {
14299 "stringUnit": {
14300 "state": "translated",
14301 "value": "PDFに書き出し中…"
14302 }
14303 },
14304 "pt-BR": {
14305 "stringUnit": {
14306 "state": "translated",
14307 "value": "Exportando para PDF…"
14308 }
14309 }
14310 }
14311 },
14312 "Exporting with Emacs…": {
14313 "localizations": {
14314 "de": {
14315 "stringUnit": {
14316 "state": "translated",
14317 "value": "Export mit Emacs …"
14318 }
14319 },
14320 "es": {
14321 "stringUnit": {
14322 "state": "translated",
14323 "value": "Exportando con Emacs…"
14324 }
14325 },
14326 "fr": {
14327 "stringUnit": {
14328 "state": "translated",
14329 "value": "Exportation avec Emacs…"
14330 }
14331 },
14332 "ja": {
14333 "stringUnit": {
14334 "state": "translated",
14335 "value": "Emacsで書き出し中…"
14336 }
14337 },
14338 "pt-BR": {
14339 "stringUnit": {
14340 "state": "translated",
14341 "value": "Exportando com o Emacs…"
14342 }
14343 }
14344 }
14345 },
13178 "Export…": { 14346 "Export…": {
13179 "comment": "Command title", 14347 "comment": "Command title",
13180 "localizations": { 14348 "localizations": {
@@ -13278,6 +14446,41 @@
13278 } 14446 }
13279 } 14447 }
13280 }, 14448 },
14449 "File is not part of any known project": {
14450 "comment": "Echo area for Publish Current File, as org-publish says",
14451 "localizations": {
14452 "de": {
14453 "stringUnit": {
14454 "state": "translated",
14455 "value": "Die Datei gehört zu keinem bekannten Projekt"
14456 }
14457 },
14458 "es": {
14459 "stringUnit": {
14460 "state": "translated",
14461 "value": "El archivo no forma parte de ningún proyecto conocido"
14462 }
14463 },
14464 "fr": {
14465 "stringUnit": {
14466 "state": "translated",
14467 "value": "Le fichier ne fait partie d'aucun projet connu"
14468 }
14469 },
14470 "ja": {
14471 "stringUnit": {
14472 "state": "translated",
14473 "value": "ファイルはどの既知のプロジェクトにも含まれていません"
14474 }
14475 },
14476 "pt-BR": {
14477 "stringUnit": {
14478 "state": "translated",
14479 "value": "O arquivo não faz parte de nenhum projeto conhecido"
14480 }
14481 }
14482 }
14483 },
13281 "File names and the words of headings and their text.": { 14484 "File names and the words of headings and their text.": {
13282 "localizations": { 14485 "localizations": {
13283 "de": { 14486 "de": {
@@ -13312,6 +14515,40 @@
13312 } 14515 }
13313 } 14516 }
13314 }, 14517 },
14518 "File not written: %@": {
14519 "localizations": {
14520 "de": {
14521 "stringUnit": {
14522 "state": "translated",
14523 "value": "Datei nicht geschrieben: %@"
14524 }
14525 },
14526 "es": {
14527 "stringUnit": {
14528 "state": "translated",
14529 "value": "Archivo no escrito: %@"
14530 }
14531 },
14532 "fr": {
14533 "stringUnit": {
14534 "state": "translated",
14535 "value": "Fichier non écrit : %@"
14536 }
14537 },
14538 "ja": {
14539 "stringUnit": {
14540 "state": "translated",
14541 "value": "ファイルを書き込めませんでした:%@"
14542 }
14543 },
14544 "pt-BR": {
14545 "stringUnit": {
14546 "state": "translated",
14547 "value": "Arquivo não gravado: %@"
14548 }
14549 }
14550 }
14551 },
13315 "File ▸ Add Folder… (⇧⌘O)": { 14552 "File ▸ Add Folder… (⇧⌘O)": {
13316 "localizations": { 14553 "localizations": {
13317 "de": { 14554 "de": {
@@ -14897,6 +16134,41 @@
14897 } 16134 }
14898 } 16135 }
14899 }, 16136 },
16137 "Goto:": {
16138 "comment": "Echo area prompt for a refile target to go to",
16139 "localizations": {
16140 "de": {
16141 "stringUnit": {
16142 "state": "translated",
16143 "value": "Gehe zu:"
16144 }
16145 },
16146 "es": {
16147 "stringUnit": {
16148 "state": "translated",
16149 "value": "Ir a:"
16150 }
16151 },
16152 "fr": {
16153 "stringUnit": {
16154 "state": "translated",
16155 "value": "Aller à :"
16156 }
16157 },
16158 "ja": {
16159 "stringUnit": {
16160 "state": "translated",
16161 "value": "移動先:"
16162 }
16163 },
16164 "pt-BR": {
16165 "stringUnit": {
16166 "state": "translated",
16167 "value": "Ir para:"
16168 }
16169 }
16170 }
16171 },
14900 "Grant Access": { 16172 "Grant Access": {
14901 "comment": "Open panel button that gives orgstar access to a folder", 16173 "comment": "Open panel button that gives orgstar access to a folder",
14902 "localizations": { 16174 "localizations": {
@@ -17044,6 +18316,41 @@
17044 } 18316 }
17045 } 18317 }
17046 }, 18318 },
18319 "Invalid target location": {
18320 "comment": "Echo area: a refile target that doesn't exist",
18321 "localizations": {
18322 "de": {
18323 "stringUnit": {
18324 "state": "translated",
18325 "value": "Ungültiges Ziel"
18326 }
18327 },
18328 "es": {
18329 "stringUnit": {
18330 "state": "translated",
18331 "value": "Destino no válido"
18332 }
18333 },
18334 "fr": {
18335 "stringUnit": {
18336 "state": "translated",
18337 "value": "Destination non valide"
18338 }
18339 },
18340 "ja": {
18341 "stringUnit": {
18342 "state": "translated",
18343 "value": "無効な移動先です"
18344 }
18345 },
18346 "pt-BR": {
18347 "stringUnit": {
18348 "state": "translated",
18349 "value": "Destino inválido"
18350 }
18351 }
18352 }
18353 },
17047 "It isn't in one of your folders. Grant access to it to continue.": { 18354 "It isn't in one of your folders. Grant access to it to continue.": {
17048 "comment": "Alert for a folder outside the sidebar's folders", 18355 "comment": "Alert for a folder outside the sidebar's folders",
17049 "localizations": { 18356 "localizations": {
@@ -17319,6 +18626,40 @@
17319 } 18626 }
17320 } 18627 }
17321 }, 18628 },
18629 "Keymap reloaded": {
18630 "localizations": {
18631 "de": {
18632 "stringUnit": {
18633 "state": "translated",
18634 "value": "Tastenbelegung neu geladen"
18635 }
18636 },
18637 "es": {
18638 "stringUnit": {
18639 "state": "translated",
18640 "value": "Mapa de teclas recargado"
18641 }
18642 },
18643 "fr": {
18644 "stringUnit": {
18645 "state": "translated",
18646 "value": "Raccourcis rechargés"
18647 }
18648 },
18649 "ja": {
18650 "stringUnit": {
18651 "state": "translated",
18652 "value": "キーマップを再読み込みしました"
18653 }
18654 },
18655 "pt-BR": {
18656 "stringUnit": {
18657 "state": "translated",
18658 "value": "Mapa de teclas recarregado"
18659 }
18660 }
18661 }
18662 },
17322 "Keys": { 18663 "Keys": {
17323 "localizations": { 18664 "localizations": {
17324 "de": { 18665 "de": {
@@ -21457,6 +22798,40 @@
21457 } 22798 }
21458 } 22799 }
21459 }, 22800 },
22801 "No [[publish]] projects in config.toml": {
22802 "localizations": {
22803 "de": {
22804 "stringUnit": {
22805 "state": "translated",
22806 "value": "Keine [[publish]]-Projekte in config.toml"
22807 }
22808 },
22809 "es": {
22810 "stringUnit": {
22811 "state": "translated",
22812 "value": "No hay proyectos [[publish]] en config.toml"
22813 }
22814 },
22815 "fr": {
22816 "stringUnit": {
22817 "state": "translated",
22818 "value": "Aucun projet [[publish]] dans config.toml"
22819 }
22820 },
22821 "ja": {
22822 "stringUnit": {
22823 "state": "translated",
22824 "value": "config.tomlに[[publish]]プロジェクトがありません"
22825 }
22826 },
22827 "pt-BR": {
22828 "stringUnit": {
22829 "state": "translated",
22830 "value": "Nenhum projeto [[publish]] no config.toml"
22831 }
22832 }
22833 }
22834 },
21460 "No agenda files": { 22835 "No agenda files": {
21461 "localizations": { 22836 "localizations": {
21462 "de": { 22837 "de": {
@@ -21559,6 +22934,40 @@
21559 } 22934 }
21560 } 22935 }
21561 }, 22936 },
22937 "No buffers are open": {
22938 "localizations": {
22939 "de": {
22940 "stringUnit": {
22941 "state": "translated",
22942 "value": "Keine Puffer geöffnet"
22943 }
22944 },
22945 "es": {
22946 "stringUnit": {
22947 "state": "translated",
22948 "value": "No hay búferes abiertos"
22949 }
22950 },
22951 "fr": {
22952 "stringUnit": {
22953 "state": "translated",
22954 "value": "Aucun tampon ouvert"
22955 }
22956 },
22957 "ja": {
22958 "stringUnit": {
22959 "state": "translated",
22960 "value": "開いているバッファはありません"
22961 }
22962 },
22963 "pt-BR": {
22964 "stringUnit": {
22965 "state": "translated",
22966 "value": "Nenhum buffer aberto"
22967 }
22968 }
22969 }
22970 },
21562 "No calendars.": { 22971 "No calendars.": {
21563 "localizations": { 22972 "localizations": {
21564 "de": { 22973 "de": {
@@ -21729,6 +23138,75 @@
21729 } 23138 }
21730 } 23139 }
21731 }, 23140 },
23141 "No file %@": {
23142 "comment": "Echo area: a file typed at a prompt that doesn't exist",
23143 "localizations": {
23144 "de": {
23145 "stringUnit": {
23146 "state": "translated",
23147 "value": "Keine Datei %@"
23148 }
23149 },
23150 "es": {
23151 "stringUnit": {
23152 "state": "translated",
23153 "value": "No existe el archivo %@"
23154 }
23155 },
23156 "fr": {
23157 "stringUnit": {
23158 "state": "translated",
23159 "value": "Aucun fichier %@"
23160 }
23161 },
23162 "ja": {
23163 "stringUnit": {
23164 "state": "translated",
23165 "value": "ファイル%@はありません"
23166 }
23167 },
23168 "pt-BR": {
23169 "stringUnit": {
23170 "state": "translated",
23171 "value": "Nenhum arquivo %@"
23172 }
23173 }
23174 }
23175 },
23176 "No file is open": {
23177 "localizations": {
23178 "de": {
23179 "stringUnit": {
23180 "state": "translated",
23181 "value": "Keine Datei geöffnet"
23182 }
23183 },
23184 "es": {
23185 "stringUnit": {
23186 "state": "translated",
23187 "value": "No hay ningún archivo abierto"
23188 }
23189 },
23190 "fr": {
23191 "stringUnit": {
23192 "state": "translated",
23193 "value": "Aucun fichier ouvert"
23194 }
23195 },
23196 "ja": {
23197 "stringUnit": {
23198 "state": "translated",
23199 "value": "ファイルが開かれていません"
23200 }
23201 },
23202 "pt-BR": {
23203 "stringUnit": {
23204 "state": "translated",
23205 "value": "Nenhum arquivo aberto"
23206 }
23207 }
23208 }
23209 },
21732 "No folders": { 23210 "No folders": {
21733 "localizations": { 23211 "localizations": {
21734 "de": { 23212 "de": {
@@ -22002,6 +23480,40 @@
22002 } 23480 }
22003 } 23481 }
22004 }, 23482 },
23483 "No method for storing a link from this buffer": {
23484 "localizations": {
23485 "de": {
23486 "stringUnit": {
23487 "state": "translated",
23488 "value": "Aus diesem Puffer kann kein Link gespeichert werden"
23489 }
23490 },
23491 "es": {
23492 "stringUnit": {
23493 "state": "translated",
23494 "value": "No se puede guardar un enlace desde este búfer"
23495 }
23496 },
23497 "fr": {
23498 "stringUnit": {
23499 "state": "translated",
23500 "value": "Impossible d'enregistrer un lien depuis ce tampon"
23501 }
23502 },
23503 "ja": {
23504 "stringUnit": {
23505 "state": "translated",
23506 "value": "このバッファからリンクを保存できません"
23507 }
23508 },
23509 "pt-BR": {
23510 "stringUnit": {
23511 "state": "translated",
23512 "value": "Não é possível guardar um link deste buffer"
23513 }
23514 }
23515 }
23516 },
22005 "No notes match": { 23517 "No notes match": {
22006 "localizations": { 23518 "localizations": {
22007 "de": { 23519 "de": {
@@ -22138,6 +23650,40 @@
22138 } 23650 }
22139 } 23651 }
22140 }, 23652 },
23653 "No table at point": {
23654 "localizations": {
23655 "de": {
23656 "stringUnit": {
23657 "state": "translated",
23658 "value": "Keine Tabelle an der Einfügemarke"
23659 }
23660 },
23661 "es": {
23662 "stringUnit": {
23663 "state": "translated",
23664 "value": "No hay ninguna tabla en el punto de inserción"
23665 }
23666 },
23667 "fr": {
23668 "stringUnit": {
23669 "state": "translated",
23670 "value": "Aucun tableau au point d'insertion"
23671 }
23672 },
23673 "ja": {
23674 "stringUnit": {
23675 "state": "translated",
23676 "value": "キャレット位置に表がありません"
23677 }
23678 },
23679 "pt-BR": {
23680 "stringUnit": {
23681 "state": "translated",
23682 "value": "Nenhuma tabela no cursor"
23683 }
23684 }
23685 }
23686 },
22141 "Node Graph": { 23687 "Node Graph": {
22142 "localizations": { 23688 "localizations": {
22143 "de": { 23689 "de": {
@@ -22308,6 +23854,74 @@
22308 } 23854 }
22309 } 23855 }
22310 }, 23856 },
23857 "Not an encrypted entry": {
23858 "localizations": {
23859 "de": {
23860 "stringUnit": {
23861 "state": "translated",
23862 "value": "Kein verschlüsselter Eintrag"
23863 }
23864 },
23865 "es": {
23866 "stringUnit": {
23867 "state": "translated",
23868 "value": "No es una entrada cifrada"
23869 }
23870 },
23871 "fr": {
23872 "stringUnit": {
23873 "state": "translated",
23874 "value": "Ce n'est pas une entrée chiffrée"
23875 }
23876 },
23877 "ja": {
23878 "stringUnit": {
23879 "state": "translated",
23880 "value": "暗号化されたエントリではありません"
23881 }
23882 },
23883 "pt-BR": {
23884 "stringUnit": {
23885 "state": "translated",
23886 "value": "Não é uma entrada criptografada"
23887 }
23888 }
23889 }
23890 },
23891 "Not an org file": {
23892 "localizations": {
23893 "de": {
23894 "stringUnit": {
23895 "state": "translated",
23896 "value": "Keine Org-Datei"
23897 }
23898 },
23899 "es": {
23900 "stringUnit": {
23901 "state": "translated",
23902 "value": "No es un archivo Org"
23903 }
23904 },
23905 "fr": {
23906 "stringUnit": {
23907 "state": "translated",
23908 "value": "Ce n'est pas un fichier Org"
23909 }
23910 },
23911 "ja": {
23912 "stringUnit": {
23913 "state": "translated",
23914 "value": "Orgファイルではありません"
23915 }
23916 },
23917 "pt-BR": {
23918 "stringUnit": {
23919 "state": "translated",
23920 "value": "Não é um arquivo Org"
23921 }
23922 }
23923 }
23924 },
22311 "Not clocked in": { 23925 "Not clocked in": {
22312 "localizations": { 23926 "localizations": {
22313 "de": { 23927 "de": {
@@ -22478,6 +24092,108 @@
22478 } 24092 }
22479 } 24093 }
22480 }, 24094 },
24095 "Not in a subtree": {
24096 "localizations": {
24097 "de": {
24098 "stringUnit": {
24099 "state": "translated",
24100 "value": "Nicht in einem Teilbaum"
24101 }
24102 },
24103 "es": {
24104 "stringUnit": {
24105 "state": "translated",
24106 "value": "No está en un subárbol"
24107 }
24108 },
24109 "fr": {
24110 "stringUnit": {
24111 "state": "translated",
24112 "value": "Pas dans un sous-arbre"
24113 }
24114 },
24115 "ja": {
24116 "stringUnit": {
24117 "state": "translated",
24118 "value": "サブツリー内ではありません"
24119 }
24120 },
24121 "pt-BR": {
24122 "stringUnit": {
24123 "state": "translated",
24124 "value": "Fora de uma subárvore"
24125 }
24126 }
24127 }
24128 },
24129 "Not recalculated": {
24130 "localizations": {
24131 "de": {
24132 "stringUnit": {
24133 "state": "translated",
24134 "value": "Nicht neu berechnet"
24135 }
24136 },
24137 "es": {
24138 "stringUnit": {
24139 "state": "translated",
24140 "value": "No se ha recalculado"
24141 }
24142 },
24143 "fr": {
24144 "stringUnit": {
24145 "state": "translated",
24146 "value": "Non recalculé"
24147 }
24148 },
24149 "ja": {
24150 "stringUnit": {
24151 "state": "translated",
24152 "value": "再計算しませんでした"
24153 }
24154 },
24155 "pt-BR": {
24156 "stringUnit": {
24157 "state": "translated",
24158 "value": "Não recalculado"
24159 }
24160 }
24161 }
24162 },
24163 "Not run": {
24164 "localizations": {
24165 "de": {
24166 "stringUnit": {
24167 "state": "translated",
24168 "value": "Nicht ausgeführt"
24169 }
24170 },
24171 "es": {
24172 "stringUnit": {
24173 "state": "translated",
24174 "value": "No se ha ejecutado"
24175 }
24176 },
24177 "fr": {
24178 "stringUnit": {
24179 "state": "translated",
24180 "value": "Non exécuté"
24181 }
24182 },
24183 "ja": {
24184 "stringUnit": {
24185 "state": "translated",
24186 "value": "実行しませんでした"
24187 }
24188 },
24189 "pt-BR": {
24190 "stringUnit": {
24191 "state": "translated",
24192 "value": "Não executado"
24193 }
24194 }
24195 }
24196 },
22481 "Notes": { 24197 "Notes": {
22482 "localizations": { 24198 "localizations": {
22483 "de": { 24199 "de": {
@@ -22512,6 +24228,40 @@
22512 } 24228 }
22513 } 24229 }
22514 }, 24230 },
24231 "Nothing is running": {
24232 "localizations": {
24233 "de": {
24234 "stringUnit": {
24235 "state": "translated",
24236 "value": "Es läuft nichts"
24237 }
24238 },
24239 "es": {
24240 "stringUnit": {
24241 "state": "translated",
24242 "value": "No hay nada en ejecución"
24243 }
24244 },
24245 "fr": {
24246 "stringUnit": {
24247 "state": "translated",
24248 "value": "Rien n'est en cours"
24249 }
24250 },
24251 "ja": {
24252 "stringUnit": {
24253 "state": "translated",
24254 "value": "実行中の処理はありません"
24255 }
24256 },
24257 "pt-BR": {
24258 "stringUnit": {
24259 "state": "translated",
24260 "value": "Nada em execução"
24261 }
24262 }
24263 }
24264 },
22515 "Nothing left today": { 24265 "Nothing left today": {
22516 "localizations": { 24266 "localizations": {
22517 "de": { 24267 "de": {
@@ -24055,6 +25805,40 @@
24055 } 25805 }
24056 } 25806 }
24057 }, 25807 },
25808 "Passphrase forgotten for %@": {
25809 "localizations": {
25810 "de": {
25811 "stringUnit": {
25812 "state": "translated",
25813 "value": "Passphrase für %@ vergessen"
25814 }
25815 },
25816 "es": {
25817 "stringUnit": {
25818 "state": "translated",
25819 "value": "Frase de contraseña olvidada para %@"
25820 }
25821 },
25822 "fr": {
25823 "stringUnit": {
25824 "state": "translated",
25825 "value": "Phrase secrète oubliée pour %@"
25826 }
25827 },
25828 "ja": {
25829 "stringUnit": {
25830 "state": "translated",
25831 "value": "%@のパスフレーズを消去しました"
25832 }
25833 },
25834 "pt-BR": {
25835 "stringUnit": {
25836 "state": "translated",
25837 "value": "Frase secreta esquecida para %@"
25838 }
25839 }
25840 }
25841 },
24058 "Paste Subtree": { 25842 "Paste Subtree": {
24059 "comment": "Command title", 25843 "comment": "Command title",
24060 "localizations": { 25844 "localizations": {
@@ -24398,6 +26182,40 @@
24398 } 26182 }
24399 } 26183 }
24400 }, 26184 },
26185 "Plot written to %@": {
26186 "localizations": {
26187 "de": {
26188 "stringUnit": {
26189 "state": "translated",
26190 "value": "Diagramm nach %@ geschrieben"
26191 }
26192 },
26193 "es": {
26194 "stringUnit": {
26195 "state": "translated",
26196 "value": "Gráfico escrito en %@"
26197 }
26198 },
26199 "fr": {
26200 "stringUnit": {
26201 "state": "translated",
26202 "value": "Graphique écrit dans %@"
26203 }
26204 },
26205 "ja": {
26206 "stringUnit": {
26207 "state": "translated",
26208 "value": "グラフを%@に書き出しました"
26209 }
26210 },
26211 "pt-BR": {
26212 "stringUnit": {
26213 "state": "translated",
26214 "value": "Gráfico gravado em %@"
26215 }
26216 }
26217 }
26218 },
24401 "Plots": { 26219 "Plots": {
24402 "localizations": { 26220 "localizations": {
24403 "de": { 26221 "de": {
@@ -24432,6 +26250,40 @@
24432 } 26250 }
24433 } 26251 }
24434 }, 26252 },
26253 "Plotting with gnuplot…": {
26254 "localizations": {
26255 "de": {
26256 "stringUnit": {
26257 "state": "translated",
26258 "value": "Diagramm mit gnuplot …"
26259 }
26260 },
26261 "es": {
26262 "stringUnit": {
26263 "state": "translated",
26264 "value": "Dibujando con gnuplot…"
26265 }
26266 },
26267 "fr": {
26268 "stringUnit": {
26269 "state": "translated",
26270 "value": "Tracé avec gnuplot…"
26271 }
26272 },
26273 "ja": {
26274 "stringUnit": {
26275 "state": "translated",
26276 "value": "gnuplotで描画中…"
26277 }
26278 },
26279 "pt-BR": {
26280 "stringUnit": {
26281 "state": "translated",
26282 "value": "Plotando com o gnuplot…"
26283 }
26284 }
26285 }
26286 },
24435 "Power features and Apple integrations, on top of everything that stays free.": { 26287 "Power features and Apple integrations, on top of everything that stays free.": {
24436 "localizations": { 26288 "localizations": {
24437 "de": { 26289 "de": {
@@ -25471,6 +27323,109 @@
25471 } 27323 }
25472 } 27324 }
25473 }, 27325 },
27326 "Publish project:": {
27327 "comment": "Echo area prompt",
27328 "localizations": {
27329 "de": {
27330 "stringUnit": {
27331 "state": "translated",
27332 "value": "Projekt veröffentlichen:"
27333 }
27334 },
27335 "es": {
27336 "stringUnit": {
27337 "state": "translated",
27338 "value": "Publicar el proyecto:"
27339 }
27340 },
27341 "fr": {
27342 "stringUnit": {
27343 "state": "translated",
27344 "value": "Publier le projet :"
27345 }
27346 },
27347 "ja": {
27348 "stringUnit": {
27349 "state": "translated",
27350 "value": "公開するプロジェクト:"
27351 }
27352 },
27353 "pt-BR": {
27354 "stringUnit": {
27355 "state": "translated",
27356 "value": "Publicar projeto:"
27357 }
27358 }
27359 }
27360 },
27361 "Published %lld files": {
27362 "localizations": {
27363 "de": {
27364 "stringUnit": {
27365 "state": "translated",
27366 "value": "%lld Dateien veröffentlicht"
27367 }
27368 },
27369 "es": {
27370 "stringUnit": {
27371 "state": "translated",
27372 "value": "%lld archivos publicados"
27373 }
27374 },
27375 "fr": {
27376 "stringUnit": {
27377 "state": "translated",
27378 "value": "%lld fichiers publiés"
27379 }
27380 },
27381 "ja": {
27382 "stringUnit": {
27383 "state": "translated",
27384 "value": "%lld個のファイルを公開しました"
27385 }
27386 },
27387 "pt-BR": {
27388 "stringUnit": {
27389 "state": "translated",
27390 "value": "%lld arquivos publicados"
27391 }
27392 }
27393 }
27394 },
27395 "Published %lld files, %lld up to date": {
27396 "localizations": {
27397 "de": {
27398 "stringUnit": {
27399 "state": "translated",
27400 "value": "%1$lld Dateien veröffentlicht, %2$lld aktuell"
27401 }
27402 },
27403 "es": {
27404 "stringUnit": {
27405 "state": "translated",
27406 "value": "%1$lld archivos publicados, %2$lld al día"
27407 }
27408 },
27409 "fr": {
27410 "stringUnit": {
27411 "state": "translated",
27412 "value": "%1$lld fichiers publiés, %2$lld à jour"
27413 }
27414 },
27415 "ja": {
27416 "stringUnit": {
27417 "state": "translated",
27418 "value": "%1$lld個のファイルを公開しました(%2$lld個は最新)"
27419 }
27420 },
27421 "pt-BR": {
27422 "stringUnit": {
27423 "state": "translated",
27424 "value": "%1$lld arquivos publicados, %2$lld atualizados"
27425 }
27426 }
27427 }
27428 },
25474 "Quick Open…": { 27429 "Quick Open…": {
25475 "comment": "Command title", 27430 "comment": "Command title",
25476 "localizations": { 27431 "localizations": {
@@ -25713,6 +27668,41 @@
25713 } 27668 }
25714 } 27669 }
25715 }, 27670 },
27671 "Read-only": {
27672 "comment": "Modeline: the file can't be saved",
27673 "localizations": {
27674 "de": {
27675 "stringUnit": {
27676 "state": "translated",
27677 "value": "Schreibgeschützt"
27678 }
27679 },
27680 "es": {
27681 "stringUnit": {
27682 "state": "translated",
27683 "value": "Solo lectura"
27684 }
27685 },
27686 "fr": {
27687 "stringUnit": {
27688 "state": "translated",
27689 "value": "Lecture seule"
27690 }
27691 },
27692 "ja": {
27693 "stringUnit": {
27694 "state": "translated",
27695 "value": "読み出し専用"
27696 }
27697 },
27698 "pt-BR": {
27699 "stringUnit": {
27700 "state": "translated",
27701 "value": "Somente leitura"
27702 }
27703 }
27704 }
27705 },
25716 "Read-only: not UTF-8": { 27706 "Read-only: not UTF-8": {
25717 "localizations": { 27707 "localizations": {
25718 "de": { 27708 "de": {
@@ -26127,6 +28117,41 @@
26127 } 28117 }
26128 } 28118 }
26129 }, 28119 },
28120 "Refile to:": {
28121 "comment": "Echo area prompt for a refile target",
28122 "localizations": {
28123 "de": {
28124 "stringUnit": {
28125 "state": "translated",
28126 "value": "Verschieben nach:"
28127 }
28128 },
28129 "es": {
28130 "stringUnit": {
28131 "state": "translated",
28132 "value": "Reubicar en:"
28133 }
28134 },
28135 "fr": {
28136 "stringUnit": {
28137 "state": "translated",
28138 "value": "Reclasser vers :"
28139 }
28140 },
28141 "ja": {
28142 "stringUnit": {
28143 "state": "translated",
28144 "value": "移動先:"
28145 }
28146 },
28147 "pt-BR": {
28148 "stringUnit": {
28149 "state": "translated",
28150 "value": "Realocar em:"
28151 }
28152 }
28153 }
28154 },
26130 "Refile…": { 28155 "Refile…": {
26131 "comment": "Command title", 28156 "comment": "Command title",
26132 "localizations": { 28157 "localizations": {
@@ -27433,6 +29458,40 @@
27433 } 29458 }
27434 } 29459 }
27435 }, 29460 },
29461 "Reverted to the file on disk": {
29462 "localizations": {
29463 "de": {
29464 "stringUnit": {
29465 "state": "translated",
29466 "value": "Auf die Datei auf der Festplatte zurückgesetzt"
29467 }
29468 },
29469 "es": {
29470 "stringUnit": {
29471 "state": "translated",
29472 "value": "Se ha vuelto al archivo del disco"
29473 }
29474 },
29475 "fr": {
29476 "stringUnit": {
29477 "state": "translated",
29478 "value": "Rétabli à partir du fichier sur le disque"
29479 }
29480 },
29481 "ja": {
29482 "stringUnit": {
29483 "state": "translated",
29484 "value": "ディスク上のファイルに戻しました"
29485 }
29486 },
29487 "pt-BR": {
29488 "stringUnit": {
29489 "state": "translated",
29490 "value": "Revertido para o arquivo no disco"
29491 }
29492 }
29493 }
29494 },
27436 "Right Option": { 29495 "Right Option": {
27437 "localizations": { 29496 "localizations": {
27438 "de": { 29497 "de": {
@@ -27604,6 +29663,75 @@
27604 } 29663 }
27605 } 29664 }
27606 }, 29665 },
29666 "Run this %@ block? (%@)": {
29667 "comment": "Echo area prompt: the block's language, then the answers it accepts (yes, no, always), which stay in English",
29668 "localizations": {
29669 "de": {
29670 "stringUnit": {
29671 "state": "translated",
29672 "value": "Diesen %1$@-Block ausführen? (%2$@)"
29673 }
29674 },
29675 "es": {
29676 "stringUnit": {
29677 "state": "translated",
29678 "value": "¿Ejecutar este bloque de %1$@? (%2$@)"
29679 }
29680 },
29681 "fr": {
29682 "stringUnit": {
29683 "state": "translated",
29684 "value": "Exécuter ce bloc %1$@ ? (%2$@)"
29685 }
29686 },
29687 "ja": {
29688 "stringUnit": {
29689 "state": "translated",
29690 "value": "この%1$@ブロックを実行しますか?(%2$@)"
29691 }
29692 },
29693 "pt-BR": {
29694 "stringUnit": {
29695 "state": "translated",
29696 "value": "Executar este bloco de %1$@? (%2$@)"
29697 }
29698 }
29699 }
29700 },
29701 "Running %@ block… (⌘. to cancel)": {
29702 "localizations": {
29703 "de": {
29704 "stringUnit": {
29705 "state": "translated",
29706 "value": "%@-Block wird ausgeführt … (⌘. zum Abbrechen)"
29707 }
29708 },
29709 "es": {
29710 "stringUnit": {
29711 "state": "translated",
29712 "value": "Ejecutando el bloque de %@… (⌘. para cancelar)"
29713 }
29714 },
29715 "fr": {
29716 "stringUnit": {
29717 "state": "translated",
29718 "value": "Exécution du bloc %@… (⌘. pour annuler)"
29719 }
29720 },
29721 "ja": {
29722 "stringUnit": {
29723 "state": "translated",
29724 "value": "%@ブロックを実行中…(⌘.でキャンセル)"
29725 }
29726 },
29727 "pt-BR": {
29728 "stringUnit": {
29729 "state": "translated",
29730 "value": "Executando bloco de %@… (⌘. para cancelar)"
29731 }
29732 }
29733 }
29734 },
27607 "S: %@": { 29735 "S: %@": {
27608 "localizations": { 29736 "localizations": {
27609 "de": { 29737 "de": {
@@ -27948,6 +30076,108 @@
27948 } 30076 }
27949 } 30077 }
27950 }, 30078 },
30079 "Save changes to %@?": {
30080 "localizations": {
30081 "de": {
30082 "stringUnit": {
30083 "state": "translated",
30084 "value": "Änderungen an „%@“ sichern?"
30085 }
30086 },
30087 "es": {
30088 "stringUnit": {
30089 "state": "translated",
30090 "value": "¿Guardar los cambios en «%@»?"
30091 }
30092 },
30093 "fr": {
30094 "stringUnit": {
30095 "state": "translated",
30096 "value": "Enregistrer les modifications de « %@ » ?"
30097 }
30098 },
30099 "ja": {
30100 "stringUnit": {
30101 "state": "translated",
30102 "value": "“%@”への変更を保存しますか?"
30103 }
30104 },
30105 "pt-BR": {
30106 "stringUnit": {
30107 "state": "translated",
30108 "value": "Salvar as alterações em \"%@\"?"
30109 }
30110 }
30111 }
30112 },
30113 "Save changes to %lld files?": {
30114 "localizations": {
30115 "de": {
30116 "stringUnit": {
30117 "state": "translated",
30118 "value": "Änderungen an %lld Dateien sichern?"
30119 }
30120 },
30121 "es": {
30122 "stringUnit": {
30123 "state": "translated",
30124 "value": "¿Guardar los cambios en %lld archivos?"
30125 }
30126 },
30127 "fr": {
30128 "stringUnit": {
30129 "state": "translated",
30130 "value": "Enregistrer les modifications de %lld fichiers ?"
30131 }
30132 },
30133 "ja": {
30134 "stringUnit": {
30135 "state": "translated",
30136 "value": "%lld個のファイルへの変更を保存しますか?"
30137 }
30138 },
30139 "pt-BR": {
30140 "stringUnit": {
30141 "state": "translated",
30142 "value": "Salvar as alterações em %lld arquivos?"
30143 }
30144 }
30145 }
30146 },
30147 "Save changes to this file?": {
30148 "localizations": {
30149 "de": {
30150 "stringUnit": {
30151 "state": "translated",
30152 "value": "Änderungen an dieser Datei sichern?"
30153 }
30154 },
30155 "es": {
30156 "stringUnit": {
30157 "state": "translated",
30158 "value": "¿Guardar los cambios en este archivo?"
30159 }
30160 },
30161 "fr": {
30162 "stringUnit": {
30163 "state": "translated",
30164 "value": "Enregistrer les modifications de ce fichier ?"
30165 }
30166 },
30167 "ja": {
30168 "stringUnit": {
30169 "state": "translated",
30170 "value": "このファイルへの変更を保存しますか?"
30171 }
30172 },
30173 "pt-BR": {
30174 "stringUnit": {
30175 "state": "translated",
30176 "value": "Salvar as alterações neste arquivo?"
30177 }
30178 }
30179 }
30180 },
27951 "Save files": { 30181 "Save files": {
27952 "localizations": { 30182 "localizations": {
27953 "de": { 30183 "de": {
@@ -28423,178 +30653,213 @@
28423 "pt-BR": { 30653 "pt-BR": {
28424 "stringUnit": { 30654 "stringUnit": {
28425 "state": "translated", 30655 "state": "translated",
28426 "value": "Buscar nas Notas" 30656 "value": "Buscar nas Notas"
30657 }
30658 }
30659 }
30660 },
30661 "Search notes": {
30662 "localizations": {
30663 "de": {
30664 "stringUnit": {
30665 "state": "translated",
30666 "value": "Notizen durchsuchen"
30667 }
30668 },
30669 "es": {
30670 "stringUnit": {
30671 "state": "translated",
30672 "value": "Buscar en notas"
30673 }
30674 },
30675 "fr": {
30676 "stringUnit": {
30677 "state": "translated",
30678 "value": "Rechercher dans les notes"
30679 }
30680 },
30681 "ja": {
30682 "stringUnit": {
30683 "state": "translated",
30684 "value": "メモを検索"
30685 }
30686 },
30687 "pt-BR": {
30688 "stringUnit": {
30689 "state": "translated",
30690 "value": "Buscar nas notas"
28427 } 30691 }
28428 } 30692 }
28429 } 30693 }
28430 }, 30694 },
28431 "Search notes": { 30695 "Search…": {
28432 "localizations": { 30696 "localizations": {
28433 "de": { 30697 "de": {
28434 "stringUnit": { 30698 "stringUnit": {
28435 "state": "translated", 30699 "state": "translated",
28436 "value": "Notizen durchsuchen" 30700 "value": "Suchen …"
28437 } 30701 }
28438 }, 30702 },
28439 "es": { 30703 "es": {
28440 "stringUnit": { 30704 "stringUnit": {
28441 "state": "translated", 30705 "state": "translated",
28442 "value": "Buscar en notas" 30706 "value": "Buscar…"
28443 } 30707 }
28444 }, 30708 },
28445 "fr": { 30709 "fr": {
28446 "stringUnit": { 30710 "stringUnit": {
28447 "state": "translated", 30711 "state": "translated",
28448 "value": "Rechercher dans les notes" 30712 "value": "Rechercher…"
28449 } 30713 }
28450 }, 30714 },
28451 "ja": { 30715 "ja": {
28452 "stringUnit": { 30716 "stringUnit": {
28453 "state": "translated", 30717 "state": "translated",
28454 "value": "メモを検索" 30718 "value": "検索…"
28455 } 30719 }
28456 }, 30720 },
28457 "pt-BR": { 30721 "pt-BR": {
28458 "stringUnit": { 30722 "stringUnit": {
28459 "state": "translated", 30723 "state": "translated",
28460 "value": "Buscar nas notas" 30724 "value": "Buscar…"
28461 } 30725 }
28462 } 30726 }
28463 } 30727 }
28464 }, 30728 },
28465 "Search…": { 30729 "Select": {
28466 "localizations": { 30730 "localizations": {
28467 "de": { 30731 "de": {
28468 "stringUnit": { 30732 "stringUnit": {
28469 "state": "translated", 30733 "state": "translated",
28470 "value": "Suchen …" 30734 "value": "Auswählen"
28471 } 30735 }
28472 }, 30736 },
28473 "es": { 30737 "es": {
28474 "stringUnit": { 30738 "stringUnit": {
28475 "state": "translated", 30739 "state": "translated",
28476 "value": "Buscar…" 30740 "value": "Seleccionar"
28477 } 30741 }
28478 }, 30742 },
28479 "fr": { 30743 "fr": {
28480 "stringUnit": { 30744 "stringUnit": {
28481 "state": "translated", 30745 "state": "translated",
28482 "value": "Rechercher…" 30746 "value": "Sélectionner"
28483 } 30747 }
28484 }, 30748 },
28485 "ja": { 30749 "ja": {
28486 "stringUnit": { 30750 "stringUnit": {
28487 "state": "translated", 30751 "state": "translated",
28488 "value": "検索…" 30752 "value": "選択"
28489 } 30753 }
28490 }, 30754 },
28491 "pt-BR": { 30755 "pt-BR": {
28492 "stringUnit": { 30756 "stringUnit": {
28493 "state": "translated", 30757 "state": "translated",
28494 "value": "Buscar…" 30758 "value": "Selecionar"
28495 } 30759 }
28496 } 30760 }
28497 } 30761 }
28498 }, 30762 },
28499 "Select": { 30763 "Select All": {
30764 "comment": "Command title",
28500 "localizations": { 30765 "localizations": {
28501 "de": { 30766 "de": {
28502 "stringUnit": { 30767 "stringUnit": {
28503 "state": "translated", 30768 "state": "translated",
28504 "value": "Auswählen" 30769 "value": "Alles auswählen"
28505 } 30770 }
28506 }, 30771 },
28507 "es": { 30772 "es": {
28508 "stringUnit": { 30773 "stringUnit": {
28509 "state": "translated", 30774 "state": "translated",
28510 "value": "Seleccionar" 30775 "value": "Seleccionar todo"
28511 } 30776 }
28512 }, 30777 },
28513 "fr": { 30778 "fr": {
28514 "stringUnit": { 30779 "stringUnit": {
28515 "state": "translated", 30780 "state": "translated",
28516 "value": "Sélectionner" 30781 "value": "Tout sélectionner"
28517 } 30782 }
28518 }, 30783 },
28519 "ja": { 30784 "ja": {
28520 "stringUnit": { 30785 "stringUnit": {
28521 "state": "translated", 30786 "state": "translated",
28522 "value": "選択" 30787 "value": "すべてを選択"
28523 } 30788 }
28524 }, 30789 },
28525 "pt-BR": { 30790 "pt-BR": {
28526 "stringUnit": { 30791 "stringUnit": {
28527 "state": "translated", 30792 "state": "translated",
28528 "value": "Selecionar" 30793 "value": "Selecionar Tudo"
28529 } 30794 }
28530 } 30795 }
28531 } 30796 }
28532 }, 30797 },
28533 "Select All": { 30798 "Selection (count-words-region)": {
28534 "comment": "Command title",
28535 "localizations": { 30799 "localizations": {
28536 "de": { 30800 "de": {
28537 "stringUnit": { 30801 "stringUnit": {
28538 "state": "translated", 30802 "state": "translated",
28539 "value": "Alles auswählen" 30803 "value": "Auswahl (count-words-region)"
28540 } 30804 }
28541 }, 30805 },
28542 "es": { 30806 "es": {
28543 "stringUnit": { 30807 "stringUnit": {
28544 "state": "translated", 30808 "state": "translated",
28545 "value": "Seleccionar todo" 30809 "value": "Selección (count-words-region)"
28546 } 30810 }
28547 }, 30811 },
28548 "fr": { 30812 "fr": {
28549 "stringUnit": { 30813 "stringUnit": {
28550 "state": "translated", 30814 "state": "translated",
28551 "value": "Tout sélectionner" 30815 "value": "Sélection (count-words-region)"
28552 } 30816 }
28553 }, 30817 },
28554 "ja": { 30818 "ja": {
28555 "stringUnit": { 30819 "stringUnit": {
28556 "state": "translated", 30820 "state": "translated",
28557 "value": "すべてを選択" 30821 "value": "選択範囲(count-words-region)"
28558 } 30822 }
28559 }, 30823 },
28560 "pt-BR": { 30824 "pt-BR": {
28561 "stringUnit": { 30825 "stringUnit": {
28562 "state": "translated", 30826 "state": "translated",
28563 "value": "Selecionar Tudo" 30827 "value": "Seleção (count-words-region)"
28564 } 30828 }
28565 } 30829 }
28566 } 30830 }
28567 }, 30831 },
28568 "Selection (count-words-region)": { 30832 "Selection: %@": {
30833 "comment": "Modeline word count menu: the selection's words and characters",
28569 "localizations": { 30834 "localizations": {
28570 "de": { 30835 "de": {
28571 "stringUnit": { 30836 "stringUnit": {
28572 "state": "translated", 30837 "state": "translated",
28573 "value": "Auswahl (count-words-region)" 30838 "value": "Auswahl: %@"
28574 } 30839 }
28575 }, 30840 },
28576 "es": { 30841 "es": {
28577 "stringUnit": { 30842 "stringUnit": {
28578 "state": "translated", 30843 "state": "translated",
28579 "value": "Selección (count-words-region)" 30844 "value": "Selección: %@"
28580 } 30845 }
28581 }, 30846 },
28582 "fr": { 30847 "fr": {
28583 "stringUnit": { 30848 "stringUnit": {
28584 "state": "translated", 30849 "state": "translated",
28585 "value": "Sélection (count-words-region)" 30850 "value": "Sélection : %@"
28586 } 30851 }
28587 }, 30852 },
28588 "ja": { 30853 "ja": {
28589 "stringUnit": { 30854 "stringUnit": {
28590 "state": "translated", 30855 "state": "translated",
28591 "value": "選択範囲(count-words-region)" 30856 "value": "選択範囲:%@"
28592 } 30857 }
28593 }, 30858 },
28594 "pt-BR": { 30859 "pt-BR": {
28595 "stringUnit": { 30860 "stringUnit": {
28596 "state": "translated", 30861 "state": "translated",
28597 "value": "Seleção (count-words-region)" 30862 "value": "Seleção: %@"
28598 } 30863 }
28599 } 30864 }
28600 } 30865 }
@@ -32185,6 +34450,41 @@
32185 } 34450 }
32186 } 34451 }
32187 }, 34452 },
34453 "Switch to buffer:": {
34454 "comment": "Echo area prompt",
34455 "localizations": {
34456 "de": {
34457 "stringUnit": {
34458 "state": "translated",
34459 "value": "Zu Puffer wechseln:"
34460 }
34461 },
34462 "es": {
34463 "stringUnit": {
34464 "state": "translated",
34465 "value": "Cambiar al búfer:"
34466 }
34467 },
34468 "fr": {
34469 "stringUnit": {
34470 "state": "translated",
34471 "value": "Basculer vers le tampon :"
34472 }
34473 },
34474 "ja": {
34475 "stringUnit": {
34476 "state": "translated",
34477 "value": "切り替えるバッファ:"
34478 }
34479 },
34480 "pt-BR": {
34481 "stringUnit": {
34482 "state": "translated",
34483 "value": "Mudar para o buffer:"
34484 }
34485 }
34486 }
34487 },
32188 "Sync Attachments": { 34488 "Sync Attachments": {
32189 "comment": "Command title", 34489 "comment": "Command title",
32190 "localizations": { 34490 "localizations": {
@@ -33453,6 +35753,40 @@
33453 } 35753 }
33454 } 35754 }
33455 }, 35755 },
35756 "The clipboard is empty": {
35757 "localizations": {
35758 "de": {
35759 "stringUnit": {
35760 "state": "translated",
35761 "value": "Die Zwischenablage ist leer"
35762 }
35763 },
35764 "es": {
35765 "stringUnit": {
35766 "state": "translated",
35767 "value": "El portapapeles está vacío"
35768 }
35769 },
35770 "fr": {
35771 "stringUnit": {
35772 "state": "translated",
35773 "value": "Le presse-papiers est vide"
35774 }
35775 },
35776 "ja": {
35777 "stringUnit": {
35778 "state": "translated",
35779 "value": "クリップボードは空です"
35780 }
35781 },
35782 "pt-BR": {
35783 "stringUnit": {
35784 "state": "translated",
35785 "value": "A área de transferência está vazia"
35786 }
35787 }
35788 }
35789 },
33456 "The empty folder is removed from disk and from orgstar.": { 35790 "The empty folder is removed from disk and from orgstar.": {
33457 "localizations": { 35791 "localizations": {
33458 "de": { 35792 "de": {
@@ -33521,6 +35855,40 @@
33521 } 35855 }
33522 } 35856 }
33523 }, 35857 },
35858 "The entry is encrypted already": {
35859 "localizations": {
35860 "de": {
35861 "stringUnit": {
35862 "state": "translated",
35863 "value": "Der Eintrag ist bereits verschlüsselt"
35864 }
35865 },
35866 "es": {
35867 "stringUnit": {
35868 "state": "translated",
35869 "value": "La entrada ya está cifrada"
35870 }
35871 },
35872 "fr": {
35873 "stringUnit": {
35874 "state": "translated",
35875 "value": "L'entrée est déjà chiffrée"
35876 }
35877 },
35878 "ja": {
35879 "stringUnit": {
35880 "state": "translated",
35881 "value": "このエントリはすでに暗号化されています"
35882 }
35883 },
35884 "pt-BR": {
35885 "stringUnit": {
35886 "state": "translated",
35887 "value": "A entrada já está criptografada"
35888 }
35889 }
35890 }
35891 },
33524 "The export's own": { 35892 "The export's own": {
33525 "localizations": { 35893 "localizations": {
33526 "de": { 35894 "de": {
@@ -34135,6 +36503,41 @@
34135 } 36503 }
34136 } 36504 }
34137 }, 36505 },
36506 "This Week": {
36507 "comment": "Inspector: clocked time this week",
36508 "localizations": {
36509 "de": {
36510 "stringUnit": {
36511 "state": "translated",
36512 "value": "Diese Woche"
36513 }
36514 },
36515 "es": {
36516 "stringUnit": {
36517 "state": "translated",
36518 "value": "Esta semana"
36519 }
36520 },
36521 "fr": {
36522 "stringUnit": {
36523 "state": "translated",
36524 "value": "Cette semaine"
36525 }
36526 },
36527 "ja": {
36528 "stringUnit": {
36529 "state": "translated",
36530 "value": "今週"
36531 }
36532 },
36533 "pt-BR": {
36534 "stringUnit": {
36535 "state": "translated",
36536 "value": "Esta Semana"
36537 }
36538 }
36539 }
36540 },
34138 "This calc block can't be calculated here: %@.": { 36541 "This calc block can't be calculated here: %@.": {
34139 "comment": "A calc block orgstar can't calculate", 36542 "comment": "A calc block orgstar can't calculate",
34140 "localizations": { 36543 "localizations": {
@@ -34345,6 +36748,76 @@
34345 } 36748 }
34346 } 36749 }
34347 }, 36750 },
36751 "This table's formulas run Lisp and source blocks. Run them? (yes, no)": {
36752 "comment": "Echo area prompt; the answers yes and no stay in English",
36753 "localizations": {
36754 "de": {
36755 "stringUnit": {
36756 "state": "translated",
36757 "value": "Die Formeln dieser Tabelle führen Lisp und Quellblöcke aus. Ausführen? (yes, no)"
36758 }
36759 },
36760 "es": {
36761 "stringUnit": {
36762 "state": "translated",
36763 "value": "Las fórmulas de esta tabla ejecutan Lisp y bloques de código. ¿Ejecutarlas? (yes, no)"
36764 }
36765 },
36766 "fr": {
36767 "stringUnit": {
36768 "state": "translated",
36769 "value": "Les formules de ce tableau exécutent du Lisp et des blocs de code. Les exécuter ? (yes, no)"
36770 }
36771 },
36772 "ja": {
36773 "stringUnit": {
36774 "state": "translated",
36775 "value": "この表の数式はLispとソースブロックを実行します。実行しますか?(yes, no)"
36776 }
36777 },
36778 "pt-BR": {
36779 "stringUnit": {
36780 "state": "translated",
36781 "value": "As fórmulas desta tabela executam Lisp e blocos de código. Executá-las? (yes, no)"
36782 }
36783 }
36784 }
36785 },
36786 "This table's formulas run Lisp. Run them? (yes, no, always)": {
36787 "comment": "Echo area prompt; the answers yes, no and always stay in English",
36788 "localizations": {
36789 "de": {
36790 "stringUnit": {
36791 "state": "translated",
36792 "value": "Die Formeln dieser Tabelle führen Lisp aus. Ausführen? (yes, no, always)"
36793 }
36794 },
36795 "es": {
36796 "stringUnit": {
36797 "state": "translated",
36798 "value": "Las fórmulas de esta tabla ejecutan Lisp. ¿Ejecutarlas? (yes, no, always)"
36799 }
36800 },
36801 "fr": {
36802 "stringUnit": {
36803 "state": "translated",
36804 "value": "Les formules de ce tableau exécutent du Lisp. Les exécuter ? (yes, no, always)"
36805 }
36806 },
36807 "ja": {
36808 "stringUnit": {
36809 "state": "translated",
36810 "value": "この表の数式はLispを実行します。実行しますか?(yes, no, always)"
36811 }
36812 },
36813 "pt-BR": {
36814 "stringUnit": {
36815 "state": "translated",
36816 "value": "As fórmulas desta tabela executam Lisp. Executá-las? (yes, no, always)"
36817 }
36818 }
36819 }
36820 },
34348 "This view can't be saved from here; write it in views.toml.": { 36821 "This view can't be saved from here; write it in views.toml.": {
34349 "localizations": { 36822 "localizations": {
34350 "de": { 36823 "de": {
@@ -37030,6 +39503,40 @@
37030 } 39503 }
37031 } 39504 }
37032 }, 39505 },
39506 "Your changes will be lost if you don't save them.": {
39507 "localizations": {
39508 "de": {
39509 "stringUnit": {
39510 "state": "translated",
39511 "value": "Deine Änderungen gehen verloren, wenn du sie nicht sicherst."
39512 }
39513 },
39514 "es": {
39515 "stringUnit": {
39516 "state": "translated",
39517 "value": "Si no guardas los cambios, se perderán."
39518 }
39519 },
39520 "fr": {
39521 "stringUnit": {
39522 "state": "translated",
39523 "value": "Vos modifications seront perdues si vous ne les enregistrez pas."
39524 }
39525 },
39526 "ja": {
39527 "stringUnit": {
39528 "state": "translated",
39529 "value": "保存しないと変更内容は失われます。"
39530 }
39531 },
39532 "pt-BR": {
39533 "stringUnit": {
39534 "state": "translated",
39535 "value": "Suas alterações serão perdidas se você não as salvar."
39536 }
39537 }
39538 }
39539 },
37033 "Your habits and how consistently you've kept them.": { 39540 "Your habits and how consistently you've kept them.": {
37034 "localizations": { 39541 "localizations": {
37035 "de": { 39542 "de": {
@@ -39762,6 +42269,40 @@
39762 } 42269 }
39763 } 42270 }
39764 }, 42271 },
42272 "orgstar handles org-protocol capture and store-link": {
42273 "localizations": {
42274 "de": {
42275 "stringUnit": {
42276 "state": "translated",
42277 "value": "orgstar verarbeitet die org-protocol-Aktionen capture und store-link"
42278 }
42279 },
42280 "es": {
42281 "stringUnit": {
42282 "state": "translated",
42283 "value": "orgstar gestiona las acciones capture y store-link de org-protocol"
42284 }
42285 },
42286 "fr": {
42287 "stringUnit": {
42288 "state": "translated",
42289 "value": "orgstar prend en charge les actions capture et store-link d'org-protocol"
42290 }
42291 },
42292 "ja": {
42293 "stringUnit": {
42294 "state": "translated",
42295 "value": "orgstarが扱うorg-protocolはcaptureとstore-linkです"
42296 }
42297 },
42298 "pt-BR": {
42299 "stringUnit": {
42300 "state": "translated",
42301 "value": "O orgstar trata as ações capture e store-link do org-protocol"
42302 }
42303 }
42304 }
42305 },
39765 "orgstar in the menu bar": { 42306 "orgstar in the menu bar": {
39766 "localizations": { 42307 "localizations": {
39767 "de": { 42308 "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