summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-02-22 16:14:58 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-02-22 16:14:58 +0000
commitadf338f2c13dfd17a92d0137a13ad360320a67aa (patch)
tree659333d5af5844fea8304306cc7757c61818f59c
parenteece67611ef428a038b1d3e6ff35843d1b1f3470 (diff)
Added t(...) around some display strings that were overlooked.
-rw-r--r--core/controllers/simple_uploader.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/controllers/simple_uploader.php b/core/controllers/simple_uploader.php
index e163a023..4e2be4c8 100644
--- a/core/controllers/simple_uploader.php
+++ b/core/controllers/simple_uploader.php
@@ -53,10 +53,12 @@ class Simple_Uploader_Controller extends Controller {
$path_info = pathinfo($temp_filename);
if ($path_info["extension"] == "flv") {
$movie = movie::create($album, $temp_filename, $title, $title);
- log::success("content", "Added a movie", html::anchor("movies/$movie->id", "view movie"));
+ log::success("content", t("Added a movie"), html::anchor("movies/$movie->id",
+ t("view movie")));
} else {
$photo = photo::create($album, $temp_filename, $title, $title);
- log::success("content", "Added a photo", html::anchor("photos/$photo->id", "view photo"));
+ log::success("content", t("Added a photo"), html::anchor("photos/$photo->id",
+ t("view photo")));
}
}
}