From 22f36af6ce238176e040959c7ba55b085422477a Mon Sep 17 00:00:00 2001 From: Dragan Ivanovic Date: Fri, 6 Dec 2024 15:50:45 +0100 Subject: [PATCH 1/5] Update example.runtime.properties --- .../resources/config/example.runtime.properties | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/home/src/main/resources/config/example.runtime.properties b/home/src/main/resources/config/example.runtime.properties index 8817ce777..b81a465b7 100644 --- a/home/src/main/resources/config/example.runtime.properties +++ b/home/src/main/resources/config/example.runtime.properties @@ -221,11 +221,14 @@ selfEditing.idMatchingProperty = http://vivo.mydomain.edu/ns#networkId # languages.forceLocale = en_US # - # A list of supported languages or Locales that the user may choose to - # use instead of the one specified by the browser. The selected language(s) - # must exist in the list of property files in webapps or in the list of ttl - # files in interface-i18n directories within VIVO home. This affects - # RDF data retrieved from the model, if RDFService.languageFilter is true. + # An ordered list of supported languages or Locales that the user may choose + # to use instead of the one specified by the browser. The order of available + # locales in the VIVO UI will be in accordance with order in this property + # locales values. The first in the list will be selected as default locale + # when a user is accessing the application for the first time. The selected + # language(s) must exist in the list of property files in webapps or in the + # list of ttl files in interface-i18n directories within Vitro home. This + # affects RDF data retrieved from the model, if RDFService.languageFilter is true. # This also affects the text of pages that have been modified to support # multiple languages. # From c4b2018f2a501b005bff98b5602117cf568b973b Mon Sep 17 00:00:00 2001 From: Dragan Ivanovic Date: Mon, 9 Dec 2024 13:32:13 +0100 Subject: [PATCH 2/5] Change Vitro to VIVO home in a comment --- home/src/main/resources/config/example.runtime.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/src/main/resources/config/example.runtime.properties b/home/src/main/resources/config/example.runtime.properties index b81a465b7..422d7371a 100644 --- a/home/src/main/resources/config/example.runtime.properties +++ b/home/src/main/resources/config/example.runtime.properties @@ -227,7 +227,7 @@ selfEditing.idMatchingProperty = http://vivo.mydomain.edu/ns#networkId # locales values. The first in the list will be selected as default locale # when a user is accessing the application for the first time. The selected # language(s) must exist in the list of property files in webapps or in the - # list of ttl files in interface-i18n directories within Vitro home. This + # list of ttl files in interface-i18n directories within VIVO home. This # affects RDF data retrieved from the model, if RDFService.languageFilter is true. # This also affects the text of pages that have been modified to support # multiple languages. From cc5a28e7bbc652efabbd4abc41f07174e933dcd4 Mon Sep 17 00:00:00 2001 From: Dragan Ivanovic Date: Mon, 9 Dec 2024 14:22:24 +0100 Subject: [PATCH 3/5] Fixing style violation --- .../resources/config/example.runtime.properties | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/home/src/main/resources/config/example.runtime.properties b/home/src/main/resources/config/example.runtime.properties index 422d7371a..4b058704d 100644 --- a/home/src/main/resources/config/example.runtime.properties +++ b/home/src/main/resources/config/example.runtime.properties @@ -221,13 +221,13 @@ selfEditing.idMatchingProperty = http://vivo.mydomain.edu/ns#networkId # languages.forceLocale = en_US # - # An ordered list of supported languages or Locales that the user may choose - # to use instead of the one specified by the browser. The order of available - # locales in the VIVO UI will be in accordance with order in this property - # locales values. The first in the list will be selected as default locale - # when a user is accessing the application for the first time. The selected - # language(s) must exist in the list of property files in webapps or in the - # list of ttl files in interface-i18n directories within VIVO home. This + # An ordered list of supported languages or Locales that the user may choose + # to use instead of the one specified by the browser. The order of available + # locales in the VIVO UI will be in accordance with order in this property + # locales values. The first in the list will be selected as default locale + # when a user is accessing the application for the first time. The selected + # language(s) must exist in the list of property files in webapps or in the + # list of ttl files in interface-i18n directories within VIVO home. This # affects RDF data retrieved from the model, if RDFService.languageFilter is true. # This also affects the text of pages that have been modified to support # multiple languages. @@ -474,4 +474,4 @@ captcha.enabled = true captcha.implementation = nanocaptcha nanocaptcha.difficulty = easy #recaptcha.siteKey = -#recaptcha.secretKey = +#recaptcha.secretKey = \ No newline at end of file From 125b0a5714406fe8a773939990f0d9074ad476a3 Mon Sep 17 00:00:00 2001 From: Dragan Ivanovic Date: Mon, 9 Dec 2024 14:27:24 +0100 Subject: [PATCH 4/5] Fixing small style violation --- home/src/main/resources/config/example.runtime.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/src/main/resources/config/example.runtime.properties b/home/src/main/resources/config/example.runtime.properties index 4b058704d..a2ba551bf 100644 --- a/home/src/main/resources/config/example.runtime.properties +++ b/home/src/main/resources/config/example.runtime.properties @@ -474,4 +474,4 @@ captcha.enabled = true captcha.implementation = nanocaptcha nanocaptcha.difficulty = easy #recaptcha.siteKey = -#recaptcha.secretKey = \ No newline at end of file +#recaptcha.secretKey = From cab4bd402d3eab51d2f95e44ac9288bf40b882fb Mon Sep 17 00:00:00 2001 From: Dragan Ivanovic Date: Thu, 12 Dec 2024 09:57:52 +0100 Subject: [PATCH 5/5] Improved message, suggested by Brian --- .../main/resources/config/example.runtime.properties | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/home/src/main/resources/config/example.runtime.properties b/home/src/main/resources/config/example.runtime.properties index a2ba551bf..6fda8500a 100644 --- a/home/src/main/resources/config/example.runtime.properties +++ b/home/src/main/resources/config/example.runtime.properties @@ -221,13 +221,11 @@ selfEditing.idMatchingProperty = http://vivo.mydomain.edu/ns#networkId # languages.forceLocale = en_US # - # An ordered list of supported languages or Locales that the user may choose - # to use instead of the one specified by the browser. The order of available - # locales in the VIVO UI will be in accordance with order in this property - # locales values. The first in the list will be selected as default locale - # when a user is accessing the application for the first time. The selected - # language(s) must exist in the list of property files in webapps or in the - # list of ttl files in interface-i18n directories within VIVO home. This + # A comma-separated ordered list of locales to be offered to the user in the + # language-selector dropdown at the top of the VIVO UI. The order of items here + # controls the order of options in the language selector. The first locale in the + # list will be used as a default until the user selects another. Each included + # locale must be supported by VIVO i18n .properties or .ttl files. This # affects RDF data retrieved from the model, if RDFService.languageFilter is true. # This also affects the text of pages that have been modified to support # multiple languages.