mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: html-safe dialog.message, clarify poll error (#24388)
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
@model={{this.dialog.bodyComponentModel}}
|
@model={{this.dialog.bodyComponentModel}}
|
||||||
/>
|
/>
|
||||||
{{else if this.dialog.message}}
|
{{else if this.dialog.message}}
|
||||||
<p>{{this.dialog.message}}</p>
|
<p>{{html-safe this.dialog.message}}</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ en:
|
|||||||
poll: "poll"
|
poll: "poll"
|
||||||
invalid_argument: "Invalid value '%{value}' for argument '%{argument}'."
|
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."
|
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."
|
default_poll_must_have_at_least_1_option: "Poll must have at least 1 option."
|
||||||
|
|||||||
Reference in New Issue
Block a user