Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Crisp/Resources/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,16 @@
"%lld%%" : {
"shouldTranslate" : false
},
"Stays disconnected until you reconnect it here." : {
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "将保持断开,直到你在这里重新连接。"
}
}
}
},
"×" : {
"shouldTranslate" : false
},
Expand Down
11 changes: 11 additions & 0 deletions Crisp/Views/PhysicalDisplayToggleView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ struct DisconnectDisplayRow: View {
}
}

// The disconnect outlives a replug and a reboot (see
// PhysicalDisplayToggleService.reconcile), and a display that is switched off
// at the window server shows no signal and is absent from System Settings, so
// there is nothing outside this menu to say what happened to it. Said here,
// where the choice is made, rather than left to be rediscovered later.
Text("Stays disconnected until you reconnect it here.")
.font(.caption)
.foregroundColor(.secondary)
.padding(.horizontal, 12)
.padding(.bottom, 4)

if let msg = errorMessage {
Text(msg)
.font(.caption)
Expand Down
Loading