Update translator documentation.
L10n/i18n updates. Superfluous whitespace removed.
This commit is contained in:
parent
3d835bb8b5
commit
9785140da5
|
@ -21,6 +21,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
|
||||||
|
|
||||||
require_once(INSTALLDIR.'/lib/settingsaction.php');
|
require_once(INSTALLDIR.'/lib/settingsaction.php');
|
||||||
|
|
||||||
|
// @todo FIXME: documentation missing.
|
||||||
class TagotherAction extends Action
|
class TagotherAction extends Action
|
||||||
{
|
{
|
||||||
var $profile = null;
|
var $profile = null;
|
||||||
|
@ -127,10 +128,10 @@ class TagotherAction extends Action
|
||||||
$this->elementStart('li');
|
$this->elementStart('li');
|
||||||
$this->input('tags', _('Tags'),
|
$this->input('tags', _('Tags'),
|
||||||
($this->arg('tags')) ? $this->arg('tags') : implode(' ', Profile_tag::getTags($user->id, $this->profile->id)),
|
($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('li');
|
||||||
$this->elementEnd('ul');
|
$this->elementEnd('ul');
|
||||||
$this->submit('save', _('Save'));
|
$this->submit('save', _m('BUTTON','Save'));
|
||||||
$this->elementEnd('fieldset');
|
$this->elementEnd('fieldset');
|
||||||
$this->elementEnd('form');
|
$this->elementEnd('form');
|
||||||
}
|
}
|
||||||
|
@ -154,7 +155,9 @@ class TagotherAction extends Action
|
||||||
|
|
||||||
foreach ($tags as $tag) {
|
foreach ($tags as $tag) {
|
||||||
if (!common_valid_profile_tag($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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -217,4 +220,3 @@ class TagotherAction extends Action
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user