require_once(INSTALLDIR.'/lib/settingsaction.php');
+// @todo FIXME: documentation missing.
class TagotherAction extends Action
{
var $profile = null;
$this->elementStart('li');
$this->input('tags', _('Tags'),
($this->arg('tags')) ? $this->arg('tags') : implode(' ', Profile_tag::getTags($user->id, $this->profile->id)),
- _('Tags for this user (letters, numbers, -, ., and _), comma- or space- separated'));
+ _('Tags for this user (letters, numbers, -, ., and _), separated by commas or spaces.'));
$this->elementEnd('li');
$this->elementEnd('ul');
- $this->submit('save', _('Save'));
+ $this->submit('save', _m('BUTTON','Save'));
$this->elementEnd('fieldset');
$this->elementEnd('form');
}
foreach ($tags as $tag) {
if (!common_valid_profile_tag($tag)) {
- $this->showForm(sprintf(_('Invalid tag: "%s"'), $tag));
+ // TRANS: Form validation error when entering an invalid tag.
+ // TRANS: %s is the invalid tag.
+ $this->showForm(sprintf(_('Invalid tag: "%s".'), $tag));
return;
}
}
}
}
}
-