From: Siebrand Mazeland Date: Thu, 17 Mar 2011 10:46:49 +0000 (+0100) Subject: Update translator documentation. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9785140da58bb8df330445bbf9fa0b0f8fe65835;p=quix0rs-gnu-social.git Update translator documentation. L10n/i18n updates. Superfluous whitespace removed. --- diff --git a/actions/tagother.php b/actions/tagother.php index 258c13bdcc..c3bf219f67 100644 --- a/actions/tagother.php +++ b/actions/tagother.php @@ -21,6 +21,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } require_once(INSTALLDIR.'/lib/settingsaction.php'); +// @todo FIXME: documentation missing. class TagotherAction extends Action { var $profile = null; @@ -127,10 +128,10 @@ class TagotherAction extends Action $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'); } @@ -154,7 +155,9 @@ class TagotherAction extends Action 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; } } @@ -217,4 +220,3 @@ class TagotherAction extends Action } } } -