summaryrefslogtreecommitdiff
path: root/core/controllers/albums.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-01-15 10:02:41 +0000
committerAndy Staudacher <andy.st@gmail.com>2009-01-15 10:02:41 +0000
commite4a9b19bf9997f46203fbc18c696c63703a72625 (patch)
treec33f4cb354961eeba452f428dfa68c664bc3226f /core/controllers/albums.php
parente53916dd0622e3db61d6a05ad0fe69e8d7c7f11a (diff)
Changing t() placeholder syntax from {{replace_me}} to %replace_me.
Diffstat (limited to 'core/controllers/albums.php')
-rw-r--r--core/controllers/albums.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/controllers/albums.php b/core/controllers/albums.php
index 0150314c..39946e60 100644
--- a/core/controllers/albums.php
+++ b/core/controllers/albums.php
@@ -93,7 +93,7 @@ class Albums_Controller extends Items_Controller {
log::success("content", "Created an album",
html::anchor("albums/$new_album->id", "view album"));
- message::success(t("Created album {{album_title}}", array("album_title" => $new_album->title)));
+ message::success(t("Created album %album_title", array("album_title" => $new_album->title)));
print json_encode(
array("result" => "success",
@@ -123,7 +123,7 @@ class Albums_Controller extends Items_Controller {
user::active()->id);
log::success("content", "Added a photo", html::anchor("photos/$photo->id", "view photo"));
- message::success(t("Added photo {{photo_title}}", array("photo_title" => $photo->title)));
+ message::success(t("Added photo %photo_title", array("photo_title" => $photo->title)));
print json_encode(
array("result" => "success",
@@ -155,7 +155,7 @@ class Albums_Controller extends Items_Controller {
module::event("item_updated", $orig, $album);
log::success("content", "Updated album", "<a href=\"albums/$album->id\">view</a>");
- message::success(t("Saved album {{album_title}}", array("album_title" => $album->title)));
+ message::success(t("Saved album %album_title", array("album_title" => $album->title)));
print json_encode(
array("result" => "success",