mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 22:14:09 +08:00
e3b6be15b8
The "migration to Glimmer" has been broken out here from #27155 to make the review process less onerous and reduce change risk: * DEV: migrates most of the widget code to Glimmer in prep for IRV additions * NB This already incorporates significant amounts of review and feedback from the prior PR. * NB because there was significant additional feedback relating to older Poll code that I've improved with feedback, there are some additional changes here that are general improvements to the plugin and not specific to IRV nor Glimmer! * There should be no trace of IRV code here. Once this is finalised and merged we can continue to progress with #27155.
133 lines
4.1 KiB
YAML
133 lines
4.1 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} option</strong>."
|
|
other: "Choose at least <strong>%{count} options</strong>."
|
|
up_to_max_options:
|
|
one: "Choose up to <strong>%{count} option</strong>."
|
|
other: "Choose up to <strong>%{count} options</strong>."
|
|
x_options:
|
|
one: "Choose <strong>%{count} option</strong>."
|
|
other: "Choose <strong>%{count} options</strong>."
|
|
between_min_and_max_options: "Choose between <strong>%{min} and %{max} options</strong>."
|
|
|
|
cast-votes:
|
|
title: "Cast your votes"
|
|
label: "Vote now!"
|
|
|
|
show-results:
|
|
title: "Display the poll results"
|
|
label: "Results"
|
|
|
|
remove-vote:
|
|
title: "Remove your vote"
|
|
label: "Undo vote"
|
|
|
|
hide-results:
|
|
title: "Back to your votes"
|
|
label: "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"
|
|
|
|
options:
|
|
label: "Options"
|
|
|
|
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_min_count: Enter at least 1 option.
|
|
options_max_count: Enter at most %{count} options.
|
|
invalid_min_value: Minimum value must be at least 1.
|
|
invalid_max_value: Maximum value must be at least 1, but less than or equal with the number of options.
|
|
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: Show Results...
|
|
always: Always visible
|
|
vote: Only after voting
|
|
closed: When the poll is closed
|
|
staff: Staff only
|
|
poll_groups:
|
|
label: Limit voting to these groups
|
|
poll_chart_type:
|
|
label: Result chart
|
|
bar: Bar
|
|
pie: Pie
|
|
poll_config:
|
|
max: Max Choices
|
|
min: Min Choices
|
|
step: Step
|
|
poll_public:
|
|
label: Show who voted
|
|
poll_title:
|
|
label: Title (optional)
|
|
poll_options:
|
|
label: Options (one per line)
|
|
add: Add option
|
|
automatic_close:
|
|
label: Automatically close poll
|
|
show_advanced: "Show Advanced Options"
|
|
hide_advanced: "Hide Advanced Options"
|