Update for translate adoptation
-Add gettext-function
This commit is contained in:
parent
5e819550c3
commit
d58bd4c085
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ class Application_Service_PodcastService
|
||||||
$newBl = new Application_Model_Block();
|
$newBl = new Application_Model_Block();
|
||||||
$newBl->setCreator(Application_Model_User::getCurrentUser()->getId());
|
$newBl->setCreator(Application_Model_User::getCurrentUser()->getId());
|
||||||
$newBl->setName($title);
|
$newBl->setName($title);
|
||||||
$newBl->setDescription('Auto-generated smartblock for podcast');
|
$newBl->setDescription(_("Auto-generated smartblock for podcast"));
|
||||||
$newBl->saveType('dynamic');
|
$newBl->saveType('dynamic');
|
||||||
// limit the smartblock to 1 item
|
// limit the smartblock to 1 item
|
||||||
$row = new CcBlockcriteria();
|
$row = new CcBlockcriteria();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue