Skip to content

A platform for community discussion. Free, open, simple.

UX: use more specific language for dynamic polls (#34769)

Krisf7238c188e50
diff --git a/plugins/poll/assets/stylesheets/common/poll.scss b/plugins/poll/assets/stylesheets/common/poll.scss
index 06505a44a51..63a9f08e1c2 100644
--- a/plugins/poll/assets/stylesheets/common/poll.scss
+++ b/plugins/poll/assets/stylesheets/common/poll.scss
@@ -114,7 +114,7 @@ div.poll-outer {
@include viewport.from(sm) {
gap: 0 1em;
- padding: 1em;
+ padding: var(--space-2);
border-left: 1px solid var(--content-border-color);
flex-direction: column;
justify-content: center;
diff --git a/plugins/poll/config/locales/client.en.yml b/plugins/poll/config/locales/client.en.yml
index ac25a9fc958..fad864ce84d 100644
--- a/plugins/poll/config/locales/client.en.yml
+++ b/plugins/poll/config/locales/client.en.yml
@@ -7,7 +7,7 @@ en:
js:
poll:
dynamic:
- enabled_hint: "This poll is dynamic. Options can be edited after posting."
+ enabled_hint: "Options can be added or removed."
voters:
one: "voter"
other: "voters"
@@ -164,7 +164,7 @@ en:
poll_public:
label: Show who voted
poll_dynamic:
- label: Allow editing options after posting (dynamic poll)
+ label: Allow options to be added or removed after posting
poll_title:
label: Title (optional)
poll_options:
diff --git a/plugins/poll/config/locales/server.en.yml b/plugins/poll/config/locales/server.en.yml
index 47dd4c07f52..03bde4c1f5c 100644
--- a/plugins/poll/config/locales/server.en.yml
+++ b/plugins/poll/config/locales/server.en.yml
@@ -45,7 +45,7 @@ en:
cannot_edit_default_poll_with_votes: "You cannot change a poll after the first %{minutes} minutes."
cannot_edit_named_poll_with_votes: "You cannot change the poll named <strong>${name}</strong> after the first %{minutes} minutes."
dynamic_poll:
- enabled_hint: "This poll is dynamic. Options can be edited after posting."
+ enabled_hint: "Options can be added or removed."
no_poll_with_this_name: "No poll named <strong>%{name}</strong> associated with this post."