= t("Import your Gallery 1 photos, movies and comments into your new Gallery 3 installation.") ?>
= $form ?>
if (isset($g1_version)): ?>
-
= t("Gallery version %version detected", array("version" => $g1_version)) ?>
if ($g1_sizes["thumb"]["size"] && $thumb_size != $g1_sizes["thumb"]["size"]): ?>
-
= t("Your most common thumbnail size in Gallery 1 is %g1_pixels pixels, but your Gallery 3 thumbnail size is set to %g3_pixels pixels. Using the same value will speed up your import.",
array("g1_pixels" => $g1_sizes["thumb"]["size"],
"g3_pixels" => $thumb_size,
"url" => html::mark_clean(url::site("admin/theme_options")))) ?>
endif ?>
if ($g1_sizes["resize"]["size"] && $resize_size != $g1_sizes["resize"]["size"]): ?>
-
= t("Your most common intermediate size in Gallery 1 is %g1_pixels pixels, but your Gallery 3 intermediate size is set to %g3_pixels pixels. Using the same value will speed up your import.",
array("g1_pixels" => $g1_sizes["resize"]["size"],
"g3_pixels" => $resize_size,
"url" => html::mark_clean(url::site("admin/theme_options")))) ?>
endif ?>
-
$t = array();
$t[] = t2("1 user", "%count users", $g1_stats["users"]);
$t[] = t2("1 group", "%count groups", $g1_stats["groups"]);
$t[] = t2("1 album", "%count albums", $g1_stats["albums"]);
$t[] = t2("1 photo", "%count photos/movies", $g1_stats["photos"] + $g1_stats["movies"]);
$t[] = t2("1 comment", "%count comments", $g1_stats["comments"]);
$t[] = t2("1 tagged photo/movie/album", "%count tagged photos/movies/albums",
$g1_stats["tags"]);
?>
= t("Your Gallery 1 has the following importable data in it: %t0, %t1, %t2, %t3, %t4, %t5",
array("t0" => $t[0], "t1" => $t[1], "t2" => $t[2],
"t3" => $t[3], "t4" => $t[4], "t5" => $t[5])) ?>
if ($g3_resource_count): ?>
-
$t = array();
$t[] = t2("1 user", "%count users", $g3_stats["user"]);
$t[] = t2("1 group", "%count groups", $g3_stats["group"]);
$t[] = t2("1 album", "%count albums", $g3_stats["album"]);
$t[] = t2("1 photo/movie", "%count photos/movies", $g3_stats["item"]);
$t[] = t2("1 comment", "%count comments", $g3_stats["comment"]);
$t[] = t2("1 tagged photo/movie/album", "%count tagged photos/movies/albums", $g3_stats["tag"]);
?>
= t("It looks like you've imported the following Gallery 1 data already: %t0, %t1, %t2, %t3, %t4, %t5",
array("t0" => $t[0], "t1" => $t[1], "t2" => $t[2],
"t3" => $t[3], "t4" => $t[4], "t5" => $t[5])) ?>
endif ?>
">
= t("Begin import!") ?>
endif ?>
-
= t("Gallery 3 does not support per-user / per-item permissions. Review permissions!") ?>
-
= t("The only supported file formats are JPG, PNG and GIF, FLV and MP4. Other formats will be skipped.") ?>
-
= t("Redirecting G1 Gallery URLs once your migration is complete. Put this block at the top of %path and all gallery urls will be redirected to Gallery 3",
array("path" => g1_import::$gallery_dir.DIRECTORY_SEPARATOR.'.htaccess') ) ?>
-
= t("Redirecting G1 Album URLs once your migration is complete. Put this block at the top of %path and all album image urls will be redirected to Gallery 3",
array("path" => g1_import::$album_dir.DIRECTORY_SEPARATOR.'.htaccess') ) ?>