Changed flyover for constraints to say "constraint" instead of "invariant"

This commit is contained in:
Lloyd McKenzie 2022-11-05 23:26:13 -06:00
parent 90f3321c7d
commit 1d9b05a27b
1 changed files with 1 additions and 1 deletions

View File

@ -4487,7 +4487,7 @@ public class ProfileUtilities extends TranslatingUtilities {
} }
if (element != null && (hasNonBaseConstraints(element.getConstraint()) || hasNonBaseConditions(element.getCondition()))) { if (element != null && (hasNonBaseConstraints(element.getConstraint()) || hasNonBaseConditions(element.getCondition()))) {
Piece p = gc.addText(ProfileUtilities.CONSTRAINT_CHAR); Piece p = gc.addText(ProfileUtilities.CONSTRAINT_CHAR);
p.setHint(translate("sd.table", "This element has or is affected by some invariants ("+listConstraintsAndConditions(element)+")")); p.setHint(translate("sd.table", "This element has or is affected by constraints ("+listConstraintsAndConditions(element)+")"));
p.addStyle(CONSTRAINT_STYLE); p.addStyle(CONSTRAINT_STYLE);
p.setReference(VersionUtilities.getSpecUrl(context.getVersion())+"conformance-rules.html#constraints"); p.setReference(VersionUtilities.getSpecUrl(context.getVersion())+"conformance-rules.html#constraints");
} }