Code-Ersetzung mit Teams (TXT-Import, nur neue Spieler nachladen, Auto-Reload), Codes ohne Trennzeichen, Cursor bleibt stehen; Auswerfen per diskutil mit Wiederholung direkt nach dem Kopieren
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012bGzgsxrmbBhDzeMV2L57D
This commit is contained in:
1 parent
d39db536a0
commit
25729ebfe3
10 files changed
+615
-134
No files matched your search
@@ -273,21 +273,12 @@ struct LightroomSettingsView: View {
|
||||
|
||||
struct CodesSettings: View {
|
||||
@EnvironmentObject var state: AppState
|
||||
@State private var testInput = "\\bvb\\ gegen \\s04\\"
|
||||
|
||||
var body: some View {
|
||||
Form {
|
||||
Section("Code-Ersetzung (wie Photo Mechanic)") {
|
||||
HStack {
|
||||
Text("\(state.codes.table.count) Codes geladen")
|
||||
Spacer()
|
||||
Button("Datei laden …") { state.importCodeReplacements() }
|
||||
Button("Leeren") { state.codes = CodeReplacements() }
|
||||
}
|
||||
Text("Tab-getrennte Textdatei: Code ⇥ Ersetzung ⇥ weitere Spalten. Im Text: \\code\\ oder \\code#2\\ für Spalte 2.")
|
||||
.font(.caption).foregroundStyle(.secondary)
|
||||
TextField("Test", text: $testInput)
|
||||
Text(state.codes.expand(testInput)).font(.callout).textSelection(.enabled)
|
||||
Section("Code-Ersetzung") {
|
||||
Text("\(state.codeLibrary.sets.filter(\.enabled).count) von \(state.codeLibrary.sets.count) Teams aktiv · \(state.codes.table.count) Codes")
|
||||
Button("Code-Ersetzungen öffnen … (⌘⇧K)") { state.openWindow("codes") }
|
||||
}
|
||||
}
|
||||
.formStyle(.grouped)
|
||||
|
||||
Reference in new issue
Block a user