Skip to content

Commit

Permalink
Improve quarkus.locales and quarkus.default-locale documentation
Browse files Browse the repository at this point in the history
As discussed in
#43533 (reply in thread)
  • Loading branch information
zakkak committed Sep 30, 2024
1 parent 60ce4a0 commit 9398433
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class LocalesBuildTimeConfig {
* to include all locales. Image size penalty applies.
*/
@ConfigItem(defaultValue = DEFAULT_LANGUAGE + "-"
+ DEFAULT_COUNTRY, defaultValueDocumentation = "Set containing the build system locale")
+ DEFAULT_COUNTRY, defaultValueDocumentation = "Set containing the default locale")
public Set<Locale> locales;

/**
Expand All @@ -46,6 +46,7 @@ public class LocalesBuildTimeConfig {
* Native-image build uses this property to derive {@code user.language} and {@code user.country} for the application's
* runtime.
*/
@ConfigItem(defaultValue = DEFAULT_LANGUAGE + "-" + DEFAULT_COUNTRY, defaultValueDocumentation = "Build system locale")
@ConfigItem(defaultValue = DEFAULT_LANGUAGE + "-"
+ DEFAULT_COUNTRY, defaultValueDocumentation = "Build system's default locale")
public Locale defaultLocale;
}

0 comments on commit 9398433

Please sign in to comment.