mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Lowercase version of BackendVtable's displayname.
The current 'displayname' field is designed for presenting in the config UI, so it starts with a capital letter even when it's not a proper noun. If I want to name the backend in the middle of a sentence, I'll need a version that starts with lowercase where appropriate. The old field is renamed displayname_tc, to avoid ambiguity.
This commit is contained in:
@ -1248,7 +1248,8 @@ const BackendVtable ssh_backend = {
|
||||
.test_for_upstream = ssh_test_for_upstream,
|
||||
.close_warn_text = ssh_close_warn_text,
|
||||
.id = "ssh",
|
||||
.displayname = "SSH",
|
||||
.displayname_tc = "SSH",
|
||||
.displayname_lc = "SSH", /* proper name, so capitalise it anyway */
|
||||
.protocol = PROT_SSH,
|
||||
.flags = BACKEND_SUPPORTS_NC_HOST | BACKEND_NOTIFIES_SESSION_START,
|
||||
.default_port = 22,
|
||||
@ -1273,7 +1274,8 @@ const BackendVtable sshconn_backend = {
|
||||
.test_for_upstream = ssh_test_for_upstream,
|
||||
.close_warn_text = ssh_close_warn_text,
|
||||
.id = "ssh-connection",
|
||||
.displayname = "Bare ssh-connection",
|
||||
.displayname_tc = "Bare ssh-connection",
|
||||
.displayname_lc = "bare ssh-connection",
|
||||
.protocol = PROT_SSHCONN,
|
||||
.flags = BACKEND_SUPPORTS_NC_HOST | BACKEND_NOTIFIES_SESSION_START,
|
||||
};
|
||||
|
Reference in New Issue
Block a user