Skip to content

Commit 18278ef

Browse files
committed
Sync documentation of main branch
1 parent a528c74 commit 18278ef

File tree

5 files changed

+26
-14
lines changed

5 files changed

+26
-14
lines changed

_generated-doc/main/config/quarkus-all-config.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32557,7 +32557,7 @@ endif::add-copy-button-to-config-props[]
3255732557

3255832558
[.description]
3255932559
--
32560-
Whether or not the jacoco extension is enabled.
32560+
Whether or not the Jacoco extension is enabled.
3256132561

3256232562

3256332563
ifdef::add-copy-button-to-env-var[]
@@ -32578,7 +32578,7 @@ endif::add-copy-button-to-config-props[]
3257832578

3257932579
[.description]
3258032580
--
32581-
The jacoco data file. The path can be relative (to the module) or absolute.
32581+
The Jacoco data file. The path can be relative (to the module) or absolute.
3258232582

3258332583

3258432584
ifdef::add-copy-button-to-env-var[]
@@ -32599,7 +32599,7 @@ endif::add-copy-button-to-config-props[]
3259932599

3260032600
[.description]
3260132601
--
32602-
Whether to reuse (`true`) or delete (`false`) the jacoco data file on each run.
32602+
Whether to reuse (`true`) or delete (`false`) the Jacoco data file on each run.
3260332603

3260432604

3260532605
ifdef::add-copy-button-to-env-var[]

_generated-doc/main/config/quarkus-jacoco.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ endif::add-copy-button-to-config-props[]
1515

1616
[.description]
1717
--
18-
Whether or not the jacoco extension is enabled.
18+
Whether or not the Jacoco extension is enabled.
1919

2020

2121
ifdef::add-copy-button-to-env-var[]
@@ -36,7 +36,7 @@ endif::add-copy-button-to-config-props[]
3636

3737
[.description]
3838
--
39-
The jacoco data file. The path can be relative (to the module) or absolute.
39+
The Jacoco data file. The path can be relative (to the module) or absolute.
4040

4141

4242
ifdef::add-copy-button-to-env-var[]
@@ -57,7 +57,7 @@ endif::add-copy-button-to-config-props[]
5757

5858
[.description]
5959
--
60-
Whether to reuse (`true`) or delete (`false`) the jacoco data file on each run.
60+
Whether to reuse (`true`) or delete (`false`) the Jacoco data file on each run.
6161

6262

6363
ifdef::add-copy-button-to-env-var[]

_generated-doc/main/config/quarkus-jacoco_quarkus.jacoco.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ endif::add-copy-button-to-config-props[]
1515

1616
[.description]
1717
--
18-
Whether or not the jacoco extension is enabled.
18+
Whether or not the Jacoco extension is enabled.
1919

2020

2121
ifdef::add-copy-button-to-env-var[]
@@ -36,7 +36,7 @@ endif::add-copy-button-to-config-props[]
3636

3737
[.description]
3838
--
39-
The jacoco data file. The path can be relative (to the module) or absolute.
39+
The Jacoco data file. The path can be relative (to the module) or absolute.
4040

4141

4242
ifdef::add-copy-button-to-env-var[]
@@ -57,7 +57,7 @@ endif::add-copy-button-to-config-props[]
5757

5858
[.description]
5959
--
60-
Whether to reuse (`true`) or delete (`false`) the jacoco data file on each run.
60+
Whether to reuse (`true`) or delete (`false`) the Jacoco data file on each run.
6161

6262

6363
ifdef::add-copy-button-to-env-var[]

_versions/main/guides/qute-reference.adoc

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3007,10 +3007,9 @@ If there is a message bundle method that accepts a single parameter of an enum t
30073007
@Message <1>
30083008
String methodName(MyEnum enum);
30093009
----
3010-
<1> The value is intentionally not provided. There's also no key for the method in a localized file.
3011-
3012-
Then it receives a generated template:
3010+
<1> The value is intentionally not provided. There's also no key/value pair for this method in a localized file.
30133011

3012+
Then it receives a generated template like:
30143013
[source,html]
30153014
----
30163015
{#when enumParamName}
@@ -3019,15 +3018,27 @@ Then it receives a generated template:
30193018
{/when}
30203019
----
30213020

3022-
Furthermore, a special message method is generated for each enum constant. Finally, each localized file must contain keys and values for all constant message keys:
3021+
Furthermore, a special message method is generated for each enum constant.
3022+
Finally, each localized file must contain keys and values for all enum constants:
30233023

30243024
[source,poperties]
30253025
----
30263026
methodName_CONSTANT1=Value 1
30273027
methodName_CONSTANT2=Value 2
30283028
----
30293029

3030-
In a template, an enum constant can be localized with a message bundle method like `{msg:methodName(enumConstant)}`.
3030+
// We need to escape the first underscore
3031+
// See https://docs.asciidoctor.org/asciidoc/latest/subs/prevent/
3032+
[IMPORTANT]
3033+
.Message keys for enum constants
3034+
====
3035+
By default, the message key consists of the method name followed by the `\_` separator and the constant name.
3036+
If any constant name of a particular enum contains the `_` or the `$` character then the `\_$` separator must be used for all message keys for this enum instead.
3037+
For example, `methodName_$CONSTANT_1=Value 1` or `methodName_$CONSTANT$1=Value 1`.
3038+
A constant of a localized enum may not contain the `_$` separator.
3039+
====
3040+
3041+
In a template, the localized message for an enum constant can be obtained with a message bundle method like `{msg:methodName(enumConstant)}`.
30313042

30323043
TIP: There is also <<convenient-annotation-for-enums,`@TemplateEnum`>> - a convenient annotation to access enum constants in a template.
30333044

_versions/main/guides/security-openid-connect-multitenancy.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ A similar technique can be used with `TenantConfigResolver`, where a `tenant-id`
332332
====
333333
If you also use Hibernate ORM multitenancy or MongoDB with Panache multitenancy and both tenant ids are the same,
334334
you can get the tenant id from the `RoutingContext` attribute with `tenant-id`. You can find more information here:
335+
335336
* xref:hibernate-orm.adoc#multitenancy[Hibernate ORM multitenancy]
336337
* xref:mongodb-panache.adoc#multitenancy[MongoDB with Panache multitenancy]
337338
====

0 commit comments

Comments
 (0)