summaryrefslogtreecommitdiff
path: root/actions/designadminpanel.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-04-26 02:43:33 -0400
committerEvan Prodromou <evan@status.net>2010-04-26 02:43:33 -0400
commit5c05cd2b1a93d360bde7cb7dfc9ba39e5a5a7624 (patch)
tree5b4092e365023c7729fcdd8260431d3ffb28b519 /actions/designadminpanel.php
parent14adb7cc41e3d5d4e543c1f13f7a60d3cadb5c71 (diff)
parentd7d3a50d8751f071aa95541813af1d190e71430e (diff)
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Diffstat (limited to 'actions/designadminpanel.php')
-rw-r--r--actions/designadminpanel.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/actions/designadminpanel.php b/actions/designadminpanel.php
index 30e8bde1a..8c08581b5 100644
--- a/actions/designadminpanel.php
+++ b/actions/designadminpanel.php
@@ -59,6 +59,7 @@ class DesignadminpanelAction extends AdminPanelAction
function title()
{
+ // TRANS: Message used as title for design settings for the site.
return _('Design');
}
@@ -272,11 +273,11 @@ class DesignadminpanelAction extends AdminPanelAction
{
if (!empty($values['logo']) &&
!Validate::uri($values['logo'], array('allowed_schemes' => array('http', 'https')))) {
- $this->clientError(_("Invalid logo URL."));
+ $this->clientError(_('Invalid logo URL.'));
}
if (!in_array($values['theme'], Theme::listAvailable())) {
- $this->clientError(sprintf(_("Theme not available: %s"), $values['theme']));
+ $this->clientError(sprintf(_("Theme not available: %s."), $values['theme']));
}
}
@@ -454,6 +455,7 @@ class DesignAdminPanelForm extends AdminForm
$this->out->element('label', array('for' => 'design_background-image_on',
'class' => 'radio'),
+ // TRANS: Used as radio button label to add a background image.
_('On'));
$attrs = array('name' => 'design_background-image_onoff',
@@ -470,6 +472,7 @@ class DesignAdminPanelForm extends AdminForm
$this->out->element('label', array('for' => 'design_background-image_off',
'class' => 'radio'),
+ // TRANS: Used as radio button label to not add a background image.
_('Off'));
$this->out->element('p', 'form_guide', _('Turn background image on or off.'));
$this->unli();