diff --git a/README.md b/README.md
index a34f0c7..93e3f00 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,12 @@
HTML-Import-2
=============
-A WordPress plugin to import content from static HTML files.
\ No newline at end of file
+A WordPress plugin to import content from static HTML files.
+
+
+= Contribution from rpeyron in this fork =
+* Added French translation and translation fixes
+* Added '*' for all document types
+* Added option to import media files in original folder structure
+* Added option to prefix import path
+* Added redirects for imported media files
diff --git a/html-import-options.php b/html-import-options.php
index 07e3622..9bcd66f 100644
--- a/html-import-options.php
+++ b/html-import-options.php
@@ -25,6 +25,8 @@ function html_import_get_options() {
'remove_srcset' => 0,
'import_documents' => 0,
'document_mimes' => 'rtf,doc,docx,xls,xlsx,csv,ppt,pps,pptx,ppsx,pdf,zip,wmv,avi,flv,mov,mpeg,mp3,m4a,wav',
+ 'document_keep_structure' => 0,
+ 'documents_prefix' == _('imported-pages', 'import-html-pages' ),
'fix_links' => 0,
'import_title' => 0,
'title_region' => '',
@@ -99,8 +101,8 @@ function html_import_options_page() { ?>
value="" class="widefloat" />
-
- '.rtrim( ABSPATH, '/' ).'' ); ?>
+
+ '.rtrim( ABSPATH, '/' ).'' ); ?>
@@ -110,7 +112,7 @@ function html_import_options_page() { ?>
@@ -566,8 +585,7 @@ function html_import_options_page() { ?>
- Select field by:
-
+
/>
diff --git a/html-import.php b/html-import.php
index ca7ce5a..e9515fc 100644
--- a/html-import.php
+++ b/html-import.php
@@ -6,9 +6,17 @@
Version: 2.6
Author: Stephanie Leary
Author URI: http://sillybean.net/
+Text Domain: import-html-pages
+Domain Path: /languages/
License: GPL 2
*/
+// Make sure translations are loaded before plugin registration
+load_plugin_textdomain( 'import-html-pages', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
+
+// Force description translation string (KEEP THIS IN SYNC with description field above !)
+if (0) $html_import_description = __('Imports well-formed static HTML files into WordPress posts or pages. Supports Dreamweaver templates and Word HTML cleanup. Visit the settings page to get started. See the User Guide for details.');
+
require_once ( 'html-importer.php' );
require_once ( 'html-import-options.php' );
@@ -72,7 +80,7 @@ function html_import_add_pages() {
$text = ''.sprintf( __( 'This is a complicated importer with lots of options. If you have never used this importer before, you should take a look at the User Guide .', 'import-html-pages' ), 'http://sillybean.net/downloads/html-import/user-guide.html' ).'
';
$text .= ''.__( "You need to look through the first five tabs and save your settings before you run the importer. The sixth ( Tools ) contains links to some tools that are helpful after you've imported.", 'import-html-pages' ).'
';
- $text .= ''.__( 'Tips', 'html-import-pages' )."
+ $text .= ''.__( 'Tips', 'import-html-pages' )."
" . __( "If there is already some content in this site, you should back up your database before you import.", 'import-html-pages' )."
" . __( "Before you import, deactivate any crosspost or notification plugins.", 'import-html-pages' )."
@@ -95,6 +103,7 @@ function html_import_add_pages() {
add_action( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'html_import_plugin_actions' );
function html_import_plugin_actions( $links ) {
$new_links = array();
- $new_links[] = sprintf( '%s ', __( 'Settings', 'html-import' ) );
+ $new_links[] = sprintf( '%s ', __( 'Settings', 'import-html-pages' ) );
return array_merge( $new_links, $links );
-}
\ No newline at end of file
+}
+
diff --git a/html-importer.php b/html-importer.php
index 7778872..95a08f8 100644
--- a/html-importer.php
+++ b/html-importer.php
@@ -75,7 +75,7 @@ function regenerate_redirects() {
$imported = get_posts( array( 'meta_key' => 'URL_before_HTML_Import', 'post_type' => 'any', 'post_status' => 'any', 'numberposts' => '-1' ) );
foreach( $imported as $post ) {
$old = get_post_meta( $post->ID, 'URL_before_HTML_Import', true );
- $newredirects .= "Redirect\t".$old."\t".get_permalink( $post->ID )."\t[R=301,NC,L]\n";
+ $newredirects .= "Redirect\t".$old."\t". (($post->post_type=='attachment')?wp_get_attachment_url($post->ID):get_permalink( $post->ID ))."\t[R=301,NC,L]\n";
}
if ( !empty( $newredirects ) ) { ?>
@@ -137,7 +137,7 @@ function parent_directory( $path ) {
function fix_internal_links( $content, $id ) {
// find all href attributes
- preg_match_all( '/]* href=[\'"]?([^>\'" ]+ )/i', $content, $matches );
+ preg_match_all( '/ ]* href=[\'"]?([^<>\'" ]+ )/i', $content, $matches );
for ( $i=0; $itable[] = "-- " . sprintf( __( "%s ( %s ) has already been imported", 'html-import-pages' ), $my_post['post_title'], $handle ) . " ";
+ $this->table[] = "-- " . sprintf( __( "%s ( %s ) has already been imported", 'import-html-pages' ), $my_post['post_title'], $handle ) . " ";
// if we're doing hierarchicals and this is an index file of a subdirectory, instead of importing this as a separate page, update the content of the placeholder page we created for the directory
$index_files = explode( ',',$options['index_file'] );
@@ -655,7 +655,7 @@ function get_post( $path = '', $placeholder = false ) {
if ( is_wp_error( $post_id ) )
$this->table[] = "-- " . $post_id /* error msg */ . " ";
if ( !$post_id )
- $this->table[] = "-- " . sprintf( __( "Could not import %s. You should copy its contents manually.", 'html-import-pages' ), $handle ) . " ";
+ $this->table[] = "-- " . sprintf( __( "Could not import %s. You should copy its contents manually.", 'import-html-pages' ), $handle ) . " ";
// if no errors, handle custom fields
if ( isset( $customfields ) ) {
@@ -713,7 +713,7 @@ function handle_import_media_file( $file, $post_id = 0 ) {
// Remove the query string from the file URL.
$src_file = $file;
$file = preg_replace( '|\?.+$|', '', $file );
-
+
// see if the attachment already exists
$id = array_search( $file, $this->filearr );
if ( $id === false ) {
@@ -725,29 +725,49 @@ function handle_import_media_file( $file, $post_id = 0 ) {
// A writable uploads dir will pass this test. Again, there's no point overriding this one.
if ( ! ( ( $uploads = wp_upload_dir( $time ) ) && false === $uploads['error'] ) )
return new WP_Error( 'upload_error', $uploads['error'] );
+
+ $options = get_option( 'html_import' );
- $filename = wp_unique_filename( $uploads['path'], basename( $file ) );
+ if ((substr_compare("http://",$file,0,4) !=0) && ($options['documents_prefix'] || $options['documents_keep_structure'])) {
+ $up_path = $uploads['basedir'];
+ $up_url = $uploads['baseurl'];
+ if ($options['documents_prefix']) {
+ $up_path = path_join($up_path, $options['documents_prefix']);
+ $up_url = path_join($up_url, $options['documents_prefix']);
+ }
+ if ($options['documents_keep_structure']) {
+ $pathstruct=str_replace(path_join($options['root_directory'],""),"",dirname($file));
+ $up_path=path_join($up_path,$pathstruct);
+ $up_url=path_join($up_url,$pathstruct);
+ }
+ } else {
+ $up_path = $uploads['path'];
+ $up_url = $uploads['url'];
+ }
+ if (!wp_is_writable($up_path)) wp_mkdir_p($up_path);
+
+ $filename = wp_unique_filename( $up_path, basename( $file ) );
+ $new_file = path_join($up_path, $filename);
+ $url = path_join($up_url , $filename);
+
+ //Apply upload filters
+ $return = apply_filters( 'wp_handle_upload', array( 'file' => $new_file, 'url' => $url, 'type' => wp_check_filetype( $file, null ) ) );
+ $new_file = $return['file'];
+ $url = $return['url'];
+ $type = $return['type'];
+
// copy the file to the uploads dir
- $new_file = $uploads['path'] . '/' . $filename;
if ( false === @copy( $src_file, $new_file ) )
- return new WP_Error( 'upload_error', sprintf( __( 'Could not find the right path to %s ( tried %s ). It could not be imported. Please upload it manually.', 'html-import-pages' ), basename( $file ), $file ) );
+ return new WP_Error( 'upload_error', sprintf( __( 'Could not find the right path to %s ( tried %s ). It could not be imported. Please upload it manually.', 'import-html-pages' ), basename( $file ), $file ) );
// DEBUG
// else
- // printf( __( '%s is being copied to the uploads directory as %s .', 'html-import-pages' ), $file, $new_file );
+ // printf( __( '%s is being copied to the uploads directory as %s .', 'import-html-pages' ), $file, $new_file );
// Set correct file permissions
$stat = stat( dirname( $new_file ) );
$perms = $stat['mode'] & 0000666;
@chmod( $new_file, $perms );
- // Compute the URL
- $url = $uploads['url'] . '/' . $filename;
-
- //Apply upload filters
- $return = apply_filters( 'wp_handle_upload', array( 'file' => $new_file, 'url' => $url, 'type' => wp_check_filetype( $file, null ) ) );
- $new_file = $return['file'];
- $url = $return['url'];
- $type = $return['type'];
$title = preg_replace( '!\.[^.]+$!', '', basename( $file ) );
$content = '';
@@ -783,8 +803,7 @@ function handle_import_media_file( $file, $post_id = 0 ) {
);
//Win32 fix:
- $new_file = str_replace( strtolower( str_replace( '\\', '/', $uploads['basedir'] ) ), $uploads['basedir'], $new_file );
-
+ $new_file = str_replace( '\\', '/', $new_file );
// Insert attachment
$id = wp_insert_attachment( $attachment, $new_file, $post_id );
@@ -794,6 +813,23 @@ function handle_import_media_file( $file, $post_id = 0 ) {
$this->filearr[$id] = $file; // $file contains the original, absolute path to the file
}
+ // Copied from post redirect (but use wp_get_attachment_url instead of get_permalink)
+ $path=$file;
+ // find old path
+ if ( '' !== trim( $path ) ) {
+ $url = esc_url( $options['old_url'] );
+ $url = rtrim( $url, '/' );
+ if ( !empty( $url ) )
+ $old_path = str_replace( $options['root_directory'], $url, $path );
+ else $old_path = $path;
+ }
+ // add redirects from old to new path; store old path in custom field
+ if ( '' !== trim( $old_path )) {
+ $this->redirects .= "Redirect\t".$old_path."\t".wp_get_attachment_url( $id ) ."\t[R=301,NC,L]\n";
+ add_post_meta( $id, 'URL_before_HTML_Import', $old_path, true );
+ }
+
+
} // if attachment already exists
return $id;
}
@@ -804,7 +840,7 @@ function remove_srcsets() {
foreach ( $this->filearr as $id => $path ) {
$post = get_post( $id );
- $content = preg_replace( '/( ]* )srcset=[\'"][^>\'"]+[\'"]/i', '$1', $post->post_content );
+ $content = preg_replace( '/( ]* )srcset=[\'"][^<>\'"]+[\'"]/i', '$1', $post->post_content );
wp_update_post( array(
'ID' => $id,
@@ -825,14 +861,14 @@ function import_images( $id, $path ) {
$update = false;
// find all src attributes
- preg_match_all( '/ ]* src=[\'"]?([^>\'" ]+)/i', $post->post_content, $matches );
+ preg_match_all( '/ ]* src=[\'"]?([^><\'" ]+)/i', $post->post_content, $matches );
for ( $i=0; $i]* src=[\'"]?([^>\'" ]+)[\'"]/i', $custom, $matches );
+ preg_match_all( '/ ]* src=[\'"]?([^><\'" ]+)[\'"]/i', $custom, $matches );
for ( $i=0; $i";
- printf( _n( 'Found %d image in %s . Importing... ', 'Found %d images in %s . Importing... ', $count, 'html-import-pages' ), $count, get_permalink( $post->ID ), $title );
+ printf( _n( 'Found %d image in %s . Importing... ', 'Found %d images in %s . Importing... ', $count, 'import-html-pages' ), $count, get_permalink( $post->ID ), $title );
foreach ( $srcs as $src ) {
// src="http://foo.com/images/foo"
@@ -905,8 +941,8 @@ function import_documents( $id, $path ) {
$update = false;
$mimes = explode( ',', $options['document_mimes'] );
- // find all href attributes
- preg_match_all( '/]* href=[\'"]?([^>\'" ]+)/i', $content, $matches );
+ // find all href attributes
+ preg_match_all( '/ ]* href=[\'"]?([^><#\'" ]+)/i', $content, $matches );
for ( $i=0; $i";
- printf( _n( 'Found %d link in %s . Checking file types... ', 'Found %d links in %s . Checking file types... ', $count, 'html-import-pages' ), $count, get_permalink( $post->ID ), $title );
+ printf( _n( 'Found %d link in %s . Checking file types... ', 'Found %d links in %s . Checking file types... ', $count, 'import-html-pages' ), $count, get_permalink( $post->ID ), $title );
//echo 'Looking in '.get_permalink( $id ).'
';
$options = get_option( 'html_import' );
@@ -953,10 +989,11 @@ function import_documents( $id, $path ) {
// DEBUG
//echo 'Old link: '.$href.' Full path: '.$linkpath;
- $filename_parts = explode( ".",$linkpath );
+ $filename_noquery = explode( "?",$linkpath );
+ $filename_parts = explode( ".",$filename_noquery[0] );
$ext = strtolower( $filename_parts[count( $filename_parts ) - 1] );
- if ( in_array( $ext, $mimes ) ) { // allowed upload types only
+ if ( in_array( $ext, $mimes ) || (in_array("*", $mimes) && !in_array($ext, $this->allowed)) ) { // allowed upload types only
echo ' Importing '.ltrim( strrchr( $linkpath, '/' ), '/' ).'... ';
// load the file from $linkpath
$fileid = $this->handle_import_media_file( $linkpath, $id );
@@ -1012,7 +1049,8 @@ function find_internal_links() {
'.print_r( $this->filearr, true ).'';
}
@@ -1064,11 +1102,6 @@ function print_results( $posttype ) {
redirects ) ) { ?>
-
-
- change your permalink structure
, you can regenerate the redirects ( or do it later from the options screen under Tools ).', 'import-html-pages' ), 'options-permalink.php', wp_nonce_url( 'admin.php?import=html&step=2', 'html_import_regenerate' ), 'options-general.php?page=html-import.php' ) ?>
- ';
printf( __( 'All done. Have fun! ', 'import-html-pages' ), 'edit.php?post_type='.$posttype );
@@ -1078,6 +1111,14 @@ function print_results( $posttype ) {
// echo ''.print_r( $this->filearr, true ).' ';
}
+ function print_redirects() {
+ if ( !empty( $this->redirects ) ) { ?>
+
+
+ change your permalink structure
, you can regenerate the redirects ( or do it later from the options screen under Tools ).', 'import-html-pages' ), 'options-permalink.php', wp_nonce_url( 'admin.php?import=html&step=2', 'html_import_regenerate' ), 'options-general.php?page=html-import.php' ) ?>
+ find_documents();
if ( isset( $options['fix_links'] ) && $options['fix_links'] )
$this->find_internal_links();
+ $this->print_redirects();
}
else {
- _e( "Your file upload didn't work. Try again?", 'html-import-pages' );
+ _e( "Your file upload didn't work. Try again?", 'import-html-pages' );
}
do_action( 'import_done', 'html' );
diff --git a/languages/import-html-pages-fr_FR.mo b/languages/import-html-pages-fr_FR.mo
new file mode 100644
index 0000000..1d46cc2
Binary files /dev/null and b/languages/import-html-pages-fr_FR.mo differ
diff --git a/languages/import-html-pages-fr_FR.po b/languages/import-html-pages-fr_FR.po
new file mode 100644
index 0000000..363ac93
--- /dev/null
+++ b/languages/import-html-pages-fr_FR.po
@@ -0,0 +1,1056 @@
+# Copyright (C) 2010
+# This file is distributed under the same license as the package.
+# Rémi Peyronnet , 2017.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: http://wordpress.org/tag/import-html-pages\n"
+"POT-Creation-Date: 2017-11-04 18:28+0100\n"
+"PO-Revision-Date: 2017-11-04 18:28+0100\n"
+"Last-Translator: Rémi Peyronnet \n"
+"Language-Team: français <>\n"
+"Language: fr_FR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+"X-Generator: Poedit 1.8.11\n"
+"X-Poedit-Basepath: ..\n"
+"X-Poedit-KeywordsList: __;_e;_n:1,2\n"
+"X-Poedit-SearchPath-0: .\n"
+
+#: html-import-options.php:5 html-import-options.php:791
+msgid "html-files-to-import"
+msgstr "html-files-to-import"
+
+#: html-import-options.php:9
+msgid "images,includes,Templates"
+msgstr "images,includes,Templates"
+
+#: html-import-options.php:17 html-import-options.php:42
+#: html-import-options.php:48
+msgid "div"
+msgstr "div"
+
+#: html-import-options.php:18 html-import-options.php:43
+msgid "id"
+msgstr "id"
+
+#: html-import-options.php:19
+msgid "content"
+msgstr "content"
+
+#: html-import-options.php:31
+msgid "title"
+msgstr "title"
+
+#: html-import-options.php:44
+msgid "date"
+msgstr "date"
+
+#: html-import-options.php:49
+msgid "class"
+msgstr "class"
+
+#: html-import-options.php:50
+msgid "fieldclass"
+msgstr "fieldclass"
+
+#: html-import-options.php:73
+msgid "HTML Import Settings"
+msgstr "Réglages d'Import HTML"
+
+#: html-import-options.php:76
+msgid ""
+"Welcome to HTML Import! This is a complicated importer with many options. "
+"Please look through all the tabs on this page before running your import."
+msgstr ""
+"Bienvenue sur Import HTML ! Ce plugin complexe d'import comporte de "
+"nombreuses options. Consultez tous les onglets de cette page avant de lancer "
+"votre import."
+
+#: html-import-options.php:81 html-import-options.php:94
+msgid "Files"
+msgstr "Fichiers"
+
+#: html-import-options.php:82 html-import-options.php:168
+msgid "Content"
+msgstr "Contenu"
+
+#: html-import-options.php:83 html-import-options.php:344
+msgid "Title & Metadata"
+msgstr "Titre & Métadata"
+
+#: html-import-options.php:84 html-import-options.php:500
+msgid "Custom Fields"
+msgstr "Champs personnalisés"
+
+#: html-import-options.php:85
+msgid "Categories & Tags"
+msgstr "Catégories & Tags"
+
+#: html-import-options.php:86 html-import-options.php:742
+msgid "Tools"
+msgstr "Outils"
+
+#: html-import-options.php:97
+msgid "Directory to import"
+msgstr "Répertoire à importer"
+
+#: html-import-options.php:102
+msgid "The absolute path to the files you want to import."
+msgstr "Le chemin absolu vers les fichiers que vous souhaitez importer"
+
+#: html-import-options.php:103
+#, php-format
+msgid "Hint: the absolute path to this WordPress installation is: %s"
+msgstr "Astuce : le chemin vers cette installation WordPress est : %s"
+
+#: html-import-options.php:109
+msgid "Old site URL"
+msgstr "URL de l'ancien site"
+
+#: html-import-options.php:113
+msgid ""
+"This will be used only to generate accurate .htaccess redirects. "
+"The importer will not search for files here."
+msgstr ""
+"Sera utilisé uniquement pour générer les redirections .htaccess "
+"exactes. L'import ne cherchera pas les fichiers à cette URL."
+
+#: html-import-options.php:119
+msgid "Default file"
+msgstr "Page par défaut"
+
+#: html-import-options.php:123
+msgid ""
+"Enter the name of the default file ( index.html, default.htm ) for "
+"directories on this server."
+msgstr ""
+"Entrez le nom de la page par défaut (index.html, default.htm) pour ce "
+"serveur."
+
+#: html-import-options.php:129
+msgid "File extensions to include"
+msgstr "Extensions de fichier à inclure"
+
+#: html-import-options.php:133
+msgid ""
+"File extensions, without periods, separated by commas. All other file types "
+"will \n"
+"\t\t\t\t\t\t\tbe ignored."
+msgstr ""
+"Extensions de fichier, sans point, séparés par des virgules. Tout autre type "
+"de fichier sera ignoré."
+
+#: html-import-options.php:140
+msgid "Directories to exclude"
+msgstr "Répertoires à exclure"
+
+#: html-import-options.php:144
+msgid ""
+"Directory names, without slashes, separated by commas. All files in these "
+"directories \n"
+"\t\t\t\t\t\t\twill be ignored."
+msgstr ""
+"Noms de répertoires, sans slash, séparés par des virgules. Tous les fichiers "
+"dans ces répertoires seront ignorés."
+
+#: html-import-options.php:151
+msgid "Preserve file names"
+msgstr "Préserver les noms de fichiers"
+
+#: html-import-options.php:155
+msgid "Use the file's name as the imported page's slug"
+msgstr "Utiliser le nom du fichier comme slug de la page importée."
+
+#: html-import-options.php:158
+msgid ""
+"The slug will not include the file extension. To completely mimic your old "
+"URLs, add the extension to your permalink structure."
+msgstr ""
+"Le slug n'incluera pas l'extension de fichier. Pour recréer complètement vos "
+"anciennes URL, ajoutez l'extension dans votre structure permalink."
+
+#: html-import-options.php:171
+msgid "Select content by"
+msgstr "Sélectionner le contenu avec"
+
+#: html-import-options.php:175 html-import-options.php:351
+#: html-import-options.php:508 html-import-options.php:572
+#: html-import-options.php:637
+msgid "HTML tag"
+msgstr "Balise HTML"
+
+#: html-import-options.php:180 html-import-options.php:215
+#: html-import-options.php:356 html-import-options.php:394
+#: html-import-options.php:513 html-import-options.php:537
+#: html-import-options.php:577 html-import-options.php:607
+#: html-import-options.php:642 html-import-options.php:669
+msgid "Dreamweaver template region"
+msgstr "Région de template Dreamweaver"
+
+#: html-import-options.php:185
+msgid "Import entire file"
+msgstr "Importer le fichier entier"
+
+#: html-import-options.php:192 html-import-options.php:368
+#: html-import-options.php:520 html-import-options.php:584
+#: html-import-options.php:649
+msgid "Tag"
+msgstr "Balise"
+
+#: html-import-options.php:196 html-import-options.php:372
+msgid "The HTML tag, without brackets"
+msgstr "La balise HTML, sans délimiteurs"
+
+#: html-import-options.php:199 html-import-options.php:375
+#: html-import-options.php:525 html-import-options.php:591
+#: html-import-options.php:655
+msgid "Attribute"
+msgstr "Attribut"
+
+#: html-import-options.php:203
+msgid ""
+"Leave blank to use a tag without an attribute, or when the attributes don't "
+"matter, such as <body>"
+msgstr ""
+"Laissez blanc pour utiliser une balise sans attribut, ou lorsque l'attribut "
+"n'importe pas, comme pour <body>"
+
+#: html-import-options.php:206 html-import-options.php:382
+#: html-import-options.php:530 html-import-options.php:598
+#: html-import-options.php:661
+msgid "= Value"
+msgstr "= Valeur"
+
+#: html-import-options.php:210 html-import-options.php:386
+msgid ""
+"Enter the attribute's value ( such as width, ID, or class name ) without "
+"quotes"
+msgstr ""
+"Entrez la valeur de l'attribut sans guillemets (comme le nom de classe, "
+"l'identifiant,..)"
+
+#: html-import-options.php:218
+msgid "The name of the editable region ( e.g. 'Main Content' )"
+msgstr "Le nom de la région éditable (ex : 'Main Content')"
+
+#: html-import-options.php:227
+msgid "More content options"
+msgstr "Plus d'options de contenu"
+
+#: html-import-options.php:230
+msgid "Import linked images"
+msgstr "Importer les images liées"
+
+#: html-import-options.php:237
+msgid "Remove responsive image srcsets"
+msgstr "Supprimer les srcsets images responsives"
+
+#: html-import-options.php:244
+msgid "Import linked documents"
+msgstr "Importer les documents liés"
+
+#: html-import-options.php:249
+msgid "Allowed file types"
+msgstr "Types de fichiers autorisés"
+
+#: html-import-options.php:253
+msgid ""
+"Enter file extensions without periods, separated by commas. File types not "
+"listed here will not be imported to the media library. Use '*' for all file "
+"extensions (except those imported). \n"
+"\t\tSuggested: rtf, doc, docx, xls, xlsx, csv, ppt, pps, pptx, ppsx, pdf, "
+"zip, wmv, avi, flv, mov, mpeg, mp3, m4a, wav "
+msgstr ""
+"Entrez les extensions, sans point, séparées par des virgules. Les types de "
+"fichiers non listés ici ne seront pas importés. Utilisez '*' pour importer "
+"toutes les extensions (sauf celles importées en articles). \n"
+"\t\tSuggestion : rtf, doc, docx, xls, xlsx, csv, ppt, pps, pptx, ppsx, pdf, "
+"zip, wmv, avi, flv, mov, mpeg, mp3, m4a, wav "
+
+#: html-import-options.php:261
+msgid "Update internal links"
+msgstr "Mettre à jour les liens internes"
+
+#: html-import-options.php:267
+msgid "Use meta description as excerpt"
+msgstr "Utiliser la meta description comme extrait"
+
+#: html-import-options.php:274
+msgid "Convert special characters ( accents and symbols )"
+msgstr "Convertir les caractères spéciaux (accents et symboles)"
+
+#: html-import-options.php:282
+msgid "Clean up bad ( Word, Frontpage ) HTML"
+msgstr "Nettoyer le HTML sale (Word, Frontpage)"
+
+#: html-import-options.php:287
+msgid "Allowed HTML"
+msgstr "HTML autorisé"
+
+#: html-import-options.php:291
+msgid ""
+"Enter tags ( with brackets ) to be preserved. All tags not listed here will "
+"be removed. Suggested: "
+msgstr ""
+"Entrez les balises à conserver (sans délimiteurs). Tous les tags non listés "
+"ici seront supprimés. Suggestion :"
+
+#: html-import-options.php:316
+msgid "If you have data tables, also include:"
+msgstr "Si vous avez des tableaux, incluez également :"
+
+#: html-import-options.php:330
+msgid "Allowed attributes"
+msgstr "Attributs autorisés"
+
+#: html-import-options.php:334
+msgid ""
+"Enter attributes separated by commas. All attributes not listed here will be "
+"removed. Suggested: href, src, alt, title \n"
+"\t\t\t \t\t\tIf you have data tables, also include: summary, "
+"rowspan, colspan, span"
+msgstr ""
+"Entrez les attributs séparés par des virgules. Tous les attributs non listés "
+"ici seront supprimés. Suggestion : href,src,alt,title \n"
+"Si vous avez des tableaux, incluez également : summary,rowspan,"
+"colspan,span"
+
+#: html-import-options.php:347
+msgid "Select title by"
+msgstr "Sélectionner le titre par"
+
+#: html-import-options.php:361
+msgid "File name"
+msgstr "Nom de fichier"
+
+#: html-import-options.php:379
+msgid ""
+"Leave blank to use a tag without an attribute, or when the attributes don't "
+"matter, such as <title>"
+msgstr ""
+"Laissez vide pour utiliser une balise sans attribut, ou lorsque l'attribut "
+"n'importe pas, comme pour <title>"
+
+#: html-import-options.php:397
+msgid "The name of the editable region ( e.g. 'Page Title' )"
+msgstr "Le nom de la région éditable (ex : 'Page Title')"
+
+#: html-import-options.php:407
+msgid "Phrase to remove from page title: "
+msgstr "Partie à supprimer du titre de la page :"
+
+#: html-import-options.php:410
+msgid ""
+"Any common title phrase ( such as the site name, which most themes will "
+"print automatically )"
+msgstr ""
+"Une phrase fixe (comme le nom du site, que la majorité des thèmes vont "
+"ajouter automatiquement)"
+
+#: html-import-options.php:415
+msgid "Title position"
+msgstr "Position du titre"
+
+#: html-import-options.php:418
+msgid ""
+"The title is inside the content area and should be removed from the post body"
+msgstr ""
+"Le titre est dans la zone de contenu et doit être supprimée du corps de "
+"l'article"
+
+#: html-import-options.php:424
+msgid "Import files as"
+msgstr "Importer les fichiers comme"
+
+#: html-import-options.php:445
+msgid "Set status to"
+msgstr "Mettre le statut à"
+
+#: html-import-options.php:448
+msgid "publish"
+msgstr "publié"
+
+#: html-import-options.php:449
+msgid "draft"
+msgstr "brouillon"
+
+#: html-import-options.php:450
+msgid "private"
+msgstr "privé"
+
+#: html-import-options.php:451
+msgid "pending"
+msgstr "en attente"
+
+#: html-import-options.php:456
+msgid "Set timestamps to"
+msgstr "Régler la date à"
+
+#: html-import-options.php:459
+msgid "now"
+msgstr "aujourd'hui"
+
+#: html-import-options.php:461
+msgid "last time the file was modified"
+msgstr "la date de dernière modification du fichier"
+
+#: html-import-options.php:463
+msgid "custom field"
+msgstr "champ personnalisé"
+
+#: html-import-options.php:468
+msgid "Set author to"
+msgstr "Mettre l'auteur à"
+
+#: html-import-options.php:475
+msgid "Import pages as children of: "
+msgstr "Importer les pages comme filles de :"
+
+#: html-import-options.php:478 html-import-options.php:479
+msgid "None ( top level )"
+msgstr "Aucun (niveau racine)"
+
+#: html-import-options.php:486
+msgid "Template for imported pages: "
+msgstr "Template pour les pages importées :"
+
+#: html-import-options.php:489
+msgid "Default Template"
+msgstr "Template par défaut"
+
+#: html-import-options.php:504
+msgid "Select date by"
+msgstr "Sélectionner la date par"
+
+#: html-import-options.php:549
+msgid "Custom fields"
+msgstr "Champs personnalisés"
+
+#: html-import-options.php:558 html-import-options.php:623
+msgid "Custom field name"
+msgstr "Nom de champ personnalisé"
+
+#: html-import-options.php:564 html-import-options.php:628
+msgid "Allow HTML"
+msgstr "Autorise le HTML"
+
+#: html-import-options.php:569
+msgid "Select field by:"
+msgstr "Sélectionner le champ par :"
+
+#: html-import-options.php:690
+msgid "Taxonomies"
+msgstr "Taxonomies"
+
+#: html-import-options.php:698
+msgid ""
+"Here, you may assign categories, tags, and custom taxonomy terms to all your "
+"imported posts."
+msgstr ""
+"Ici vous pouvez assigner des catégories, tags et autres termes personnalisés "
+"à tous vos articles importés."
+
+#: html-import-options.php:699
+msgid ""
+"To import tags from a region in each file, use a custom field with the name "
+"post_tag ."
+msgstr ""
+"Pour importer des tags depuis une partie des fichiers, utilisez un champ "
+"personnalisé avec le nom post_tags "
+
+#: html-import-options.php:745
+msgid "Regenerate .htaccess redirects"
+msgstr "Regénérer les redirections .htaccess "
+
+#: html-import-options.php:746
+#, php-format
+msgid ""
+"If you changed your permalink structure after you "
+"imported files, you can regenerate the redirects ."
+msgstr ""
+"Si vous changez votre structure permalink après avoir "
+"importé des articles, vous pouvez regénérer les redirections"
+"a>."
+
+#: html-import-options.php:749
+msgid "Other helpful plugins"
+msgstr "Autres plugins utiles"
+
+#: html-import-options.php:751
+#, php-format
+msgid ""
+" Broken Link Checker finds broken links and references to "
+"missing media files. Since the importer does not handle links or media files "
+"other than images, you should run this to see what else needs to be copied "
+"or updated from your old site."
+msgstr ""
+"Broken Link Checker trouve les liens cassés et référence "
+"les fichiers manquants. Comme l'import ne gère pas les liens ou les fichiers "
+"autres que les images, vous devriez utiliser ceci pour voir ce qui doit être "
+"copié ou mis à jour à partir de votre ancien site."
+
+#: html-import-options.php:752
+#, php-format
+msgid ""
+"Search and Replace helps you fix many broken links at "
+"once, if you have many links to the same files or if there is a pattern "
+"( like <a href=\"../../files\"> ) to your broken links."
+msgstr ""
+"Search and Replace vous aide à corriger des liens cassés "
+"s'il existe un pattern de remplacement (comme <a href=\"../../files"
+"\"> ) pour vos liens cassés."
+
+#: html-import-options.php:753
+#, php-format
+msgid ""
+"Redirection provides a nice admin interface for managing "
+"redirects. If you would rather not edit your .htaccess file, or "
+"if you just want to redirect one or two of your old pages, you can ignore "
+"the redirects generated by the importer. Instead, copy the post's old URL "
+"from the custom fields and paste it into Redirection's options."
+msgstr ""
+"Redirection fournit une interface d'administration pour "
+"gérer vos redirections. Si vous ne voulez pas éditer votre fichier ."
+"htaccess , ou si vous voulez juste rediriger une ou deux de vos "
+"anciennes pages, vous pouvez ignorer les redirections générées par l'import, "
+"et copier les anciennes adresses depuis les champs personnalisés et les "
+"coller dans les options de redirection."
+
+#: html-import-options.php:754
+#, php-format
+msgid ""
+"Add from Server lets you import media files that are on "
+"your server but not part of the WordPress media library."
+msgstr ""
+"Add from Server vous permet d'importer des fichiers qui "
+"sont sur votre server mais qui ne font pas partie de la media library "
+"WordPress."
+
+#: html-import-options.php:755
+#, php-format
+msgid ""
+"Add Linked Images to Gallery is helpful if you have "
+"imported data using other plugins and you would like to import linked "
+"images. However, it handles only images that are referenced with complete "
+"URLs; relative paths will not work."
+msgstr ""
+"Add Linked Images to Gallery est utile i vous avez "
+"importé des données via d'autres plugins et que vous voulez importer "
+"également les images liées. Malheureusement, il ne permet d'importer que les "
+"images référencées via une URL complètes : les URL relatives ne seront pas "
+"importées."
+
+#: html-import-options.php:759
+msgid "Donate"
+msgstr "Donner"
+
+#: html-import-options.php:761
+#, php-format
+msgid ""
+"If this importer has saved you hours of copying and pasting, a donation toward future development would be much appreciated!"
+msgstr ""
+"Si ce plugin d'import vous a fait gagner de nombreuses heures de copier/"
+"coller, un don pour les développements futurs sera très "
+"apprécié !"
+
+#: html-import-options.php:768
+msgid "Save settings"
+msgstr "Sauvegarder les réglages"
+
+#: html-import-options.php:790 html-importer.php:1112
+msgid ""
+"The beginning directory you entered is not an absolute path. Relative paths "
+"are not allowed here."
+msgstr ""
+"Le répertoire de départ que vous avez entré n'est pas un chemin absolu. Les "
+"chemins relatifs ne sont pas autorisés ici."
+
+#: html-import-options.php:857
+msgid "You did not enter an HTML content tag to import."
+msgstr "Vous n'avez pas entré une balise HTML d'import du contenu."
+
+#: html-import-options.php:859
+msgid "You did not enter a Dreamweaver content template region to import."
+msgstr ""
+"Vous n'avez pas entré la région du template Dreamweaver à importer comme "
+"contenu."
+
+#: html-import-options.php:861
+msgid "You did not enter an HTML title tag to import."
+msgstr "Vous n'avez pas entré la balise HTML du titre à importer."
+
+#: html-import-options.php:863
+msgid "You did not enter a Dreamweaver title template region to import."
+msgstr ""
+"Vous n'avez pas entré la région du template Dreamweaver du titre à importer."
+
+#: html-import-options.php:902
+#, php-format
+msgid ""
+"If you intend to set a permalink structure , you should do "
+"it \n"
+"\t\t\t\tbefore importing so the .htaccess redirects will be "
+"accurate."
+msgstr ""
+"Si vous envisagez de changer la structure permalink , "
+"vous devriez le faire avant l'import pour que les redirections ."
+"htaccess soient correctes."
+
+#: html-import-options.php:905
+#, php-format
+msgid "Settings saved. %s Ready to import files? "
+msgstr ""
+"Réglages sauvegardés. %s Prêt à importer vos fichiers ? "
+
+#: html-import.php:18
+msgid ""
+"Imports well-formed static HTML files into WordPress posts or pages. "
+"Supports Dreamweaver templates and Word HTML cleanup. Visit the settings "
+"page to get started. See the User Guide for details."
+msgstr ""
+"Importer des pages HTML statiques bien formées en articles ou pages "
+"WordPress. Supporte des templates Dreamweaver et le nettoyage du HTML de "
+"Word. Consulter la page de configuration pour commencer. Lire le manuel "
+"d'utilisation pour plus d'information."
+
+#: html-import.php:70
+msgid "HTML Import"
+msgstr "Import HTML"
+
+#: html-import.php:80
+#, php-format
+msgid ""
+"This is a complicated importer with lots of options. If you have never used "
+"this importer before, you should take a look at the User "
+"Guide ."
+msgstr ""
+"Ce plugin d'import complexe comporte un grand nombre d'options. Si c'est "
+"votre première utilisation, vous devriez consulter le guide "
+"d'utilisation ."
+
+#: html-import.php:81
+msgid ""
+"You need to look through the first five tabs and save your settings before "
+"you run the importer. The sixth ( Tools ) contains links to some tools that "
+"are helpful after you've imported."
+msgstr ""
+"Vous devez regarder les cinq premiers onglets et sauvegarder vos réglages "
+"avant d'utiliser l'import. Le sixième onglet (Outils) contient des liens "
+"pour différents outils utiles une fois l'import effectué."
+
+#: html-import.php:83
+msgid "Tips"
+msgstr "Astuces"
+
+#: html-import.php:85
+msgid ""
+"If there is already some content in this site, you should back up your "
+"database before you import."
+msgstr ""
+"S'il y a déjà du contenu dans ce site vous devriez sauvegarder votre base de "
+"donnée avant l'import."
+
+#: html-import.php:86
+msgid "Before you import, deactivate any crosspost or notification plugins."
+msgstr "Avant l'import, désactivez tout plugin de notification ou crosspost."
+
+#: html-import.php:87
+msgid ""
+"Try uploading a single file before you run the importer on the whole "
+"directory. Check the imported page and see whether you need to adjust your "
+"content and/or title settings."
+msgstr ""
+"Essayez d'importer un fichier seul avant d'exécuter l'import sur un "
+"répertoire entier. Vérifiez si la page importée est correcte ou nécessite "
+"d'ajuster les réglages."
+
+#: html-import.php:88
+msgid ""
+"Need to import both posts and pages? Run the importer on a subdirectory ( e."
+"g. 'news' ), then add the subdirectory name to the list of skipped "
+"directories and run the importer again on the parent directory."
+msgstr ""
+"Besoin d'importer des articles et des pages ? Exécutez une première fois "
+"l'import sur un sous-répertoire (ex : 'news'), plus ajoutez ce sous-"
+"répertoire à la liste des répertoires non traités, puis exécutez à nouveau "
+"l'import sur le répertoire racine."
+
+#: html-import.php:90
+msgid "More Help"
+msgstr "Plus d'aide"
+
+#: html-import.php:93
+msgid "User Guide"
+msgstr "Guide d'utilisation"
+
+#: html-import.php:94
+msgid "Plugin Home Page"
+msgstr "Page d'accueil du plugin"
+
+#: html-import.php:95
+msgid "Support Forum"
+msgstr "Forum de support"
+
+#: html-import.php:106
+msgid "Settings"
+msgstr "Réglages"
+
+#: html-importer.php:24
+msgid "HTML Importer"
+msgstr "Import HTML"
+
+#: html-importer.php:37
+#, php-format
+msgid ""
+"It looks like you have not yet visited the HTML Import "
+"options page . Please do so now! You need to specify which portions of "
+"your HTML files should be imported before you proceed."
+msgstr ""
+"Il semblerait que vous n'ayez pas encore visité la page des "
+"options d'Import HTML . Merci de le faire maintenant. Vous devez "
+"spécifier quelles portions de vos fichiers HTML doivent être importées avant "
+"de continuer."
+
+#: html-importer.php:40
+msgid "What are you importing today?"
+msgstr "Que souhaitez-vous importer aujourd'hui ?"
+
+#: html-importer.php:45
+msgid "a directory of files"
+msgstr "un répertoire de fichiers"
+
+#: html-importer.php:48
+msgid "a single file"
+msgstr "un fichier unique"
+
+#: html-importer.php:52
+msgid "Choose an HTML file from your computer:"
+msgstr "Choisissez un fichier HTML depuis votre ordinateur :"
+
+#: html-importer.php:58
+#, php-format
+msgid ""
+"Your files will be imported from %s . Change "
+"directories ."
+msgstr ""
+"Vos fichier vont être importés depuis %s . Changer "
+"de répertoire ."
+
+#: html-importer.php:65
+msgid "Submit"
+msgstr "Soumettre"
+
+#: html-importer.php:81 html-importer.php:1068
+msgid ".htaccess Redirects"
+msgstr "Redirections .htaccess"
+
+#: html-importer.php:82
+msgid ""
+"Copy these lines into your .htaccess above the WordPress "
+"section."
+msgstr ""
+"Copier ces lignes dans votre .htaccess au-dessus de la "
+"section WordPress."
+
+#: html-importer.php:84
+#, php-format
+msgid ""
+"All done! You can change your permalink structure and regenerate the redirects again , or start "
+"over ."
+msgstr ""
+"C'est fini ! Vous pouvez changer la structure permalink "
+"et regénérez les redirections à nouveau , ou recommencer ."
+
+#: html-importer.php:86
+msgid ""
+"No posts were found with the URL_before_HTML_Import custom field. Could not "
+"generate rewrite rules."
+msgstr ""
+"Aucun article trouvé avec le champ personnalité URL_before_HTML_Import. "
+"Impossible de générer les règles de redirections."
+
+#: html-importer.php:603
+msgid "the uploaded file"
+msgstr "le fichier chargé"
+
+#: html-importer.php:610
+#, php-format
+msgid "%s ( %s ) has already been imported"
+msgstr "%s (%s) a déjà été importé"
+
+#: html-importer.php:658
+#, php-format
+msgid "Could not import %s. You should copy its contents manually."
+msgstr ""
+"Impossible d'importer %s. Vous devriez copier son contenu manuellement."
+
+#: html-importer.php:701 html-importer.php:824 html-importer.php:904
+msgid "( no title )"
+msgstr "(sans titre)"
+
+#: html-importer.php:706
+#, php-format
+msgid "Imported the file as %s."
+msgstr "Fichier importé sous %s."
+
+#: html-importer.php:734
+#, php-format
+msgid ""
+"Could not find the right path to %s ( tried %s ). It could not be imported. "
+"Please upload it manually."
+msgstr ""
+"Impossible de trouver le bon chemin vers %s (essayé : %s). Il n'a pas pu "
+"être importé. Merci de l'importer manuellement."
+
+#: html-importer.php:844
+#, php-format
+msgid "Found %d image in %s . Importing... "
+msgid_plural "Found %d images in %s . Importing... "
+msgstr[0] "Trouvé %d image dans %s . Import en cours... "
+msgstr[1] "Trouvé %d images dans %s . Import en cours... "
+
+#: html-importer.php:892 html-importer.php:990
+msgid "done."
+msgstr "fini."
+
+#: html-importer.php:917
+#, php-format
+msgid "Found %d link in %s . Checking file types... "
+msgid_plural "Found %d links in %s . Checking file types... "
+msgstr[0] ""
+"Trouvé %d lien dans %s . Vérification du type du "
+"fichier... "
+msgstr[1] ""
+"Trouvé %d liens dans %s . Vérification du type de "
+"fichiers... "
+
+#: html-importer.php:997
+msgid "Fixing relative links..."
+msgstr "Correction des liens relatifs..."
+
+#: html-importer.php:998
+msgid ""
+"The importer is searching your imported posts for links. This might take a "
+"few minutes."
+msgstr ""
+"Le plugin d'import recherche des liens dans les articles importés. Cela peut "
+"prendre quelques minutes."
+
+#: html-importer.php:1012
+msgid "All done!"
+msgstr "Tout fini !"
+
+#: html-importer.php:1014
+msgid ""
+"No posts were found with the URL_before_HTML_Import custom field. Could not "
+"search for links."
+msgstr ""
+"Aucun article trouvé avec le champ personnalité URL_before_HTML_Import. "
+"Impossible de générer les règles de redirections."
+
+#: html-importer.php:1020
+msgid "Importing images..."
+msgstr "Import des images..."
+
+#: html-importer.php:1028 html-importer.php:1045
+#, php-format
+msgid "All done. Go to the Media Library. "
+msgstr "Tout est fini. Aller à la Media Library. "
+
+#: html-importer.php:1035
+msgid "Importing media files..."
+msgstr "Import des fichiers media..."
+
+#: html-importer.php:1036
+msgid ""
+"The importer is searching your imported posts for links to media files. This "
+"might take a few minutes."
+msgstr ""
+"Le plugin d'import recherche des médias dans les articles importés. Cela "
+"peut prendre quelques minutes."
+
+#: html-importer.php:1058
+msgid "ID"
+msgstr "ID"
+
+#: html-importer.php:1059
+msgid "Old path"
+msgstr "Ancien chemin"
+
+#: html-importer.php:1060
+msgid "New path"
+msgstr "Nouveau chemin"
+
+#: html-importer.php:1061
+msgid "Title"
+msgstr "Titre"
+
+#: html-importer.php:1070
+#, php-format
+msgid ""
+"If you need to change your permalink structure , you can "
+"regenerate the redirects ( or do it later from the options screen under Tools )."
+msgstr ""
+"Si vous avez besoin de changer votre structure permalink , "
+"vous pouvez regénérer les redirections (ou le faire plus "
+"tard depuis l'écran des options , onglet Outils)."
+
+#: html-importer.php:1074
+#, php-format
+msgid "All done. Have fun! "
+msgstr "C'est tout fini. Have fun! "
+
+#: html-importer.php:1095
+msgid "Importing HTML file..."
+msgstr "Import du fichier HTML..."
+
+#: html-importer.php:1121
+msgid "Importing HTML files..."
+msgstr "Import des fichiers HTML..."
+
+#: html-importer.php:1134
+msgid "Your file upload didn't work. Try again?"
+msgstr "Votre import de fichier n'a pas fonctionné. Recommencer ?"
+
+#: html-importer.php:1188
+msgid "HTML"
+msgstr "HTML"
+
+#: html-importer.php:1188
+#, php-format
+msgid ""
+"Import the contents of HTML files as posts, pages, or any custom post type. "
+"Visit the options page first to select which portions of "
+"your documents should be imported."
+msgstr ""
+"Importer le contenu de fichiers HTML comme articles, pages ou tout autre "
+"type personnalisé. Visitez la page d'options auparavant "
+"pour sélectionner quelles portions de vos fichiers doivent être importées."
+
+#~ msgid ""
+#~ "You need to look through the first five tabs and save your settings "
+#~ "before you run the importer. The sixth (Tools) contains links to some "
+#~ "tools that are helpful after you've imported."
+#~ msgstr ""
+#~ "Vous devez regarder les cinq premiers onglets et sauvegarder vos réglages "
+#~ "avant d'utiliser l'import. Le sixième onglet (Outils) contient des liens "
+#~ "pour différents outils utiles une fois l'import effectué."
+
+#~ msgid ""
+#~ "Need to import both posts and pages? Run the importer on a subdirectory "
+#~ "(e.g. 'news'), then add the subdirectory name to the list of skipped "
+#~ "directories and run the importer again on the parent directory."
+#~ msgstr ""
+#~ "Besoin d'importer des articles et des pages ? Exécutez une première fois "
+#~ "l'import sur un sous-répertoire (ex : 'news'), plus ajoutez ce sous-"
+#~ "répertoire à la liste des répertoires non traités, puis exécutez à "
+#~ "nouveau l'import sur le répertoire racine."
+
+#~ msgid "Metadata"
+#~ msgstr "Metadata"
+
+#~ msgid "Categories, Tags, Taxonomies"
+#~ msgstr "Catégories, Tags, Taxonomies"
+
+#~ msgid ""
+#~ "Enter the name of the default file (index.html, default.htm) for "
+#~ "directories on this server."
+#~ msgstr ""
+#~ "Entrez le nom de la page par défaut (index.html, default.htm) pour les "
+#~ "répertoires de ce serveur."
+
+#~ msgid ""
+#~ "Enter the attribute's value (such as width, ID, or class name) without "
+#~ "quotes"
+#~ msgstr ""
+#~ "Entrez la valeur de l'attribut (comme l'identifiant, le nom de classe ou "
+#~ "la largeur), sans guillemets"
+
+#~ msgid "The name of the editable region (e.g. 'Main Content')"
+#~ msgstr "Le nom de la région éditable (ex : 'Main Content')"
+
+#~ msgid "Convert special characters (accents and symbols)"
+#~ msgstr "Convertir les caractères spéciaux (accents et symboles)"
+
+#~ msgid "Clean up bad (Word, Frontpage) HTML"
+#~ msgstr "Nettoyer le HTML sale (Word, Frontpage)"
+
+#~ msgid ""
+#~ "Enter tags (with brackets) to be preserved. All tags not listed here will "
+#~ "be removed. Suggested: "
+#~ msgstr ""
+#~ "Entrez les balises à conserver (sans délimiteurs). Tous les tags non "
+#~ "listés ici seront supprimés. Suggestion :"
+
+#~ msgid ""
+#~ "Enter attributes separated by commas. All attributes not listed here will "
+#~ "be removed. Suggested: href,src,alt,title \n"
+#~ "\t\t\t \t\t\tIf you have data tables, also include: summary,"
+#~ "rowspan,colspan,span"
+#~ msgstr ""
+#~ "Entrez les attributs séparés par des virgules. Tous les attributs non "
+#~ "listés ici seront supprimés. Suggestion : href,src,alt,title \n"
+#~ "Si vous avez des tableaux, incluez également : summary,rowspan,"
+#~ "colspan,span"
+
+#~ msgid "The name of the editable region (e.g. 'Page Title')"
+#~ msgstr "Le nom de la région éditable (ex : 'Page Title')"
+
+#~ msgid ""
+#~ "Any common title phrase (such as the site name, which most themes will "
+#~ "print automatically)"
+#~ msgstr ""
+#~ "Une phrase fixe (comme le nom du site, que la majorité des thèmes vont "
+#~ "ajouter automatiquement)"
+
+#~ msgid "None (top level)"
+#~ msgstr "Aucun (niveau racine)"
+
+#~ msgid ""
+#~ "Assign categories, tags, and custom taxonomy terms to your imported posts:"
+#~ msgstr ""
+#~ "Assigner les catégories, tags, et taxonomies personnalisées à vos "
+#~ "articles importés :"
+
+#~ msgid ""
+#~ "Search and Replace helps you fix many broken links at "
+#~ "once, if you have many links to the same files or if there is a pattern "
+#~ "(like <a href=\"../../files\"> ) to your broken links."
+#~ msgstr ""
+#~ "Search and Replace vous aide à corriger des liens "
+#~ "cassés s'il existe un pattern de remplacement (comme <a href="
+#~ "\"../../files\"> ) pour vos liens cassés."
+
+#~ msgid "%s (%s) has already been imported"
+#~ msgstr "%s (%s) a déjà été importé"
+
+#~ msgid "Sorry, this file type is not permitted for security reasons."
+#~ msgstr ""
+#~ "Désolé, ce type de fichier n'est pas autorisé pour raisons de sécurité."
+
+#~ msgid ""
+#~ "Could not find the right path to %s (tried %s). It could not be imported. "
+#~ "Please upload it manually."
+#~ msgstr ""
+#~ "Impossible de trouver le bon chemin vers %s (essayé : %s). Il n'a pas pu "
+#~ "être importé. Merci de l'importer manuellement."
+
+#~ msgid ""
+#~ "If you need to change your permalink structure , you "
+#~ "can regenerate the redirects (or do it later from the "
+#~ "options screen under Tools)."
+#~ msgstr ""
+#~ "Si vous avez besoin de changer votre structure permalink"
+#~ "a>, vous pouvez regénérer les redirections (ou le "
+#~ "faire plus tard depuis l'écran des options , onglet "
+#~ "Outils)."
diff --git a/languages/import-html-pages.pot b/languages/import-html-pages.pot
index 0968035..a38283b 100644
--- a/languages/import-html-pages.pot
+++ b/languages/import-html-pages.pot
@@ -1,80 +1,23 @@
# Copyright (C) 2010
# This file is distributed under the same license as the package.
+#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: \n"
+"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/import-html-pages\n"
-"POT-Creation-Date: 2011-07-23 15:49:38+00:00\n"
+"POT-Creation-Date: 2017-11-04 18:27+0100\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
+"X-Generator: Poedit 1.8.11\n"
+"X-Poedit-Basepath: ..\n"
+"X-Poedit-KeywordsList: __;_e;_n:1,2\n"
+"X-Poedit-SearchPath-0: .\n"
-#: html-import.php:64
-msgid "HTML Import"
-msgstr ""
-
-#: html-import.php:74
-msgid ""
-"This is a complicated importer with lots of options. If you have never used "
-"this importer before, you should take a look at the User "
-"Guide ."
-msgstr ""
-
-#: html-import.php:75
-msgid ""
-"You need to look through the first five tabs and save your settings before "
-"you run the importer. The sixth (Tools) contains links to some tools that "
-"are helpful after you've imported."
-msgstr ""
-
-#: html-import.php:77
-msgid "Tips"
-msgstr ""
-
-#: html-import.php:79
-msgid ""
-"If there is already some content in this site, you should back up your "
-"database before you import."
-msgstr ""
-
-#: html-import.php:80
-msgid "Before you import, deactivate any crosspost or notification plugins."
-msgstr ""
-
-#: html-import.php:81
-msgid ""
-"Try uploading a single file before you run the importer on the whole "
-"directory. Check the imported page and see whether you need to adjust your "
-"content and/or title settings."
-msgstr ""
-
-#: html-import.php:82
-msgid ""
-"Need to import both posts and pages? Run the importer on a subdirectory (e."
-"g. 'news'), then add the subdirectory name to the list of skipped "
-"directories and run the importer again on the parent directory."
-msgstr ""
-
-#: html-import.php:84
-msgid "More Help"
-msgstr ""
-
-#: html-import.php:87
-msgid "User Guide"
-msgstr ""
-
-#: html-import.php:88
-msgid "Plugin Home Page"
-msgstr ""
-
-#: html-import.php:89
-msgid "Support Forum"
-msgstr ""
-
-#: html-import-options.php:5 html-import-options.php:508
+#: html-import-options.php:5 html-import-options.php:791
msgid "html-files-to-import"
msgstr ""
@@ -82,297 +25,419 @@ msgstr ""
msgid "images,includes,Templates"
msgstr ""
-#: html-import-options.php:16
+#: html-import-options.php:17 html-import-options.php:42
+#: html-import-options.php:48
msgid "div"
msgstr ""
-#: html-import-options.php:17
+#: html-import-options.php:18 html-import-options.php:43
msgid "id"
msgstr ""
-#: html-import-options.php:18
+#: html-import-options.php:19
msgid "content"
msgstr ""
-#: html-import-options.php:25
+#: html-import-options.php:31
msgid "title"
msgstr ""
-#: html-import-options.php:40
-msgid "HTML Import Settings"
+#: html-import-options.php:44
+msgid "date"
+msgstr ""
+
+#: html-import-options.php:49
+msgid "class"
msgstr ""
#: html-import-options.php:50
+msgid "fieldclass"
+msgstr ""
+
+#: html-import-options.php:73
+msgid "HTML Import Settings"
+msgstr ""
+
+#: html-import-options.php:76
msgid ""
"Welcome to HTML Import! This is a complicated importer with many options. "
"Please look through all the tabs on this page before running your import."
msgstr ""
-#: html-import-options.php:56 html-import-options.php:68
+#: html-import-options.php:81 html-import-options.php:94
msgid "Files"
msgstr ""
-#: html-import-options.php:57 html-import-options.php:129
+#: html-import-options.php:82 html-import-options.php:168
msgid "Content"
msgstr ""
-#: html-import-options.php:58 html-import-options.php:270
-#: html-importer.php:637
-msgid "Title"
+#: html-import-options.php:83 html-import-options.php:344
+msgid "Title & Metadata"
msgstr ""
-#: html-import-options.php:59 html-import-options.php:336
-msgid "Metadata"
+#: html-import-options.php:84 html-import-options.php:500
+msgid "Custom Fields"
msgstr ""
-#: html-import-options.php:60
-msgid "Categories, Tags, Taxonomies"
+#: html-import-options.php:85
+msgid "Categories & Tags"
msgstr ""
-#: html-import-options.php:61 html-import-options.php:449
+#: html-import-options.php:86 html-import-options.php:742
msgid "Tools"
msgstr ""
-#: html-import-options.php:71
+#: html-import-options.php:97
msgid "Directory to import"
msgstr ""
-#: html-import-options.php:76
+#: html-import-options.php:102
msgid "The absolute path to the files you want to import."
msgstr ""
-#: html-import-options.php:77
+#: html-import-options.php:103
+#, php-format
msgid "Hint: the absolute path to this WordPress installation is: %s"
msgstr ""
-#: html-import-options.php:83
+#: html-import-options.php:109
msgid "Old site URL"
msgstr ""
-#: html-import-options.php:87
+#: html-import-options.php:113
msgid ""
"This will be used only to generate accurate .htaccess redirects. "
"The importer will not search for files here."
msgstr ""
-#: html-import-options.php:93
+#: html-import-options.php:119
msgid "Default file"
msgstr ""
-#: html-import-options.php:97
+#: html-import-options.php:123
msgid ""
-"Enter the name of the default file (index.html, default.htm) for directories "
-"on this server."
+"Enter the name of the default file ( index.html, default.htm ) for "
+"directories on this server."
msgstr ""
-#: html-import-options.php:103
+#: html-import-options.php:129
msgid "File extensions to include"
msgstr ""
-#: html-import-options.php:107
+#: html-import-options.php:133
msgid ""
"File extensions, without periods, separated by commas. All other file types "
"will \n"
"\t\t\t\t\t\t\tbe ignored."
msgstr ""
-#: html-import-options.php:114
+#: html-import-options.php:140
msgid "Directories to exclude"
msgstr ""
-#: html-import-options.php:118
+#: html-import-options.php:144
msgid ""
"Directory names, without slashes, separated by commas. All files in these "
"directories \n"
"\t\t\t\t\t\t\twill be ignored."
msgstr ""
-#: html-import-options.php:132
+#: html-import-options.php:151
+msgid "Preserve file names"
+msgstr ""
+
+#: html-import-options.php:155
+msgid "Use the file's name as the imported page's slug"
+msgstr ""
+
+#: html-import-options.php:158
+msgid ""
+"The slug will not include the file extension. To completely mimic your old "
+"URLs, add the extension to your permalink structure."
+msgstr ""
+
+#: html-import-options.php:171
msgid "Select content by"
msgstr ""
-#: html-import-options.php:137 html-import-options.php:278
+#: html-import-options.php:175 html-import-options.php:351
+#: html-import-options.php:508 html-import-options.php:572
+#: html-import-options.php:637
msgid "HTML tag"
msgstr ""
-#: html-import-options.php:143 html-import-options.php:176
-#: html-import-options.php:284 html-import-options.php:317
+#: html-import-options.php:180 html-import-options.php:215
+#: html-import-options.php:356 html-import-options.php:394
+#: html-import-options.php:513 html-import-options.php:537
+#: html-import-options.php:577 html-import-options.php:607
+#: html-import-options.php:642 html-import-options.php:669
msgid "Dreamweaver template region"
msgstr ""
-#: html-import-options.php:150 html-import-options.php:291
+#: html-import-options.php:185
+msgid "Import entire file"
+msgstr ""
+
+#: html-import-options.php:192 html-import-options.php:368
+#: html-import-options.php:520 html-import-options.php:584
+#: html-import-options.php:649
msgid "Tag"
msgstr ""
-#: html-import-options.php:154 html-import-options.php:295
+#: html-import-options.php:196 html-import-options.php:372
msgid "The HTML tag, without brackets"
msgstr ""
-#: html-import-options.php:157 html-import-options.php:298
+#: html-import-options.php:199 html-import-options.php:375
+#: html-import-options.php:525 html-import-options.php:591
+#: html-import-options.php:655
msgid "Attribute"
msgstr ""
-#: html-import-options.php:161
+#: html-import-options.php:203
msgid ""
"Leave blank to use a tag without an attribute, or when the attributes don't "
"matter, such as <body>"
msgstr ""
-#: html-import-options.php:164 html-import-options.php:305
+#: html-import-options.php:206 html-import-options.php:382
+#: html-import-options.php:530 html-import-options.php:598
+#: html-import-options.php:661
msgid "= Value"
msgstr ""
-#: html-import-options.php:168 html-import-options.php:309
+#: html-import-options.php:210 html-import-options.php:386
msgid ""
-"Enter the attribute's value (such as width, ID, or class name) without quotes"
+"Enter the attribute's value ( such as width, ID, or class name ) without "
+"quotes"
msgstr ""
-#: html-import-options.php:179
-msgid "The name of the editable region (e.g. 'Main Content')"
+#: html-import-options.php:218
+msgid "The name of the editable region ( e.g. 'Main Content' )"
msgstr ""
-#: html-import-options.php:183
+#: html-import-options.php:227
msgid "More content options"
msgstr ""
-#: html-import-options.php:186
+#: html-import-options.php:230
msgid "Import linked images"
msgstr ""
-#: html-import-options.php:193
+#: html-import-options.php:237
+msgid "Remove responsive image srcsets"
+msgstr ""
+
+#: html-import-options.php:244
+msgid "Import linked documents"
+msgstr ""
+
+#: html-import-options.php:249
+msgid "Allowed file types"
+msgstr ""
+
+#: html-import-options.php:253
+msgid ""
+"Enter file extensions without periods, separated by commas. File types not "
+"listed here will not be imported to the media library. Use '*' for all file "
+"extensions (except those imported). \n"
+"\t\tSuggested: rtf, doc, docx, xls, xlsx, csv, ppt, pps, pptx, ppsx, pdf, "
+"zip, wmv, avi, flv, mov, mpeg, mp3, m4a, wav "
+msgstr ""
+
+#: html-import-options.php:261
+msgid "Update internal links"
+msgstr ""
+
+#: html-import-options.php:267
msgid "Use meta description as excerpt"
msgstr ""
-#: html-import-options.php:200
-msgid "Convert special characters (accents and symbols)"
+#: html-import-options.php:274
+msgid "Convert special characters ( accents and symbols )"
msgstr ""
-#: html-import-options.php:208
-msgid "Clean up bad (Word, Frontpage) HTML"
+#: html-import-options.php:282
+msgid "Clean up bad ( Word, Frontpage ) HTML"
msgstr ""
-#: html-import-options.php:213
+#: html-import-options.php:287
msgid "Allowed HTML"
msgstr ""
-#: html-import-options.php:217
+#: html-import-options.php:291
msgid ""
-"Enter tags (with brackets) to be preserved. All tags not listed here will be "
-"removed. Suggested: "
+"Enter tags ( with brackets ) to be preserved. All tags not listed here will "
+"be removed. Suggested: "
msgstr ""
-#: html-import-options.php:242
+#: html-import-options.php:316
msgid "If you have data tables, also include:"
msgstr ""
-#: html-import-options.php:256
+#: html-import-options.php:330
msgid "Allowed attributes"
msgstr ""
-#: html-import-options.php:260
+#: html-import-options.php:334
msgid ""
"Enter attributes separated by commas. All attributes not listed here will be "
-"removed. Suggested: href,src,alt,title \n"
-"\t\t\t \t\t\tIf you have data tables, also include: summary,"
-"rowspan,colspan,span"
+"removed. Suggested: href, src, alt, title \n"
+"\t\t\t \t\t\tIf you have data tables, also include: summary, "
+"rowspan, colspan, span"
msgstr ""
-#: html-import-options.php:273
+#: html-import-options.php:347
msgid "Select title by"
msgstr ""
-#: html-import-options.php:302
+#: html-import-options.php:361
+msgid "File name"
+msgstr ""
+
+#: html-import-options.php:379
msgid ""
"Leave blank to use a tag without an attribute, or when the attributes don't "
"matter, such as <title>"
msgstr ""
-#: html-import-options.php:320
-msgid "The name of the editable region (e.g. 'Page Title')"
+#: html-import-options.php:397
+msgid "The name of the editable region ( e.g. 'Page Title' )"
msgstr ""
-#: html-import-options.php:324
+#: html-import-options.php:407
msgid "Phrase to remove from page title: "
msgstr ""
-#: html-import-options.php:327
+#: html-import-options.php:410
msgid ""
-"Any common title phrase (such as the site name, which most themes will print "
-"automatically)"
+"Any common title phrase ( such as the site name, which most themes will "
+"print automatically )"
msgstr ""
-#: html-import-options.php:339
+#: html-import-options.php:415
+msgid "Title position"
+msgstr ""
+
+#: html-import-options.php:418
+msgid ""
+"The title is inside the content area and should be removed from the post body"
+msgstr ""
+
+#: html-import-options.php:424
msgid "Import files as"
msgstr ""
-#: html-import-options.php:360
+#: html-import-options.php:445
msgid "Set status to"
msgstr ""
-#: html-import-options.php:363
+#: html-import-options.php:448
msgid "publish"
msgstr ""
-#: html-import-options.php:364
+#: html-import-options.php:449
msgid "draft"
msgstr ""
-#: html-import-options.php:365
+#: html-import-options.php:450
msgid "private"
msgstr ""
-#: html-import-options.php:366
+#: html-import-options.php:451
msgid "pending"
msgstr ""
-#: html-import-options.php:371
+#: html-import-options.php:456
msgid "Set timestamps to"
msgstr ""
-#: html-import-options.php:374
+#: html-import-options.php:459
msgid "now"
msgstr ""
-#: html-import-options.php:376
+#: html-import-options.php:461
msgid "last time the file was modified"
msgstr ""
-#: html-import-options.php:381
+#: html-import-options.php:463
+msgid "custom field"
+msgstr ""
+
+#: html-import-options.php:468
msgid "Set author to"
msgstr ""
-#: html-import-options.php:387
+#: html-import-options.php:475
msgid "Import pages as children of: "
msgstr ""
-#: html-import-options.php:390 html-import-options.php:391
-msgid "None (top level)"
+#: html-import-options.php:478 html-import-options.php:479
+msgid "None ( top level )"
+msgstr ""
+
+#: html-import-options.php:486
+msgid "Template for imported pages: "
+msgstr ""
+
+#: html-import-options.php:489
+msgid "Default Template"
+msgstr ""
+
+#: html-import-options.php:504
+msgid "Select date by"
+msgstr ""
+
+#: html-import-options.php:549
+msgid "Custom fields"
+msgstr ""
+
+#: html-import-options.php:558 html-import-options.php:623
+msgid "Custom field name"
+msgstr ""
+
+#: html-import-options.php:564 html-import-options.php:628
+msgid "Allow HTML"
+msgstr ""
+
+#: html-import-options.php:569
+msgid "Select field by:"
msgstr ""
-#: html-import-options.php:402
+#: html-import-options.php:690
msgid "Taxonomies"
msgstr ""
-#: html-import-options.php:410
+#: html-import-options.php:698
+msgid ""
+"Here, you may assign categories, tags, and custom taxonomy terms to all your "
+"imported posts."
+msgstr ""
+
+#: html-import-options.php:699
msgid ""
-"Assign categories, tags, and custom taxonomy terms to your imported posts:"
+"To import tags from a region in each file, use a custom field with the name "
+"post_tag ."
msgstr ""
-#: html-import-options.php:452
+#: html-import-options.php:745
msgid "Regenerate .htaccess redirects"
msgstr ""
-#: html-import-options.php:453
+#: html-import-options.php:746
+#, php-format
msgid ""
"If you changed your permalink structure after you "
"imported files, you can regenerate the redirects ."
msgstr ""
-#: html-import-options.php:456
+#: html-import-options.php:749
msgid "Other helpful plugins"
msgstr ""
-#: html-import-options.php:458
+#: html-import-options.php:751
+#, php-format
msgid ""
"Broken Link Checker finds broken links and references to "
"missing media files. Since the importer does not handle links or media files "
@@ -380,14 +445,16 @@ msgid ""
"or updated from your old site."
msgstr ""
-#: html-import-options.php:459
+#: html-import-options.php:752
+#, php-format
msgid ""
"Search and Replace helps you fix many broken links at "
"once, if you have many links to the same files or if there is a pattern "
-"(like <a href=\"../../files\"> ) to your broken links."
+"( like <a href=\"../../files\"> ) to your broken links."
msgstr ""
-#: html-import-options.php:460
+#: html-import-options.php:753
+#, php-format
msgid ""
"Redirection provides a nice admin interface for managing "
"redirects. If you would rather not edit your .htaccess file, or "
@@ -396,13 +463,15 @@ msgid ""
"from the custom fields and paste it into Redirection's options."
msgstr ""
-#: html-import-options.php:461
+#: html-import-options.php:754
+#, php-format
msgid ""
"Add from Server lets you import media files that are on "
"your server but not part of the WordPress media library."
msgstr ""
-#: html-import-options.php:462
+#: html-import-options.php:755
+#, php-format
msgid ""
"Add Linked Images to Gallery is helpful if you have "
"imported data using other plugins and you would like to import linked "
@@ -410,43 +479,45 @@ msgid ""
"URLs; relative paths will not work."
msgstr ""
-#: html-import-options.php:466
+#: html-import-options.php:759
msgid "Donate"
msgstr ""
-#: html-import-options.php:468
+#: html-import-options.php:761
+#, php-format
msgid ""
"If this importer has saved you hours of copying and pasting, a donation toward future development would be much appreciated!"
msgstr ""
-#: html-import-options.php:475
+#: html-import-options.php:768
msgid "Save settings"
msgstr ""
-#: html-import-options.php:507 html-importer.php:677
+#: html-import-options.php:790 html-importer.php:1112
msgid ""
"The beginning directory you entered is not an absolute path. Relative paths "
"are not allowed here."
msgstr ""
-#: html-import-options.php:554
+#: html-import-options.php:857
msgid "You did not enter an HTML content tag to import."
msgstr ""
-#: html-import-options.php:556
+#: html-import-options.php:859
msgid "You did not enter a Dreamweaver content template region to import."
msgstr ""
-#: html-import-options.php:558
+#: html-import-options.php:861
msgid "You did not enter an HTML title tag to import."
msgstr ""
-#: html-import-options.php:560
+#: html-import-options.php:863
msgid "You did not enter a Dreamweaver title template region to import."
msgstr ""
-#: html-import-options.php:596
+#: html-import-options.php:902
+#, php-format
msgid ""
"If you intend to set a permalink structure , you should do "
"it \n"
@@ -454,15 +525,92 @@ msgid ""
"accurate."
msgstr ""
-#: html-import-options.php:599
+#: html-import-options.php:905
+#, php-format
msgid "Settings saved. %s Ready to import files? "
msgstr ""
+#: html-import.php:18
+msgid ""
+"Imports well-formed static HTML files into WordPress posts or pages. "
+"Supports Dreamweaver templates and Word HTML cleanup. Visit the settings "
+"page to get started. See the User Guide for details."
+msgstr ""
+
+#: html-import.php:70
+msgid "HTML Import"
+msgstr ""
+
+#: html-import.php:80
+#, php-format
+msgid ""
+"This is a complicated importer with lots of options. If you have never used "
+"this importer before, you should take a look at the User "
+"Guide ."
+msgstr ""
+
+#: html-import.php:81
+msgid ""
+"You need to look through the first five tabs and save your settings before "
+"you run the importer. The sixth ( Tools ) contains links to some tools that "
+"are helpful after you've imported."
+msgstr ""
+
+#: html-import.php:83
+msgid "Tips"
+msgstr ""
+
+#: html-import.php:85
+msgid ""
+"If there is already some content in this site, you should back up your "
+"database before you import."
+msgstr ""
+
+#: html-import.php:86
+msgid "Before you import, deactivate any crosspost or notification plugins."
+msgstr ""
+
+#: html-import.php:87
+msgid ""
+"Try uploading a single file before you run the importer on the whole "
+"directory. Check the imported page and see whether you need to adjust your "
+"content and/or title settings."
+msgstr ""
+
+#: html-import.php:88
+msgid ""
+"Need to import both posts and pages? Run the importer on a subdirectory ( e."
+"g. 'news' ), then add the subdirectory name to the list of skipped "
+"directories and run the importer again on the parent directory."
+msgstr ""
+
+#: html-import.php:90
+msgid "More Help"
+msgstr ""
+
+#: html-import.php:93
+msgid "User Guide"
+msgstr ""
+
+#: html-import.php:94
+msgid "Plugin Home Page"
+msgstr ""
+
+#: html-import.php:95
+msgid "Support Forum"
+msgstr ""
+
+#: html-import.php:106
+msgid "Settings"
+msgstr ""
+
#: html-importer.php:24
msgid "HTML Importer"
msgstr ""
#: html-importer.php:37
+#, php-format
msgid ""
"It looks like you have not yet visited the HTML Import "
"options page . Please do so now! You need to specify which portions of "
@@ -486,6 +634,7 @@ msgid "Choose an HTML file from your computer:"
msgstr ""
#: html-importer.php:58
+#, php-format
msgid ""
"Your files will be imported from %s . Change "
"directories ."
@@ -495,113 +644,164 @@ msgstr ""
msgid "Submit"
msgstr ""
-#: html-importer.php:82 html-importer.php:644
+#: html-importer.php:81 html-importer.php:1068
msgid ".htaccess Redirects"
msgstr ""
-#: html-importer.php:83
+#: html-importer.php:82
msgid ""
"Copy these lines into your .htaccess above the WordPress "
"section."
msgstr ""
-#: html-importer.php:85
+#: html-importer.php:84
+#, php-format
msgid ""
"All done! You can change your permalink structure and regenerate the redirects again , or start "
"over ."
msgstr ""
-#: html-importer.php:87
+#: html-importer.php:86
msgid ""
"No posts were found with the URL_before_HTML_Import custom field. Could not "
"generate rewrite rules."
msgstr ""
-#: html-importer.php:387
+#: html-importer.php:603
msgid "the uploaded file"
msgstr ""
-#: html-importer.php:393
-msgid "%s (%s) has already been imported"
+#: html-importer.php:610
+#, php-format
+msgid "%s ( %s ) has already been imported"
msgstr ""
-#: html-importer.php:413
+#: html-importer.php:658
+#, php-format
msgid "Could not import %s. You should copy its contents manually."
msgstr ""
-#: html-importer.php:448
-msgid "Imported the file as %s."
+#: html-importer.php:701 html-importer.php:824 html-importer.php:904
+msgid "( no title )"
msgstr ""
-#: html-importer.php:471
-msgid "Sorry, this file type is not permitted for security reasons."
+#: html-importer.php:706
+#, php-format
+msgid "Imported the file as %s."
msgstr ""
-#: html-importer.php:479
+#: html-importer.php:734
+#, php-format
msgid ""
-"Could not find the right path to %s (tried %s). It could not be imported. "
+"Could not find the right path to %s ( tried %s ). It could not be imported. "
"Please upload it manually."
msgstr ""
-#: html-importer.php:562
+#: html-importer.php:844
+#, php-format
msgid "Found %d image in %s . Importing... "
msgid_plural "Found %d images in %s . Importing... "
msgstr[0] ""
msgstr[1] ""
-#: html-importer.php:607
+#: html-importer.php:892 html-importer.php:990
msgid "done."
msgstr ""
-#: html-importer.php:614
+#: html-importer.php:917
+#, php-format
+msgid "Found %d link in %s . Checking file types... "
+msgid_plural "Found %d links in %s . Checking file types... "
+msgstr[0] ""
+msgstr[1] ""
+
+#: html-importer.php:997
+msgid "Fixing relative links..."
+msgstr ""
+
+#: html-importer.php:998
+msgid ""
+"The importer is searching your imported posts for links. This might take a "
+"few minutes."
+msgstr ""
+
+#: html-importer.php:1012
+msgid "All done!"
+msgstr ""
+
+#: html-importer.php:1014
+msgid ""
+"No posts were found with the URL_before_HTML_Import custom field. Could not "
+"search for links."
+msgstr ""
+
+#: html-importer.php:1020
msgid "Importing images..."
msgstr ""
-#: html-importer.php:622
+#: html-importer.php:1028 html-importer.php:1045
+#, php-format
msgid "All done. Go to the Media Library. "
msgstr ""
-#: html-importer.php:634
+#: html-importer.php:1035
+msgid "Importing media files..."
+msgstr ""
+
+#: html-importer.php:1036
+msgid ""
+"The importer is searching your imported posts for links to media files. This "
+"might take a few minutes."
+msgstr ""
+
+#: html-importer.php:1058
msgid "ID"
msgstr ""
-#: html-importer.php:635
+#: html-importer.php:1059
msgid "Old path"
msgstr ""
-#: html-importer.php:636
+#: html-importer.php:1060
msgid "New path"
msgstr ""
-#: html-importer.php:646
+#: html-importer.php:1061
+msgid "Title"
+msgstr ""
+
+#: html-importer.php:1070
+#, php-format
msgid ""
"If you need to change your permalink structure , you can "
-"regenerate the redirects (or do it later from the options screen under Tools)."
+"regenerate the redirects ( or do it later from the options screen under Tools )."
msgstr ""
-#: html-importer.php:650
+#: html-importer.php:1074
+#, php-format
msgid "All done. Have fun! "
msgstr ""
-#: html-importer.php:666
+#: html-importer.php:1095
msgid "Importing HTML file..."
msgstr ""
-#: html-importer.php:686
+#: html-importer.php:1121
msgid "Importing HTML files..."
msgstr ""
-#: html-importer.php:693
+#: html-importer.php:1134
msgid "Your file upload didn't work. Try again?"
msgstr ""
-#: html-importer.php:745
+#: html-importer.php:1188
msgid "HTML"
msgstr ""
-#: html-importer.php:745
+#: html-importer.php:1188
+#, php-format
msgid ""
"Import the contents of HTML files as posts, pages, or any custom post type. "
"Visit the options page first to select which portions of "
diff --git a/readme.txt b/readme.txt
index 8bd2ada..6d7b09d 100644
--- a/readme.txt
+++ b/readme.txt
@@ -95,6 +95,13 @@ No. The files must be on the same server as your WordPress installation. I have
== Changelog ==
+= Contribution from rpeyron =
+* Added French translation and translation fixes
+* Added '*' for all document types
+* Added option to import media files in original folder structure
+* Added option to prefix import path
+* Added redirects for imported media files
+
= 2.6 =
* Removed ancient magic runtime quotes call, wow.
* Checking for empty string instead of empty() to allow for directories named '0' or similar