Benjamin Hipple c75ebfee57 UX: Rename 'Hide results' to 'Show vote' in polls (#8403)
For various reasons, users may want to change their response to a poll.
Currently they have permission to do so, however it is hidden behind the 'Hide
results' button. Since what this button does is take the user back to the vote
panel, it seems more appropriate to name it 'Show vote', where it becomes
obvious that it can be modified and re-submitted.

As discussed here [1], there are mulitple users, myself included, who assumed
that editing a misclick response was impossible. This improves the label to make
it more descriptive of the action actually being taken.

[1] https://meta.discourse.org/t/ability-to-remove-my-choice-in-a-poll/53642/6
2019-11-25 12:26:19 +01:00

117 lines
3.6 KiB
YAML

# encoding: utf-8
# This file contains content for the client portion of the poll plugin, sent out
# to the Javascript app.
#
# To work with us on translations, see:
# https://www.transifex.com/projects/p/discourse-org/
#
# This is a "source" file, which is used by Transifex to get translations for other languages.
# After this file is changed, it needs to be pushed by a maintainer to Transifex:
#
# tx push -s
#
# Read more here: https://meta.discourse.org/t/contribute-a-translation-to-discourse/14882
#
# To validate this YAML file after you change it, please paste it into
# http://yamllint.com/
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:
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"
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>"
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 2 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: Results
always: Always visible
vote: On vote
closed: When closed
staff: Staff only
poll_config:
max: Max
min: Min
step: Step
poll_public:
label: Show who voted
poll_options:
label: Enter one poll option per line
automatic_close:
label: Automatically close poll