diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-04 11:42:16 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-04 11:42:16 -0700 |
commit | 5b49366f49b77fd677f415facb75c9b21c10b5d3 (patch) | |
tree | b38bb4dc936d77a07d51f67e0eacc63c2d6239e2 /plugins/AnonymousFave/AnonymousFavePlugin.php | |
parent | 7d0d89ddea7ae21f7c1526c170a20aa865d7c376 (diff) | |
parent | 1652ded48c9c62c40157a5142e5231adbc574ddb (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/AnonymousFavePlugin.php')
-rw-r--r-- | plugins/AnonymousFave/AnonymousFavePlugin.php | 4 |
1 files changed, 4 insertions, 0 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; |