X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpersonaltagcloudsection.php;h=c861c4f57f90fb6ceee594b719d2be842cc34acc;hb=a45cdae0831ad036a85ac4f5f815c771e137e1c5;hp=091425f926d296f8959322e63c2a3ac770bae41d;hpb=31585453fc7c7ed2d4b9c72ef0478e541b5622e4;p=quix0rs-gnu-social.git diff --git a/lib/personaltagcloudsection.php b/lib/personaltagcloudsection.php index 091425f926..c861c4f57f 100644 --- a/lib/personaltagcloudsection.php +++ b/lib/personaltagcloudsection.php @@ -40,7 +40,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ - class PersonalTagCloudSection extends TagCloudSection { var $user = null; @@ -53,12 +52,14 @@ class PersonalTagCloudSection extends TagCloudSection function title() { - return sprintf(_('Tags in %s\'s notices'), $this->user->nickname); + // TRANS: Title for personal tag cloud section. + return _m('TITLE','Tags'); } function getTags() { $weightexpr = common_sql_weight('notice_tag.created', common_config('tag', 'dropoff')); + // @fixme should we use the cutoff too? Doesn't help with indexing per-user. $qry = 'SELECT notice_tag.tag, '. $weightexpr . ' as weight ' . @@ -83,5 +84,4 @@ class PersonalTagCloudSection extends TagCloudSection 3600); return $tag; } - }