web, core: fix grammatical issue in stage bindings (#10799)

Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Ken Sternberg
2024-12-20 12:45:50 -08:00
committed by GitHub
parent 112520fd88
commit 0c296efede
6 changed files with 9 additions and 8 deletions

View File

@ -88,7 +88,8 @@ class Migration(migrations.Migration):
model_name="flowstagebinding",
name="re_evaluate_policies",
field=models.BooleanField(
default=False, help_text="Evaluate policies when the Stage is present to the user."
default=False,
help_text="Evaluate policies when the Stage is presented to the user.",
),
),
migrations.AddField(

View File

@ -20,7 +20,7 @@ class Migration(migrations.Migration):
model_name="flowstagebinding",
name="re_evaluate_policies",
field=models.BooleanField(
default=True, help_text="Evaluate policies when the Stage is present to the user."
default=True, help_text="Evaluate policies when the Stage is presented to the user."
),
),
]

View File

@ -227,7 +227,7 @@ class FlowStageBinding(SerializerModel, PolicyBindingModel):
)
re_evaluate_policies = models.BooleanField(
default=True,
help_text=_("Evaluate policies when the Stage is present to the user."),
help_text=_("Evaluate policies when the Stage is presented to the user."),
)
invalid_response_action = models.TextField(

View File

@ -42391,7 +42391,7 @@ components:
description: Evaluate policies during the Flow planning process.
re_evaluate_policies:
type: boolean
description: Evaluate policies when the Stage is present to the user.
description: Evaluate policies when the Stage is presented to the user.
order:
type: integer
maximum: 2147483647
@ -42427,7 +42427,7 @@ components:
description: Evaluate policies during the Flow planning process.
re_evaluate_policies:
type: boolean
description: Evaluate policies when the Stage is present to the user.
description: Evaluate policies when the Stage is presented to the user.
order:
type: integer
maximum: 2147483647
@ -48949,7 +48949,7 @@ components:
description: Evaluate policies during the Flow planning process.
re_evaluate_policies:
type: boolean
description: Evaluate policies when the Stage is present to the user.
description: Evaluate policies when the Stage is presented to the user.
order:
type: integer
maximum: 2147483647

View File

@ -161,7 +161,7 @@ export class StageBindingForm extends ModelForm<FlowStageBinding, string> {
<span class="pf-c-switch__label">${msg("Evaluate when stage is run")}</span>
</label>
<p class="pf-c-form__helper-text">
${msg("Evaluate policies before the Stage is present to the user.")}
${msg("Evaluate policies before the Stage is presented to the user.")}
</p>
</ak-form-element-horizontal>
<ak-form-element-horizontal

View File

@ -69,7 +69,7 @@ export class LibraryApplication extends AKElement {
renderExpansion(application: Application) {
const me = rootInterface<UserInterface>()?.me;
return html`<ak-expand text-open=${msg("Less details")} text-closed=${msg("More details")}>
return html`<ak-expand textOpen=${msg("Fewer details")} textClosed=${msg("More details")}>
<div class="pf-c-content">
<small>${application.metaPublisher}</small>
</div>