summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2016-02-22 10:38:17 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2016-02-22 10:38:17 +0100
commitb9dc788eb633fa9e5c1f274f2dce6d1f1dd8ac75 (patch)
treea92a03a13b0bb7281e61f70006203dcd3ff6d948 /src
parent3fbf22ea46345c2faec5cd9f193fd656b28a93be (diff)
Improve English grammar, capitalization, and punctuation
Diffstat (limited to 'src')
-rw-r--r--src/alignio.h2
-rw-r--r--src/dimage.c2
-rw-r--r--src/dirpart.c2
-rw-r--r--src/diskacc.c2
-rw-r--r--src/fat32.c4
-rw-r--r--src/fidentify.c2
-rw-r--r--src/godmode.c10
-rw-r--r--src/hdaccess.c2
-rw-r--r--src/hiddenn.c2
-rw-r--r--src/msdos.c8
-rw-r--r--src/ntfs_adv.c8
-rw-r--r--src/ntfs_dir.c2
-rw-r--r--src/ntfs_fix.c6
-rw-r--r--src/ntfs_udl.c4
-rw-r--r--src/partauto.c2
-rw-r--r--src/pdiskseln.c2
-rw-r--r--src/pfree_whole.c4
-rw-r--r--src/phmain.c4
-rw-r--r--src/photorec.c4
-rw-r--r--src/phrecn.c6
-rw-r--r--src/ppartseln.c4
-rw-r--r--src/psearchn.c4
-rw-r--r--src/qphotorec.cpp8
-rw-r--r--src/tdelete.c4
-rw-r--r--src/tdisksel.c2
-rw-r--r--src/tload.c2
26 files changed, 51 insertions, 51 deletions
diff --git a/src/alignio.h b/src/alignio.h
index 4d14d80..8bd1344 100644
--- a/src/alignio.h
+++ b/src/alignio.h
@@ -72,7 +72,7 @@ static int align_pwrite(int (*fnct_pread)(disk_t *disk_car, void *buf, const uns
disk_car->wbuffer=(char*)MALLOC(disk_car->wbuffer_size);
if(fnct_pread(disk_car, disk_car->wbuffer, count_new, offset_new/disk_car->sector_size*disk_car->sector_size)<0)
{
- log_error("read failed but try to write anyway");
+ log_error("read failed but trying to write anyway");
memset(disk_car->wbuffer,0, disk_car->wbuffer_size);
}
memcpy((char*)disk_car->wbuffer+(offset_new%disk_car->sector_size),buf,count);
diff --git a/src/dimage.c b/src/dimage.c
index 5b109fa..d1f3483 100644
--- a/src/dimage.c
+++ b/src/dimage.c
@@ -147,7 +147,7 @@ int disk_image(disk_t *disk, const partition_t *partition, const char *image_dd)
wmove(window,10,0);
waddstr(window, "Disk images are mainly used ");
wmove(window,11,0);
- waddstr(window, "- for forensics purpose");
+ waddstr(window, "- for forensic purposes");
wmove(window,12,0);
waddstr(window, "- or to deal with media with bad sectors");
#ifdef WIN32
diff --git a/src/dirpart.c b/src/dirpart.c
index 4af873c..a070476 100644
--- a/src/dirpart.c
+++ b/src/dirpart.c
@@ -137,7 +137,7 @@ dir_partition_t dir_partition(disk_t *disk, const partition_t *partition, const
aff_part(window,AFF_PART_ORDER|AFF_PART_STATUS,disk,partition);
#endif
log_partition(disk,partition);
- screen_buffer_add("Support for this filesystem hasn't been enable during compilation.\n");
+ screen_buffer_add("Support for this filesystem wasn't enabled during compilation.\n");
screen_buffer_to_log();
if(*current_cmd==NULL)
{
diff --git a/src/diskacc.c b/src/diskacc.c
index d145086..d2c33f0 100644
--- a/src/diskacc.c
+++ b/src/diskacc.c
@@ -74,7 +74,7 @@ static int interface_check_disk_access_ncurses(disk_t *disk_car)
wprintw(stdscr,"Use the sudo command to launch TestDisk.\n");
#endif
wmove(stdscr,line++,0);
- wprintw(stdscr,"- Check the OS permission for this file or device.\n");
+ wprintw(stdscr,"- Check the OS permissions for this file or device.\n");
}
#endif
#if defined(__APPLE__)
diff --git a/src/fat32.c b/src/fat32.c
index a1c7112..6e0572b 100644
--- a/src/fat32.c
+++ b/src/fat32.c
@@ -174,12 +174,12 @@ int fat32_boot_sector(disk_t *disk_car, partition_t *partition, const int verbos
else
{
if(memcmp(buffer_bs,buffer_backup_bs,0x200)!=0)
- screen_buffer_add("First sectors (Boot code and partition information) are not identical.\n");
+ screen_buffer_add("First sectors (boot code and partition information) are not identical.\n");
if((memcmp(buffer_bs+disk_car->sector_size, buffer_backup_bs+disk_car->sector_size,0x1E8)!=0)||
(memcmp(buffer_bs+disk_car->sector_size+0x1F0, buffer_backup_bs+disk_car->sector_size+0x1F0,0x200-0x1F0)!=0))
screen_buffer_add("Second sectors (cluster information) are not identical.\n");
if(memcmp(buffer_bs+2*disk_car->sector_size, buffer_backup_bs+2*disk_car->sector_size,0x200)!=0)
- screen_buffer_add("Third sectors (Second part of boot code) are not identical.\n");
+ screen_buffer_add("Third sectors (second part of boot code) are not identical.\n");
}
screen_buffer_add("\n");
screen_buffer_add("A valid FAT Boot sector must be present in order to access\n");
diff --git a/src/fidentify.c b/src/fidentify.c
index 617e7a3..65fafb2 100644
--- a/src/fidentify.c
+++ b/src/fidentify.c
@@ -175,7 +175,7 @@ static void display_help(void)
printf("\nUsage: fidentify [--check] [directory]\n"\
" fidentify --version\n" \
"\n" \
- "fidentify determine the file type, the 'extension', by using the same database than PhotoRec.\n");
+ "fidentify determine the file type, the 'extension', by using the same database as PhotoRec.\n");
}
static void display_version(void)
diff --git a/src/godmode.c b/src/godmode.c
index d18797d..b1ddd65 100644
--- a/src/godmode.c
+++ b/src/godmode.c
@@ -204,7 +204,7 @@ static int interface_part_bad_ncurses(disk_t *disk_car, list_part_t *list_part)
buffer_disk_size, buffer_disk_size_found);
}
wmove(stdscr,7,0);
- wprintw(stdscr,"Check the harddisk size: HD jumpers settings, BIOS detection...");
+ wprintw(stdscr,"Check the harddisk size: HD jumper settings, BIOS detection...");
#if defined(__CYGWIN__) || defined(__MINGW32__)
if(disk_car->disk_size<=((uint64_t)1<<(28-1)) && disk_size>=((uint64_t)1<<(28-1)))
{
@@ -323,7 +323,7 @@ static int interface_part_bad_log(disk_t *disk_car, list_part_t *list_part)
}
}
log_warning("%s\n",disk_car->description(disk_car));
- log_warning("Check the harddisk size: HD jumpers settings, BIOS detection...\n");
+ log_warning("Check the harddisk size: HD jumper settings, BIOS detection...\n");
#if defined(__CYGWIN__) || defined(__MINGW32__)
if(disk_car->disk_size<=((uint64_t)1<<(28-1)) && disk_size>=((uint64_t)1<<(28-1)))
{
@@ -370,7 +370,7 @@ static void warning_geometry_ncurses(disk_t *disk_car, const unsigned int recomm
wmove(stdscr,10,0);
wprintw(stdscr,"- some partitions are not found by TestDisk");
wmove(stdscr,11,0);
- wprintw(stdscr,"- or the partition table can not be written because partitions overlaps.");
+ wprintw(stdscr,"- or the partition table can not be written because partitions overlap.");
wmove(stdscr,22,0);
wattrset(stdscr, A_REVERSE);
wprintw(stdscr,"[ Continue ]");
@@ -1012,7 +1012,7 @@ static void ask_mbr_order_i386(disk_t *disk_car,list_part_t *list_part)
table[nbr_prim++]=element->part;
}
/* */
- log_info("\nSelect primaries partition\n");
+ log_info("\nSelect primary partition\n");
for(i=0;i<nbr_prim;i++)
log_partition(disk_car,table[i]);
/* */
@@ -1395,7 +1395,7 @@ int interface_recovery(disk_t *disk_car, const list_part_t * list_part_org, cons
log_partition(disk_car,element->part);
#ifdef TARGET_LINUX
if(list_part!=NULL)
- log_info("\nHint for advanced users. dmsetup may be used if you prefer to avoid to rewrite the partition table for the moment:\n");
+ log_info("\nHint for advanced users: dmsetup may be used if you prefer to avoid rewriting the partition table for the moment:\n");
for(element=list_part;element!=NULL;element=element->next)
{
const partition_t *partition=element->part;
diff --git a/src/hdaccess.c b/src/hdaccess.c
index f092995..36b7c4e 100644
--- a/src/hdaccess.c
+++ b/src/hdaccess.c
@@ -808,7 +808,7 @@ void update_disk_car_fields(disk_t *disk_car)
(uint64_t)disk_car->sector_size;
if(cylinder_num>0 && disk_car->geom.cylinders != cylinder_num)
{
- log_debug("Fix cylinder count for %s: number of cylinders %lu != %lu (calculated)\n",
+ log_debug("Fix cylinder count for %s: number of cylinders %lu != %lu (calculated)\n",
disk_car->device, disk_car->geom.cylinders, cylinder_num);
disk_car->geom.cylinders = cylinder_num;
}
diff --git a/src/hiddenn.c b/src/hiddenn.c
index 066c9fb..1b22cab 100644
--- a/src/hiddenn.c
+++ b/src/hiddenn.c
@@ -38,7 +38,7 @@ int interface_check_hidden_ncurses(disk_t *disk, const int hpa_dco)
{
static const struct MenuItem menuHidden[]=
{
- { 'C', "Continue", "Continue even if there are hidden data"},
+ { 'C', "Continue", "Continue even if there is hidden data"},
{ 0,NULL,NULL}
};
unsigned int menu=0;
diff --git a/src/msdos.c b/src/msdos.c
index d9abafc..0da66d7 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -309,17 +309,17 @@ static int hd_identify_enh_bios(disk_t *disk_car,const int verbose)
{
data->bad_geometry=1;
disk_car->geom.sectors_per_head=1;
- log_critical("Incorrect number of sector\n");
+ log_critical("Incorrect number of sectors\n");
}
if(disk_car->geom.sectors_per_head>63)
{
/* data->bad_geometry=1; */
- log_critical("Incorrect number of sector\n");
+ log_critical("Incorrect number of sectors\n");
}
if(disk_car->geom.heads_per_cylinder>255)
{
data->bad_geometry=1;
- log_critical("Incorrect number of head\n");
+ log_critical("Incorrect number of heads\n");
}
computed_size=(uint64_t)disk_car->geom.cylinders*disk_car->geom.heads_per_cylinder*disk_car->geom.sectors_per_head*disk_car->sector_size;
if(verbose>0 || data->bad_geometry!=0)
@@ -396,7 +396,7 @@ disk_t *hd_identify(const int verbose, const unsigned int disk, const int testdi
}
if(disk_car->geom.sectors_per_head==0)
{ /* Problem found by Brian Barrett */
- log_critical("BIOS reports an invalid number of sector per head\n");
+ log_critical("BIOS reports an invalid number of sectors per head\n");
data->bad_geometry=1;
disk_car->geom.sectors_per_head=1;
}
diff --git a/src/ntfs_adv.c b/src/ntfs_adv.c
index 44428e5..86c67c4 100644
--- a/src/ntfs_adv.c
+++ b/src/ntfs_adv.c
@@ -108,7 +108,7 @@ static void menu_write_ntfs_boot_sector_cli(disk_t *disk_car, partition_t *parti
{
log_ntfs2_info(ntfs_header, org_ntfs_header);
if(error)
- log_error("Warning: Extrapolated boot sector have incorrect values.\n");
+ log_error("Warning: Extrapolated boot sector has incorrect values.\n");
}
else
{
@@ -197,7 +197,7 @@ static void menu_write_ntfs_boot_sector_ncurses(disk_t *disk_car, partition_t *p
wprintw(stdscr,"Extrapolated boot sector and current boot sector are different.\n");
log_ntfs2_info(ntfs_header, org_ntfs_header);
if(error)
- log_error("Warning: Extrapolated boot sector have incorrect values.\n");
+ log_error("Warning: Extrapolated boot sector has incorrect values.\n");
}
else
{
@@ -240,8 +240,8 @@ static void menu_write_ntfs_boot_sector_ncurses(disk_t *disk_car, partition_t *p
wprintw(window,"%s",disk_car->description(disk_car));
wmove(window,5,0);
aff_part(window,AFF_PART_ORDER|AFF_PART_STATUS,disk_car,partition);
- log_info(" Rebuild Boot sector Boot sector\n");
- mvwaddstr(window,6,0, " Rebuild Boot sector Boot sector");
+ log_info(" Rebuild boot sector Boot sector\n");
+ mvwaddstr(window,6,0, " Rebuild boot sector Boot sector");
dump2(window, newboot, orgboot, NTFS_SECTOR_SIZE);
dump2_log(newboot, orgboot, NTFS_SECTOR_SIZE);
delwin(window);
diff --git a/src/ntfs_dir.c b/src/ntfs_dir.c
index 0d10059..2e60159 100644
--- a/src/ntfs_dir.c
+++ b/src/ntfs_dir.c
@@ -494,7 +494,7 @@ dir_partition_t dir_partition_ntfs_init(disk_t *disk_car, const partition_t *par
#endif
if(vol)
{
- log_warning("NTFS filesystem need to be repaired.\n");
+ log_warning("NTFS filesystem needs to be repaired.\n");
}
}
#endif
diff --git a/src/ntfs_fix.c b/src/ntfs_fix.c
index 1b57496..6399e1f 100644
--- a/src/ntfs_fix.c
+++ b/src/ntfs_fix.c
@@ -124,9 +124,9 @@ int repair_MFT(disk_t *disk_car, partition_t *partition, const int verbose, cons
}
if(memcmp(buffer_mft, buffer_mftmirr, mftmirr_size_bytes)==0)
{
- log_info("MFT and MFT mirror matches perfectly.\n");
+ log_info("MFT and MFT mirror match perfectly.\n");
if(*current_cmd==NULL)
- display_message("MFT and MFT mirror matches perfectly.\n");
+ display_message("MFT and MFT mirror match perfectly.\n");
free(buffer_mftmirr);
free(buffer_mft);
free(ntfs_header);
@@ -261,7 +261,7 @@ int repair_MFT(disk_t *disk_car, partition_t *partition, const int verbose, cons
aff_part(stdscr,AFF_PART_ORDER|AFF_PART_STATUS,disk_car,partition);
wmove(stdscr,8,0);
if(res1>0 && res2>0)
- wprintw(stdscr, "Both MFT seems ok but they don't match.\n");
+ wprintw(stdscr, "Both MFT seem ok but they don't match.\n");
else
wprintw(stdscr, "MFT and MFT mirror are bad.\n");
command=wmenuSelect_ext(stdscr, 23, INTER_MFT_Y, INTER_MFT_X, menuMFT, 10, "MBQ",
diff --git a/src/ntfs_udl.c b/src/ntfs_udl.c
index 07a91fa..e902521 100644
--- a/src/ntfs_udl.c
+++ b/src/ntfs_udl.c
@@ -1671,7 +1671,7 @@ int ntfs_undelete_part(disk_t *disk_car, const partition_t *partition, const int
aff_part(window,AFF_PART_ORDER|AFF_PART_STATUS,disk_car,partition);
#endif
log_partition(disk_car,partition);
- screen_buffer_add("Support for this filesystem hasn't been enable during compilation.\n");
+ screen_buffer_add("Support for this filesystem wasn't enabled during compilation.\n");
screen_buffer_to_log();
if(*current_cmd==NULL)
{
@@ -1736,7 +1736,7 @@ int ntfs_undelete_part(disk_t *disk_car, const partition_t *partition, const int
aff_part(window,AFF_PART_ORDER|AFF_PART_STATUS,disk_car,partition);
#endif
log_partition(disk_car,partition);
- screen_buffer_add("Support for this filesystem hasn't been enable during compilation.\n");
+ screen_buffer_add("Support for this filesystem wasn't enabled during compilation.\n");
screen_buffer_to_log();
if(*current_cmd==NULL)
{
diff --git a/src/partauto.c b/src/partauto.c
index ef82dfd..70bd972 100644
--- a/src/partauto.c
+++ b/src/partauto.c
@@ -129,5 +129,5 @@ void autodetect_arch(disk_t *disk, const arch_fnct_t *arch)
disk->arch=&arch_gpt;
#endif
}
- log_info("Partition table type default to %s\n", disk->arch->part_name);
+ log_info("Partition table type defaults to %s\n", disk->arch->part_name);
}
diff --git a/src/pdiskseln.c b/src/pdiskseln.c
index d72cec3..3b1c39d 100644
--- a/src/pdiskseln.c
+++ b/src/pdiskseln.c
@@ -145,7 +145,7 @@ static int photorec_disk_selection_ncurses(struct ph_param *params, struct ph_op
wmove(stdscr, INTER_NOTE_Y+1, 0);
wprintw(stdscr,"Disk capacity must be correctly detected for a successful recovery.");
wmove(stdscr, INTER_NOTE_Y+2, 0);
- wprintw(stdscr,"If a disk listed above has incorrect size, check HD jumper settings, BIOS");
+ wprintw(stdscr,"If a disk listed above has an incorrect size, check HD jumper settings and BIOS");
wmove(stdscr, INTER_NOTE_Y+3, 0);
wprintw(stdscr,"detection, and install the latest OS patches and disk drivers.");
}
diff --git a/src/pfree_whole.c b/src/pfree_whole.c
index 1e49cbb..f476a29 100644
--- a/src/pfree_whole.c
+++ b/src/pfree_whole.c
@@ -98,7 +98,7 @@ int ask_mode_ext2(const disk_t *disk_car, const partition_t *partition, unsigned
wmove(window,4,0);
aff_part(window, AFF_PART_ORDER|AFF_PART_STATUS,disk_car,partition);
wmove(window,6,0);
- waddstr(window,"To recover lost files, PhotoRec need to know the filesystem type where the");
+ waddstr(window,"To recover lost files, PhotoRec needs to know the filesystem type where the");
wmove(window,7,0);
waddstr(window,"file were stored:");
command = wmenuSelect_ext(window, 23, 8, 0, menuMode, 11,
@@ -115,7 +115,7 @@ int ask_mode_ext2(const disk_t *disk_car, const partition_t *partition, unsigned
wclrtoeol(window);
wmove(window,7,0);
wclrtoeol(window);
- waddstr(window,"Please choose if all space need to be analysed:");
+ waddstr(window,"Please choose if all space needs to be analysed:");
if(partition->upart_type==UP_EXFAT)
command = wmenuSelect_ext(window, 23, 8, 0, menuexFAT, 11,
options, MENU_VERT | MENU_VERT_WARN | MENU_BUTTON, &menu,NULL);
diff --git a/src/phmain.c b/src/phmain.c
index 258b267..3bc72cf 100644
--- a/src/phmain.c
+++ b/src/phmain.c
@@ -105,8 +105,8 @@ static void display_help(void)
"/log : create a photorec.log file\n" \
"/debug : add debug information\n" \
"\n" \
- "PhotoRec searches various file formats (JPEG, Office...), it stores them\n" \
- "in recup_dir directory.\n");
+ "PhotoRec searches for various file formats (JPEG, Office...). It stores files\n" \
+ "in the recup_dir directory.\n");
}
static void display_version(void)
diff --git a/src/photorec.c b/src/photorec.c
index 0c2229a..9699f88 100644
--- a/src/photorec.c
+++ b/src/photorec.c
@@ -405,7 +405,7 @@ void write_stats_log(const file_stat_t *file_stats)
}
}
free(new_file_stats);
- if(file_nbr>1)
+ if(file_nbr!=1)
{
log_info("Total: %u files found\n\n",file_nbr);
}
@@ -701,7 +701,7 @@ void info_list_search_space(const alloc_data_t *list_search_space, const alloc_d
"(null)"));
}
}
- log_info("%llu sectors contains unknown data, %lu invalid files found %s.\n",
+ log_info("%llu sectors contain unknown data, %lu invalid files found %s.\n",
(long long unsigned)sectors_with_unknown_data, (long unsigned)nbr_headers,
(keep_corrupted_file>0?"but saved":"and rejected"));
}
diff --git a/src/phrecn.c b/src/phrecn.c
index 55393cb..616202f 100644
--- a/src/phrecn.c
+++ b/src/phrecn.c
@@ -109,7 +109,7 @@ static void recovery_finished(disk_t *disk, const partition_t *partition, const
if(file_nbr > 0)
{
wmove(stdscr, 12, 0);
- wprintw(stdscr, "You are welcome to donate to support further development and encouragement");
+ wprintw(stdscr, "You are welcome to donate to support and encourage further development");
wmove(stdscr, 13, 0);
wprintw(stdscr, "http://www.cgsecurity.org/wiki/Donation");
}
@@ -181,7 +181,7 @@ static int interface_cannot_create_file(void)
wmove(stdscr,5,0);
wprintw(stdscr,"This problem may be due to antivirus blocking write access while scanning files created by PhotoRec.");
wmove(stdscr,6,0);
- wprintw(stdscr,"If possible, temporary disable your antivirus live protection.");
+ wprintw(stdscr,"If possible, temporarily disable your live antivirus protection.");
car= wmenuSelect_ext(stdscr, 23, INTER_MAIN_Y, INTER_MAIN_X, menuMain, 10,
"CQ", MENU_VERT | MENU_VERT_WARN | MENU_BUTTON, &menu,NULL);
if(car=='c' || car=='C')
@@ -371,7 +371,7 @@ int photorec(struct ph_param *params, const struct ph_options *options, alloc_da
if(res!=NULL)
*res='\0';
}
- res=ask_location("Warning: not enough free space available. Please select a destination to save the recovered files.\nDo not choose to write the files to the same partition they were stored on.", "", dst);
+ res=ask_location("Warning: not enough free space available. Please select a destination to save the recovered files to.\nDo not choose to write the files to the same partition they were stored on.", "", dst);
free(dst);
if(res==NULL)
params->status=STATUS_QUIT;
diff --git a/src/ppartseln.c b/src/ppartseln.c
index 9a16e37..a01d1c7 100644
--- a/src/ppartseln.c
+++ b/src/ppartseln.c
@@ -94,7 +94,7 @@ void menu_photorec(struct ph_param *params, struct ph_options *options, alloc_da
{
char *res;
#ifdef HAVE_NCURSES
- res=ask_location("Please select a destination to save the recovered files.\nDo not choose to write the files to the same partition they were stored on.", "", NULL);
+ res=ask_location("Please select a destination to save the recovered files to.\nDo not choose to write the files to the same partition they were stored on.", "", NULL);
#else
res=get_default_location();
#endif
@@ -243,7 +243,7 @@ void menu_photorec(struct ph_param *params, struct ph_options *options, alloc_da
if(params->recup_dir==NULL)
{
char *res;
- res=ask_location("Please select a destination to save the recovered files.\nDo not choose to write the files to the same partition they were stored on.", "", NULL);
+ res=ask_location("Please select a destination to save the recovered files to.\nDo not choose to write the files to the same partition they were stored on.", "", NULL);
if(res!=NULL)
{
params->recup_dir=(char *)MALLOC(strlen(res)+1+strlen(DEFAULT_RECUP_DIR)+1);
diff --git a/src/psearchn.c b/src/psearchn.c
index fdf593a..238ed6c 100644
--- a/src/psearchn.c
+++ b/src/psearchn.c
@@ -326,13 +326,13 @@ pstatus_t photorec_aux(struct ph_param *params, const struct ph_options *options
if(res!=DC_STOP && res!=DC_ERROR && file_recovery.file_stat->file_hint->max_filesize>0 && file_recovery.file_size>=file_recovery.file_stat->file_hint->max_filesize)
{
res=DC_STOP;
- log_verbose("File should not be bigger than %llu, stop adding data\n",
+ log_verbose("File should not be bigger than %llu, stopped adding data\n",
(long long unsigned)file_recovery.file_stat->file_hint->max_filesize);
}
if(res!=DC_STOP && res!=DC_ERROR && file_recovery.file_size + blocksize >= PHOTOREC_MAX_SIZE_32 && is_fat(params->partition))
{
res=DC_STOP;
- log_verbose("File should not be bigger than %llu, stop adding data\n",
+ log_verbose("File should not be bigger than %llu, stopped adding data\n",
(long long unsigned)file_recovery.file_stat->file_hint->max_filesize);
}
if(res==DC_STOP || res==DC_ERROR)
diff --git a/src/qphotorec.cpp b/src/qphotorec.cpp
index 57b1293..f304808 100644
--- a/src/qphotorec.cpp
+++ b/src/qphotorec.cpp
@@ -153,7 +153,7 @@ QPhotorec::~QPhotorec()
void QPhotorec::setExistingDirectory()
{
QString directory = QFileDialog::getExistingDirectory(this,
- "Please select a destination to save the recovered files.",
+ "Please select a destination to save the recovered files to.",
directoryLabel->text(),
QFileDialog::ShowDirsOnly);
if (!directory.isEmpty())
@@ -460,7 +460,7 @@ void QPhotorec::setupUI()
HDDlistWidget = new QComboBox();
HDDlistWidget->setToolTip("Disk capacity must be correctly detected for a successful recovery.\n"
- "If a disk listed above has incorrect size, check HD jumper settings, BIOS\n"
+ "If a disk listed above has an incorrect size, check HD jumper settings and BIOS\n"
"detection, and install the latest OS patches and disk drivers."
);
@@ -515,7 +515,7 @@ void QPhotorec::setupUI()
groupBox->setLayout(groupBoxLayout);
- QLabel *dstWidget= new QLabel("Please select a destination to save the recovered files.");
+ QLabel *dstWidget= new QLabel("Please select a destination to save the recovered files to.");
directoryLabel=new QLineEdit("");
QPushButton *dst_button = new QPushButton(
QIcon::fromTheme("folder", QIcon(":res/gnome/folder.png")),
@@ -750,7 +750,7 @@ void QPhotorec::qphotorec_search_setupUI()
QStringList oLabel;
oLabel.append("File familly");
- oLabel.append("Number of file recovered");
+ oLabel.append("Number of files recovered");
filestatsWidget=new QTableWidget();
filestatsWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);
diff --git a/src/tdelete.c b/src/tdelete.c
index e074c12..f59dd7d 100644
--- a/src/tdelete.c
+++ b/src/tdelete.c
@@ -46,7 +46,7 @@ int write_clean_table(disk_t *disk_car)
wmove(stdscr,INTER_DISK_Y,INTER_DISK_X);
if(disk_car->arch->erase_list_part==NULL)
{
- display_message("Clear partition table not implemented for this partition type.\n");
+ display_message("Partition table clearing is not implemented for this partition type.\n");
return 1;
}
wprintw(stdscr,msg_WRITE_CLEAN_TABLE);
@@ -67,7 +67,7 @@ int write_clean_table(disk_t *disk_car)
{
if(disk_car->arch->erase_list_part==NULL)
{
- log_error("Clear partition table not implemented for this partition type.\n");
+ log_error("Partition table clearing is not implemented for this partition type.\n");
return 1;
}
if(disk_car->arch->erase_list_part(disk_car))
diff --git a/src/tdisksel.c b/src/tdisksel.c
index 55f7f1f..b95e296 100644
--- a/src/tdisksel.c
+++ b/src/tdisksel.c
@@ -130,7 +130,7 @@ static int testdisk_disk_selection_ncurses(int verbose,int dump_ind, const list_
#endif
waddstr(stdscr,"Disk capacity must be correctly detected for a successful recovery.");
wmove(stdscr,line++,0);
- wprintw(stdscr,"If a disk listed above has incorrect size, check HD jumper settings, BIOS");
+ wprintw(stdscr,"If a disk listed above has an incorrect size, check HD jumper settings and BIOS");
wmove(stdscr,line,0);
wprintw(stdscr,"detection, and install the latest OS patches and disk drivers.");
}
diff --git a/src/tload.c b/src/tload.c
index 3160e7f..b81bcdc 100644
--- a/src/tload.c
+++ b/src/tload.c
@@ -82,7 +82,7 @@ static struct td_list_head *interface_load_ncurses(disk_t *disk_car, backup_disk
if(!td_list_empty(&backup_list->list))
{
mvwaddstr(stdscr,5,0,"Choose the backup you want to restore:");
- mvwaddstr(stdscr,20,0,"PS: Don't worry you will have to confirm the partition restoration.");
+ mvwaddstr(stdscr,20,0,"PS: Don't worry, you will have to confirm the partition restoration.");
}
else
{