diff options
Diffstat (limited to 'plugins/RequireValidatedEmail')
9 files changed, 198 insertions, 122 deletions
diff --git a/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php b/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php index 719dba89c..6c0ef37d5 100644 --- a/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php +++ b/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php @@ -2,7 +2,8 @@ /** * StatusNet, the distributed open-source microblogging tool * - * Plugin that requires the user to have a validated email address before they can post notices + * Plugin that requires the user to have a validated email address before they + * can post notices * * PHP version 5 * @@ -32,44 +33,64 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } +/** + * Plugin for requiring a validated email before posting. + * + * Enable this plugin using addPlugin('RequireValidatedEmail'); + * + * @category Plugin + * @package StatusNet + * @author Craig Andrews <candrews@integralblue.com> + * @author Brion Vibber <brion@status.net> + * @author Evan Prodromou <evan@status.net> + * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org + * @copyright 2009-2010 StatusNet, Inc. + * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 + * @link http://status.net/ + */ + class RequireValidatedEmailPlugin extends Plugin { - // Users created before this time will be grandfathered in - // without the validation requirement. - public $grandfatherCutoff=null; - - // If OpenID plugin is installed, users with a verified OpenID - // association whose provider URL matches one of these regexes - // will be considered to be sufficiently valid for our needs. - // - // For example, to trust WikiHow and Wikipedia OpenID users: - // - // addPlugin('RequireValidatedEmailPlugin', array( - // 'trustedOpenIDs' => array( - // '!^http://\w+\.wikihow\.com/!', - // '!^http://\w+\.wikipedia\.org/!', - // ), - // )); - public $trustedOpenIDs=array(); - - function __construct() - { - parent::__construct(); - } + /** + * Users created before this time will be grandfathered in + * without the validation requirement. + */ + + public $grandfatherCutoff = null; + + /** + * If OpenID plugin is installed, users with a verified OpenID + * association whose provider URL matches one of these regexes + * will be considered to be sufficiently valid for our needs. + * + * For example, to trust WikiHow and Wikipedia OpenID users: + * + * addPlugin('RequireValidatedEmailPlugin', array( + * 'trustedOpenIDs' => array( + * '!^http://\w+\.wikihow\.com/!', + * '!^http://\w+\.wikipedia\.org/!', + * ), + * )); + */ + + public $trustedOpenIDs = array(); /** * Event handler for notice saves; rejects the notice * if user's address isn't validated. * - * @param Notice $notice + * @param Notice $notice The notice being saved + * * @return bool hook result code */ + function onStartNoticeSave($notice) { $user = User::staticGet('id', $notice->profile_id); if (!empty($user)) { // it's a remote notice if (!$this->validated($user)) { - throw new ClientException(_m("You must validate your email address before posting.")); + $msg = _m("You must validate your email address before posting."); + throw new ClientException($msg); } } return true; @@ -79,7 +100,8 @@ class RequireValidatedEmailPlugin extends Plugin * Event handler for registration attempts; rejects the registration * if email field is missing. * - * @param RegisterAction $action + * @param Action $action Action being executed + * * @return bool hook result code */ function onStartRegistrationTry($action) @@ -100,7 +122,8 @@ class RequireValidatedEmailPlugin extends Plugin * Check if a user has a validated email address or has been * otherwise grandfathered in. * - * @param User $user + * @param User $user User to valide + * * @return bool */ protected function validated($user) @@ -108,12 +131,16 @@ class RequireValidatedEmailPlugin extends Plugin // The email field is only stored after validation... // Until then you'll find them in confirm_address. $knownGood = !empty($user->email) || - $this->grandfathered($user) || - $this->hasTrustedOpenID($user); + $this->grandfathered($user) || + $this->hasTrustedOpenID($user); // Give other plugins a chance to override, if they can validate // that somebody's ok despite a non-validated email. - Event::handle('RequireValidatedEmailPlugin_Override', array($user, &$knownGood)); + + // FIXME: This isn't how to do it! Use Start*/End* instead + + Event::handle('RequireValidatedEmailPlugin_Override', + array($user, &$knownGood)); return $knownGood; } @@ -122,14 +149,15 @@ class RequireValidatedEmailPlugin extends Plugin * Check if a user was created before the grandfathering cutoff. * If so, we won't need to check for validation. * - * @param User $user - * @return bool + * @param User $user User to check + * + * @return bool true if user is grandfathered */ protected function grandfathered($user) { if ($this->grandfatherCutoff) { $created = strtotime($user->created . " GMT"); - $cutoff = strtotime($this->grandfatherCutoff); + $cutoff = strtotime($this->grandfatherCutoff); if ($created < $cutoff) { return true; } @@ -141,13 +169,20 @@ class RequireValidatedEmailPlugin extends Plugin * Override for RequireValidatedEmail plugin. If we have a user who's * not validated an e-mail, but did come from a trusted provider, * we'll consider them ok. + * + * @param User $user User to check + * + * @return bool true if user has a trusted OpenID. */ + function hasTrustedOpenID($user) { if ($this->trustedOpenIDs && class_exists('User_openid')) { foreach ($this->trustedOpenIDs as $regex) { $oid = new User_openid(); + $oid->user_id = $user->id; + $oid->find(); while ($oid->fetch()) { if (preg_match($regex, $oid->canonical)) { @@ -159,14 +194,45 @@ class RequireValidatedEmailPlugin extends Plugin return false; } + /** + * Add version information for this plugin. + * + * @param array &$versions Array of associative arrays of version data + * + * @return boolean hook value + */ + function onPluginVersion(&$versions) { - $versions[] = array('name' => 'Require Validated Email', - 'version' => STATUSNET_VERSION, - 'author' => 'Craig Andrews, Evan Prodromou, Brion Vibber', - 'homepage' => 'http://status.net/wiki/Plugin:RequireValidatedEmail', - 'rawdescription' => - _m('The Require Validated Email plugin disables posting for accounts that do not have a validated email address.')); + $versions[] = + array('name' => 'Require Validated Email', + 'version' => STATUSNET_VERSION, + 'author' => 'Craig Andrews, '. + 'Evan Prodromou, '. + 'Brion Vibber', + 'homepage' => + 'http://status.net/wiki/Plugin:RequireValidatedEmail', + 'rawdescription' => + _m('Disables posting without a validated email address.')); + return true; + } + + /** + * Hide the notice form if the user isn't able to post. + * + * @param Action $action action being shown + * + * @return boolean hook value + */ + + function onStartShowNoticeForm($action) + { + $user = common_current_user(); + if (!empty($user)) { // it's a remote notice + if (!$this->validated($user)) { + return false; + } + } return true; } } diff --git a/plugins/RequireValidatedEmail/locale/RequireValidatedEmail.pot b/plugins/RequireValidatedEmail/locale/RequireValidatedEmail.pot index dde5480bd..8594cc6eb 100644 --- a/plugins/RequireValidatedEmail/locale/RequireValidatedEmail.pot +++ b/plugins/RequireValidatedEmail/locale/RequireValidatedEmail.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-09 14:04+0000\n" +"POT-Creation-Date: 2010-10-18 18:35+0000\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" @@ -16,16 +16,14 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: RequireValidatedEmailPlugin.php:72 +#: RequireValidatedEmailPlugin.php:92 msgid "You must validate your email address before posting." msgstr "" -#: RequireValidatedEmailPlugin.php:90 +#: RequireValidatedEmailPlugin.php:112 msgid "You must provide an email address to register." msgstr "" -#: RequireValidatedEmailPlugin.php:169 -msgid "" -"The Require Validated Email plugin disables posting for accounts that do not " -"have a validated email address." +#: RequireValidatedEmailPlugin.php:216 +msgid "Disables posting without a validated email address." msgstr "" diff --git a/plugins/RequireValidatedEmail/locale/de/LC_MESSAGES/RequireValidatedEmail.po b/plugins/RequireValidatedEmail/locale/de/LC_MESSAGES/RequireValidatedEmail.po new file mode 100644 index 000000000..f23aa3100 --- /dev/null +++ b/plugins/RequireValidatedEmail/locale/de/LC_MESSAGES/RequireValidatedEmail.po @@ -0,0 +1,34 @@ +# Translation of StatusNet - RequireValidatedEmail to German (Deutsch) +# Expored from translatewiki.net +# +# Author: The Evil IP address +# -- +# This file is distributed under the same license as the StatusNet package. +# +msgid "" +msgstr "" +"Project-Id-Version: StatusNet - RequireValidatedEmail\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-19 23:00+0000\n" +"PO-Revision-Date: 2010-10-19 23:04:15+0000\n" +"Language-Team: German <http://translatewiki.net/wiki/Portal:de>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POT-Import-Date: 2010-10-18 20:33:27+0000\n" +"X-Generator: MediaWiki 1.17alpha (r75030); Translate extension (2010-09-17)\n" +"X-Translation-Project: translatewiki.net at http://translatewiki.net\n" +"X-Language-Code: de\n" +"X-Message-Group: #out-statusnet-plugin-requirevalidatedemail\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: RequireValidatedEmailPlugin.php:92 +msgid "You must validate your email address before posting." +msgstr "Du musst deine E-Mail-Adresse validieren, bevor du beitragen kannst." + +#: RequireValidatedEmailPlugin.php:112 +msgid "You must provide an email address to register." +msgstr "Du musst eine E-Mail-Adresse angeben, um dich zu registrieren." + +#: RequireValidatedEmailPlugin.php:216 +msgid "Disables posting without a validated email address." +msgstr "" diff --git a/plugins/RequireValidatedEmail/locale/fr/LC_MESSAGES/RequireValidatedEmail.po b/plugins/RequireValidatedEmail/locale/fr/LC_MESSAGES/RequireValidatedEmail.po index 3925c5d4a..1c66594be 100644 --- a/plugins/RequireValidatedEmail/locale/fr/LC_MESSAGES/RequireValidatedEmail.po +++ b/plugins/RequireValidatedEmail/locale/fr/LC_MESSAGES/RequireValidatedEmail.po @@ -9,30 +9,27 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - RequireValidatedEmail\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-03 19:53+0000\n" -"PO-Revision-Date: 2010-10-03 19:57:19+0000\n" +"POT-Creation-Date: 2010-10-20 17:39+0000\n" +"PO-Revision-Date: 2010-10-20 17:42:37+0000\n" "Language-Team: French <http://translatewiki.net/wiki/Portal:fr>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-09-27 23:21:25+0000\n" -"X-Generator: MediaWiki 1.17alpha (r74231); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-10-20 01:18:32+0000\n" +"X-Generator: MediaWiki 1.17alpha (r75070); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: fr\n" "X-Message-Group: #out-statusnet-plugin-requirevalidatedemail\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: RequireValidatedEmailPlugin.php:72 +#: RequireValidatedEmailPlugin.php:92 msgid "You must validate your email address before posting." msgstr "Vous devez valider votre adresse électronique avant de poster." -#: RequireValidatedEmailPlugin.php:90 +#: RequireValidatedEmailPlugin.php:112 msgid "You must provide an email address to register." msgstr "Vous devez fournir une adresse électronique avant de vous enregistrer." -#: RequireValidatedEmailPlugin.php:169 -msgid "" -"The Require Validated Email plugin disables posting for accounts that do not " -"have a validated email address." +#: RequireValidatedEmailPlugin.php:216 +msgid "Disables posting without a validated email address." msgstr "" -"L’extension Require Validated Email désactive le postage pour les comptes " -"qui n’ont pas d’adresse électronique valide." +"Désactive le postage pour ceux qui n’ont pas d’adresse électronique valide." diff --git a/plugins/RequireValidatedEmail/locale/ia/LC_MESSAGES/RequireValidatedEmail.po b/plugins/RequireValidatedEmail/locale/ia/LC_MESSAGES/RequireValidatedEmail.po index f208b8c77..e44edbbc2 100644 --- a/plugins/RequireValidatedEmail/locale/ia/LC_MESSAGES/RequireValidatedEmail.po +++ b/plugins/RequireValidatedEmail/locale/ia/LC_MESSAGES/RequireValidatedEmail.po @@ -9,30 +9,26 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - RequireValidatedEmail\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-03 19:53+0000\n" -"PO-Revision-Date: 2010-10-03 19:57:19+0000\n" +"POT-Creation-Date: 2010-10-19 23:00+0000\n" +"PO-Revision-Date: 2010-10-19 23:04:15+0000\n" "Language-Team: Interlingua <http://translatewiki.net/wiki/Portal:ia>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-09-27 23:21:25+0000\n" -"X-Generator: MediaWiki 1.17alpha (r74231); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-10-18 20:33:27+0000\n" +"X-Generator: MediaWiki 1.17alpha (r75030); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: ia\n" "X-Message-Group: #out-statusnet-plugin-requirevalidatedemail\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: RequireValidatedEmailPlugin.php:72 +#: RequireValidatedEmailPlugin.php:92 msgid "You must validate your email address before posting." msgstr "Tu debe validar tu adresse de e-mail ante de publicar." -#: RequireValidatedEmailPlugin.php:90 +#: RequireValidatedEmailPlugin.php:112 msgid "You must provide an email address to register." msgstr "Tu debe fornir un adresse de e-mail pro poter crear un conto." -#: RequireValidatedEmailPlugin.php:169 -msgid "" -"The Require Validated Email plugin disables posting for accounts that do not " -"have a validated email address." -msgstr "" -"Le plug-in \"Require Validated Email\" disactiva le publication pro contos " -"que non ha un adresse de e-mail validate." +#: RequireValidatedEmailPlugin.php:216 +msgid "Disables posting without a validated email address." +msgstr "Disactiva le publication de messages sin adresse de e-mail validate." diff --git a/plugins/RequireValidatedEmail/locale/mk/LC_MESSAGES/RequireValidatedEmail.po b/plugins/RequireValidatedEmail/locale/mk/LC_MESSAGES/RequireValidatedEmail.po index 9347f8d44..02dcce4b2 100644 --- a/plugins/RequireValidatedEmail/locale/mk/LC_MESSAGES/RequireValidatedEmail.po +++ b/plugins/RequireValidatedEmail/locale/mk/LC_MESSAGES/RequireValidatedEmail.po @@ -9,32 +9,28 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - RequireValidatedEmail\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-03 19:53+0000\n" -"PO-Revision-Date: 2010-10-03 19:57:20+0000\n" +"POT-Creation-Date: 2010-10-19 23:00+0000\n" +"PO-Revision-Date: 2010-10-19 23:04:15+0000\n" "Language-Team: Macedonian <http://translatewiki.net/wiki/Portal:mk>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-09-27 23:21:25+0000\n" -"X-Generator: MediaWiki 1.17alpha (r74231); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-10-18 20:33:27+0000\n" +"X-Generator: MediaWiki 1.17alpha (r75030); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: mk\n" "X-Message-Group: #out-statusnet-plugin-requirevalidatedemail\n" "Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n" -#: RequireValidatedEmailPlugin.php:72 +#: RequireValidatedEmailPlugin.php:92 msgid "You must validate your email address before posting." msgstr "" "Пред да почнете да објавувате ќе мора да ја потврдите Вашата е-поштенска " "адреса." -#: RequireValidatedEmailPlugin.php:90 +#: RequireValidatedEmailPlugin.php:112 msgid "You must provide an email address to register." msgstr "За да се регистрирате, ќе мора да наведете е-поштенска адреса." -#: RequireValidatedEmailPlugin.php:169 -msgid "" -"The Require Validated Email plugin disables posting for accounts that do not " -"have a validated email address." -msgstr "" -"Приклучокот Require Validated Email оневозможува објави од сметки што немаат " -"потврдено е-поштенска адреса." +#: RequireValidatedEmailPlugin.php:216 +msgid "Disables posting without a validated email address." +msgstr "Оневозможува објавување без потврдена е-пошта." diff --git a/plugins/RequireValidatedEmail/locale/nl/LC_MESSAGES/RequireValidatedEmail.po b/plugins/RequireValidatedEmail/locale/nl/LC_MESSAGES/RequireValidatedEmail.po index 64790f336..be2c8c352 100644 --- a/plugins/RequireValidatedEmail/locale/nl/LC_MESSAGES/RequireValidatedEmail.po +++ b/plugins/RequireValidatedEmail/locale/nl/LC_MESSAGES/RequireValidatedEmail.po @@ -9,30 +9,26 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - RequireValidatedEmail\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-03 19:53+0000\n" -"PO-Revision-Date: 2010-10-03 19:57:20+0000\n" +"POT-Creation-Date: 2010-10-19 23:00+0000\n" +"PO-Revision-Date: 2010-10-19 23:04:15+0000\n" "Language-Team: Dutch <http://translatewiki.net/wiki/Portal:nl>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-09-27 23:21:25+0000\n" -"X-Generator: MediaWiki 1.17alpha (r74231); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-10-18 20:33:27+0000\n" +"X-Generator: MediaWiki 1.17alpha (r75030); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: nl\n" "X-Message-Group: #out-statusnet-plugin-requirevalidatedemail\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: RequireValidatedEmailPlugin.php:72 +#: RequireValidatedEmailPlugin.php:92 msgid "You must validate your email address before posting." msgstr "U moet uw e-mailadres bevestigen voordat u berichten kunt plaatsen." -#: RequireValidatedEmailPlugin.php:90 +#: RequireValidatedEmailPlugin.php:112 msgid "You must provide an email address to register." msgstr "U moet een e-mailadres opgeven om te kunnen registreren." -#: RequireValidatedEmailPlugin.php:169 -msgid "" -"The Require Validated Email plugin disables posting for accounts that do not " -"have a validated email address." -msgstr "" -"De plug-in Require Validated Email staat het plaatsen van berichten alleen " -"toe voor gebruikers met een bevestigd e-mailadres." +#: RequireValidatedEmailPlugin.php:216 +msgid "Disables posting without a validated email address." +msgstr "Schakelt berichten plaatsen zonder gevalideerd e-mailadres uit." diff --git a/plugins/RequireValidatedEmail/locale/tl/LC_MESSAGES/RequireValidatedEmail.po b/plugins/RequireValidatedEmail/locale/tl/LC_MESSAGES/RequireValidatedEmail.po index da63cc8b4..dda7e4080 100644 --- a/plugins/RequireValidatedEmail/locale/tl/LC_MESSAGES/RequireValidatedEmail.po +++ b/plugins/RequireValidatedEmail/locale/tl/LC_MESSAGES/RequireValidatedEmail.po @@ -9,31 +9,26 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - RequireValidatedEmail\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-03 19:53+0000\n" -"PO-Revision-Date: 2010-10-03 19:57:20+0000\n" +"POT-Creation-Date: 2010-10-19 23:00+0000\n" +"PO-Revision-Date: 2010-10-19 23:04:15+0000\n" "Language-Team: Tagalog <http://translatewiki.net/wiki/Portal:tl>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-09-27 23:21:25+0000\n" -"X-Generator: MediaWiki 1.17alpha (r74231); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-10-18 20:33:27+0000\n" +"X-Generator: MediaWiki 1.17alpha (r75030); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: tl\n" "X-Message-Group: #out-statusnet-plugin-requirevalidatedemail\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: RequireValidatedEmailPlugin.php:72 +#: RequireValidatedEmailPlugin.php:92 msgid "You must validate your email address before posting." msgstr "Kailangan patunayan mo ang iyong tirahan ng e-liham bago magpaskil." -#: RequireValidatedEmailPlugin.php:90 +#: RequireValidatedEmailPlugin.php:112 msgid "You must provide an email address to register." msgstr "Dapat kang magbigay ng isang tirahan ng e-liham upang makapagpatala." -#: RequireValidatedEmailPlugin.php:169 -msgid "" -"The Require Validated Email plugin disables posting for accounts that do not " -"have a validated email address." +#: RequireValidatedEmailPlugin.php:216 +msgid "Disables posting without a validated email address." msgstr "" -"Ang pamasak na Kailanganin ang Pagpapatunay ng E-liham ay hindi nagpapagana " -"ng pagpapaskil para sa mga akawnt na walang isang napatunayan tirahan ng e-" -"liham." diff --git a/plugins/RequireValidatedEmail/locale/uk/LC_MESSAGES/RequireValidatedEmail.po b/plugins/RequireValidatedEmail/locale/uk/LC_MESSAGES/RequireValidatedEmail.po index d1f2b85a4..3a6f66b9c 100644 --- a/plugins/RequireValidatedEmail/locale/uk/LC_MESSAGES/RequireValidatedEmail.po +++ b/plugins/RequireValidatedEmail/locale/uk/LC_MESSAGES/RequireValidatedEmail.po @@ -9,33 +9,31 @@ msgid "" msgstr "" "Project-Id-Version: StatusNet - RequireValidatedEmail\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-10-03 19:53+0000\n" -"PO-Revision-Date: 2010-10-03 19:57:20+0000\n" +"POT-Creation-Date: 2010-10-20 00:18+0000\n" +"PO-Revision-Date: 2010-10-20 00:21:44+0000\n" "Language-Team: Ukrainian <http://translatewiki.net/wiki/Portal:uk>\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-09-27 23:21:25+0000\n" -"X-Generator: MediaWiki 1.17alpha (r74231); Translate extension (2010-09-17)\n" +"X-POT-Import-Date: 2010-10-19 23:49:58+0000\n" +"X-Generator: MediaWiki 1.17alpha (r75030); Translate extension (2010-09-17)\n" "X-Translation-Project: translatewiki.net at http://translatewiki.net\n" "X-Language-Code: uk\n" "X-Message-Group: #out-statusnet-plugin-requirevalidatedemail\n" "Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= " "2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" -#: RequireValidatedEmailPlugin.php:72 +#: RequireValidatedEmailPlugin.php:92 msgid "You must validate your email address before posting." msgstr "" "Ви повинні підтвердити свою адресу електронної пошти до того, як почнете " "надсилати дописи поштою." -#: RequireValidatedEmailPlugin.php:90 +#: RequireValidatedEmailPlugin.php:112 msgid "You must provide an email address to register." msgstr "Ви повинні зазначити свою адресу електронної пошти для реєстрації." -#: RequireValidatedEmailPlugin.php:169 -msgid "" -"The Require Validated Email plugin disables posting for accounts that do not " -"have a validated email address." +#: RequireValidatedEmailPlugin.php:216 +msgid "Disables posting without a validated email address." msgstr "" -"Додаток Require Validated Email унеможливлює надсилання дописів поштою для " -"тих акаунтів, що не мають підтверджених електронних адрес." +"Забороняє надсилання дописів, якщо користувач не має підтвердженої " +"електронної адреси." |