docker-disguised-guacamole/patches/0001-Remove-references-to-p...

63 lines
2.7 KiB
Diff

From 77a8ef246f5dccdcf0c948f5e28f0afb9da01fb7 Mon Sep 17 00:00:00 2001
From: Carl Kittelberger <icedream@icedream.pw>
Date: Mon, 7 May 2018 19:04:16 +0200
Subject: [PATCH 1/2] Remove references to project version.
---
guacamole/src/main/webapp/index.html | 4 ++--
guacamole/src/main/webapp/translations/en.json | 2 +-
guacamole/src/main/webapp/translations/no.json | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/guacamole/src/main/webapp/index.html b/guacamole/src/main/webapp/index.html
index 7d747cf..1c5e4de 100644
--- a/guacamole/src/main/webapp/index.html
+++ b/guacamole/src/main/webapp/index.html
@@ -26,7 +26,7 @@
<link rel="icon" type="image/png" href="images/logo-64.png"/>
<link rel="icon" type="image/png" sizes="144x144" href="images/logo-144.png"/>
<link rel="apple-touch-icon" type="image/png" href="images/logo-144.png"/>
- <link rel="stylesheet" type="text/css" href="app.css?v=${project.version}">
+ <link rel="stylesheet" type="text/css" href="app.css">
<title ng-bind="page.title | translate"></title>
</head>
<body ng-class="page.bodyClassName">
@@ -79,7 +79,7 @@
<script type="text/javascript" src="webjars/angular-module-shim/0.0.4/angular-module-shim.js"></script>
<!-- Web application -->
- <script type="text/javascript" src="app.js?v=${project.version}"></script>
+ <script type="text/javascript" src="app.js"></script>
</body>
</html>
diff --git a/guacamole/src/main/webapp/translations/en.json b/guacamole/src/main/webapp/translations/en.json
index a64f64c..056fdd3 100644
--- a/guacamole/src/main/webapp/translations/en.json
+++ b/guacamole/src/main/webapp/translations/en.json
@@ -5,7 +5,7 @@
"APP" : {
"NAME" : "Apache Guacamole",
- "VERSION" : "${project.version}",
+ "VERSION" : "",
"ACTION_ACKNOWLEDGE" : "OK",
"ACTION_CANCEL" : "Cancel",
diff --git a/guacamole/src/main/webapp/translations/no.json b/guacamole/src/main/webapp/translations/no.json
index 30ea871..1d43d52 100644
--- a/guacamole/src/main/webapp/translations/no.json
+++ b/guacamole/src/main/webapp/translations/no.json
@@ -38,7 +38,7 @@
"INFO_ACTIVE_USER_COUNT" : "Blir brukt av {USERS} {USERS, plural, one{user} other{users}}.",
- "NAME" : "Guacamole ${project.version}",
+ "NAME" : "Guacamole",
"TEXT_HISTORY_DURATION" : "{VALUE} {UNIT, select, second{{VALUE, plural, one{second} other{seconds}}} minute{{VALUE, plural, one{minute} other{minutes}}} hour{{VALUE, plural, one{hour} other{hours}}} day{{VALUE, plural, one{day} other{days}}} other{}}"
--
2.10.0.windows.1