mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-12 15:49:06 -04:00
Added t(...) around some display strings that were overlooked.
This commit is contained in:
@@ -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")));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user