Add information about the JVM to the health page

This commit is contained in:
Tobi Schäfer 2024-06-11 21:09:09 +02:00
parent 81c442d5b0
commit 6f632e9d4f
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8
5 changed files with 24 additions and 12 deletions

View file

@ -133,5 +133,7 @@
<dd><a href="https://github.com/jetty/jetty.project">Jetty <% param.jetty %></a></dd>
<dt><% gettext "Servlet Interface" %></dt>
<dd><a href="https://docs.oracle.com/javaee/7/api/index.html?javax/servlet/package-summary.html">Javax <% param.servlet %></a></dd>
<dt><% gettext "Virtual Machine" %></dt>
<dd><a href="https://openjdk.org">Java <% param.java %></a></dd>
</dl>
</div>

View file

@ -268,7 +268,8 @@ Root.prototype.health_action = function() {
helma: Packages.helma.main.Server.server.version,
jetty: Packages.org.eclipse.jetty.util.Jetty.VERSION,
rhino: Packages.org.mozilla.javascript.ImplementationVersion.get(),
servlet: Packages.java.lang.Class.forName("javax.servlet.Servlet").package.specificationVersion
servlet: Packages.java.lang.Class.forName('javax.servlet.Servlet').package.specificationVersion,
java: java.lang.System.getProperty('java.version')
};
for (

View file

@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Antville-1\n"
"Report-Msgid-Bugs-To: mail@antville.org\n"
"POT-Creation-Date: 2024-05-31 12:11+0200\n"
"PO-Revision-Date: 2024-05-31 12:11+0200\n"
"POT-Creation-Date: 2024-06-11 21:10+0200\n"
"PO-Revision-Date: 2024-06-11 21:10+0200\n"
"Language-Team: The Antville People <mail@antville.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
@ -727,7 +727,7 @@ msgstr ""
msgid "Have fun!"
msgstr ""
#: Root/Root.js:297
#: Root/Root.js:306
#: Root/Site.skin:31
msgid "Health"
msgstr ""
@ -2150,6 +2150,10 @@ msgstr ""
msgid "Via"
msgstr ""
#: Root/$Root.skin:136
msgid "Virtual Machine"
msgstr ""
#: Poll/$Poll.skin:58
#: Vote/Vote.js:22
msgid "Vote"
@ -2334,8 +2338,8 @@ msgstr ""
msgid "You did not vote, yet. You can vote until the poll is closed."
msgstr ""
#: Root/Root.js:409
#: Root/Root.js:418
#: Root/Root.js:427
#, java-format
msgid "You need to wait {0} before you are allowed to create a new site."
msgstr ""
@ -2878,8 +2882,8 @@ msgstr[1] ""
#: Site/$Site.skin:1305
#: Site/$Site.skin:1315
#: Root/$Root.skin:79
#: Root/Root.js:410
#: Root/Root.js:419
#: Root/Root.js:428
#, java-format
msgid "{0} day"
msgid_plural "{0} days"

View file

@ -18,8 +18,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Antville-1.5\n"
"Report-Msgid-Bugs-To: mail@antville.org\n"
"POT-Creation-Date: 2024-05-31 12:11+0200\n"
"PO-Revision-Date: 2024-05-31 12:12+0200\n"
"POT-Creation-Date: 2024-06-11 21:10+0200\n"
"PO-Revision-Date: 2024-06-11 21:15+0200\n"
"Last-Translator: Tobi Schäfer <interface@p3k.org>\n"
"Language-Team: The Antville People <mail@antville.org>\n"
"Language: de\n"
@ -27,7 +27,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4.3\n"
"X-Generator: Poedit 3.0.1\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: Global/Global.js:987
@ -676,7 +676,7 @@ msgstr "Viel Vergnügen!"
msgid "Have fun!"
msgstr "Viele Späße!"
#: Root/Root.js:297 Root/Site.skin:31
#: Root/Root.js:306 Root/Site.skin:31
msgid "Health"
msgstr "Statusmonitor"
@ -2114,6 +2114,10 @@ msgstr "Versionen"
msgid "Via"
msgstr "Via"
#: Root/$Root.skin:136
msgid "Virtual Machine"
msgstr "Virtuelle Maschine"
#: Poll/$Poll.skin:58 Vote/Vote.js:22
msgid "Vote"
msgstr "Abstimmen"
@ -2332,7 +2336,7 @@ msgstr ""
"Sie haben noch nicht abgestimmt. Sie können abstimmen, bis die Umfrage "
"beendet ist."
#: Root/Root.js:409 Root/Root.js:418
#: Root/Root.js:418 Root/Root.js:427
#, java-format
msgid "You need to wait {0} before you are allowed to create a new site."
msgstr "Sie müssen {0} warten, bevor Sie eine neue Website erstellen können."
@ -2831,7 +2835,7 @@ msgstr[0] "{0} Kommentar"
msgstr[1] "{0} Kommentare"
#: Site/$Site.skin:1305 Site/$Site.skin:1315 Root/$Root.skin:79
#: Root/Root.js:410 Root/Root.js:419
#: Root/Root.js:419 Root/Root.js:428
#, java-format
msgid "{0} day"
msgid_plural "{0} days"

View file

@ -443,6 +443,7 @@ global.messages['de'] = {
"Username and e-mail address do not match.": "Für die angegebene Kombination aus Name und E-Mail-Adresse ist kein Konto registriert.",
"Versions": "Versionen",
"Via": "Via",
"Virtual Machine": "Virtuelle Maschine",
"Vote": "Abstimmen",
"Warning!": "Warnung!",
"We are sorry to inform you that the user {0} has cancelled your membership of the site {1} at {2}.": "Wir bedauern Ihnen mitzuteilen, dass Ihre Mitgliedschaft bei der Website {1} unter {2} von {0} beendet wurde.",