= t("Import your Gallery 2 users, photos, movies, comments and tags into your new Gallery 3 installation.") ?>
= t("Notes") ?>
= t("The import process is a work in progress with some known issues:") ?>
-
= t("Permissions are not imported. You will have to set them again manually (for now).") ?>
-
= t("The only supported file formats are JPG, PNG and GIF, FLV and MP4. Other formats will be skipped.") ?>
-
= t("Deactivating the notification, search and exif modules during your import will make it go faster.") ?>
-
= t("The eAccelerator PHP performance extension is known to cause issues. If you're using eAccelerator and having problems, please disable it while you do your import. One way to do that is to put
php_value eaccelerator.enable 0 in gallery3/.htaccess") ?>
= $form ?>
if (g2_import::is_initialized()): ?>
= t("Import") ?>
-
= t("Gallery version %version detected", array("version" => g2_import::version())) ?>
if ($g2_sizes["thumb"]["size"] && $thumb_size != $g2_sizes["thumb"]["size"]): ?>
-
= t("Your most common thumbnail size in Gallery 2 is %g2_pixels pixels, but your Gallery 3 thumbnail size is set to %g3_pixels pixels. Using the same value will speed up your import.",
array("g2_pixels" => $g2_sizes["thumb"]["size"],
"g3_pixels" => $thumb_size,
"url" => html::mark_clean(url::site("admin/theme_options")))) ?>
endif ?>
if ($g2_sizes["resize"]["size"] && $resize_size != $g2_sizes["resize"]["size"]): ?>
-
= t("Your most common intermediate size in Gallery 2 is %g2_pixels pixels, but your Gallery 3 thumbnail size is set to %g3_pixels pixels. Using the same value will speed up your import.",
array("g2_pixels" => $g2_sizes["resize"]["size"],
"g3_pixels" => $resize_size,
"url" => html::mark_clean(url::site("admin/theme_options")))) ?>
endif ?>
= t("Your Gallery 2 has the following importable data in it") ?>
-
= t2("1 user", "%count users", $g2_stats["users"]) ?>
-
= t2("1 group", "%count groups", $g2_stats["groups"]) ?>
-
= t2("1 album", "%count albums", $g2_stats["albums"]) ?>
-
= t2("1 photo", "%count photos", $g2_stats["photos"]) ?>
-
= t2("1 movie", "%count movies", $g2_stats["movies"]) ?>
-
= t2("1 comment", "%count comments", $g2_stats["comments"]) ?>
-
= t2("1 tagged photo/movie/album",
"%count tagged photos/movies/albums", $g2_stats["tags"]) ?>
">
= t("Begin import!") ?>
= t("Migrating from Gallery 2") ?>
= t("Once your migration is complete, put this block at the top of your gallery2/.htaccess file and all Gallery 2 urls will be redirected to Gallery 3") ?>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase = html::clean(g2_import::$g2_base_url) ?>
RewriteRule ^(.*)$ = url::site("g2/map?path=\$1") ?> [QSA,L]
</IfModule>
endif ?>