diff --git a/bookstore/src/main/resources/messages.properties b/bookstore/src/main/resources/messages.properties index 4f95392..85ee7bd 100644 --- a/bookstore/src/main/resources/messages.properties +++ b/bookstore/src/main/resources/messages.properties @@ -1,5 +1,15 @@ # Pekka Helenius , Fjordtek 2020 +# NOTE: +# These properties represent front-end messages, i.e. what we +# show users in the front-end. +# +# These keys are not back-end properties, so never refer +# them in Spring Environment context. +# (for instance, you can't use getProperty method for these keys) + + + # Message keys with values. # Prepare environment for possible multi-language support diff --git a/bookstore/src/main/resources/website.properties b/bookstore/src/main/resources/website.properties index b2e3df3..81c23ab 100644 --- a/bookstore/src/main/resources/website.properties +++ b/bookstore/src/main/resources/website.properties @@ -1,5 +1,13 @@ # Pekka Helenius , Fjordtek 2020 +# NOTE: +# These properties represent internal application properties, +# NOT linguistic front-end message strings. Never refer to keys +# in this file in your application front-end messages. +# These keys are accessible in Spring Environment context. + + + # BookController # Public end points #