Bug#266500: dvdbackup: spelling and grammar errors (3/3)
From
Michael Shields@1:229/2 to
All on Wed Aug 18 04:00:11 2004
[continued from previous message]
+ fprintf(stderr,"Mirror of main feature file which is title set %d failed\n", titles_info->main_title_set);
DVDFreeTitleSetInfo(title_set_info);
return(1);
}
@@ -1951,7 +1951,7 @@
titles_info = DVDGetInfo(_dvd);
if (!titles_info) {
- fprintf(stderr, "Faild to obtain titles information\n");
+ fprintf(stderr, "Failed to obtain titles information\n");
return(1);
}
@@ -1976,7 +1976,7 @@
vts_ifo_info = ifoOpen(_dvd, titles_info->titles[titles - 1].title_set);
if(!vts_ifo_info) {
- fprintf(stderr, "Coundn't open tile_set %d IFO file\n", titles_info->titles[titles - 1].title_set);
+ fprintf(stderr, "Coundn't open title_set %d IFO file\n", titles_info->titles[titles - 1].title_set);
DVDFreeTitlesInfo(titles_info);
DVDFreeTitleSetInfo(title_set_info);
return(1);
@@ -1986,12 +1986,12 @@
if (end_chapter > titles_info->titles[titles - 1].chapters) {
end_chapter = titles_info->titles[titles - 1].chapters;
- fprintf(stderr, "Turncated the end_chapter only %d chapters in %d title\n", end_chapter,titles);
+ fprintf(stderr, "Truncated the end_chapter; only %d chapters in %d title\n", end_chapter,titles);
}
if (start_chapter > titles_info->titles[titles - 1].chapters) {
start_chapter = titles_info->titles[titles - 1].chapters;
- fprintf(stderr, "Turncated the end_chapter only %d chapters in %d title\n", end_chapter,titles);
+ fprintf(stderr, "Truncated the end_chapter; only %d chapters in %d title\n", end_chapter,titles);
}
@@ -2118,7 +2118,7 @@
titles_info = DVDGetInfo(_dvd);
if (!titles_info) {
- fprintf(stderr, "Faild to obtain titles information\n");
+ fprintf(stderr, "Failed to obtain titles information\n");
return(1);
}
@@ -2151,7 +2151,7 @@
titles_info = DVDGetInfo(_dvd);
if (!titles_info) {
- fprintf(stderr, "Guess work of main feature film faild\n");
+ fprintf(stderr, "Guess work of main feature film failed\n");
return(1);
}
@@ -2164,7 +2164,7 @@
DVDGetTitleName(dvd,title_name);
- fprintf(stdout,"\n\n\nDVD-Video information of the DVD with tile %s\n\n", title_name);
+ fprintf(stdout,"\n\n\nDVD-Video information of the DVD with title %s\n\n", title_name);
/* Print file structure */
@@ -2218,8 +2218,8 @@
}
}
}
- fprintf(stdout,"\tThe main feature has a maximum of %d chapter(s) in on of it's titles\n", chapters);
- fprintf(stdout,"\tThe main feature has a maximum of %d audio channel(s) in on of it's titles\n", channels);
+ fprintf(stdout,"\tThe main feature has a maximum of %d chapter(s) in on of its titles\n", chapters);
+ fprintf(stdout,"\tThe main feature has a maximum of %d audio channel(s) in on of its titles\n", channels);
break;
}
@@ -2248,7 +2248,7 @@
if (titles_info->titles[i].title_set == f + 1) {
fprintf(stdout,"\t\t\tTitle %d:\n", i + 1);
fprintf(stdout,"\t\t\t\tTitle %d has %d chapter(s)\n", i + 1, titles_info->titles[i].chapters);
- fprintf(stdout,"\t\t\t\tTitle %d has %d audio channle(s)\n", i + 1, titles_info->titles[i].audio_channels);
+ fprintf(stdout,"\t\t\t\tTitle %d has %d audio channel(s)\n", i + 1, titles_info->titles[i].audio_channels);
}
}
}
@@ -2482,14 +2482,14 @@
exit(1);
}
if (strstr(title_name, "DVD_VIDEO") != NULL) {
- fprintf(stderr,"The DVD-Video title on the disk is DVD_VIDEO which is to generic please provide a title with the -n switch\n");
+ fprintf(stderr,"The DVD-Video title on the disk is DVD_VIDEO, which is too generic; please provide a title with the -n switch\n");
DVDClose(_dvd);
exit(2);
}
} else {
if (strlen(provided_title_name) > 32) {
- fprintf(stderr,"The title name specified is longer than 32 charachters, truncating the title name\n");
+ fprintf(stderr,"The title name specified is longer than 32 characters; truncating the title name\n");
strncpy(title_name,provided_title_name, 32);
title_name[32]='\0';
} else {
@@ -2503,11 +2503,11 @@
if (stat(targetname, &fileinfo) == 0) {
if (! S_ISDIR(fileinfo.st_mode)) {
- fprintf(stderr,"The target directory is not valid, it may be a ordinary file\n");
+ fprintf(stderr,"The target directory is not valid; it may be a ordinary file\n");
}
} else {
if (mkdir(targetname, S_IRUSR | S_IWUSR | S_IXUSR) != 0) {
- fprintf(stderr,"Faild creating target directory\n");
+ fprintf(stderr,"Failed creating target directory\n");
perror("");
DVDClose(_dvd);
exit(-1);
@@ -2519,11 +2519,11 @@
if (stat(targetname, &fileinfo) == 0) {
if (! S_ISDIR(fileinfo.st_mode)) {
- fprintf(stderr,"The title directory is not valid, it may be a ordinary file\n");
+ fprintf(stderr,"The title directory is not valid; it may be a ordinary file\n");
}
} else {
if (mkdir(targetname, S_IRUSR | S_IWUSR | S_IXUSR) != 0) {
- fprintf(stderr,"Faild creating title directory\n");
+ fprintf(stderr,"Failed creating title directory\n");
perror("");
DVDClose(_dvd);
exit(-1);
@@ -2534,11 +2534,11 @@
if (stat(targetname, &fileinfo) == 0) {
if (! S_ISDIR(fileinfo.st_mode)) {
- fprintf(stderr,"The VIDEO_TS directory is not valid, it may be a ordinary file\n");
+ fprintf(stderr,"The VIDEO_TS directory is not valid; it may be a ordinary file\n");
}
} else {
if (mkdir(targetname, S_IRUSR | S_IWUSR | S_IXUSR) != 0) {
- fprintf(stderr,"Faild creating VIDEO_TS directory\n"); + fprintf(stderr,"Failed creating VIDEO_TS directory\n");
perror("");
DVDClose(_dvd);
exit(-1);
@@ -2553,7 +2553,7 @@
if(do_mirror) {
if ( DVDMirror(_dvd, targetdir, title_name) != 0 ) {
- fprintf(stderr, "Mirror of DVD faild\n");
+ fprintf(stderr, "Mirror of DVD failed\n");
return_code = -1;
} else {
return_code = 0;
@@ -2566,7 +2566,7 @@
if (do_title_set) {
if (DVDMirrorTitleSet(_dvd, targetdir, title_name, title_set) != 0) {
- fprintf(stderr, "Mirror of title set %d faild\n", title_set);
+ fprintf(stderr, "Mirror of title set %d failed\n", title_set);
return_code = -1;
} else {
return_code = 0;
@@ -2581,7 +2581,7 @@
if(do_feature) {
if ( DVDMirrorMainFeature(_dvd, targetdir, title_name) != 0 ) {
- fprintf(stderr, "Mirror of main feature film of DVD faild\n");
+ fprintf(stderr, "Mirror of main feature film of DVD failed\n");
return_code = -1;
} else {
return_code = 0;
@@ -2590,7 +2590,7 @@
if(do_titles) {
if (DVDMirrorTitles(_dvd, targetdir, title_name, titles) != 0) {
- fprintf(stderr, "Mirror of title %d faild\n", titles); + fprintf(stderr, "Mirror of title %d failed\n", titles);
return_code = -1;
} else {
return_code = 0;
@@ -2600,7 +2600,7 @@
if(do_chapter) {
if (DVDMirrorChapters(_dvd, targetdir, title_name, start_chapter, end_chapter, titles) != 0) {
- fprintf(stderr, "Mirror of chapters %d to %d in title %d faild\n", start_chapter, end_chapter, titles);
+ fprintf(stderr, "Mirror of chapters %d to %d in title %d failed\n", start_chapter, end_chapter, titles);
return_code = -1;
} else {
return_code = 0;
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)