X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpeopletageditform.php;h=c984880e2ac41aa878c0204cf2bf960543ba6124;hb=22f6cec9b7b9a04e61ba355730ffab9db9bc8005;hp=c9bbd576f890e39296e3b9442904ea622361c00c;hpb=c27b9c07226d655e9933ef7a824dc75a174e26e1;p=quix0rs-gnu-social.git diff --git a/lib/peopletageditform.php b/lib/peopletageditform.php index c9bbd576f8..c984880e2a 100644 --- a/lib/peopletageditform.php +++ b/lib/peopletageditform.php @@ -64,7 +64,7 @@ class PeopletagEditForm extends Form parent::__construct($out); $this->peopletag = $peopletag; - $this->tagger = Profile::staticGet('id', $peopletag->tagger); + $this->tagger = Profile::getKV('id', $peopletag->tagger); } /** @@ -127,11 +127,11 @@ class PeopletagEditForm extends Form $this->out->elementStart('li'); $this->out->hidden('id', $id); - // TRANS: Field label for people tag. - $this->out->input('tag', _m('LABEL','Tag'), + // TRANS: Field label for list. + $this->out->input('tag', _m('LABEL','List'), ($this->out->arg('tag')) ? $this->out->arg('tag') : $tag, - // TRANS: Field title for people tag. - _('Change the tag (letters, numbers, -, ., and _ are allowed).')); + // TRANS: Field title for list. + _('Change the list (letters, numbers, -, ., and _ are allowed).')); $this->out->elementEnd('li'); $this->out->elementStart('li'); @@ -164,7 +164,7 @@ class PeopletagEditForm extends Form */ function formActions() { - // TRANS: Button text to save a people tag. + // TRANS: Button text to save a list. $this->out->submit('submit', _('Save')); $this->out->submit('form_action-yes', // TRANS: Button text to delete a list. @@ -178,11 +178,11 @@ class PeopletagEditForm extends Form function showProfileList() { $tagged = $this->peopletag->getTagged(); - // TRANS: Header in people tag edit form. + // TRANS: Header in list edit form. $this->out->element('h2', null, _('Add or remove people')); $this->out->elementStart('div', 'profile_search_wrap'); - // TRANS: Header in people tag edit form. + // TRANS: Header in list edit form. $this->out->element('h3', null, _m('HEADER','Search')); $search = new SearchProfileForm($this->out, $this->peopletag); $search->show();