summaryrefslogtreecommitdiff
path: root/plugins/AnonymousFave
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-04 11:42:16 -0700
committerBrion Vibber <brion@pobox.com>2010-10-04 11:42:16 -0700
commit5b49366f49b77fd677f415facb75c9b21c10b5d3 (patch)
treeb38bb4dc936d77a07d51f67e0eacc63c2d6239e2 /plugins/AnonymousFave
parent7d0d89ddea7ae21f7c1526c170a20aa865d7c376 (diff)
parent1652ded48c9c62c40157a5142e5231adbc574ddb (diff)
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts: plugins/AnonymousFave/AnonymousFavePlugin.php
Diffstat (limited to 'plugins/AnonymousFave')
-rw-r--r--plugins/AnonymousFave/AnonymousFavePlugin.php4
-rw-r--r--plugins/AnonymousFave/Fave_tally.php16
-rw-r--r--plugins/AnonymousFave/anondisfavor.php7
-rw-r--r--plugins/AnonymousFave/anondisfavorform.php5
-rw-r--r--plugins/AnonymousFave/anonfavor.php9
-rw-r--r--plugins/AnonymousFave/anonfavorform.php3
-rw-r--r--plugins/AnonymousFave/locale/AnonymousFave.pot98
-rw-r--r--plugins/AnonymousFave/locale/es/LC_MESSAGES/AnonymousFave.po107
-rw-r--r--plugins/AnonymousFave/locale/ia/LC_MESSAGES/AnonymousFave.po106
-rw-r--r--plugins/AnonymousFave/locale/mk/LC_MESSAGES/AnonymousFave.po106
-rw-r--r--plugins/AnonymousFave/locale/nl/LC_MESSAGES/AnonymousFave.po114
-rw-r--r--plugins/AnonymousFave/locale/uk/LC_MESSAGES/AnonymousFave.po111
12 files changed, 663 insertions, 23 deletions
diff --git a/plugins/AnonymousFave/AnonymousFavePlugin.php b/plugins/AnonymousFave/AnonymousFavePlugin.php
index be93c1704..96edf82e1 100644
--- a/plugins/AnonymousFave/AnonymousFavePlugin.php
+++ b/plugins/AnonymousFave/AnonymousFavePlugin.php
@@ -203,6 +203,7 @@ class AnonymousFavePlugin extends Plugin
)
);
$out->elementStart('span', array('class' => 'fave-tally-title'));
+ // TRANS: Label for tally for number of times a notice was favored.
$out->raw(sprintf(_m("Favored")));
$out->elementEnd('span');
$out->elementStart('span', array('class' => 'fave-tally'));
@@ -235,6 +236,7 @@ class AnonymousFavePlugin extends Plugin
$id = $profile->insert();
if (!$id) {
+ // TRANS: Server exception.
throw new ServerException(_m("Couldn't create anonymous user session."));
}
@@ -245,6 +247,7 @@ class AnonymousFavePlugin extends Plugin
$result = $profile->update($orig);
if (!$result) {
+ // TRANS: Server exception.
throw new ServerException(_m("Couldn't create anonymous user session."));
}
@@ -319,6 +322,7 @@ class AnonymousFavePlugin extends Plugin
'author' => 'Zach Copley',
'homepage' => $url,
'rawdescription' =>
+ // TRANS: Plugin description.
_m('Allow anonymous users to favorite notices.'));
return true;
diff --git a/plugins/AnonymousFave/Fave_tally.php b/plugins/AnonymousFave/Fave_tally.php
index b350d5a0a..f48a1e82b 100644
--- a/plugins/AnonymousFave/Fave_tally.php
+++ b/plugins/AnonymousFave/Fave_tally.php
@@ -44,7 +44,6 @@ require_once INSTALLDIR . '/classes/Memcached_DataObject.php';
* @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
* @link http://status.net/
*/
-
class Fave_tally extends Memcached_DataObject
{
###START_AUTOCODE
@@ -85,7 +84,6 @@ class Fave_tally extends Memcached_DataObject
*
* @return array list of key field names
*/
-
function keys()
{
return array_keys($this->keyTypes());
@@ -103,7 +101,6 @@ class Fave_tally extends Memcached_DataObject
* 'K' for primary key: for compound keys, add an entry for each component;
* 'U' for unique keys: compound keys are not well supported here.
*/
-
function keyTypes()
{
return array('notice_id' => 'K');
@@ -119,8 +116,6 @@ class Fave_tally extends Memcached_DataObject
*
* @return array magic three-false array that stops auto-incrementing.
*/
-
-
function sequenceKey()
{
return array(false, false, false);
@@ -133,7 +128,6 @@ class Fave_tally extends Memcached_DataObject
*
* @return User_flag_profile found object or null
*/
-
function pkeyGet($kv)
{
return Memcached_DataObject::pkeyGet('Fave_tally', $kv);
@@ -146,7 +140,6 @@ class Fave_tally extends Memcached_DataObject
*
* @return Fave_tally $tally the tally data object
*/
-
static function increment($noticeID)
{
$tally = Fave_tally::ensureTally($noticeID);
@@ -157,6 +150,8 @@ class Fave_tally extends Memcached_DataObject
if (!$result) {
$msg = sprintf(
+ // TRANS: Server exception.
+ // TRANS: %d is the notice ID (number).
_m("Couldn't update favorite tally for notice ID %d."),
$noticeID
);
@@ -173,7 +168,6 @@ class Fave_tally extends Memcached_DataObject
*
* @return Fave_tally $tally the tally data object
*/
-
static function decrement($noticeID)
{
$tally = Fave_tally::ensureTally($noticeID);
@@ -185,6 +179,8 @@ class Fave_tally extends Memcached_DataObject
if (!$result) {
$msg = sprintf(
+ // TRANS: Server exception.
+ // TRANS: %d is the notice ID (number).
_m("Couldn't update favorite tally for notice ID %d."),
$noticeID
);
@@ -203,7 +199,6 @@ class Fave_tally extends Memcached_DataObject
*
* @return Fave_tally the tally data object
*/
-
static function ensureTally($noticeID)
{
$tally = Fave_tally::staticGet('notice_id', $noticeID);
@@ -215,6 +210,8 @@ class Fave_tally extends Memcached_DataObject
$result = $tally->insert();
if (!$result) {
$msg = sprintf(
+ // TRANS: Server exception.
+ // TRANS: %d is the notice ID (number).
_m("Couldn't create favorite tally for notice ID %d."),
$noticeID
);
@@ -233,7 +230,6 @@ class Fave_tally extends Memcached_DataObject
*
* @return integer $total total number of time the notice has been favored
*/
-
static function countExistingFaves($noticeID)
{
$fave = new Fave();
diff --git a/plugins/AnonymousFave/anondisfavor.php b/plugins/AnonymousFave/anondisfavor.php
index f39d5a778..859e4bd42 100644
--- a/plugins/AnonymousFave/anondisfavor.php
+++ b/plugins/AnonymousFave/anondisfavor.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Anonymous disfavor action
*
@@ -58,6 +57,7 @@ class AnonDisfavorAction extends RedirectingAction
if (empty($profile) || $_SERVER['REQUEST_METHOD'] != 'POST') {
$this->clientError(
+ // TRANS: Client error.
_m('Could not disfavor notice! Please make sure your browser has cookies enabled.')
);
return;
@@ -68,6 +68,7 @@ class AnonDisfavorAction extends RedirectingAction
$token = $this->trimmed('token-' . $notice->id);
if (!$token || $token != common_session_token()) {
+ // TRANS: Client error.
$this->clientError(_m('There was a problem with your session token. Try again, please.'));
return;
}
@@ -77,6 +78,7 @@ class AnonDisfavorAction extends RedirectingAction
$fave->notice_id = $notice->id;
if (!$fave->find(true)) {
+ // TRANS: Client error.
$this->clientError(_m('This notice is not a favorite!'));
return;
}
@@ -85,6 +87,7 @@ class AnonDisfavorAction extends RedirectingAction
if (!$result) {
common_log_db_error($fave, 'DELETE', __FILE__);
+ // TRANS: Server error.
$this->serverError(_m('Could not delete favorite.'));
return;
}
@@ -94,6 +97,7 @@ class AnonDisfavorAction extends RedirectingAction
if ($this->boolean('ajax')) {
$this->startHTML('text/xml;charset=utf-8');
$this->elementStart('head');
+ // TRANS: Title.
$this->element('title', null, _m('Add to favorites'));
$this->elementEnd('head');
$this->elementStart('body');
@@ -121,4 +125,3 @@ class AnonDisfavorAction extends RedirectingAction
}
}
}
-
diff --git a/plugins/AnonymousFave/anondisfavorform.php b/plugins/AnonymousFave/anondisfavorform.php
index c347ed7b4..38e2903db 100644
--- a/plugins/AnonymousFave/anondisfavorform.php
+++ b/plugins/AnonymousFave/anondisfavorform.php
@@ -44,17 +44,14 @@ require_once INSTALLDIR.'/lib/form.php';
*
* @see DisFavorForm
*/
-
class AnonDisfavorForm extends DisFavorForm
{
-
/**
* Constructor
*
* @param HTMLOutputter $out output channel
* @param Notice $notice notice to disfavor
*/
-
function __construct($out=null, $notice=null)
{
parent::__construct($out, $notice);
@@ -65,10 +62,8 @@ class AnonDisfavorForm extends DisFavorForm
*
* @return string URL of the action
*/
-
function action()
{
return common_local_url('AnonDisFavor');
}
-
}
diff --git a/plugins/AnonymousFave/anonfavor.php b/plugins/AnonymousFave/anonfavor.php
index 58570ced9..ad13525a0 100644
--- a/plugins/AnonymousFave/anonfavor.php
+++ b/plugins/AnonymousFave/anonfavor.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Anonyous favor action
*
@@ -57,8 +56,8 @@ class AnonFavorAction extends RedirectingAction
$profile = AnonymousFavePlugin::getAnonProfile();
if (empty($profile) || $_SERVER['REQUEST_METHOD'] != 'POST') {
- $this->clientError(
- _m('Could not favor notice! Please make sure your browser has cookies enabled.')
+ // TRANS: Client error.
+ $this->clientError( _m('Could not favor notice! Please make sure your browser has cookies enabled.')
);
return;
}
@@ -68,18 +67,21 @@ class AnonFavorAction extends RedirectingAction
$token = $this->trimmed('token-' . $notice->id);
if (empty($token) || $token != common_session_token()) {
+ // TRANS: Client error.
$this->clientError(_m('There was a problem with your session token. Try again, please.'));
return;
}
if ($profile->hasFave($notice)) {
+ // TRANS: Client error.
$this->clientError(_m('This notice is already a favorite!'));
return;
}
$fave = Fave::addNew($profile, $notice);
if (!$fave) {
+ // TRANS: Server error.
$this->serverError(_m('Could not create favorite.'));
return;
}
@@ -89,6 +91,7 @@ class AnonFavorAction extends RedirectingAction
if ($this->boolean('ajax')) {
$this->startHTML('text/xml;charset=utf-8');
$this->elementStart('head');
+ // TRANS: Title.
$this->element('title', null, _m('Disfavor favorite'));
$this->elementEnd('head');
$this->elementStart('body');
diff --git a/plugins/AnonymousFave/anonfavorform.php b/plugins/AnonymousFave/anonfavorform.php
index d73c2831d..2fbd015e3 100644
--- a/plugins/AnonymousFave/anonfavorform.php
+++ b/plugins/AnonymousFave/anonfavorform.php
@@ -44,7 +44,6 @@ require_once INSTALLDIR.'/lib/form.php';
*
* @see AnonDisfavorForm
*/
-
class AnonFavorForm extends FavorForm
{
@@ -54,7 +53,6 @@ class AnonFavorForm extends FavorForm
* @param HTMLOutputter $out output channel
* @param Notice $notice notice to favor
*/
-
function __construct($out=null, $notice=null)
{
parent::__construct($out, $notice);
@@ -65,7 +63,6 @@ class AnonFavorForm extends FavorForm
*
* @return string URL of the action
*/
-
function action()
{
return common_local_url('AnonFavor');
diff --git a/plugins/AnonymousFave/locale/AnonymousFave.pot b/plugins/AnonymousFave/locale/AnonymousFave.pot
new file mode 100644
index 000000000..ff07f17d7
--- /dev/null
+++ b/plugins/AnonymousFave/locale/AnonymousFave.pot
@@ -0,0 +1,98 @@
+# 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: 2010-10-03 19:53+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"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+#. TRANS: Tally for number of times a notice was favored.
+#. TRANS: %d is the number of times a notice was favored.
+#: AnonymousFavePlugin.php:193
+#, php-format
+msgid "favored once"
+msgid_plural "favored %d times"
+msgstr[0] ""
+msgstr[1] ""
+
+#. TRANS: Server exception.
+#: AnonymousFavePlugin.php:222 AnonymousFavePlugin.php:233
+msgid "Couldn't create anonymous user session."
+msgstr ""
+
+#. TRANS: Plugin description.
+#: AnonymousFavePlugin.php:287
+msgid "Allow anonymous users to favorite notices."
+msgstr ""
+
+#. TRANS: Client error.
+#: anonfavor.php:60
+msgid ""
+"Could not favor notice! Please make sure your browser has cookies enabled."
+msgstr ""
+
+#. TRANS: Client error.
+#: anonfavor.php:71 anondisfavor.php:72
+msgid "There was a problem with your session token. Try again, please."
+msgstr ""
+
+#. TRANS: Client error.
+#: anonfavor.php:78
+msgid "This notice is already a favorite!"
+msgstr ""
+
+#. TRANS: Server error.
+#: anonfavor.php:85
+msgid "Could not create favorite."
+msgstr ""
+
+#. TRANS: Title.
+#: anonfavor.php:95
+msgid "Disfavor favorite"
+msgstr ""
+
+#. TRANS: Server exception.
+#. TRANS: %d is the notice ID (number).
+#: Fave_tally.php:155 Fave_tally.php:184
+#, php-format
+msgid "Couldn't update favorite tally for notice ID %d."
+msgstr ""
+
+#. TRANS: Server exception.
+#. TRANS: %d is the notice ID (number).
+#: Fave_tally.php:215
+#, php-format
+msgid "Couldn't create favorite tally for notice ID %d."
+msgstr ""
+
+#. TRANS: Client error.
+#: anondisfavor.php:61
+msgid ""
+"Could not disfavor notice! Please make sure your browser has cookies enabled."
+msgstr ""
+
+#. TRANS: Client error.
+#: anondisfavor.php:82
+msgid "This notice is not a favorite!"
+msgstr ""
+
+#. TRANS: Server error.
+#: anondisfavor.php:91
+msgid "Could not delete favorite."
+msgstr ""
+
+#. TRANS: Title.
+#: anondisfavor.php:101
+msgid "Add to favorites"
+msgstr ""
diff --git a/plugins/AnonymousFave/locale/es/LC_MESSAGES/AnonymousFave.po b/plugins/AnonymousFave/locale/es/LC_MESSAGES/AnonymousFave.po
new file mode 100644
index 000000000..8b91051a0
--- /dev/null
+++ b/plugins/AnonymousFave/locale/es/LC_MESSAGES/AnonymousFave.po
@@ -0,0 +1,107 @@
+# Translation of StatusNet - AnonymousFave to Spanish (Español)
+# Expored from translatewiki.net
+#
+# Author: Translationista
+# --
+# This file is distributed under the same license as the StatusNet package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: StatusNet - AnonymousFave\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-10-03 19:53+0000\n"
+"PO-Revision-Date: 2010-10-03 19:56:22+0000\n"
+"Language-Team: Spanish <http://translatewiki.net/wiki/Portal:es>\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-POT-Import-Date: 2010-10-01 20:44:57+0000\n"
+"X-Generator: MediaWiki 1.17alpha (r74231); Translate extension (2010-09-17)\n"
+"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
+"X-Language-Code: es\n"
+"X-Message-Group: #out-statusnet-plugin-anonymousfave\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. TRANS: Tally for number of times a notice was favored.
+#. TRANS: %d is the number of times a notice was favored.
+#: AnonymousFavePlugin.php:193
+#, php-format
+msgid "favored once"
+msgid_plural "favored %d times"
+msgstr[0] "marcado como favorito una vez"
+msgstr[1] "marcado como favorito %d veces"
+
+#. TRANS: Server exception.
+#: AnonymousFavePlugin.php:222 AnonymousFavePlugin.php:233
+msgid "Couldn't create anonymous user session."
+msgstr "No se pudo crear sesión de usuario anónimo."
+
+#. TRANS: Plugin description.
+#: AnonymousFavePlugin.php:287
+msgid "Allow anonymous users to favorite notices."
+msgstr "Permitir a usuarios anónimos marcar mensajes como favoritos."
+
+#. TRANS: Client error.
+#: anonfavor.php:60
+msgid ""
+"Could not favor notice! Please make sure your browser has cookies enabled."
+msgstr ""
+"No fue posible marcar el mensaje como favorito. Por favor, asegúrate de que "
+"las cookies están habilitadas en tu navegador."
+
+#. TRANS: Client error.
+#: anonfavor.php:71 anondisfavor.php:72
+msgid "There was a problem with your session token. Try again, please."
+msgstr ""
+"Hubo un problema con tu token de sesión. Por favor, inténtalo de nuevo."
+
+#. TRANS: Client error.
+#: anonfavor.php:78
+msgid "This notice is already a favorite!"
+msgstr "¡Este mensaje ya está en favoritos!"
+
+#. TRANS: Server error.
+#: anonfavor.php:85
+msgid "Could not create favorite."
+msgstr "No se pudo crear favorito."
+
+#. TRANS: Title.
+#: anonfavor.php:95
+msgid "Disfavor favorite"
+msgstr "Eliminar de la lista de favoritos."
+
+#. TRANS: Server exception.
+#. TRANS: %d is the notice ID (number).
+#: Fave_tally.php:155 Fave_tally.php:184
+#, php-format
+msgid "Couldn't update favorite tally for notice ID %d."
+msgstr "No se pudo actualizar el la cuenta favorita para el mensaje de ID %d."
+
+#. TRANS: Server exception.
+#. TRANS: %d is the notice ID (number).
+#: Fave_tally.php:215
+#, php-format
+msgid "Couldn't create favorite tally for notice ID %d."
+msgstr "No se pudo crear una cuenta favorita para el mensaje de ID %d."
+
+#. TRANS: Client error.
+#: anondisfavor.php:61
+msgid ""
+"Could not disfavor notice! Please make sure your browser has cookies enabled."
+msgstr ""
+"¡No es posible eliminar el mensaje de entre los favoritos! Por favor, "
+"asegúrate de que las cookies estén habilitadas en tu navegador."
+
+#. TRANS: Client error.
+#: anondisfavor.php:82
+msgid "This notice is not a favorite!"
+msgstr "¡Este mensaje no es un favorito!"
+
+#. TRANS: Server error.
+#: anondisfavor.php:91
+msgid "Could not delete favorite."
+msgstr "No se pudo borrar el favorito."
+
+#. TRANS: Title.
+#: anondisfavor.php:101
+msgid "Add to favorites"
+msgstr "Añadir a favoritos"
diff --git a/plugins/AnonymousFave/locale/ia/LC_MESSAGES/AnonymousFave.po b/plugins/AnonymousFave/locale/ia/LC_MESSAGES/AnonymousFave.po
new file mode 100644
index 000000000..eb0ef34b9
--- /dev/null
+++ b/plugins/AnonymousFave/locale/ia/LC_MESSAGES/AnonymousFave.po
@@ -0,0 +1,106 @@
+# Translation of StatusNet - AnonymousFave to Interlingua (Interlingua)
+# Expored from translatewiki.net
+#
+# Author: McDutchie
+# --
+# This file is distributed under the same license as the StatusNet package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: StatusNet - AnonymousFave\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-10-03 19:53+0000\n"
+"PO-Revision-Date: 2010-10-03 19:56:22+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-10-01 20:44:57+0000\n"
+"X-Generator: MediaWiki 1.17alpha (r74231); 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-anonymousfave\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. TRANS: Tally for number of times a notice was favored.
+#. TRANS: %d is the number of times a notice was favored.
+#: AnonymousFavePlugin.php:193
+#, php-format
+msgid "favored once"
+msgid_plural "favored %d times"
+msgstr[0] "favorite un vice"
+msgstr[1] "favorite %d vices"
+
+#. TRANS: Server exception.
+#: AnonymousFavePlugin.php:222 AnonymousFavePlugin.php:233
+msgid "Couldn't create anonymous user session."
+msgstr "Non poteva crear session de usator anonyme."
+
+#. TRANS: Plugin description.
+#: AnonymousFavePlugin.php:287
+msgid "Allow anonymous users to favorite notices."
+msgstr "Permitter a usatores anonyme de favorir notas."
+
+#. TRANS: Client error.
+#: anonfavor.php:60
+msgid ""
+"Could not favor notice! Please make sure your browser has cookies enabled."
+msgstr ""
+"Non poteva favorir le nota! Per favor assecura te que tu navigator ha le "
+"cookies activate."
+
+#. TRANS: Client error.
+#: anonfavor.php:71 anondisfavor.php:72
+msgid "There was a problem with your session token. Try again, please."
+msgstr "Occurreva un problema con le indicio de tu session. Per favor reproba."
+
+#. TRANS: Client error.
+#: anonfavor.php:78
+msgid "This notice is already a favorite!"
+msgstr "Iste nota es ja favorite!"
+
+#. TRANS: Server error.
+#: anonfavor.php:85
+msgid "Could not create favorite."
+msgstr "Non poteva crear le favorite."
+
+#. TRANS: Title.
+#: anonfavor.php:95
+msgid "Disfavor favorite"
+msgstr "Disfavorir favorite"
+
+#. TRANS: Server exception.
+#. TRANS: %d is the notice ID (number).
+#: Fave_tally.php:155 Fave_tally.php:184
+#, php-format
+msgid "Couldn't update favorite tally for notice ID %d."
+msgstr "Non poteva actualisar le numero de favorites pro le ID de nota %d."
+
+#. TRANS: Server exception.
+#. TRANS: %d is the notice ID (number).
+#: Fave_tally.php:215
+#, php-format
+msgid "Couldn't create favorite tally for notice ID %d."
+msgstr "Non poteva crear un numero de favorites pro le ID de nota %d."
+
+#. TRANS: Client error.
+#: anondisfavor.php:61
+msgid ""
+"Could not disfavor notice! Please make sure your browser has cookies enabled."
+msgstr ""
+"Non poteva disfavorir le nota! Per favor assecura te que tu navigator ha le "
+"cookies activate."
+
+#. TRANS: Client error.
+#: anondisfavor.php:82
+msgid "This notice is not a favorite!"
+msgstr "Iste nota non es favorite!"
+
+#. TRANS: Server error.
+#: anondisfavor.php:91
+msgid "Could not delete favorite."
+msgstr "Non poteva deler le favorite."
+
+#. TRANS: Title.
+#: anondisfavor.php:101
+msgid "Add to favorites"
+msgstr "Adder al favorites"
diff --git a/plugins/AnonymousFave/locale/mk/LC_MESSAGES/AnonymousFave.po b/plugins/AnonymousFave/locale/mk/LC_MESSAGES/AnonymousFave.po
new file mode 100644
index 000000000..c7d0157fe
--- /dev/null
+++ b/plugins/AnonymousFave/locale/mk/LC_MESSAGES/AnonymousFave.po
@@ -0,0 +1,106 @@
+# Translation of StatusNet - AnonymousFave to Macedonian (Македонски)
+# Expored from translatewiki.net
+#
+# Author: Bjankuloski06
+# --
+# This file is distributed under the same license as the StatusNet package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: StatusNet - AnonymousFave\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-10-03 19:53+0000\n"
+"PO-Revision-Date: 2010-10-03 19:56:23+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-10-01 20:44:57+0000\n"
+"X-Generator: MediaWiki 1.17alpha (r74231); 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-anonymousfave\n"
+"Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n"
+
+#. TRANS: Tally for number of times a notice was favored.
+#. TRANS: %d is the number of times a notice was favored.
+#: AnonymousFavePlugin.php:193
+#, php-format
+msgid "favored once"
+msgid_plural "favored %d times"
+msgstr[0] "бендисано еднаш"
+msgstr[1] "бендисано %d пати"
+
+#. TRANS: Server exception.
+#: AnonymousFavePlugin.php:222 AnonymousFavePlugin.php:233
+msgid "Couldn't create anonymous user session."
+msgstr "Не можев да создадам анонимна корисничка сесија."
+
+#. TRANS: Plugin description.
+#: AnonymousFavePlugin.php:287
+msgid "Allow anonymous users to favorite notices."
+msgstr "Дозволи анонимни корисници да бендисуваат забелешки."
+
+#. TRANS: Client error.
+#: anonfavor.php:60
+msgid ""
+"Could not favor notice! Please make sure your browser has cookies enabled."
+msgstr ""
+"Не можев да ја бендисам заблешката. Проверете дали имате овозможено колачиња "
+"во прелистувачот."
+
+#. TRANS: Client error.
+#: anonfavor.php:71 anondisfavor.php:72
+msgid "There was a problem with your session token. Try again, please."
+msgstr "Се појави проблем со жетонот на Вашата сесија. Обидете се подоцна."
+
+#. TRANS: Client error.
+#: anonfavor.php:78
+msgid "This notice is already a favorite!"
+msgstr "Веќе сте ја бендисале оваа забелешка!"
+
+#. TRANS: Server error.
+#: anonfavor.php:85
+msgid "Could not create favorite."
+msgstr "Не можев да создадам бендисана забелешка."
+
+#. TRANS: Title.
+#: anonfavor.php:95
+msgid "Disfavor favorite"
+msgstr "Одбендисај бендисана"
+
+#. TRANS: Server exception.
+#. TRANS: %d is the notice ID (number).
+#: Fave_tally.php:155 Fave_tally.php:184
+#, php-format
+msgid "Couldn't update favorite tally for notice ID %d."
+msgstr "Не можев да го поновам бројот на бендисувања за забелешката со ID %d."
+
+#. TRANS: Server exception.
+#. TRANS: %d is the notice ID (number).
+#: Fave_tally.php:215
+#, php-format
+msgid "Couldn't create favorite tally for notice ID %d."
+msgstr "Не можев создадам бројач на бендисувања за забелешката со ID %d."
+
+#. TRANS: Client error.
+#: anondisfavor.php:61
+msgid ""
+"Could not disfavor notice! Please make sure your browser has cookies enabled."
+msgstr ""
+"Не можев да ја одбендисам забелешката! Проверете дали имате овозможено "
+"колачиња во прелистувачот."
+
+#. TRANS: Client error.
+#: anondisfavor.php:82
+msgid "This notice is not a favorite!"
+msgstr "Оваа забелешка не Ви е бендисана!"
+
+#. TRANS: Server error.
+#: anondisfavor.php:91
+msgid "Could not delete favorite."
+msgstr "Не можев да ја избришам бендисаната забелешка."
+
+#. TRANS: Title.
+#: anondisfavor.php:101
+msgid "Add to favorites"
+msgstr "Додај во бендисани"
diff --git a/plugins/AnonymousFave/locale/nl/LC_MESSAGES/AnonymousFave.po b/plugins/AnonymousFave/locale/nl/LC_MESSAGES/AnonymousFave.po
new file mode 100644
index 000000000..e729adefb
--- /dev/null
+++ b/plugins/AnonymousFave/locale/nl/LC_MESSAGES/AnonymousFave.po
@@ -0,0 +1,114 @@
+# Translation of StatusNet - AnonymousFave to Dutch (Nederlands)
+# Expored from translatewiki.net
+#
+# Author: SPQRobin
+# Author: Siebrand
+# --
+# This file is distributed under the same license as the StatusNet package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: StatusNet - AnonymousFave\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-10-03 19:53+0000\n"
+"PO-Revision-Date: 2010-10-03 19:56:23+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-10-01 20:44:57+0000\n"
+"X-Generator: MediaWiki 1.17alpha (r74231); 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-anonymousfave\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. TRANS: Tally for number of times a notice was favored.
+#. TRANS: %d is the number of times a notice was favored.
+#: AnonymousFavePlugin.php:193
+#, php-format
+msgid "favored once"
+msgid_plural "favored %d times"
+msgstr[0] "één keer als favoriet aangemerkt"
+msgstr[1] "%d keer als favoriet aangemerkt"
+
+#. TRANS: Server exception.
+#: AnonymousFavePlugin.php:222 AnonymousFavePlugin.php:233
+msgid "Couldn't create anonymous user session."
+msgstr "Het was niet mogelijk een anonieme gebruikerssessie aan te maken."
+
+#. TRANS: Plugin description.
+#: AnonymousFavePlugin.php:287
+msgid "Allow anonymous users to favorite notices."
+msgstr "Staat anonieme gebruikers toe mededelingen als favoriet aan te merken."
+
+#. TRANS: Client error.
+#: anonfavor.php:60
+msgid ""
+"Could not favor notice! Please make sure your browser has cookies enabled."
+msgstr ""
+"De mededeling kon niet als favoriet aangemerkt worden. Zorg dat uw browser "
+"het gebruik van cookies toestaat."
+
+#. TRANS: Client error.
+#: anonfavor.php:71 anondisfavor.php:72
+msgid "There was a problem with your session token. Try again, please."
+msgstr ""
+"Er is een probleem ontstaan met uw sessie. Probeer het nog een keer, "
+"alstublieft."
+
+#. TRANS: Client error.
+#: anonfavor.php:78
+msgid "This notice is already a favorite!"
+msgstr "Deze mededeling staat al in uw favorietenlijst."
+
+#. TRANS: Server error.
+#: anonfavor.php:85
+msgid "Could not create favorite."
+msgstr "Het was niet mogelijk een favoriet aan te maken."
+
+#. TRANS: Title.
+#: anonfavor.php:95
+msgid "Disfavor favorite"
+msgstr "Van favorietenlijst verwijderen"
+
+#. TRANS: Server exception.
+#. TRANS: %d is the notice ID (number).
+#: Fave_tally.php:155 Fave_tally.php:184
+#, php-format
+msgid "Couldn't update favorite tally for notice ID %d."
+msgstr ""
+"Het was niet mogelijk de telling voor aantal favorieten bij te werken voor "
+"de mededeling met ID %d."
+
+#. TRANS: Server exception.
+#. TRANS: %d is the notice ID (number).
+#: Fave_tally.php:215
+#, php-format
+msgid "Couldn't create favorite tally for notice ID %d."
+msgstr ""
+"Het was niet mogelijk de telling voor aantal favorieten aan te maken voor de "
+"mededeling met ID %d."
+
+#. TRANS: Client error.
+#: anondisfavor.php:61
+msgid ""
+"Could not disfavor notice! Please make sure your browser has cookies enabled."
+msgstr ""
+"De mededeling kon niet als favoriet verwijderd worden. Zorg dat uw browser "
+"het gebruik van cookies toestaat."
+
+#. TRANS: Client error.
+#: anondisfavor.php:82
+msgid "This notice is not a favorite!"
+msgstr "Deze mededeling staat niet op uw favorietenlijst."
+
+#. TRANS: Server error.
+#: anondisfavor.php:91
+msgid "Could not delete favorite."
+msgstr ""
+"Het was niet mogelijk deze mededeling van uw favorietenlijst te verwijderen."
+
+#. TRANS: Title.
+#: anondisfavor.php:101
+msgid "Add to favorites"
+msgstr "Aan favorieten toevoegen"
diff --git a/plugins/AnonymousFave/locale/uk/LC_MESSAGES/AnonymousFave.po b/plugins/AnonymousFave/locale/uk/LC_MESSAGES/AnonymousFave.po
new file mode 100644
index 000000000..57497d281
--- /dev/null
+++ b/plugins/AnonymousFave/locale/uk/LC_MESSAGES/AnonymousFave.po
@@ -0,0 +1,111 @@
+# Translation of StatusNet - AnonymousFave to Ukrainian (Українська)
+# Expored from translatewiki.net
+#
+# Author: Boogie
+# --
+# This file is distributed under the same license as the StatusNet package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: StatusNet - AnonymousFave\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-10-03 19:53+0000\n"
+"PO-Revision-Date: 2010-10-03 19:56:23+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-10-01 20:44:57+0000\n"
+"X-Generator: MediaWiki 1.17alpha (r74231); 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-anonymousfave\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"
+
+#. TRANS: Tally for number of times a notice was favored.
+#. TRANS: %d is the number of times a notice was favored.
+#: AnonymousFavePlugin.php:193
+#, php-format
+msgid "favored once"
+msgid_plural "favored %d times"
+msgstr[0] "обране один раз"
+msgstr[1] "обране %d рази"
+msgstr[2] "обране %d разів"
+
+#. TRANS: Server exception.
+#: AnonymousFavePlugin.php:222 AnonymousFavePlugin.php:233
+msgid "Couldn't create anonymous user session."
+msgstr "Не вдалося створити сесію анонімного користувача."
+
+#. TRANS: Plugin description.
+#: AnonymousFavePlugin.php:287
+msgid "Allow anonymous users to favorite notices."
+msgstr "Дозволити анонімнім користувачам позначати повідомлення як обрані."
+
+#. TRANS: Client error.
+#: anonfavor.php:60
+msgid ""
+"Could not favor notice! Please make sure your browser has cookies enabled."
+msgstr ""
+"Не вдалося позначити повідомлення як обране! Будь ласка, переконайтеся, що у "
+"вашому браузері увімкнено кукі."
+
+#. TRANS: Client error.
+#: anonfavor.php:71 anondisfavor.php:72
+msgid "There was a problem with your session token. Try again, please."
+msgstr "Виникли певні проблеми з токеном сесії. Спробуйте знов, будь ласка."
+
+#. TRANS: Client error.
+#: anonfavor.php:78
+msgid "This notice is already a favorite!"
+msgstr "Цей допис вже є обраним!"
+
+#. TRANS: Server error.
+#: anonfavor.php:85
+msgid "Could not create favorite."
+msgstr "Не вдалося позначити як обране."
+
+#. TRANS: Title.
+#: anonfavor.php:95
+msgid "Disfavor favorite"
+msgstr "Видалити з обраних"
+
+#. TRANS: Server exception.
+#. TRANS: %d is the notice ID (number).
+#: Fave_tally.php:155 Fave_tally.php:184
+#, php-format
+msgid "Couldn't update favorite tally for notice ID %d."
+msgstr ""
+"Не вдалося оновити кількість позначок «обране» для допису за номером %d."
+
+#. TRANS: Server exception.
+#. TRANS: %d is the notice ID (number).
+#: Fave_tally.php:215
+#, php-format
+msgid "Couldn't create favorite tally for notice ID %d."
+msgstr ""
+"Не вдалося створити лічильник кількості позначок «обране» для допису за "
+"номером %d."
+
+#. TRANS: Client error.
+#: anondisfavor.php:61
+msgid ""
+"Could not disfavor notice! Please make sure your browser has cookies enabled."
+msgstr ""
+"Не вдалося видалити повідомлення зі списку обраних! Будь ласка, "
+"переконайтеся, що у вашому браузері увімкнено кукі."
+
+#. TRANS: Client error.
+#: anondisfavor.php:82
+msgid "This notice is not a favorite!"
+msgstr "Цей допис не є обраним!"
+
+#. TRANS: Server error.
+#: anondisfavor.php:91
+msgid "Could not delete favorite."
+msgstr "Не можу видалити допис зі списку обраних."
+
+#. TRANS: Title.
+#: anondisfavor.php:101
+msgid "Add to favorites"
+msgstr "Додати до обраних"