From 2e42a5ea8ce64031f6baf31964a0ff25a6ad0b04 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 2 Dec 2008 21:37:06 +0000 Subject: Remove the variable from inside _() --- core/helpers/album.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/helpers') diff --git a/core/helpers/album.php b/core/helpers/album.php index 3e77d521..dd8d1dd2 100644 --- a/core/helpers/album.php +++ b/core/helpers/album.php @@ -61,7 +61,7 @@ class album_Core { static function get_add_form($parent) { $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "gAddAlbumForm")); - $group = $form->group(_("Add Album to {$parent->title}")); + $group = $form->group(_("Add Album to ") . $parent->title); $group->input("name"); $group->input("title"); $group->input("description"); @@ -69,6 +69,5 @@ class album_Core { $group->submit(_("Create")); $form->add_rules_from(ORM::factory("item")); return $form; - } } -- cgit v1.2.3