Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
-
af7f4bd0
by Tony Chemit at 2023-07-21T15:59:45+02:00
1 changed file:
Changes:
| ... | ... | @@ -54,6 +54,9 @@ public interface ObserveDefaultDecoratorRenderer { |
| 54 | 54 | return fieldEnabler ? I18n.l(locale, "observe.referential.ps.common.AcquisitionStatus.fieldEnabled") : I18n.l(locale, "observe.referential.ps.common.AcquisitionStatus.fieldDisabled");
|
| 55 | 55 | }
|
| 56 | 56 | |
| 57 | + default String booleanValue(Locale locale, boolean booleanValue) {
|
|
| 58 | + return booleanValue ? I18n.l(locale, "boolean.true") : I18n.l(locale, "boolean.false");
|
|
| 59 | + }
|
|
| 57 | 60 | |
| 58 | 61 | default String speciesFateDiscard(Locale locale, Boolean discard) {
|
| 59 | 62 | String value;
|