= t("Gallery 2 Import") ?> 
  
    = t("Import your Gallery 2 users, photos, movies, comments and tags into your new Gallery 3 installation.") ?>
    = t("Note: The importer is a work in progress and does not currently support comments, tags, permissions, capture dates and movies (other than Flash video)") ?>
  
  = $form ?>
 
 if (g2_import::is_initialized()): ?>
   = t("Import") ?> 
  
    - 
      = t("Gallery version %version detected", array("version" => g2_import::version())) ?>
    
    
      = 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"]) ?>
      
 
   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" => url::site("admin/theme_details"))) ?>
  
   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" => url::site("admin/theme_details"))) ?>
  
   endif ?>
  = t("You can begin your import on the 
maintenance page",
        array("url" => url::site("admin/maintenance"))) ?>
 
 endif ?>