X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpeopletags.php;h=40f07c06b72e77ecd89cf4d6625f6e2893fb926e;hb=31b29fde50e9664e1b70064c043879ce87553883;hp=96b85afd4f773541bc2886d5345cafbee9138502;hpb=31c1177970124cee31823cab3a11542c23b4126d;p=quix0rs-gnu-social.git diff --git a/lib/peopletags.php b/lib/peopletags.php index 96b85afd4f..40f07c06b7 100644 --- a/lib/peopletags.php +++ b/lib/peopletags.php @@ -40,7 +40,6 @@ require_once INSTALLDIR.'/lib/widget.php'; * @author Shashi Gowda * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 */ - class PeopletagsWidget extends Widget { /* @@ -84,7 +83,8 @@ class PeopletagsWidget extends Widget function label() { - return _('Tags by you'); + // TRANS: Label in lists widget. + return _m('LABEL','Your lists'); } function showTags() @@ -124,14 +124,15 @@ class PeopletagsWidget extends Widget function showEditTagForm($tags=null) { - $this->out->elementStart('span', 'form_tag_user_wrap'); + $this->out->elementStart('div', 'form_tag_user_wrap'); $this->out->elementStart('form', array('method' => 'post', 'class' => 'form_tag_user', 'name' => 'tagprofile', '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 lists widget. + $this->out->element('legend', null, _m('LEGEND','Edit lists')); $this->out->hidden('token', common_session_token()); $this->out->hidden('id', $this->tagged->id); @@ -141,11 +142,12 @@ class PeopletagsWidget extends Widget $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->elementEnd('span'); + $this->out->elementEnd('div'); } function showEmptyList() @@ -160,6 +162,7 @@ class PeopletagsWidget extends Widget } $this->out->elementStart('ul', $class); + // TRANS: Empty list message for tags. $this->out->element('li', null, _('(None)')); $this->out->elementEnd('ul'); @@ -186,6 +189,7 @@ class SelftagsWidget extends PeopletagsWidget function label() { - return _('Tags'); + // TRANS: Label in self tags widget. + return _m('LABEL','Tags'); } }