* @author Shashi Gowda <connect2shashi@gmail.com>
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
*/
-
class PeopletagsWidget extends Widget
{
/*
function label()
{
- return _('Tags by you');
+ // TRANS: Label in people tags widget.
+ return _m('LABEL','Tags by you');
}
function showTags()
'action' => common_local_url('tagprofile', array('id' => $this->tagged->id))));
$this->out->elementStart('fieldset');
- $this->out->element('legend', null, _('Edit tags'));
+ // TRANS: Fieldset legend in people tags widget.
+ $this->out->element('legend', null, _m('LEGEND','Edit tags'));
$this->out->hidden('token', common_session_token());
$this->out->hidden('id', $this->tagged->id);
$this->out->input('tags', $this->label(),
($this->out->arg('tags')) ? $this->out->arg('tags') : implode(' ', $tags));
- $this->out->submit('save', _('Save'));
+ // TRANS: Button text to save tags for a profile.
+ $this->out->submit('save', _m('BUTTON','Save'));
$this->out->elementEnd('fieldset');
$this->out->elementEnd('form');
}
$this->out->elementStart('ul', $class);
+ // TRANS: Empty list message for tags.
$this->out->element('li', null, _('(None)'));
$this->out->elementEnd('ul');
function label()
{
- return _('Tags');
+ // TRANS: Label in self tags widget.
+ return _m('LABEL','Tags');
}
}