From b12deb4bdbdee3bb7cb1423fc2903c13c63e5cda Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 4 Sep 2019 12:25:44 +0200 Subject: [PATCH] demo with custom message properties --- docker/demo/docker-compose.yml | 1 + docker/demo/messages_en.properties | 6 ++++++ src/main/resources/messages.properties | 4 ++-- src/main/resources/messages_en.properties | 4 ++-- 4 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 docker/demo/messages_en.properties diff --git a/docker/demo/docker-compose.yml b/docker/demo/docker-compose.yml index e539b9d0..be2c1fad 100644 --- a/docker/demo/docker-compose.yml +++ b/docker/demo/docker-compose.yml @@ -26,6 +26,7 @@ services: - INTERNAL_PWD=somePW volumes: - ./application-demo.properties:/sebserver/application-demo.properties + - ./messages_en.properties:/sebserver/messages_en.properties ports: - 8080:8080 - 9090:9090 diff --git a/docker/demo/messages_en.properties b/docker/demo/messages_en.properties new file mode 100644 index 00000000..d4c2638c --- /dev/null +++ b/docker/demo/messages_en.properties @@ -0,0 +1,6 @@ +sebserver.overall.imprint= +sebserver.overall.imprint.markup= +sebserver.overall.about=About +sebserver.overall.about.markup=SEB Server About Example

1. This is an example of how an About-Page can look like.

By simply define the markup HTML content within the message.propertie configuration of specified language +sebserver.overall.help=Documentation +sebserver.overall.help.link=https://www.safeexambrowser.org/news_en.html diff --git a/src/main/resources/messages.properties b/src/main/resources/messages.properties index 834ebad8..80d46ff7 100644 --- a/src/main/resources/messages.properties +++ b/src/main/resources/messages.properties @@ -5,8 +5,8 @@ sebserver.overall.version=SEB Server Version : {0} sebserver.overall.imprint= sebserver.overall.imprint.markup= -sebserver.overall.about=About -sebserver.overall.about.markup=SEB Server About Example

This is an example how an About-Page can look like.


By simply define the markup HTML content within the message.propertie configuration of specified language +sebserver.overall.about= +sebserver.overall.about.markup= sebserver.overall.help=Documentation sebserver.overall.help.link=https://www.safeexambrowser.org/news_en.html diff --git a/src/main/resources/messages_en.properties b/src/main/resources/messages_en.properties index f9653972..bebda39d 100644 --- a/src/main/resources/messages_en.properties +++ b/src/main/resources/messages_en.properties @@ -5,8 +5,8 @@ sebserver.overall.version=SEB Server Version : {0} sebserver.overall.imprint= sebserver.overall.imprint.markup= -sebserver.overall.about=About -sebserver.overall.about.markup=SEB Server About Example

1. This is an example of how an About-Page can look like.

By simply define the markup HTML content within the message.propertie configuration of specified language +sebserver.overall.about= +sebserver.overall.about.markup= sebserver.overall.help=Documentation sebserver.overall.help.link=https://www.safeexambrowser.org/news_en.html