mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 10:13:45 +08:00
fd0025a735
This PR aims to make poll results easily exportable to staff in a CSV format, so they can be analyzed in external software. It also makes the export data easily customizable by allowing users to leverage any data explorer query to generate the report. By default, we use a query that ships with data explorer, but user can change the ID in settings or use 0 to disable this feature. One potential upgrade is using the recent work that allows arbitrary group to run data explorer and allow all the groups with access to the configured query to also export polls, but that can be added later. Co-Authored-By: Joffrey JAFFEUX <j.jaffeux@gmail.com>
70 lines
3.4 KiB
YAML
70 lines
3.4 KiB
YAML
# encoding: utf-8
|
|
# This file contains content for the server portion of the poll plugin used by Ruby
|
|
#
|
|
# 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:
|
|
site_settings:
|
|
poll_enabled: "Allow polls?"
|
|
poll_maximum_options: "Maximum number of options allowed in a poll."
|
|
poll_edit_window_mins: "Number of minutes after post creation during which polls can be edited."
|
|
poll_minimum_trust_level_to_create: "Define the minimum trust level needed to create polls."
|
|
poll_export_data_explorer_query_id: "ID of the Data Explorer Query to use for exporting poll results (0 to disable)."
|
|
|
|
poll:
|
|
poll: "poll"
|
|
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_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_2_options: "Poll must have at least 2 options."
|
|
named_poll_must_have_at_least_2_options: "Poll named <strong>%{name}</strong> must have at least 2 options."
|
|
|
|
default_poll_must_have_less_options:
|
|
one: "Poll must have less than %{count} option."
|
|
other: "Poll must have less than %{count} options."
|
|
named_poll_must_have_less_options:
|
|
one: "Poll named <strong>%{name}</strong> must have less than %{count} option."
|
|
other: "Poll named <strong>%{name}</strong> must have less than %{count} options."
|
|
|
|
default_poll_must_have_different_options: "Poll must have different options."
|
|
named_poll_must_have_different_options: "Poll named <strong>%{name}</strong> must have different options."
|
|
|
|
default_poll_with_multiple_choices_has_invalid_parameters: "Poll with multiple choices has invalid parameters."
|
|
named_poll_with_multiple_choices_has_invalid_parameters: "Poll named <strong>%{name}</strong> with multiple choice has invalid parameters."
|
|
|
|
requires_at_least_1_valid_option: "You must select at least 1 valid option."
|
|
|
|
edit_window_expired:
|
|
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 name <strong>${name}</strong> after the first %{minutes} minutes."
|
|
|
|
no_poll_with_this_name: "No poll named <strong>%{name}</strong> associated with this post."
|
|
|
|
post_is_deleted: "Cannot act on a deleted post."
|
|
|
|
user_cant_post_in_topic: "You can't vote because you can't post in this topic."
|
|
|
|
topic_must_be_open_to_vote: "The topic must be open to vote."
|
|
poll_must_be_open_to_vote: "Poll must be open to vote."
|
|
|
|
topic_must_be_open_to_toggle_status: "The topic must be open to toggle status."
|
|
only_staff_or_op_can_toggle_status: "Only a staff member or the original poster can toggle a poll status."
|
|
|
|
insufficient_rights_to_create: "You are not allowed to create polls."
|
|
|
|
email:
|
|
link_to_poll: "Click to view the poll."
|