Browse Source

Polish contribution

Closes gh-5498
pull/5512/merge
Stephane Nicoll 10 years ago
parent
commit
1e0873c86e
  1. 4
      spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/MessageSourceAutoConfiguration.java
  2. 2
      spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

4
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/MessageSourceAutoConfiguration.java

@ -81,8 +81,8 @@ public class MessageSourceAutoConfiguration { @@ -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;

2
spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

@ -109,11 +109,11 @@ content into your application; rather pick only the properties that you need. @@ -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…
Cancel
Save