code:
<?php
/**
 * Data class to mark notices as bookmarks
 *
 * PHP version 5
 *
 * @category PollPlugin
 * @package  StatusNet
 * @author   Brion Vibber <brion@status.net>
 * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
 * @link     http://status.net/
 *
 * StatusNet - the distributed open-source microblogging tool
 * Copyright (C) 2011, StatusNet, Inc.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.     See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

if (!defined('STATUSNET')) {
    exit(1);
}

/**
 * For storing the poll options and such
 *
 * @category PollPlugin
 * @package  StatusNet
 * @author   Brion Vibber <brion@status.net>
 * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
 * @link     http://status.net/
 *
 * @see      DB_DataObject
 */
class Poll extends Managed_DataObject
{
    public $__table = 'poll'; // table name
    public $id;          // char(36) primary key not null -> UUID
    public $uri;         // varchar(191)   not 255 because utf8mb4 takes more space
    public $profile_id;  // int -> profile.id
    public $question;    // text
    public $options;     // text; newline(?)-delimited
    public $created;     // datetime

    /**
     * The One True Thingy that must be defined and declared.
     */
    public static function schemaDef()
    {
        return array(
            'description' => 'Per-notice poll data for Poll plugin',
            'fields' => array(
                'id' => array('type' => 'char', 'length' => 36, 'not null' => true, 'description' => 'UUID'),
                'uri' => array('type' => 'varchar', 'length' => 191, 'not null' => true),
                'profile_id' => array('type' => 'int'),
                'question' => array('type' => 'text'),
                'options' => array('type' => 'text'),
                'created' => array('type' => 'datetime', 'not null' => true),
            ),
            'primary key' => array('id'),
            'unique keys' => array(
                'poll_uri_key' => array('uri'),
            ),
        );
    }

    /**
     * Get a bookmark based on a notice
     *
     * @param Notice $notice Notice to check for
     *
     * @return get_called_class found poll or null
     */
    public static function getByNotice($notice)
    {
        return self::getKV('uri', $notice->uri);
    }

    public function getOptions()
    {
        return explode("\n", $this->options);
    }

    /**
     * Is this a valid selection index?
     *
     * @param int $selection (1-based)
     * @return boolean
     */
    public function isValidSelection($selection)
    {
        if ($selection != intval($selection)) {
            return false;
        }
        if ($selection < 1 || $selection > count($this->getOptions())) {
            return false;
        }
        return true;
    }

    public function getNotice()
    {
        return Notice::getKV('uri', $this->uri);
    }

    public function getUrl()
    {
        return $this->getNotice()->getUrl();
    }

    /**
     * Get the response of a particular user to this poll, if any.
     *
     * @param Profile $profile
     * @return get_called_class object or null
     */
    public function getResponse(Profile $profile)
    {
        $pr = Poll_response::pkeyGet(array('poll_id' => $this->id,
            'profile_id' => $profile->id));
        return $pr;
    }

    public function countResponses()
    {
        $pr = new Poll_response();
        $pr->poll_id = $this->id;
        $pr->groupBy('selection');
        $pr->selectAdd('count(profile_id) as votes');
        $pr->find();

        $raw = array();
        while ($pr->fetch()) {
            // Votes list 1-based
            // Array stores 0-based
            $raw[$pr->selection - 1] = $pr->votes;
        }

        $counts = array();
        foreach (array_keys($this->getOptions()) as $key) {
            if (isset($raw[$key])) {
                $counts[$key] = $raw[$key];
            } else {
                $counts[$key] = 0;
            }
        }
        return $counts;
    }

    /**
     * Save a new poll notice
     *
     * @param Profile $profile
     * @param string $question
     * @param array $opts (poll responses)
     *
     * @param null $options
     * @return Notice saved notice
     * @throws ClientException
     */
    public static function saveNew($profile, $question, $opts, $options = null)
    {
        if (empty($options)) {
            $options = array();
        }

        $p = new Poll();

        $p->id = UUID::gen();
        $p->profile_id = $profile->id;
        $p->question = $question;
        $p->options = implode("\n", $opts);

        if (array_key_exists('created', $options)) {
            $p->created = $options['created'];
        } else {
            $p->created = common_sql_now();
        }

        if (array_key_exists('uri', $options)) {
            $p->uri = $options['uri'];
        } else {
            $p->uri = common_local_url(
                'showpoll',
                array('id' => $p->id)
            );
        }

        common_log(LOG_DEBUG, "Saving poll: $p->id $p->uri");
        $p->insert();

        // TRANS: Notice content creating a poll.
        // TRANS: %1$s is the poll question, %2$s is a link to the poll.
        $content = sprintf(
            _m('Poll: %1$s %2$s'),
            $question,
            $p->uri
        );
        $link = 'uri) . '">' . htmlspecialchars($question) . '';
        // TRANS: Rendered version of the notice content creating a poll.
        // TRANS: %s is a link to the poll with the question as link description.
        $rendered = sprintf(_m('Poll: %s'), $link);

        $tags = array('poll');
        $replies = array();

        $options = array_merge(
            array('urls' => array(),
                'rendered' => $rendered,
                'tags' => $tags,
                'replies' => $replies,
                'object_type' => PollPlugin::POLL_OBJECT),
            $options
        );

        if (!array_key_exists('uri', $options)) {
            $options['uri'] = $p->uri;
        }

        $saved = Notice::saveNew(
            $profile->id,
            $content,
            array_key_exists('source', $options) ?
                $options['source'] : 'web',
            $options
        );

        return $saved;
    }
}


code:
<?php
/**
 * Data class to record responses to polls
 *
 * PHP version 5
 *
 * @category PollPlugin
 * @package  StatusNet
 * @author   Brion Vibber <brion@status.net>
 * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
 * @link     http://status.net/
 *
 * StatusNet - the distributed open-source microblogging tool
 * Copyright (C) 2011, StatusNet, Inc.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.     See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

if (!defined('STATUSNET')) {
    exit(1);
}

/**
 * For storing the poll options and such
 *
 * @category PollPlugin
 * @package  StatusNet
 * @author   Brion Vibber <brion@status.net>
 * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
 * @link     http://status.net/
 *
 * @see      DB_DataObject
 */
class Poll_response extends Managed_DataObject
{
    public $__table = 'poll_response'; // table name
    public $id;          // char(36) primary key not null -> UUID
    public $uri;         // varchar(191)   not 255 because utf8mb4 takes more space
    public $poll_id;     // char(36) -> poll.id UUID
    public $profile_id;  // int -> profile.id
    public $selection;   // int -> choice #
    public $created;     // datetime

    /**
     * The One True Thingy that must be defined and declared.
     */
    public static function schemaDef()
    {
        return array(
            'description' => 'Record of responses to polls',
            'fields' => array(
                'id' => array('type' => 'char', 'length' => 36, 'not null' => true, 'description' => 'UUID of the response'),
                'uri' => array('type' => 'varchar', 'length' => 191, 'not null' => true, 'description' => 'UUID to the response notice'),
                'poll_id' => array('type' => 'char', 'length' => 36, 'not null' => true, 'description' => 'UUID of poll being responded to'),
                'profile_id' => array('type' => 'int'),
                'selection' => array('type' => 'int'),
                'created' => array('type' => 'datetime', 'not null' => true),
            ),
            'primary key' => array('id'),
            'unique keys' => array(
                'poll_uri_key' => array('uri'),
                'poll_response_poll_id_profile_id_key' => array('poll_id', 'profile_id'),
            ),
            'indexes' => array(
                'poll_response_profile_id_poll_id_index' => array('profile_id', 'poll_id'),
            )
        );
    }

    /**
     * Get a poll response based on a notice
     *
     * @param Notice $notice Notice to check for
     *
     * @return get_called_class found response or null
     */
    public static function getByNotice($notice)
    {
        return self::getKV('uri', $notice->uri);
    }

    /**
     * Get the notice that belongs to this response...
     *
     * @return get_called_class
     */
    public function getNotice()
    {
        return Notice::getKV('uri', $this->uri);
    }

    public function getUrl()
    {
        return $this->getNotice()->getUrl();
    }

    /**
     *
     * @return get_called_class
     */
    public function getPoll()
    {
        return Poll::getKV('id', $this->poll_id);
    }

    /**
     * Save a new poll notice
     *
     * @param Profile $profile
     * @param Poll $poll the poll being responded to
     * @param int $selection (1-based)
     * @param null $options
     * @return Notice saved notice
     * @throws ClientException
     */
    public static function saveNew($profile, $poll, $selection, $options = null)
    {
        if (empty($options)) {
            $options = [];
        }

        if (!$poll->isValidSelection($selection)) {
            // TRANS: Client exception thrown when responding to a poll with an invalid option.
            throw new ClientException(_m('Invalid poll selection.'));
        }
        $opts = $poll->getOptions();
        $answer = $opts[$selection - 1];

        $pr = new Poll_response();
        $pr->id = UUID::gen();
        $pr->profile_id = $profile->id;
        $pr->poll_id = $poll->id;
        $pr->selection = $selection;

        if (array_key_exists('created', $options)) {
            $pr->created = $options['created'];
        } else {
            $pr->created = common_sql_now();
        }

        if (array_key_exists('uri', $options)) {
            $pr->uri = $options['uri'];
        } else {
            $pr->uri = common_local_url(
                'showpollresponse',
                array('id' => $pr->id)
            );
        }

        common_log(LOG_DEBUG, "Saving poll response: $pr->id $pr->uri");
        $pr->insert();

        // TRANS: Notice content voting for a poll.
        // TRANS: %s is the chosen option in the poll.
        $content = sprintf(
            _m('voted for "%s"'),
            $answer
        );
        $link = 'uri) . '">' . htmlspecialchars($answer) . '';
        // TRANS: Rendered version of the notice content voting for a poll.
        // TRANS: %s a link to the poll with the chosen option as link description.
        $rendered = sprintf(_m('voted for "%s"'), $link);

        $tags = array();

        $options = array_merge(
            array('urls' => array(),
                'rendered' => $rendered,
                'tags' => $tags,
                'reply_to' => $poll->getNotice()->id,
                'object_type' => PollPlugin::POLL_RESPONSE_OBJECT),
            $options
        );

        if (!array_key_exists('uri', $options)) {
            $options['uri'] = $pr->uri;
        }

        $saved = Notice::saveNew(
            $profile->id,
            $content,
            array_key_exists('source', $options) ?
                $options['source'] : 'web',
            $options
        );

        return $saved;
    }
}

repo_name: andremichelle/gnu

license: mit


code:
<?php
/**
 * Data class to record user prefs for polls
 *
 * PHP version 5
 *
 * @category PollPlugin
 * @package  StatusNet
 * @author   Evan Prodromou <evan@status.net>
 * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
 * @link     http://status.net/
 *
 * StatusNet - the distributed open-source microblogging tool
 * Copyright (C) 2012, StatusNet, Inc.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.     See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

if (!defined('STATUSNET')) {
    exit(1);
}

/**
 * For storing the poll prefs
 *
 * @category PollPlugin
 * @package  StatusNet
 * @author   Brion Vibber <brion@status.net>
 * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
 * @link     http://status.net/
 *
 * @see      DB_DataObject
 */
class User_poll_prefs extends Managed_DataObject
{
    public $__table = 'user_poll_prefs'; // table name
    public $user_id;          // int id
    public $hide_responses;   // boolean
    public $created;          // datetime
    public $modified;         // datetime

    /**
     * The One True Thingy that must be defined and declared.
     */
    public static function schemaDef()
    {
        return array(
            'description' => 'Record of user preferences for polls',
            'fields' => array(
                'user_id' => array('type' => 'int', 'not null' => true, 'description' => 'user id'),
                'hide_responses' => array('type' => 'int', 'size' => 'tiny', 'default' => 0, 'description' => 'Hide all poll responses'),
                'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'),
                'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'),
            ),
            'primary key' => array('user_id')
        );
    }
}


code:
<?php
/**
 * StatusNet - the distributed open-source microblogging tool
 * Copyright (C) 2011, StatusNet, Inc.
 *
 * Form for adding a new poll
 *
 * PHP version 5
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @category  PollPlugin
 * @package   StatusNet
 * @author    Brion Vibber <brion@status.net>
 * @copyright 2011 StatusNet, Inc.
 * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
 * @link      http://status.net/
 */

if (!defined('STATUSNET')) {
    // This check helps protect against security problems;
    // your code file can't be executed directly from the web.
    exit(1);
}

/**
 * Form to add a new poll thingy
 *
 * @category  PollPlugin
 * @package   StatusNet
 * @author    Brion Vibber <brion@status.net>
 * @copyright 2011 StatusNet, Inc.
 * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
 * @link      http://status.net/
 */
class NewpollForm extends Form
{
    protected $question = null;
    protected $options = array();

    /**
     * Construct a new poll form
     *
     * @param HTMLOutputter $out output channel
     *
     * @param null $question
     * @param null $options
     */
    public function __construct(HTMLOutputter $out = null, $question = null, $options = null)
    {
        parent::__construct($out);
    }

    /**
     * ID of the form
     *
     * @return int ID of the form
     */
    public function id()
    {
        return 'newpoll-form';
    }

    /**
     * class of the form
     *
     * @return string class of the form
     */
    public function formClass()
    {
        return 'form_settings ajax-notice';
    }

    /**
     * Action of the form
     *
     * @return string URL of the action
     */
    public function action()
    {
        return common_local_url('newpoll');
    }

    /**
     * Data elements of the form
     *
     * @return void
     */
    public function formData()
    {
        $this->out->elementStart('fieldset', array('id' => 'newpoll-data'));
        $this->out->elementStart('ul', 'form_data');

        $this->li();
        $this->out->input(
            'question',
            // TRANS: Field label on the page to create a poll.
            _m('Question'),
            $this->question,
            // TRANS: Field title on the page to create a poll.
            _m('What question are people answering?'),
            'question',
            true
        );    // HTML5 "required" attribute
        $this->unli();

        $max = 5;
        if (count($this->options) + 1 > $max) {
            $max = count($this->options) + 2;
        }
        for ($i = 0; $i < $max; $i++) {
            // @fixme make extensible
            if (isset($this->options[$i])) {
                $default = $this->options[$i];
            } else {
                $default = '';
            }
            $this->li();
            $this->out->input(
                'poll-option' . ($i + 1),
                // TRANS: Field label for an answer option on the page to create a poll.
                // TRANS: %d is the option number.
                sprintf(_m('Option %d'), $i + 1),
                $default,
                null,
                'option' . ($i + 1),
                $i < 2
            );   // HTML5 "required" attribute for 2 options
            $this->unli();
        }

        $this->out->elementEnd('ul');

        $toWidget = new ToSelector(
            $this->out,
            common_current_user(),
            null
        );
        $toWidget->show();

        $this->out->elementEnd('fieldset');
    }

    /**
     * Action elements
     *
     * @return void
     */
    public function formActions()
    {
        // TRANS: Button text for saving a new poll.
        $this->out->submit('poll-submit', _m('BUTTON', 'Save'), 'submit', 'submit');
    }
}


code:
<?php

if (!defined('GNUSOCIAL')) {
    exit(1);
}

class PollPrefsForm extends Form
{
    public function __construct(Action $out, User_poll_prefs $prefs = null)
    {
        parent::__construct($out);
        $this->prefs = $prefs;
    }

    /**
     * Visible or invisible data elements
     *
     * Display the form fields that make up the data of the form.
     * Sub-classes should overload this to show their data.
     *
     * @return void
     */

    public function formData()
    {
        $this->elementStart('fieldset');
        $this->elementStart('ul', 'form_data');
        $this->elementStart('li');
        $this->checkbox(
            'hide_responses',
            _('Do not deliver poll responses to my home timeline'),
            ($this->prefs instanceof User_poll_prefs && $this->prefs->hide_responses)
        );
        $this->elementEnd('li');
        $this->elementEnd('ul');
        $this->elementEnd('fieldset');
    }

    /**
     * Buttons for form actions
     *
     * Submit and cancel buttons (or whatever)
     * Sub-classes should overload this to show their own buttons.
     *
     * @return void
     */

    public function formActions()
    {
        $this->submit('submit', _('Save'));
    }

    /**
     * ID of the form
     *
     * Should be unique on the page. Sub-classes should overload this
     * to show their own IDs.
     *
     * @return int ID of the form
     */

    public function id()
    {
        return 'form_poll_prefs';
    }

    /**
     * Action of the form.
     *
     * URL to post to. Should be overloaded by subclasses to give
     * somewhere to post to.
     *
     * @return string URL to post to
     */

    public function action()
    {
        return common_local_url('pollsettings');
    }

    /**
     * Class of the form. May include space-separated list of multiple classes.
     *
     * @return string the form's class
     */

    public function formClass()
    {
        return 'form_settings';
    }
}


code:
<?php
/**
 * StatusNet - the distributed open-source microblogging tool
 * Copyright (C) 2011, StatusNet, Inc.
 *
 * Form for adding a new poll
 *
 * PHP version 5
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @category  PollPlugin
 * @package   StatusNet
 * @author    Brion Vibber <brion@status.net>
 * @copyright 2011 StatusNet, Inc.
 * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
 * @link      http://status.net/
 */

if (!defined('STATUSNET')) {
    // This check helps protect against security problems;
    // your code file can't be executed directly from the web.
    exit(1);
}

/**
 * Form to add a new poll thingy
 *
 * @category  PollPlugin
 * @package   StatusNet
 * @author    Brion Vibber <brion@status.net>
 * @copyright 2011 StatusNet, Inc.
 * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
 * @link      http://status.net/
 */
class PollResponseForm extends Form
{
    protected $poll;

    /**
     * Construct a new poll form
     *
     * @param Poll $poll
     * @param HTMLOutputter $out output channel
     *
     * @return void
     */
    public function __construct(Poll $poll, HTMLOutputter $out)
    {
        parent::__construct($out);
        $this->poll = $poll;
    }

    /**
     * ID of the form
     *
     * @return int ID of the form
     */
    public function id()
    {
        return 'pollresponse-form';
    }

    /**
     * class of the form
     *
     * @return string class of the form
     */
    public function formClass()
    {
        return 'form_settings ajax';
    }

    /**
     * Action of the form
     *
     * @return string URL of the action
     */
    public function action()
    {
        return common_local_url('respondpoll', array('id' => $this->poll->id));
    }

    /**
     * Data elements of the form
     *
     * @return void
     */
    public function formData()
    {
        $poll = $this->poll;
        $out = $this->out;

        $out->element('p', 'poll-question', $poll->question);
        $out->elementStart('ul', 'poll-options');
        foreach ($poll->getOptions() as $i => $opt) {
            $out->elementStart('li');
            $out->elementStart('label');
            $out->element('input', ['type' => 'radio', 'name' => 'pollselection', 'value' => $i + 1], '');
            $out->text(' ' . $opt);
            $out->elementEnd('label');
            $out->elementEnd('li');
        }
        $out->elementEnd('ul');
    }

    /**
     * Action elements
     *
     * @return void
     */
    public function formActions()
    {
        // TRANS: Button text for submitting a poll response.
        $this->out->submit('poll-response-submit', _m('BUTTON', 'Submit'), 'submit', 'submit');
    }
}


code:
<?php
/**
 * StatusNet - the distributed open-source microblogging tool
 * Copyright (C) 2011, StatusNet, Inc.
 *
 * Form for adding a new poll
 *
 * PHP version 5
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @category  PollPlugin
 * @package   StatusNet
 * @author    Brion Vibber <brion@status.net>
 * @copyright 2011 StatusNet, Inc.
 * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
 * @link      http://status.net/
 */

if (!defined('STATUSNET')) {
    // This check helps protect against security problems;
    // your code file can't be executed directly from the web.
    exit(1);
}

/**
 * Form to add a new poll thingy
 *
 * @category  PollPlugin
 * @package   StatusNet
 * @author    Brion Vibber <brion@status.net>
 * @copyright 2011 StatusNet, Inc.
 * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
 * @link      http://status.net/
 */
class PollResultForm extends Form
{
    protected $poll;

    /**
     * Construct a new poll form
     *
     * @param Poll $poll
     * @param HTMLOutputter $out output channel
     *
     * @return void
     */
    public function __construct(Poll $poll, HTMLOutputter $out)
    {
        parent::__construct($out);
        $this->poll = $poll;
    }

    /**
     * ID of the form
     *
     * @return int ID of the form
     */
    public function id()
    {
        return 'pollresult-form';
    }

    /**
     * class of the form
     *
     * @return string class of the form
     */
    public function formClass()
    {
        return 'form_settings ajax';
    }

    /**
     * Action of the form
     *
     * @return string URL of the action
     */
    public function action()
    {
        return common_local_url('respondpoll', array('id' => $this->poll->id));
    }

    /**
     * Data elements of the form
     *
     * @return void
     */
    public function formData()
    {
        $poll = $this->poll;
        $out = $this->out;
        $counts = $poll->countResponses();

        $width = 200;
        $max = max($counts);
        if ($max == 0) {
            $max = 1; // quick hack :D
        }

        $out->element('p', 'poll-question', $poll->question);
        $out->elementStart('table', 'poll-results');
        foreach ($poll->getOptions() as $i => $opt) {
            $w = intval($counts[$i] * $width / $max) + 1;

            $out->elementStart('tr');

            $out->elementStart('td');
            $out->text($opt);
            $out->elementEnd('td');

            $out->elementStart('td');
            $out->element(
                'span',
                array('class' => 'poll-block',
                    'style' => "width: {$w}px"),
                "\xc2\xa0"
            ); // nbsp
            $out->text($counts[$i]);
            $out->elementEnd('td');

            $out->elementEnd('tr');
        }
        $out->elementEnd('table');
    }

    /**
     * Action elements
     *
     * @return void
     */
    public function formActions()
    {
    }
}


code:
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-08 18:20+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#. TRANS: Page title for poll response.
#: actions/respondpoll.php:63
msgid "Poll response"
msgstr ""

#. TRANS: Client exception thrown trying to respond to a poll while not logged in.
#: actions/respondpoll.php:85
msgid "You must be logged in to respond to a poll."
msgstr ""

#. TRANS: Client exception thrown trying to respond to a non-existing poll.
#: actions/respondpoll.php:97
msgid "Invalid or missing poll."
msgstr ""

#. TRANS: Client exception thrown responding to a poll with an invalid answer.
#. TRANS: Client exception thrown when responding to a poll with an invalid option.
#: actions/respondpoll.php:103 classes/Poll_response.php:134
msgid "Invalid poll selection."
msgstr ""

#. TRANS: Page title after sending a poll response.
#: actions/respondpoll.php:149
msgid "Poll results"
msgstr ""

#. TRANS: Title for poll page.
#: actions/newpoll.php:63
msgid "New poll"
msgstr ""

#. TRANS: Client exception thrown trying to create a poll while not logged in.
#: actions/newpoll.php:82
msgid "You must be logged in to post a poll."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll without a question.
#: actions/newpoll.php:132
msgid "Poll must have a question."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll with fewer than two options.
#: actions/newpoll.php:137
msgid "Poll must have at least two options."
msgstr ""

#. TRANS: Page title after sending a notice.
#: actions/newpoll.php:163
msgid "Notice posted"
msgstr ""

#. TRANS: Page title.
#: actions/pollsettings.php:42
msgid "Poll settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/pollsettings.php:54
msgid "Set your poll preferences"
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll.
#: actions/showpoll.php:59
msgid "No such poll."
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll notice.
#: actions/showpoll.php:67
msgid "No such poll notice."
msgstr ""

#. TRANS: Page title for a poll.
#. TRANS: %1$s is the nickname of the user that created the poll, %2$s is the poll question.
#: actions/showpoll.php:84
#, php-format
msgid "%1$s's poll: %2$s"
msgstr ""

#. TRANS: Notice content creating a poll.
#. TRANS: %1$s is the poll question, %2$s is a link to the poll.
#: classes/Poll.php:201
#, php-format
msgid "Poll: %1$s %2$s"
msgstr ""

#. TRANS: Rendered version of the notice content creating a poll.
#. TRANS: %s is a link to the poll with the question as link description.
#: classes/Poll.php:207
#, php-format
msgid "Poll: %s"
msgstr ""

#. TRANS: Notice content voting for a poll.
#. TRANS: %s is the chosen option in the poll.
#. TRANS: Rendered version of the notice content voting for a poll.
#. TRANS: %s a link to the poll with the chosen option as link description.
#: classes/Poll_response.php:163 classes/Poll_response.php:168
#, php-format
msgid "voted for \"%s\""
msgstr ""

#. TRANS: Plugin description.
#: PollPlugin.php:131
msgid "Simple extension for supporting basic polls."
msgstr ""

#. TRANS: Exception thrown trying to respond to a poll without a poll reference.
#: PollPlugin.php:204
msgid "Invalid poll response: No poll reference."
msgstr ""

#. TRANS: Exception thrown trying to respond to a non-existing poll.
#: PollPlugin.php:209
msgid "Invalid poll response: Poll is unknown."
msgstr ""

#. TRANS: Exception thrown when performing an unexpected action on a poll.
#. TRANS: %s is the unexpected object type.
#: PollPlugin.php:236
#, php-format
msgid "Unexpected type for poll plugin: %s."
msgstr ""

#. TRANS: Application title.
#: PollPlugin.php:392
msgctxt "APPTITLE"
msgid "Poll"
msgstr ""

#. TRANS: Poll plugin menu item on user settings page.
#: PollPlugin.php:436
msgctxt "MENU"
msgid "Polls"
msgstr ""

#. TRANS: Poll plugin tooltip for user settings menu item.
#: PollPlugin.php:438
msgid "Configure poll behavior"
msgstr ""

#. TRANS: Error text displayed if no poll data could be found.
#: PollPlugin.php:463
msgid "Poll data is missing"
msgstr ""

#. TRANS: Button text for submitting a poll response.
#: forms/pollresponse.php:127
msgctxt "BUTTON"
msgid "Submit"
msgstr ""

#. TRANS: Field label on the page to create a poll.
#: forms/newpoll.php:107
msgid "Question"
msgstr ""

#. TRANS: Field title on the page to create a poll.
#: forms/newpoll.php:110
msgid "What question are people answering?"
msgstr ""

#. TRANS: Field label for an answer option on the page to create a poll.
#. TRANS: %d is the option number.
#: forms/newpoll.php:130
#, php-format
msgid "Option %d"
msgstr ""

#. TRANS: Button text for saving a new poll.
#: forms/newpoll.php:156
msgctxt "BUTTON"
msgid "Save"
msgstr ""


code:
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-05 16:27+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Afrikaans (http://www.transifex.com/gnu-social/gnu-social/language/af/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: af\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. TRANS: Field label on the page to create a poll.
#: forms/newpoll.php:107
msgid "Question"
msgstr ""

#. TRANS: Field title on the page to create a poll.
#: forms/newpoll.php:110
msgid "What question are people answering?"
msgstr ""

#. TRANS: Field label for an answer option on the page to create a poll.
#. TRANS: %d is the option number.
#: forms/newpoll.php:130
#, php-format
msgid "Option %d"
msgstr ""

#. TRANS: Button text for saving a new poll.
#: forms/newpoll.php:156
msgctxt "BUTTON"
msgid "Save"
msgstr "Stoor"

#. TRANS: Button text for submitting a poll response.
#: forms/pollresponse.php:127
msgctxt "BUTTON"
msgid "Submit"
msgstr ""

#. TRANS: Page title.
#: actions/pollsettings.php:44
msgid "Poll settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/pollsettings.php:56
msgid "Set your poll preferences"
msgstr ""

#. TRANS: Title for poll page.
#: actions/newpoll.php:63
msgid "New poll"
msgstr ""

#. TRANS: Client exception thrown trying to create a poll while not logged in.
#: actions/newpoll.php:81
msgid "You must be logged in to post a poll."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll without a question.
#: actions/newpoll.php:133
msgid "Poll must have a question."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll with fewer than two
#. options.
#: actions/newpoll.php:138
msgid "Poll must have at least two options."
msgstr ""

#. TRANS: Page title after sending a notice.
#: actions/newpoll.php:164
msgid "Notice posted"
msgstr ""

#. TRANS: Page title for poll response.
#: actions/respondpoll.php:63
msgid "Poll response"
msgstr ""

#. TRANS: Client exception thrown trying to respond to a poll while not logged
#. in.
#: actions/respondpoll.php:84
msgid "You must be logged in to respond to a poll."
msgstr ""

#. TRANS: Client exception thrown trying to respond to a non-existing poll.
#: actions/respondpoll.php:96
msgid "Invalid or missing poll."
msgstr ""

#. TRANS: Client exception thrown responding to a poll with an invalid answer.
#. TRANS: Client exception thrown when responding to a poll with an invalid
#. option.
#: actions/respondpoll.php:102 classes/Poll_response.php:134
msgid "Invalid poll selection."
msgstr ""

#. TRANS: Page title after sending a poll response.
#: actions/respondpoll.php:150
msgid "Poll results"
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll.
#: actions/showpoll.php:59
msgid "No such poll."
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll notice.
#: actions/showpoll.php:67
msgid "No such poll notice."
msgstr ""

#. TRANS: Page title for a poll.
#. TRANS: %1$s is the nickname of the user that created the poll, %2$s is the
#. poll question.
#: actions/showpoll.php:84
#, php-format
msgid "%1$s's poll: %2$s"
msgstr ""

#. TRANS: Notice content creating a poll.
#. TRANS: %1$s is the poll question, %2$s is a link to the poll.
#: classes/Poll.php:201
#, php-format
msgid "Poll: %1$s %2$s"
msgstr ""

#. TRANS: Rendered version of the notice content creating a poll.
#. TRANS: %s is a link to the poll with the question as link description.
#: classes/Poll.php:207
#, php-format
msgid "Poll: %s"
msgstr ""

#. TRANS: Notice content voting for a poll.
#. TRANS: %s is the chosen option in the poll.
#. TRANS: Rendered version of the notice content voting for a poll.
#. TRANS: %s a link to the poll with the chosen option as link description.
#: classes/Poll_response.php:163 classes/Poll_response.php:168
#, php-format
msgid "voted for \"%s\""
msgstr ""

#. TRANS: Plugin description.
#: PollPlugin.php:131
msgid "Simple extension for supporting basic polls."
msgstr ""

#. TRANS: Exception thrown trying to respond to a poll without a poll
#. reference.
#: PollPlugin.php:204
msgid "Invalid poll response: No poll reference."
msgstr ""

#. TRANS: Exception thrown trying to respond to a non-existing poll.
#: PollPlugin.php:209
msgid "Invalid poll response: Poll is unknown."
msgstr ""

#. TRANS: Exception thrown when performing an unexpected action on a poll.
#. TRANS: %s is the unexpected object type.
#: PollPlugin.php:236
#, php-format
msgid "Unexpected type for poll plugin: %s."
msgstr ""

#. TRANS: Application title.
#: PollPlugin.php:392
msgctxt "APPTITLE"
msgid "Poll"
msgstr ""

#. TRANS: Poll plugin menu item on user settings page.
#: PollPlugin.php:436
msgctxt "MENU"
msgid "Polls"
msgstr ""

#. TRANS: Poll plugin tooltip for user settings menu item.
#: PollPlugin.php:438
msgid "Configure poll behavior"
msgstr ""

#. TRANS: Error text displayed if no poll data could be found.
#: PollPlugin.php:463
msgid "Poll data is missing"
msgstr ""


code:
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2011 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-07 14:32+0000\n"
"Last-Translator: digitaldreamer <digitaldreamer@email.cz>\n"
"Language-Team: Arabic (http://www.transifex.com/gnu-social/gnu-social/language/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. TRANS: Field label on the page to create a poll.
#: forms/newpoll.php:107
msgid "Question"
msgstr "السؤال"

#. TRANS: Field title on the page to create a poll.
#: forms/newpoll.php:110
msgid "What question are people answering?"
msgstr "ما السؤال الذي سيجيبه الناس؟"

#. TRANS: Field label for an answer option on the page to create a poll.
#. TRANS: %d is the option number.
#: forms/newpoll.php:130
#, php-format
msgid "Option %d"
msgstr "الخيار %d"

#. TRANS: Button text for saving a new poll.
#: forms/newpoll.php:156
msgctxt "BUTTON"
msgid "Save"
msgstr "احفظ"

#. TRANS: Button text for submitting a poll response.
#: forms/pollresponse.php:127
msgctxt "BUTTON"
msgid "Submit"
msgstr "أرسل"

#. TRANS: Page title.
#: actions/pollsettings.php:44
msgid "Poll settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/pollsettings.php:56
msgid "Set your poll preferences"
msgstr ""

#. TRANS: Title for poll page.
#: actions/newpoll.php:63
msgid "New poll"
msgstr "استطلاع جديد"

#. TRANS: Client exception thrown trying to create a poll while not logged in.
#: actions/newpoll.php:81
msgid "You must be logged in to post a poll."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll without a question.
#: actions/newpoll.php:133
msgid "Poll must have a question."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll with fewer than two
#. options.
#: actions/newpoll.php:138
msgid "Poll must have at least two options."
msgstr ""

#. TRANS: Page title after sending a notice.
#: actions/newpoll.php:164
msgid "Notice posted"
msgstr "أُرسل الإشعار"

#. TRANS: Page title for poll response.
#: actions/respondpoll.php:63
msgid "Poll response"
msgstr ""

#. TRANS: Client exception thrown trying to respond to a poll while not logged
#. in.
#: actions/respondpoll.php:84
msgid "You must be logged in to respond to a poll."
msgstr ""

#. TRANS: Client exception thrown trying to respond to a non-existing poll.
#: actions/respondpoll.php:96
msgid "Invalid or missing poll."
msgstr ""

#. TRANS: Client exception thrown responding to a poll with an invalid answer.
#. TRANS: Client exception thrown when responding to a poll with an invalid
#. option.
#: actions/respondpoll.php:102 classes/Poll_response.php:134
msgid "Invalid poll selection."
msgstr ""

#. TRANS: Page title after sending a poll response.
#: actions/respondpoll.php:150
msgid "Poll results"
msgstr "نتائج الاستطلاع"

#. TRANS: Client exception thrown trying to view a non-existing poll.
#: actions/showpoll.php:59
msgid "No such poll."
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll notice.
#: actions/showpoll.php:67
msgid "No such poll notice."
msgstr ""

#. TRANS: Page title for a poll.
#. TRANS: %1$s is the nickname of the user that created the poll, %2$s is the
#. poll question.
#: actions/showpoll.php:84
#, php-format
msgid "%1$s's poll: %2$s"
msgstr "استطلاع %1$s: %2$s"

#. TRANS: Notice content creating a poll.
#. TRANS: %1$s is the poll question, %2$s is a link to the poll.
#: classes/Poll.php:201
#, php-format
msgid "Poll: %1$s %2$s"
msgstr "استطلاع: %1$s %2$s"

#. TRANS: Rendered version of the notice content creating a poll.
#. TRANS: %s is a link to the poll with the question as link description.
#: classes/Poll.php:207
#, php-format
msgid "Poll: %s"
msgstr "استطلاع: %s"

#. TRANS: Notice content voting for a poll.
#. TRANS: %s is the chosen option in the poll.
#. TRANS: Rendered version of the notice content voting for a poll.
#. TRANS: %s a link to the poll with the chosen option as link description.
#: classes/Poll_response.php:163 classes/Poll_response.php:168
#, php-format
msgid "voted for \"%s\""
msgstr "صوت ل\"%s\""

#. TRANS: Plugin description.
#: PollPlugin.php:131
msgid "Simple extension for supporting basic polls."
msgstr ""

#. TRANS: Exception thrown trying to respond to a poll without a poll
#. reference.
#: PollPlugin.php:204
msgid "Invalid poll response: No poll reference."
msgstr ""

#. TRANS: Exception thrown trying to respond to a non-existing poll.
#: PollPlugin.php:209
msgid "Invalid poll response: Poll is unknown."
msgstr ""

#. TRANS: Exception thrown when performing an unexpected action on a poll.
#. TRANS: %s is the unexpected object type.
#: PollPlugin.php:236
#, php-format
msgid "Unexpected type for poll plugin: %s."
msgstr ""

#. TRANS: Application title.
#: PollPlugin.php:392
msgctxt "APPTITLE"
msgid "Poll"
msgstr "استطلاع"

#. TRANS: Poll plugin menu item on user settings page.
#: PollPlugin.php:436
msgctxt "MENU"
msgid "Polls"
msgstr ""

#. TRANS: Poll plugin tooltip for user settings menu item.
#: PollPlugin.php:438
msgid "Configure poll behavior"
msgstr ""

#. TRANS: Error text displayed if no poll data could be found.
#: PollPlugin.php:463
msgid "Poll data is missing"
msgstr ""


code:
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-05 16:27+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Arabic (Egypt) (http://www.transifex.com/gnu-social/gnu-social/language/ar_EG/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ar_EG\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. TRANS: Field label on the page to create a poll.
#: forms/newpoll.php:107
msgid "Question"
msgstr ""

#. TRANS: Field title on the page to create a poll.
#: forms/newpoll.php:110
msgid "What question are people answering?"
msgstr ""

#. TRANS: Field label for an answer option on the page to create a poll.
#. TRANS: %d is the option number.
#: forms/newpoll.php:130
#, php-format
msgid "Option %d"
msgstr ""

#. TRANS: Button text for saving a new poll.
#: forms/newpoll.php:156
msgctxt "BUTTON"
msgid "Save"
msgstr "أرسل"

#. TRANS: Button text for submitting a poll response.
#: forms/pollresponse.php:127
msgctxt "BUTTON"
msgid "Submit"
msgstr ""

#. TRANS: Page title.
#: actions/pollsettings.php:44
msgid "Poll settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/pollsettings.php:56
msgid "Set your poll preferences"
msgstr ""

#. TRANS: Title for poll page.
#: actions/newpoll.php:63
msgid "New poll"
msgstr ""

#. TRANS: Client exception thrown trying to create a poll while not logged in.
#: actions/newpoll.php:81
msgid "You must be logged in to post a poll."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll without a question.
#: actions/newpoll.php:133
msgid "Poll must have a question."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll with fewer than two
#. options.
#: actions/newpoll.php:138
msgid "Poll must have at least two options."
msgstr ""

#. TRANS: Page title after sending a notice.
#: actions/newpoll.php:164
msgid "Notice posted"
msgstr "أُرسل الإشعار"

#. TRANS: Page title for poll response.
#: actions/respondpoll.php:63
msgid "Poll response"
msgstr ""

#. TRANS: Client exception thrown trying to respond to a poll while not logged
#. in.
#: actions/respondpoll.php:84
msgid "You must be logged in to respond to a poll."
msgstr ""

#. TRANS: Client exception thrown trying to respond to a non-existing poll.
#: actions/respondpoll.php:96
msgid "Invalid or missing poll."
msgstr ""

#. TRANS: Client exception thrown responding to a poll with an invalid answer.
#. TRANS: Client exception thrown when responding to a poll with an invalid
#. option.
#: actions/respondpoll.php:102 classes/Poll_response.php:134
msgid "Invalid poll selection."
msgstr ""

#. TRANS: Page title after sending a poll response.
#: actions/respondpoll.php:150
msgid "Poll results"
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll.
#: actions/showpoll.php:59
msgid "No such poll."
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll notice.
#: actions/showpoll.php:67
msgid "No such poll notice."
msgstr ""

#. TRANS: Page title for a poll.
#. TRANS: %1$s is the nickname of the user that created the poll, %2$s is the
#. poll question.
#: actions/showpoll.php:84
#, php-format
msgid "%1$s's poll: %2$s"
msgstr ""

#. TRANS: Notice content creating a poll.
#. TRANS: %1$s is the poll question, %2$s is a link to the poll.
#: classes/Poll.php:201
#, php-format
msgid "Poll: %1$s %2$s"
msgstr ""

#. TRANS: Rendered version of the notice content creating a poll.
#. TRANS: %s is a link to the poll with the question as link description.
#: classes/Poll.php:207
#, php-format
msgid "Poll: %s"
msgstr ""

#. TRANS: Notice content voting for a poll.
#. TRANS: %s is the chosen option in the poll.
#. TRANS: Rendered version of the notice content voting for a poll.
#. TRANS: %s a link to the poll with the chosen option as link description.
#: classes/Poll_response.php:163 classes/Poll_response.php:168
#, php-format
msgid "voted for \"%s\""
msgstr ""

#. TRANS: Plugin description.
#: PollPlugin.php:131
msgid "Simple extension for supporting basic polls."
msgstr ""

#. TRANS: Exception thrown trying to respond to a poll without a poll
#. reference.
#: PollPlugin.php:204
msgid "Invalid poll response: No poll reference."
msgstr ""

#. TRANS: Exception thrown trying to respond to a non-existing poll.
#: PollPlugin.php:209
msgid "Invalid poll response: Poll is unknown."
msgstr ""

#. TRANS: Exception thrown when performing an unexpected action on a poll.
#. TRANS: %s is the unexpected object type.
#: PollPlugin.php:236
#, php-format
msgid "Unexpected type for poll plugin: %s."
msgstr ""

#. TRANS: Application title.
#: PollPlugin.php:392
msgctxt "APPTITLE"
msgid "Poll"
msgstr ""

#. TRANS: Poll plugin menu item on user settings page.
#: PollPlugin.php:436
msgctxt "MENU"
msgid "Polls"
msgstr ""

#. TRANS: Poll plugin tooltip for user settings menu item.
#: PollPlugin.php:438
msgid "Configure poll behavior"
msgstr ""

#. TRANS: Error text displayed if no poll data could be found.
#: PollPlugin.php:463
msgid "Poll data is missing"
msgstr ""


code:
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-05 17:29+0000\n"
"Last-Translator: digitaldreamer <digitaldreamer@email.cz>\n"
"Language-Team: Asturian (http://www.transifex.com/gnu-social/gnu-social/language/ast/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ast\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. TRANS: Field label on the page to create a poll.
#: forms/newpoll.php:107
msgid "Question"
msgstr ""

#. TRANS: Field title on the page to create a poll.
#: forms/newpoll.php:110
msgid "What question are people answering?"
msgstr ""

#. TRANS: Field label for an answer option on the page to create a poll.
#. TRANS: %d is the option number.
#: forms/newpoll.php:130
#, php-format
msgid "Option %d"
msgstr ""

#. TRANS: Button text for saving a new poll.
#: forms/newpoll.php:156
msgctxt "BUTTON"
msgid "Save"
msgstr ""

#. TRANS: Button text for submitting a poll response.
#: forms/pollresponse.php:127
msgctxt "BUTTON"
msgid "Submit"
msgstr ""

#. TRANS: Page title.
#: actions/pollsettings.php:44
msgid "Poll settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/pollsettings.php:56
msgid "Set your poll preferences"
msgstr ""

#. TRANS: Title for poll page.
#: actions/newpoll.php:63
msgid "New poll"
msgstr ""

#. TRANS: Client exception thrown trying to create a poll while not logged in.
#: actions/newpoll.php:81
msgid "You must be logged in to post a poll."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll without a question.
#: actions/newpoll.php:133
msgid "Poll must have a question."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll with fewer than two
#. options.
#: actions/newpoll.php:138
msgid "Poll must have at least two options."
msgstr ""

#. TRANS: Page title after sending a notice.
#: actions/newpoll.php:164
msgid "Notice posted"
msgstr ""

#. TRANS: Page title for poll response.
#: actions/respondpoll.php:63
msgid "Poll response"
msgstr ""

#. TRANS: Client exception thrown trying to respond to a poll while not logged
#. in.
#: actions/respondpoll.php:84
msgid "You must be logged in to respond to a poll."
msgstr ""

#. TRANS: Client exception thrown trying to respond to a non-existing poll.
#: actions/respondpoll.php:96
msgid "Invalid or missing poll."
msgstr ""

#. TRANS: Client exception thrown responding to a poll with an invalid answer.
#. TRANS: Client exception thrown when responding to a poll with an invalid
#. option.
#: actions/respondpoll.php:102 classes/Poll_response.php:134
msgid "Invalid poll selection."
msgstr ""

#. TRANS: Page title after sending a poll response.
#: actions/respondpoll.php:150
msgid "Poll results"
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll.
#: actions/showpoll.php:59
msgid "No such poll."
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll notice.
#: actions/showpoll.php:67
msgid "No such poll notice."
msgstr ""

#. TRANS: Page title for a poll.
#. TRANS: %1$s is the nickname of the user that created the poll, %2$s is the
#. poll question.
#: actions/showpoll.php:84
#, php-format
msgid "%1$s's poll: %2$s"
msgstr ""

#. TRANS: Notice content creating a poll.
#. TRANS: %1$s is the poll question, %2$s is a link to the poll.
#: classes/Poll.php:201
#, php-format
msgid "Poll: %1$s %2$s"
msgstr ""

#. TRANS: Rendered version of the notice content creating a poll.
#. TRANS: %s is a link to the poll with the question as link description.
#: classes/Poll.php:207
#, php-format
msgid "Poll: %s"
msgstr ""

#. TRANS: Notice content voting for a poll.
#. TRANS: %s is the chosen option in the poll.
#. TRANS: Rendered version of the notice content voting for a poll.
#. TRANS: %s a link to the poll with the chosen option as link description.
#: classes/Poll_response.php:163 classes/Poll_response.php:168
#, php-format
msgid "voted for \"%s\""
msgstr ""

#. TRANS: Plugin description.
#: PollPlugin.php:131
msgid "Simple extension for supporting basic polls."
msgstr ""

#. TRANS: Exception thrown trying to respond to a poll without a poll
#. reference.
#: PollPlugin.php:204
msgid "Invalid poll response: No poll reference."
msgstr ""

#. TRANS: Exception thrown trying to respond to a non-existing poll.
#: PollPlugin.php:209
msgid "Invalid poll response: Poll is unknown."
msgstr ""

#. TRANS: Exception thrown when performing an unexpected action on a poll.
#. TRANS: %s is the unexpected object type.
#: PollPlugin.php:236
#, php-format
msgid "Unexpected type for poll plugin: %s."
msgstr ""

#. TRANS: Application title.
#: PollPlugin.php:392
msgctxt "APPTITLE"
msgid "Poll"
msgstr ""

#. TRANS: Poll plugin menu item on user settings page.
#: PollPlugin.php:436
msgctxt "MENU"
msgid "Polls"
msgstr ""

#. TRANS: Poll plugin tooltip for user settings menu item.
#: PollPlugin.php:438
msgid "Configure poll behavior"
msgstr ""

#. TRANS: Error text displayed if no poll data could be found.
#: PollPlugin.php:463
msgid "Poll data is missing"
msgstr ""


code:
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-05 16:27+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Belarusian (Tarask) (http://www.transifex.com/gnu-social/gnu-social/language/be@tarask/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: be@tarask\n"
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"

#. TRANS: Field label on the page to create a poll.
#: forms/newpoll.php:107
msgid "Question"
msgstr ""

#. TRANS: Field title on the page to create a poll.
#: forms/newpoll.php:110
msgid "What question are people answering?"
msgstr ""

#. TRANS: Field label for an answer option on the page to create a poll.
#. TRANS: %d is the option number.
#: forms/newpoll.php:130
#, php-format
msgid "Option %d"
msgstr ""

#. TRANS: Button text for saving a new poll.
#: forms/newpoll.php:156
msgctxt "BUTTON"
msgid "Save"
msgstr "Захаваць"

#. TRANS: Button text for submitting a poll response.
#: forms/pollresponse.php:127
msgctxt "BUTTON"
msgid "Submit"
msgstr ""

#. TRANS: Page title.
#: actions/pollsettings.php:44
msgid "Poll settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/pollsettings.php:56
msgid "Set your poll preferences"
msgstr ""

#. TRANS: Title for poll page.
#: actions/newpoll.php:63
msgid "New poll"
msgstr ""

#. TRANS: Client exception thrown trying to create a poll while not logged in.
#: actions/newpoll.php:81
msgid "You must be logged in to post a poll."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll without a question.
#: actions/newpoll.php:133
msgid "Poll must have a question."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll with fewer than two
#. options.
#: actions/newpoll.php:138
msgid "Poll must have at least two options."
msgstr ""

#. TRANS: Page title after sending a notice.
#: actions/newpoll.php:164
msgid "Notice posted"
msgstr "Запіс дасланы"

#. TRANS: Page title for poll response.
#: actions/respondpoll.php:63
msgid "Poll response"
msgstr ""

#. TRANS: Client exception thrown trying to respond to a poll while not logged
#. in.
#: actions/respondpoll.php:84
msgid "You must be logged in to respond to a poll."
msgstr ""

#. TRANS: Client exception thrown trying to respond to a non-existing poll.
#: actions/respondpoll.php:96
msgid "Invalid or missing poll."
msgstr ""

#. TRANS: Client exception thrown responding to a poll with an invalid answer.
#. TRANS: Client exception thrown when responding to a poll with an invalid
#. option.
#: actions/respondpoll.php:102 classes/Poll_response.php:134
msgid "Invalid poll selection."
msgstr ""

#. TRANS: Page title after sending a poll response.
#: actions/respondpoll.php:150
msgid "Poll results"
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll.
#: actions/showpoll.php:59
msgid "No such poll."
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll notice.
#: actions/showpoll.php:67
msgid "No such poll notice."
msgstr ""

#. TRANS: Page title for a poll.
#. TRANS: %1$s is the nickname of the user that created the poll, %2$s is the
#. poll question.
#: actions/showpoll.php:84
#, php-format
msgid "%1$s's poll: %2$s"
msgstr ""

#. TRANS: Notice content creating a poll.
#. TRANS: %1$s is the poll question, %2$s is a link to the poll.
#: classes/Poll.php:201
#, php-format
msgid "Poll: %1$s %2$s"
msgstr ""

#. TRANS: Rendered version of the notice content creating a poll.
#. TRANS: %s is a link to the poll with the question as link description.
#: classes/Poll.php:207
#, php-format
msgid "Poll: %s"
msgstr ""

#. TRANS: Notice content voting for a poll.
#. TRANS: %s is the chosen option in the poll.
#. TRANS: Rendered version of the notice content voting for a poll.
#. TRANS: %s a link to the poll with the chosen option as link description.
#: classes/Poll_response.php:163 classes/Poll_response.php:168
#, php-format
msgid "voted for \"%s\""
msgstr ""

#. TRANS: Plugin description.
#: PollPlugin.php:131
msgid "Simple extension for supporting basic polls."
msgstr ""

#. TRANS: Exception thrown trying to respond to a poll without a poll
#. reference.
#: PollPlugin.php:204
msgid "Invalid poll response: No poll reference."
msgstr ""

#. TRANS: Exception thrown trying to respond to a non-existing poll.
#: PollPlugin.php:209
msgid "Invalid poll response: Poll is unknown."
msgstr ""

#. TRANS: Exception thrown when performing an unexpected action on a poll.
#. TRANS: %s is the unexpected object type.
#: PollPlugin.php:236
#, php-format
msgid "Unexpected type for poll plugin: %s."
msgstr ""

#. TRANS: Application title.
#: PollPlugin.php:392
msgctxt "APPTITLE"
msgid "Poll"
msgstr ""

#. TRANS: Poll plugin menu item on user settings page.
#: PollPlugin.php:436
msgctxt "MENU"
msgid "Polls"
msgstr ""

#. TRANS: Poll plugin tooltip for user settings menu item.
#: PollPlugin.php:438
msgid "Configure poll behavior"
msgstr ""

#. TRANS: Error text displayed if no poll data could be found.
#: PollPlugin.php:463
msgid "Poll data is missing"
msgstr ""


code:
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-05 16:27+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bulgarian (http://www.transifex.com/gnu-social/gnu-social/language/bg/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: bg\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. TRANS: Field label on the page to create a poll.
#: forms/newpoll.php:107
msgid "Question"
msgstr ""

#. TRANS: Field title on the page to create a poll.
#: forms/newpoll.php:110
msgid "What question are people answering?"
msgstr ""

#. TRANS: Field label for an answer option on the page to create a poll.
#. TRANS: %d is the option number.
#: forms/newpoll.php:130
#, php-format
msgid "Option %d"
msgstr ""

#. TRANS: Button text for saving a new poll.
#: forms/newpoll.php:156
msgctxt "BUTTON"
msgid "Save"
msgstr "Запазване"

#. TRANS: Button text for submitting a poll response.
#: forms/pollresponse.php:127
msgctxt "BUTTON"
msgid "Submit"
msgstr ""

#. TRANS: Page title.
#: actions/pollsettings.php:44
msgid "Poll settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/pollsettings.php:56
msgid "Set your poll preferences"
msgstr ""

#. TRANS: Title for poll page.
#: actions/newpoll.php:63
msgid "New poll"
msgstr ""

#. TRANS: Client exception thrown trying to create a poll while not logged in.
#: actions/newpoll.php:81
msgid "You must be logged in to post a poll."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll without a question.
#: actions/newpoll.php:133
msgid "Poll must have a question."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll with fewer than two
#. options.
#: actions/newpoll.php:138
msgid "Poll must have at least two options."
msgstr ""

#. TRANS: Page title after sending a notice.
#: actions/newpoll.php:164
msgid "Notice posted"
msgstr "Бележката е публикувана"

#. TRANS: Page title for poll response.
#: actions/respondpoll.php:63
msgid "Poll response"
msgstr ""

#. TRANS: Client exception thrown trying to respond to a poll while not logged
#. in.
#: actions/respondpoll.php:84
msgid "You must be logged in to respond to a poll."
msgstr ""

#. TRANS: Client exception thrown trying to respond to a non-existing poll.
#: actions/respondpoll.php:96
msgid "Invalid or missing poll."
msgstr ""

#. TRANS: Client exception thrown responding to a poll with an invalid answer.
#. TRANS: Client exception thrown when responding to a poll with an invalid
#. option.
#: actions/respondpoll.php:102 classes/Poll_response.php:134
msgid "Invalid poll selection."
msgstr ""

#. TRANS: Page title after sending a poll response.
#: actions/respondpoll.php:150
msgid "Poll results"
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll.
#: actions/showpoll.php:59
msgid "No such poll."
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll notice.
#: actions/showpoll.php:67
msgid "No such poll notice."
msgstr ""

#. TRANS: Page title for a poll.
#. TRANS: %1$s is the nickname of the user that created the poll, %2$s is the
#. poll question.
#: actions/showpoll.php:84
#, php-format
msgid "%1$s's poll: %2$s"
msgstr ""

#. TRANS: Notice content creating a poll.
#. TRANS: %1$s is the poll question, %2$s is a link to the poll.
#: classes/Poll.php:201
#, php-format
msgid "Poll: %1$s %2$s"
msgstr ""

#. TRANS: Rendered version of the notice content creating a poll.
#. TRANS: %s is a link to the poll with the question as link description.
#: classes/Poll.php:207
#, php-format
msgid "Poll: %s"
msgstr ""

#. TRANS: Notice content voting for a poll.
#. TRANS: %s is the chosen option in the poll.
#. TRANS: Rendered version of the notice content voting for a poll.
#. TRANS: %s a link to the poll with the chosen option as link description.
#: classes/Poll_response.php:163 classes/Poll_response.php:168
#, php-format
msgid "voted for \"%s\""
msgstr ""

#. TRANS: Plugin description.
#: PollPlugin.php:131
msgid "Simple extension for supporting basic polls."
msgstr ""

#. TRANS: Exception thrown trying to respond to a poll without a poll
#. reference.
#: PollPlugin.php:204
msgid "Invalid poll response: No poll reference."
msgstr ""

#. TRANS: Exception thrown trying to respond to a non-existing poll.
#: PollPlugin.php:209
msgid "Invalid poll response: Poll is unknown."
msgstr ""

#. TRANS: Exception thrown when performing an unexpected action on a poll.
#. TRANS: %s is the unexpected object type.
#: PollPlugin.php:236
#, php-format
msgid "Unexpected type for poll plugin: %s."
msgstr ""

#. TRANS: Application title.
#: PollPlugin.php:392
msgctxt "APPTITLE"
msgid "Poll"
msgstr ""

#. TRANS: Poll plugin menu item on user settings page.
#: PollPlugin.php:436
msgctxt "MENU"
msgid "Polls"
msgstr ""

#. TRANS: Poll plugin tooltip for user settings menu item.
#: PollPlugin.php:438
msgid "Configure poll behavior"
msgstr ""

#. TRANS: Error text displayed if no poll data could be found.
#: PollPlugin.php:463
msgid "Poll data is missing"
msgstr ""


code:
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-05 16:27+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bengali (India) (http://www.transifex.com/gnu-social/gnu-social/language/bn_IN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: bn_IN\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. TRANS: Field label on the page to create a poll.
#: forms/newpoll.php:107
msgid "Question"
msgstr ""

#. TRANS: Field title on the page to create a poll.
#: forms/newpoll.php:110
msgid "What question are people answering?"
msgstr ""

#. TRANS: Field label for an answer option on the page to create a poll.
#. TRANS: %d is the option number.
#: forms/newpoll.php:130
#, php-format
msgid "Option %d"
msgstr ""

#. TRANS: Button text for saving a new poll.
#: forms/newpoll.php:156
msgctxt "BUTTON"
msgid "Save"
msgstr ""

#. TRANS: Button text for submitting a poll response.
#: forms/pollresponse.php:127
msgctxt "BUTTON"
msgid "Submit"
msgstr ""

#. TRANS: Page title.
#: actions/pollsettings.php:44
msgid "Poll settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/pollsettings.php:56
msgid "Set your poll preferences"
msgstr ""

#. TRANS: Title for poll page.
#: actions/newpoll.php:63
msgid "New poll"
msgstr ""

#. TRANS: Client exception thrown trying to create a poll while not logged in.
#: actions/newpoll.php:81
msgid "You must be logged in to post a poll."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll without a question.
#: actions/newpoll.php:133
msgid "Poll must have a question."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll with fewer than two
#. options.
#: actions/newpoll.php:138
msgid "Poll must have at least two options."
msgstr ""

#. TRANS: Page title after sending a notice.
#: actions/newpoll.php:164
msgid "Notice posted"
msgstr ""

#. TRANS: Page title for poll response.
#: actions/respondpoll.php:63
msgid "Poll response"
msgstr ""

#. TRANS: Client exception thrown trying to respond to a poll while not logged
#. in.
#: actions/respondpoll.php:84
msgid "You must be logged in to respond to a poll."
msgstr ""

#. TRANS: Client exception thrown trying to respond to a non-existing poll.
#: actions/respondpoll.php:96
msgid "Invalid or missing poll."
msgstr ""

#. TRANS: Client exception thrown responding to a poll with an invalid answer.
#. TRANS: Client exception thrown when responding to a poll with an invalid
#. option.
#: actions/respondpoll.php:102 classes/Poll_response.php:134
msgid "Invalid poll selection."
msgstr ""

#. TRANS: Page title after sending a poll response.
#: actions/respondpoll.php:150
msgid "Poll results"
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll.
#: actions/showpoll.php:59
msgid "No such poll."
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll notice.
#: actions/showpoll.php:67
msgid "No such poll notice."
msgstr ""

#. TRANS: Page title for a poll.
#. TRANS: %1$s is the nickname of the user that created the poll, %2$s is the
#. poll question.
#: actions/showpoll.php:84
#, php-format
msgid "%1$s's poll: %2$s"
msgstr ""

#. TRANS: Notice content creating a poll.
#. TRANS: %1$s is the poll question, %2$s is a link to the poll.
#: classes/Poll.php:201
#, php-format
msgid "Poll: %1$s %2$s"
msgstr ""

#. TRANS: Rendered version of the notice content creating a poll.
#. TRANS: %s is a link to the poll with the question as link description.
#: classes/Poll.php:207
#, php-format
msgid "Poll: %s"
msgstr ""

#. TRANS: Notice content voting for a poll.
#. TRANS: %s is the chosen option in the poll.
#. TRANS: Rendered version of the notice content voting for a poll.
#. TRANS: %s a link to the poll with the chosen option as link description.
#: classes/Poll_response.php:163 classes/Poll_response.php:168
#, php-format
msgid "voted for \"%s\""
msgstr ""

#. TRANS: Plugin description.
#: PollPlugin.php:131
msgid "Simple extension for supporting basic polls."
msgstr ""

#. TRANS: Exception thrown trying to respond to a poll without a poll
#. reference.
#: PollPlugin.php:204
msgid "Invalid poll response: No poll reference."
msgstr ""

#. TRANS: Exception thrown trying to respond to a non-existing poll.
#: PollPlugin.php:209
msgid "Invalid poll response: Poll is unknown."
msgstr ""

#. TRANS: Exception thrown when performing an unexpected action on a poll.
#. TRANS: %s is the unexpected object type.
#: PollPlugin.php:236
#, php-format
msgid "Unexpected type for poll plugin: %s."
msgstr ""

#. TRANS: Application title.
#: PollPlugin.php:392
msgctxt "APPTITLE"
msgid "Poll"
msgstr ""

#. TRANS: Poll plugin menu item on user settings page.
#: PollPlugin.php:436
msgctxt "MENU"
msgid "Polls"
msgstr ""

#. TRANS: Poll plugin tooltip for user settings menu item.
#: PollPlugin.php:438
msgid "Configure poll behavior"
msgstr ""

#. TRANS: Error text displayed if no poll data could be found.
#: PollPlugin.php:463
msgid "Poll data is missing"
msgstr ""


code:
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-05 16:27+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Breton (http://www.transifex.com/gnu-social/gnu-social/language/br/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: br\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. TRANS: Field label on the page to create a poll.
#: forms/newpoll.php:107
msgid "Question"
msgstr ""

#. TRANS: Field title on the page to create a poll.
#: forms/newpoll.php:110
msgid "What question are people answering?"
msgstr ""

#. TRANS: Field label for an answer option on the page to create a poll.
#. TRANS: %d is the option number.
#: forms/newpoll.php:130
#, php-format
msgid "Option %d"
msgstr ""

#. TRANS: Button text for saving a new poll.
#: forms/newpoll.php:156
msgctxt "BUTTON"
msgid "Save"
msgstr "Enrollañ"

#. TRANS: Button text for submitting a poll response.
#: forms/pollresponse.php:127
msgctxt "BUTTON"
msgid "Submit"
msgstr ""

#. TRANS: Page title.
#: actions/pollsettings.php:44
msgid "Poll settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/pollsettings.php:56
msgid "Set your poll preferences"
msgstr ""

#. TRANS: Title for poll page.
#: actions/newpoll.php:63
msgid "New poll"
msgstr ""

#. TRANS: Client exception thrown trying to create a poll while not logged in.
#: actions/newpoll.php:81
msgid "You must be logged in to post a poll."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll without a question.
#: actions/newpoll.php:133
msgid "Poll must have a question."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll with fewer than two
#. options.
#: actions/newpoll.php:138
msgid "Poll must have at least two options."
msgstr ""

#. TRANS: Page title after sending a notice.
#: actions/newpoll.php:164
msgid "Notice posted"
msgstr "Ali embannet"

#. TRANS: Page title for poll response.
#: actions/respondpoll.php:63
msgid "Poll response"
msgstr ""

#. TRANS: Client exception thrown trying to respond to a poll while not logged
#. in.
#: actions/respondpoll.php:84
msgid "You must be logged in to respond to a poll."
msgstr ""

#. TRANS: Client exception thrown trying to respond to a non-existing poll.
#: actions/respondpoll.php:96
msgid "Invalid or missing poll."
msgstr ""

#. TRANS: Client exception thrown responding to a poll with an invalid answer.
#. TRANS: Client exception thrown when responding to a poll with an invalid
#. option.
#: actions/respondpoll.php:102 classes/Poll_response.php:134
msgid "Invalid poll selection."
msgstr ""

#. TRANS: Page title after sending a poll response.
#: actions/respondpoll.php:150
msgid "Poll results"
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll.
#: actions/showpoll.php:59
msgid "No such poll."
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll notice.
#: actions/showpoll.php:67
msgid "No such poll notice."
msgstr ""

#. TRANS: Page title for a poll.
#. TRANS: %1$s is the nickname of the user that created the poll, %2$s is the
#. poll question.
#: actions/showpoll.php:84
#, php-format
msgid "%1$s's poll: %2$s"
msgstr ""

#. TRANS: Notice content creating a poll.
#. TRANS: %1$s is the poll question, %2$s is a link to the poll.
#: classes/Poll.php:201
#, php-format
msgid "Poll: %1$s %2$s"
msgstr ""

#. TRANS: Rendered version of the notice content creating a poll.
#. TRANS: %s is a link to the poll with the question as link description.
#: classes/Poll.php:207
#, php-format
msgid "Poll: %s"
msgstr ""

#. TRANS: Notice content voting for a poll.
#. TRANS: %s is the chosen option in the poll.
#. TRANS: Rendered version of the notice content voting for a poll.
#. TRANS: %s a link to the poll with the chosen option as link description.
#: classes/Poll_response.php:163 classes/Poll_response.php:168
#, php-format
msgid "voted for \"%s\""
msgstr ""

#. TRANS: Plugin description.
#: PollPlugin.php:131
msgid "Simple extension for supporting basic polls."
msgstr ""

#. TRANS: Exception thrown trying to respond to a poll without a poll
#. reference.
#: PollPlugin.php:204
msgid "Invalid poll response: No poll reference."
msgstr ""

#. TRANS: Exception thrown trying to respond to a non-existing poll.
#: PollPlugin.php:209
msgid "Invalid poll response: Poll is unknown."
msgstr ""

#. TRANS: Exception thrown when performing an unexpected action on a poll.
#. TRANS: %s is the unexpected object type.
#: PollPlugin.php:236
#, php-format
msgid "Unexpected type for poll plugin: %s."
msgstr ""

#. TRANS: Application title.
#: PollPlugin.php:392
msgctxt "APPTITLE"
msgid "Poll"
msgstr ""

#. TRANS: Poll plugin menu item on user settings page.
#: PollPlugin.php:436
msgctxt "MENU"
msgid "Polls"
msgstr ""

#. TRANS: Poll plugin tooltip for user settings menu item.
#: PollPlugin.php:438
msgid "Configure poll behavior"
msgstr ""

#. TRANS: Error text displayed if no poll data could be found.
#: PollPlugin.php:463
msgid "Poll data is missing"
msgstr ""


code:
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2011 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-07 14:32+0000\n"
"Last-Translator: digitaldreamer <digitaldreamer@email.cz>\n"
"Language-Team: Catalan (http://www.transifex.com/gnu-social/gnu-social/language/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. TRANS: Field label on the page to create a poll.
#: forms/newpoll.php:107
msgid "Question"
msgstr "Pregunta"

#. TRANS: Field title on the page to create a poll.
#: forms/newpoll.php:110
msgid "What question are people answering?"
msgstr "Quina pregunta està responent la gent?"

#. TRANS: Field label for an answer option on the page to create a poll.
#. TRANS: %d is the option number.
#: forms/newpoll.php:130
#, php-format
msgid "Option %d"
msgstr "Opció %d"

#. TRANS: Button text for saving a new poll.
#: forms/newpoll.php:156
msgctxt "BUTTON"
msgid "Save"
msgstr "Desa"

#. TRANS: Button text for submitting a poll response.
#: forms/pollresponse.php:127
msgctxt "BUTTON"
msgid "Submit"
msgstr "Tramet"

#. TRANS: Page title.
#: actions/pollsettings.php:44
msgid "Poll settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/pollsettings.php:56
msgid "Set your poll preferences"
msgstr ""

#. TRANS: Title for poll page.
#: actions/newpoll.php:63
msgid "New poll"
msgstr "Enquesta nova"

#. TRANS: Client exception thrown trying to create a poll while not logged in.
#: actions/newpoll.php:81
msgid "You must be logged in to post a poll."
msgstr "Cal que hàgiu iniciat una sessió per publicar una enquesta."

#. TRANS: Client exception thrown trying to create a poll without a question.
#: actions/newpoll.php:133
msgid "Poll must have a question."
msgstr "L'enquesta cal que tingui una pregunta."

#. TRANS: Client exception thrown trying to create a poll with fewer than two
#. options.
#: actions/newpoll.php:138
msgid "Poll must have at least two options."
msgstr "L'enquesta cal que tingui, com a mínim, dues opcions."

#. TRANS: Page title after sending a notice.
#: actions/newpoll.php:164
msgid "Notice posted"
msgstr "S'ha publicat l'avís"

#. TRANS: Page title for poll response.
#: actions/respondpoll.php:63
msgid "Poll response"
msgstr "Resposta de l'enquesta"

#. TRANS: Client exception thrown trying to respond to a poll while not logged
#. in.
#: actions/respondpoll.php:84
msgid "You must be logged in to respond to a poll."
msgstr "Cal que hàgiu iniciat una sessió per respondre a una enquesta."

#. TRANS: Client exception thrown trying to respond to a non-existing poll.
#: actions/respondpoll.php:96
msgid "Invalid or missing poll."
msgstr "L'enquesta no és vàlida o bé no hi és."

#. TRANS: Client exception thrown responding to a poll with an invalid answer.
#. TRANS: Client exception thrown when responding to a poll with an invalid
#. option.
#: actions/respondpoll.php:102 classes/Poll_response.php:134
msgid "Invalid poll selection."
msgstr "Selecció d'enquesta no vàlida."

#. TRANS: Page title after sending a poll response.
#: actions/respondpoll.php:150
msgid "Poll results"
msgstr "Resultats de l'enquesta"

#. TRANS: Client exception thrown trying to view a non-existing poll.
#: actions/showpoll.php:59
msgid "No such poll."
msgstr "No existeix l'enquesta."

#. TRANS: Client exception thrown trying to view a non-existing poll notice.
#: actions/showpoll.php:67
msgid "No such poll notice."
msgstr "No existeix l'avís d'enquesta."

#. TRANS: Page title for a poll.
#. TRANS: %1$s is the nickname of the user that created the poll, %2$s is the
#. poll question.
#: actions/showpoll.php:84
#, php-format
msgid "%1$s's poll: %2$s"
msgstr "Enquesta de %1$s: %2$s"

#. TRANS: Notice content creating a poll.
#. TRANS: %1$s is the poll question, %2$s is a link to the poll.
#: classes/Poll.php:201
#, php-format
msgid "Poll: %1$s %2$s"
msgstr "Enquesta: %1$s %2$s"

#. TRANS: Rendered version of the notice content creating a poll.
#. TRANS: %s is a link to the poll with the question as link description.
#: classes/Poll.php:207
#, php-format
msgid "Poll: %s"
msgstr "Enquesta: %s"

#. TRANS: Notice content voting for a poll.
#. TRANS: %s is the chosen option in the poll.
#. TRANS: Rendered version of the notice content voting for a poll.
#. TRANS: %s a link to the poll with the chosen option as link description.
#: classes/Poll_response.php:163 classes/Poll_response.php:168
#, php-format
msgid "voted for \"%s\""
msgstr "ha votat '%s'"

#. TRANS: Plugin description.
#: PollPlugin.php:131
msgid "Simple extension for supporting basic polls."
msgstr "Extensió simple per habilitar enquestes molt bàsiques."

#. TRANS: Exception thrown trying to respond to a poll without a poll
#. reference.
#: PollPlugin.php:204
msgid "Invalid poll response: No poll reference."
msgstr "Resposta d'enquesta no vàlida: no hi ha referència a l'enquesta."

#. TRANS: Exception thrown trying to respond to a non-existing poll.
#: PollPlugin.php:209
msgid "Invalid poll response: Poll is unknown."
msgstr "Resposta d'enquesta no vàlida: l'enquesta és desconeguda."

#. TRANS: Exception thrown when performing an unexpected action on a poll.
#. TRANS: %s is the unexpected object type.
#: PollPlugin.php:236
#, php-format
msgid "Unexpected type for poll plugin: %s."
msgstr "Tipus no esperat per al connector d'enquestes: %s."

#. TRANS: Application title.
#: PollPlugin.php:392
msgctxt "APPTITLE"
msgid "Poll"
msgstr "Enquesta"

#. TRANS: Poll plugin menu item on user settings page.
#: PollPlugin.php:436
msgctxt "MENU"
msgid "Polls"
msgstr ""

#. TRANS: Poll plugin tooltip for user settings menu item.
#: PollPlugin.php:438
msgid "Configure poll behavior"
msgstr ""

#. TRANS: Error text displayed if no poll data could be found.
#: PollPlugin.php:463
msgid "Poll data is missing"
msgstr "Manquen dades de l'enquesta"


code:
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
# digitaldreamer <digitaldreamer@email.cz>, 2014
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-07 14:32+0000\n"
"Last-Translator: digitaldreamer <digitaldreamer@email.cz>\n"
"Language-Team: Czech (http://www.transifex.com/gnu-social/gnu-social/language/cs/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: cs\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. TRANS: Field label on the page to create a poll.
#: forms/newpoll.php:107
msgid "Question"
msgstr "Otázka"

#. TRANS: Field title on the page to create a poll.
#: forms/newpoll.php:110
msgid "What question are people answering?"
msgstr "Na jakou otázku lidé odpovídají?"

#. TRANS: Field label for an answer option on the page to create a poll.
#. TRANS: %d is the option number.
#: forms/newpoll.php:130
#, php-format
msgid "Option %d"
msgstr "%d. možnost"

#. TRANS: Button text for saving a new poll.
#: forms/newpoll.php:156
msgctxt "BUTTON"
msgid "Save"
msgstr "Uložit"

#. TRANS: Button text for submitting a poll response.
#: forms/pollresponse.php:127
msgctxt "BUTTON"
msgid "Submit"
msgstr "Odeslat"

#. TRANS: Page title.
#: actions/pollsettings.php:44
msgid "Poll settings"
msgstr "Nastavení anket"

#. TRANS: Page instructions.
#: actions/pollsettings.php:56
msgid "Set your poll preferences"
msgstr "Nastavení, která se týkají anket"

#. TRANS: Title for poll page.
#: actions/newpoll.php:63
msgid "New poll"
msgstr "Nová anketa"

#. TRANS: Client exception thrown trying to create a poll while not logged in.
#: actions/newpoll.php:81
msgid "You must be logged in to post a poll."
msgstr "Pro vložení ankety je třeba se přihlásit."

#. TRANS: Client exception thrown trying to create a poll without a question.
#: actions/newpoll.php:133
msgid "Poll must have a question."
msgstr "Anketa musí mít otázku."

#. TRANS: Client exception thrown trying to create a poll with fewer than two
#. options.
#: actions/newpoll.php:138
msgid "Poll must have at least two options."
msgstr "Anketa musí nabízet alespoň 2 možnosti."

#. TRANS: Page title after sending a notice.
#: actions/newpoll.php:164
msgid "Notice posted"
msgstr "Sdělení vloženo"

#. TRANS: Page title for poll response.
#: actions/respondpoll.php:63
msgid "Poll response"
msgstr "Odpověď na anketu"

#. TRANS: Client exception thrown trying to respond to a poll while not logged
#. in.
#: actions/respondpoll.php:84
msgid "You must be logged in to respond to a poll."
msgstr "Pro hlasování v anketě je třeba se přihlásit."

#. TRANS: Client exception thrown trying to respond to a non-existing poll.
#: actions/respondpoll.php:96
msgid "Invalid or missing poll."
msgstr "Anketa je buď neplatná nebo neexistuje."

#. TRANS: Client exception thrown responding to a poll with an invalid answer.
#. TRANS: Client exception thrown when responding to a poll with an invalid
#. option.
#: actions/respondpoll.php:102 classes/Poll_response.php:134
msgid "Invalid poll selection."
msgstr "Neplatná odpověď: tato možnost v anketě není."

#. TRANS: Page title after sending a poll response.
#: actions/respondpoll.php:150
msgid "Poll results"
msgstr "Výsledky ankety"

#. TRANS: Client exception thrown trying to view a non-existing poll.
#: actions/showpoll.php:59
msgid "No such poll."
msgstr "Anketa neexistuje."

#. TRANS: Client exception thrown trying to view a non-existing poll notice.
#: actions/showpoll.php:67
msgid "No such poll notice."
msgstr "Sdělení ankety neexistuje."

#. TRANS: Page title for a poll.
#. TRANS: %1$s is the nickname of the user that created the poll, %2$s is the
#. poll question.
#: actions/showpoll.php:84
#, php-format
msgid "%1$s's poll: %2$s"
msgstr "Anketa od %1$s: %2$s"

#. TRANS: Notice content creating a poll.
#. TRANS: %1$s is the poll question, %2$s is a link to the poll.
#: classes/Poll.php:201
#, php-format
msgid "Poll: %1$s %2$s"
msgstr "Anketa: %1$s %2$s"

#. TRANS: Rendered version of the notice content creating a poll.
#. TRANS: %s is a link to the poll with the question as link description.
#: classes/Poll.php:207
#, php-format
msgid "Poll: %s"
msgstr "Anketa: %s"

#. TRANS: Notice content voting for a poll.
#. TRANS: %s is the chosen option in the poll.
#. TRANS: Rendered version of the notice content voting for a poll.
#. TRANS: %s a link to the poll with the chosen option as link description.
#: classes/Poll_response.php:163 classes/Poll_response.php:168
#, php-format
msgid "voted for \"%s\""
msgstr "hlasoval(a) pro \"%s\""

#. TRANS: Plugin description.
#: PollPlugin.php:131
msgid "Simple extension for supporting basic polls."
msgstr "Jednoduché rozšíření pro podporu jednoduchých anket."

#. TRANS: Exception thrown trying to respond to a poll without a poll
#. reference.
#: PollPlugin.php:204
msgid "Invalid poll response: No poll reference."
msgstr "Neplatná odpověď na anketu: Chybí odkaz na cílovou anketu."

#. TRANS: Exception thrown trying to respond to a non-existing poll.
#: PollPlugin.php:209
msgid "Invalid poll response: Poll is unknown."
msgstr "Neplatná odpověď na anketu: Cílová anketa neexistuje."

#. TRANS: Exception thrown when performing an unexpected action on a poll.
#. TRANS: %s is the unexpected object type.
#: PollPlugin.php:236
#, php-format
msgid "Unexpected type for poll plugin: %s."
msgstr "Zásuvný modul Anketa obdržel nečekaný typ objektu: %s."

#. TRANS: Application title.
#: PollPlugin.php:392
msgctxt "APPTITLE"
msgid "Poll"
msgstr "Anketa"

#. TRANS: Poll plugin menu item on user settings page.
#: PollPlugin.php:436
msgctxt "MENU"
msgid "Polls"
msgstr "Ankety"

#. TRANS: Poll plugin tooltip for user settings menu item.
#: PollPlugin.php:438
msgid "Configure poll behavior"
msgstr "Nastaví chování anket"

#. TRANS: Error text displayed if no poll data could be found.
#: PollPlugin.php:463
msgid "Poll data is missing"
msgstr "Nelze najít data ankety"


code:
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-05 16:27+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Danish (http://www.transifex.com/gnu-social/gnu-social/language/da/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: da\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. TRANS: Field label on the page to create a poll.
#: forms/newpoll.php:107
msgid "Question"
msgstr ""

#. TRANS: Field title on the page to create a poll.
#: forms/newpoll.php:110
msgid "What question are people answering?"
msgstr ""

#. TRANS: Field label for an answer option on the page to create a poll.
#. TRANS: %d is the option number.
#: forms/newpoll.php:130
#, php-format
msgid "Option %d"
msgstr ""

#. TRANS: Button text for saving a new poll.
#: forms/newpoll.php:156
msgctxt "BUTTON"
msgid "Save"
msgstr "Gem"

#. TRANS: Button text for submitting a poll response.
#: forms/pollresponse.php:127
msgctxt "BUTTON"
msgid "Submit"
msgstr ""

#. TRANS: Page title.
#: actions/pollsettings.php:44
msgid "Poll settings"
msgstr ""

#. TRANS: Page instructions.
#: actions/pollsettings.php:56
msgid "Set your poll preferences"
msgstr ""

#. TRANS: Title for poll page.
#: actions/newpoll.php:63
msgid "New poll"
msgstr ""

#. TRANS: Client exception thrown trying to create a poll while not logged in.
#: actions/newpoll.php:81
msgid "You must be logged in to post a poll."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll without a question.
#: actions/newpoll.php:133
msgid "Poll must have a question."
msgstr ""

#. TRANS: Client exception thrown trying to create a poll with fewer than two
#. options.
#: actions/newpoll.php:138
msgid "Poll must have at least two options."
msgstr ""

#. TRANS: Page title after sending a notice.
#: actions/newpoll.php:164
msgid "Notice posted"
msgstr "Meddelelse gemt"

#. TRANS: Page title for poll response.
#: actions/respondpoll.php:63
msgid "Poll response"
msgstr ""

#. TRANS: Client exception thrown trying to respond to a poll while not logged
#. in.
#: actions/respondpoll.php:84
msgid "You must be logged in to respond to a poll."
msgstr ""

#. TRANS: Client exception thrown trying to respond to a non-existing poll.
#: actions/respondpoll.php:96
msgid "Invalid or missing poll."
msgstr ""

#. TRANS: Client exception thrown responding to a poll with an invalid answer.
#. TRANS: Client exception thrown when responding to a poll with an invalid
#. option.
#: actions/respondpoll.php:102 classes/Poll_response.php:134
msgid "Invalid poll selection."
msgstr ""

#. TRANS: Page title after sending a poll response.
#: actions/respondpoll.php:150
msgid "Poll results"
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll.
#: actions/showpoll.php:59
msgid "No such poll."
msgstr ""

#. TRANS: Client exception thrown trying to view a non-existing poll notice.
#: actions/showpoll.php:67
msgid "No such poll notice."
msgstr ""

#. TRANS: Page title for a poll.
#. TRANS: %1$s is the nickname of the user that created the poll, %2$s is the
#. poll question.
#: actions/showpoll.php:84
#, php-format
msgid "%1$s's poll: %2$s"
msgstr ""

#. TRANS: Notice content creating a poll.
#. TRANS: %1$s is the poll question, %2$s is a link to the poll.
#: classes/Poll.php:201
#, php-format
msgid "Poll: %1$s %2$s"
msgstr ""

#. TRANS: Rendered version of the notice content creating a poll.
#. TRANS: %s is a link to the poll with the question as link description.
#: classes/Poll.php:207
#, php-format
msgid "Poll: %s"
msgstr ""

#. TRANS: Notice content voting for a poll.
#. TRANS: %s is the chosen option in the poll.
#. TRANS: Rendered version of the notice content voting for a poll.
#. TRANS: %s a link to the poll with the chosen option as link description.
#: classes/Poll_response.php:163 classes/Poll_response.php:168
#, php-format
msgid "voted for \"%s\""
msgstr ""

#. TRANS: Plugin description.
#: PollPlugin.php:131
msgid "Simple extension for supporting basic polls."
msgstr ""

#. TRANS: Exception thrown trying to respond to a poll without a poll
#. reference.
#: PollPlugin.php:204
msgid "Invalid poll response: No poll reference."
msgstr ""

#. TRANS: Exception thrown trying to respond to a non-existing poll.
#: PollPlugin.php:209
msgid "Invalid poll response: Poll is unknown."
msgstr ""

#. TRANS: Exception thrown when performing an unexpected action on a poll.
#. TRANS: %s is the unexpected object type.
#: PollPlugin.php:236
#, php-format
msgid "Unexpected type for poll plugin: %s."
msgstr ""

#. TRANS: Application title.
#: PollPlugin.php:392
msgctxt "APPTITLE"
msgid "Poll"
msgstr ""

#. TRANS: Poll plugin menu item on user settings page.
#: PollPlugin.php:436
msgctxt "MENU"
msgid "Polls"
msgstr ""

#. TRANS: Poll plugin tooltip for user settings menu item.
#: PollPlugin.php:438
msgid "Configure poll behavior"
msgstr ""

#. TRANS: Error text displayed if no poll data could be found.
#: PollPlugin.php:463
msgid "Poll data is missing"
msgstr ""