From 638e83a98c756e705d15b38d7d2b9592cd857c27 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 19 Oct 2015 16:06:06 -0700 Subject: [PATCH] GUAC-1038: Add SSH "command" parameter to translation strings and protocol JSON. --- .../org/glyptodon/guacamole/protocols/ssh.json | 10 ++++++++++ guacamole/src/main/webapp/translations/en.json | 2 ++ 2 files changed, 12 insertions(+) diff --git a/guacamole-ext/src/main/resources/org/glyptodon/guacamole/protocols/ssh.json b/guacamole-ext/src/main/resources/org/glyptodon/guacamole/protocols/ssh.json index 08b8afe15..aea3f5623 100644 --- a/guacamole-ext/src/main/resources/org/glyptodon/guacamole/protocols/ssh.json +++ b/guacamole-ext/src/main/resources/org/glyptodon/guacamole/protocols/ssh.json @@ -58,6 +58,16 @@ ] }, + { + "name" : "session", + "fields" : [ + { + "name" : "command", + "type" : "TEXT" + } + ] + }, + { "name" : "sftp", "fields" : [ diff --git a/guacamole/src/main/webapp/translations/en.json b/guacamole/src/main/webapp/translations/en.json index d8085a36a..ceaa8899b 100644 --- a/guacamole/src/main/webapp/translations/en.json +++ b/guacamole/src/main/webapp/translations/en.json @@ -338,6 +338,7 @@ "PROTOCOL_SSH" : { "FIELD_HEADER_COLOR_SCHEME" : "Color scheme:", + "FIELD_HEADER_COMMAND" : "Execute command:", "FIELD_HEADER_FONT_NAME" : "Font name:", "FIELD_HEADER_FONT_SIZE" : "Font size:", "FIELD_HEADER_ENABLE_SFTP" : "Enable SFTP:", @@ -375,6 +376,7 @@ "SECTION_HEADER_AUTHENTICATION" : "Authentication", "SECTION_HEADER_DISPLAY" : "Display", "SECTION_HEADER_NETWORK" : "Network", + "SECTION_HEADER_SESSION" : "Session / Environment", "SECTION_HEADER_SFTP" : "SFTP" },