Skip to content

Commit 0c296ef

Browse files
web, core: fix grammatical issue in stage bindings (#10799)
Co-authored-by: Marc 'risson' Schmitt <[email protected]>
1 parent 112520f commit 0c296ef

6 files changed

+9
-8
lines changed

authentik/flows/migrations/0012_auto_20200908_1542_squashed_0017_auto_20210329_1334.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ class Migration(migrations.Migration):
8888
model_name="flowstagebinding",
8989
name="re_evaluate_policies",
9090
field=models.BooleanField(
91-
default=False, help_text="Evaluate policies when the Stage is present to the user."
91+
default=False,
92+
help_text="Evaluate policies when the Stage is presented to the user.",
9293
),
9394
),
9495
migrations.AddField(

authentik/flows/migrations/0025_alter_flowstagebinding_evaluate_on_plan_and_more.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Migration(migrations.Migration):
2020
model_name="flowstagebinding",
2121
name="re_evaluate_policies",
2222
field=models.BooleanField(
23-
default=True, help_text="Evaluate policies when the Stage is present to the user."
23+
default=True, help_text="Evaluate policies when the Stage is presented to the user."
2424
),
2525
),
2626
]

authentik/flows/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class FlowStageBinding(SerializerModel, PolicyBindingModel):
227227
)
228228
re_evaluate_policies = models.BooleanField(
229229
default=True,
230-
help_text=_("Evaluate policies when the Stage is present to the user."),
230+
help_text=_("Evaluate policies when the Stage is presented to the user."),
231231
)
232232

233233
invalid_response_action = models.TextField(

schema.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -42391,7 +42391,7 @@ components:
4239142391
description: Evaluate policies during the Flow planning process.
4239242392
re_evaluate_policies:
4239342393
type: boolean
42394-
description: Evaluate policies when the Stage is present to the user.
42394+
description: Evaluate policies when the Stage is presented to the user.
4239542395
order:
4239642396
type: integer
4239742397
maximum: 2147483647
@@ -42427,7 +42427,7 @@ components:
4242742427
description: Evaluate policies during the Flow planning process.
4242842428
re_evaluate_policies:
4242942429
type: boolean
42430-
description: Evaluate policies when the Stage is present to the user.
42430+
description: Evaluate policies when the Stage is presented to the user.
4243142431
order:
4243242432
type: integer
4243342433
maximum: 2147483647
@@ -48949,7 +48949,7 @@ components:
4894948949
description: Evaluate policies during the Flow planning process.
4895048950
re_evaluate_policies:
4895148951
type: boolean
48952-
description: Evaluate policies when the Stage is present to the user.
48952+
description: Evaluate policies when the Stage is presented to the user.
4895348953
order:
4895448954
type: integer
4895548955
maximum: 2147483647

web/src/admin/flows/StageBindingForm.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export class StageBindingForm extends ModelForm<FlowStageBinding, string> {
161161
<span class="pf-c-switch__label">${msg("Evaluate when stage is run")}</span>
162162
</label>
163163
<p class="pf-c-form__helper-text">
164-
${msg("Evaluate policies before the Stage is present to the user.")}
164+
${msg("Evaluate policies before the Stage is presented to the user.")}
165165
</p>
166166
</ak-form-element-horizontal>
167167
<ak-form-element-horizontal

web/src/user/LibraryApplication/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class LibraryApplication extends AKElement {
6969
renderExpansion(application: Application) {
7070
const me = rootInterface<UserInterface>()?.me;
7171

72-
return html`<ak-expand text-open=${msg("Less details")} text-closed=${msg("More details")}>
72+
return html`<ak-expand textOpen=${msg("Fewer details")} textClosed=${msg("More details")}>
7373
<div class="pf-c-content">
7474
<small>${application.metaPublisher}</small>
7575
</div>

0 commit comments

Comments
 (0)