diff --git a/Source/lang/strings_english.txt b/Source/lang/strings_english.txt index 8e2c4bb..fc04857 100644 --- a/Source/lang/strings_english.txt +++ b/Source/lang/strings_english.txt @@ -58,7 +58,7 @@ $s_plugin_Source_reset = 'Reset to default'; $s_plugin_Source_ensure_delete = 'Do you really want to delete the "%s" repository and all of its history?'; -$s_plugin_Source_ensure_import = 'This will import to a new copy of your repository, and then destroy the old repository data, and may require use of shell access. Do you wish to continue?'; +$s_plugin_Source_ensure_import_full = 'This will import to a new copy of your repository, and then destroy the old repository data, and may require use of shell access. Do you wish to continue?'; $s_plugin_Source_invalid_checkin_url = 'Invalid remote check-in address'; $s_plugin_Source_invalid_repo = 'Invalid repository name'; diff --git a/Source/pages/repo_import_full.php b/Source/pages/repo_import_full.php index fb4fffc..24d96c8 100644 --- a/Source/pages/repo_import_full.php +++ b/Source/pages/repo_import_full.php @@ -17,7 +17,7 @@ $t_repo = SourceRepo::load( $f_repo_id ); -helper_ensure_confirmed( plugin_lang_get( 'ensure_import' ), plugin_lang_get( 'import_data' ) ); +helper_ensure_confirmed( plugin_lang_get( 'ensure_import_full' ), plugin_lang_get( 'import_full' ) ); helper_begin_long_process(); html_page_top1(); @@ -28,7 +28,7 @@ $t_new_repo->name = 'Import ' . date( 'Y-m-d H:i:s' ); $t_new_repo->save(); -$t_status = event_signal( 'EVENT_SOURCE_IMPORT_REPO', array( $t_new_repo ) ); +$t_status = event_signal( 'EVENT_SOURCE_IMPORT_FULL', array( $t_new_repo ) ); if ( $t_status ) { $t_new_repo->name = $t_repo->name;