From 96faa48beabc9c7887e8b75f64556ac21e4b3dea Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 1 Mar 2021 17:40:30 -0800 Subject: [PATCH] GUACAMOLE-1302: Add definitions and translations for VNC/RDP "force-lossless" parameter. --- .../main/resources/org/apache/guacamole/protocols/rdp.json | 5 +++++ .../main/resources/org/apache/guacamole/protocols/vnc.json | 5 +++++ guacamole/src/main/webapp/translations/en.json | 2 ++ 3 files changed, 12 insertions(+) diff --git a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json index 915b9c8c1..039c35aca 100644 --- a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json +++ b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json @@ -147,6 +147,11 @@ "type" : "ENUM", "options" : [ "", "8", "16", "24", "32" ] }, + { + "name" : "force-lossless", + "type" : "BOOLEAN", + "options" : [ "true" ] + }, { "name" : "resize-method", "type" : "ENUM", diff --git a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/vnc.json b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/vnc.json index a0f33099a..9ffb3a5a9 100644 --- a/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/vnc.json +++ b/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/vnc.json @@ -52,6 +52,11 @@ "name" : "color-depth", "type" : "ENUM", "options" : [ "", "8", "16", "24", "32" ] + }, + { + "name" : "force-lossless", + "type" : "BOOLEAN", + "options" : [ "true" ] } ] }, diff --git a/guacamole/src/main/webapp/translations/en.json b/guacamole/src/main/webapp/translations/en.json index 24486dfb0..89d7a7139 100644 --- a/guacamole/src/main/webapp/translations/en.json +++ b/guacamole/src/main/webapp/translations/en.json @@ -483,6 +483,7 @@ "FIELD_HEADER_ENABLE_THEMING" : "Enable theming:", "FIELD_HEADER_ENABLE_TOUCH" : "Enable multi-touch:", "FIELD_HEADER_ENABLE_WALLPAPER" : "Enable wallpaper:", + "FIELD_HEADER_FORCE_LOSSLESS" : "Force lossless compression:", "FIELD_HEADER_GATEWAY_DOMAIN" : "Domain:", "FIELD_HEADER_GATEWAY_HOSTNAME" : "Hostname:", "FIELD_HEADER_GATEWAY_PASSWORD" : "Password:", @@ -770,6 +771,7 @@ "FIELD_HEADER_DISABLE_PASTE" : "Disable pasting from client:", "FIELD_HEADER_ENABLE_AUDIO" : "Enable audio:", "FIELD_HEADER_ENABLE_SFTP" : "Enable SFTP:", + "FIELD_HEADER_FORCE_LOSSLESS" : "Force lossless compression:", "FIELD_HEADER_HOSTNAME" : "Hostname:", "FIELD_HEADER_USERNAME" : "Username:", "FIELD_HEADER_PASSWORD" : "Password:",