discourse/plugins/poll/config/locales/client.en.yml
Jarek Radosz babbebfb35
FEATURE: Add the title attribute to polls (#10759)
Adds an optional title attribute to polls. The rationale for this addition is that polls themselves didn't contain context/question and relied on post body to explain them. That context wasn't always obvious (e.g. when there are multiple polls in a single post) or available (e.g. when you display the poll breakdown - you see the answers, but not the question)

As a side note, here's a word on how the poll plugin works:

> We have a markdown poll renderer, which we use in the builder UI and the composer preview, but… when you submit a post, raw markdown is cooked into html (twice), then we extract data from the generated html and save it to the database. When it's render time, we first display the cooked html poll, and then extract some data from that html, get the data from the post's JSON (and identify that poll using the extracted html stuff) to then render the poll using widgets and the JSON data.
2020-10-02 09:21:24 +02:00

121 lines
3.6 KiB
YAML

en:
js:
poll:
voters:
one: "voter"
other: "voters"
total_votes:
one: "total vote"
other: "total votes"
average_rating: "Average rating: <strong>%{average}</strong>."
public:
title: "Votes are <strong>public</strong>."
results:
groups:
title: "You need to be a member of %{groups} to vote in this poll."
vote:
title: "Results will be shown on <strong>vote</strong>."
closed:
title: "Results will be shown once <strong>closed</strong>."
staff:
title: "Results are only shown to <strong>staff</strong> members."
multiple:
help:
at_least_min_options:
one: "Choose at least <strong>%{count}</strong> option."
other: "Choose at least <strong>%{count}</strong> options."
up_to_max_options:
one: "Choose up to <strong>%{count}</strong> option."
other: "Choose up to <strong>%{count}</strong> options."
x_options:
one: "Choose <strong>%{count}</strong> option."
other: "Choose <strong>%{count}</strong> options."
between_min_and_max_options: "Choose between <strong>%{min}</strong> and <strong>%{max}</strong> options."
cast-votes:
title: "Cast your votes"
label: "Vote now!"
show-results:
title: "Display the poll results"
label: "Show results"
hide-results:
title: "Back to your votes"
label: "Show vote"
group-results:
title: "Group votes by user field"
label: "Show breakdown"
export-results:
title: "Export the poll results"
label: "Export"
open:
title: "Open the poll"
label: "Open"
confirm: "Are you sure you want to open this poll?"
close:
title: "Close the poll"
label: "Close"
confirm: "Are you sure you want to close this poll?"
automatic_close:
closes_in: "Closes in <strong>%{timeLeft}</strong>."
age: "Closed <strong>%{age}</strong>"
breakdown:
title: "Poll results"
votes: "%{count} votes"
breakdown: "Breakdown"
percentage: "Percentage"
count: "Count"
error_while_toggling_status: "Sorry, there was an error toggling the status of this poll."
error_while_casting_votes: "Sorry, there was an error casting your votes."
error_while_fetching_voters: "Sorry, there was an error displaying the voters."
error_while_exporting_results: "Sorry, there was an error exporting poll results."
ui_builder:
title: Build Poll
insert: Insert Poll
help:
options_count: Enter at least 1 option
invalid_values: Minimum value must be smaller than the maximum value.
min_step_value: The minimum step value is 1
poll_type:
label: Type
regular: Single Choice
multiple: Multiple Choice
number: Number Rating
poll_result:
label: Results
always: Always visible
vote: On vote
closed: When closed
staff: Staff only
poll_groups:
label: Allowed groups
poll_chart_type:
label: Chart type
bar: Bar
pie: Pie
poll_config:
max: Max
min: Min
step: Step
poll_public:
label: Show who voted
poll_title:
label: Title (optional)
poll_options:
label: Enter one poll option per line
automatic_close:
label: Automatically close poll