Changeset 541 in MondoRescue for branches/stable/mondo/mondo/common/libmondo-files.c
- Timestamp:
- May 13, 2006, 8:47:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/mondo/common/libmondo-files.c
r501 r541 88 88 #include "libmondo-files.h" 89 89 90 #include "lib-common-externs.h" 91 90 92 #include "libmondo-tools-EXT.h" 91 #include " newt-specific-EXT.h"93 #include "libmondo-gui-EXT.h" 92 94 #include "libmondo-devices-EXT.h" 93 95 #include "libmondo-fork-EXT.h" … … 360 362 while (!kernel[0]) { 361 363 if (!ask_me_yes_or_no 362 ( _("Kernel not found or invalid. Choose another?"))) {364 ("Kernel not found or invalid. Choose another?")) { 363 365 return (1); 364 366 } 365 367 if (!popup_and_get_string 366 ( _("Kernel path"),367 _("What is the full path and filename of your kernel, please?"),368 ("Kernel path", 369 "What is the full path and filename of your kernel, please?", 368 370 kernel, MAX_STR_LEN / 4)) { 369 371 fatal_error … … 573 575 574 576 if (!does_file_exist(filename)) { 575 sprintf(tmp, "Tr ying to get last line of nonexistent file (%s)",577 sprintf(tmp, "Tring to get last line of nonexistent file (%s)", 576 578 filename); 577 579 log_it(tmp); … … 662 664 log_OS_error("Unable to openout cksumlist"); 663 665 paranoid_fclose(fin); 664 log_to_screen( _("Can't open checksum list"));666 log_to_screen("Can't open checksum list"); 665 667 return (1); 666 668 } … … 687 689 time_taken * 100 / (long) (percentage) - time_taken; 688 690 sprintf(tmp, 689 _("%02d%% done %02d:%02d taken %02d:%02d remaining %-37s"),691 "%02d%% done %02d:%02d taken %02d:%02d remaining %-37s\r", 690 692 percentage, (int) (time_taken / 60), 691 693 (int) (time_taken % 60), … … 1027 1029 sprintf(command, "which %s > /dev/null 2> /dev/null", fname); 1028 1030 sprintf(errorstr, 1029 _("Please install '%s'. I cannot find it on your system."),1031 "Please install '%s'. I cannot find it on your system.", 1030 1032 fname); 1031 1033 if (system(command)) { 1032 1034 log_to_screen(errorstr); 1033 1035 log_to_screen 1034 ( _("There may be hyperlink at http://www.mondorescue.com which"));1035 log_to_screen( _("will take you to the relevant (missing) package."));1036 ("There may be hyperlink at http://www.mondorescue.com which"); 1037 log_to_screen("will take you to the relevant (missing) package."); 1036 1038 return (1); 1037 1039 } else { … … 1148 1150 fatal_error("Failed to copy Mondo's stuff to scratchdir"); 1149 1151 } 1150 1151 /* i18n */1152 sprintf(command, CP_BIN " --parents /usr/share/locale/*/LC_MESSAGES/mondo.mo %s",bkpinfo->scratchdir);1153 log_msg(4, "command = %s", command);1154 run_program_and_log_output(command, 1);1155 1152 1156 1153 sprintf(tmp, "%s/payload.tgz", g_mondo_home); … … 1387 1384 if (scratchLL <= 1) { 1388 1385 sprintf(tmp, 1389 _("Your backup will probably occupy a single %s. Maybe two."),1386 "Your backup will probably occupy a single %s. Maybe two.", 1390 1387 media_descriptor_string(bkpinfo->backup_media_type)); 1391 1388 } else if (scratchLL > 4) { 1392 1389 sprintf(tmp, 1393 _("Your backup will occupy one meeeeellion media! (maybe %s)"),1390 "Your backup will occupy one meeeeellion media! (maybe %s)", 1394 1391 number_to_text((int) (scratchLL + 1))); 1395 1392 } else { 1396 sprintf(tmp, _("Your backup will occupy approximately %s media."),1393 sprintf(tmp, "Your backup will occupy approximately %s media.", 1397 1394 number_to_text((int) (scratchLL + 1))); 1398 1395 }
Note:
See TracChangeset
for help on using the changeset viewer.