Using config site name for creative commons bit. Fix i18n.

This commit is contained in:
sarven 2009-01-18 19:58:28 +00:00
parent 41e5e7e912
commit 5426c4ec6a

View File

@ -439,7 +439,8 @@ class Action extends HTMLOutputter // lawsuit
$this->element('img', array('id' => 'license_cc', $this->element('img', array('id' => 'license_cc',
'src' => common_config('license', 'image'), 'src' => common_config('license', 'image'),
'alt' => common_config('license', 'title'))); 'alt' => common_config('license', 'title')));
$this->text(_('All criti.ca content and data are available under the ')); //TODO: This is dirty: i18n
$this->text(_('All '.common_config('site', 'name').' content and data are available under the '));
$this->element('a', array('class' => 'license', $this->element('a', array('class' => 'license',
'rel' => 'external license', 'rel' => 'external license',
'href' => common_config('license', 'url')), 'href' => common_config('license', 'url')),