UX: html-safe dialog.message, clarify poll error (#24388)

This commit is contained in:
Kris 2023-11-15 11:37:25 -05:00 committed by GitHub
parent ed611a63ae
commit 91d5b66a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
@model={{this.dialog.bodyComponentModel}}
/>
{{else if this.dialog.message}}
<p>{{this.dialog.message}}</p>
<p>{{html-safe this.dialog.message}}</p>
{{/if}}
</div>
{{/if}}

View File

@ -12,7 +12,7 @@ en:
poll: "poll"
invalid_argument: "Invalid value '%{value}' for argument '%{argument}'."
multiple_polls_without_name: "There are multiple polls without a name. Use the '<code>name</code>' attribute to uniquely identify your polls."
multiple_polls_without_name: "When creating multiple polls, include unique names by adding <code>name=example</code> to your <code>[poll]</code> tags."
multiple_polls_with_same_name: "There are multiple polls with the same name: <strong>%{name}</strong>. Use the '<code>name</code>' attribute to uniquely identify your polls."
default_poll_must_have_at_least_1_option: "Poll must have at least 1 option."