Update for translate adoptation

-Add gettext-function
This commit is contained in:
farggus 2020-03-30 01:12:57 +03:00 committed by GitHub
parent 5e819550c3
commit d58bd4c085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class Application_Service_PodcastService
$newBl = new Application_Model_Block();
$newBl->setCreator(Application_Model_User::getCurrentUser()->getId());
$newBl->setName($title);
$newBl->setDescription('Auto-generated smartblock for podcast');
$newBl->setDescription(_("Auto-generated smartblock for podcast"));
$newBl->saveType('dynamic');
// limit the smartblock to 1 item
$row = new CcBlockcriteria();