parent
4912b989a5
commit
1e0873c86e
|
@ -81,8 +81,8 @@ public class MessageSourceAutoConfiguration {
|
|||
private boolean fallbackToSystemLocale = true;
|
||||
|
||||
/**
|
||||
* Set whether to always apply the MessageFormat rules, parsing even
|
||||
* messages without arguments.
|
||||
* Set whether to always apply the MessageFormat rules, parsing even messages without
|
||||
* arguments.
|
||||
*/
|
||||
private boolean alwaysUseMessageFormat = false;
|
||||
|
||||
|
|
|
@ -109,11 +109,11 @@ content into your application; rather pick only the properties that you need.
|
|||
spring.mandatory-file-encoding= # Expected character encoding the application must use.
|
||||
|
||||
# INTERNATIONALIZATION ({sc-spring-boot-autoconfigure}/MessageSourceAutoConfiguration.{sc-ext}[MessageSourceAutoConfiguration])
|
||||
spring.messages.always-use-message-format=false # Set whether to always apply the MessageFormat rules, parsing even messages without arguments.
|
||||
spring.messages.basename=messages # Comma-separated list of basenames, each following the ResourceBundle convention.
|
||||
spring.messages.cache-seconds=-1 # Loaded resource bundle files cache expiration, in seconds. When set to -1, bundles are cached forever.
|
||||
spring.messages.encoding=UTF-8 # Message bundles encoding.
|
||||
spring.messages.fallback-to-system-locale=true # Set whether to fall back to the system Locale if no files for a specific Locale have been found.
|
||||
spring.messages.always-use-message-format=false # Set whether to always apply the MessageFormat rules, parsing even messages without arguments.
|
||||
|
||||
# OUTPUT
|
||||
spring.output.ansi.enabled=detect # Configure the ANSI output (can be "detect", "always", "never").
|
||||
|
|
Loading…
Reference in New Issue