Changeset 497 in MondoRescue for branches/stable/mondo/mondo/common/libmondo-files.c
- Timestamp:
- Apr 28, 2006, 12:34:03 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/mondo/common/libmondo-files.c
r415 r497 362 362 while (!kernel[0]) { 363 363 if (!ask_me_yes_or_no 364 ( "Kernel not found or invalid. Choose another?")) {364 (_("Kernel not found or invalid. Choose another?"))) { 365 365 return (1); 366 366 } 367 367 if (!popup_and_get_string 368 ( "Kernel path",369 "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?"), 370 370 kernel, MAX_STR_LEN / 4)) { 371 371 fatal_error … … 575 575 576 576 if (!does_file_exist(filename)) { 577 sprintf(tmp, "Tr ing to get last line of nonexistent file (%s)",577 sprintf(tmp, "Trying to get last line of nonexistent file (%s)", 578 578 filename); 579 579 log_it(tmp); … … 664 664 log_OS_error("Unable to openout cksumlist"); 665 665 paranoid_fclose(fin); 666 log_to_screen( "Can't open checksum list");666 log_to_screen(_("Can't open checksum list")); 667 667 return (1); 668 668 } … … 689 689 time_taken * 100 / (long) (percentage) - time_taken; 690 690 sprintf(tmp, 691 "%02d%% done %02d:%02d taken %02d:%02d remaining %-37s\r",691 _("%02d%% done %02d:%02d taken %02d:%02d remaining %-37s"), 692 692 percentage, (int) (time_taken / 60), 693 693 (int) (time_taken % 60), … … 1029 1029 sprintf(command, "which %s > /dev/null 2> /dev/null", fname); 1030 1030 sprintf(errorstr, 1031 "Please install '%s'. I cannot find it on your system.",1031 _("Please install '%s'. I cannot find it on your system."), 1032 1032 fname); 1033 1033 if (system(command)) { 1034 1034 log_to_screen(errorstr); 1035 1035 log_to_screen 1036 ( "There may be hyperlink at http://www.mondorescue.com which");1037 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.")); 1038 1038 return (1); 1039 1039 } else { … … 1150 1150 fatal_error("Failed to copy Mondo's stuff to scratchdir"); 1151 1151 } 1152 1153 /* i18n */ 1154 sprintf(command, CP_BIN " --parents /usr/share/locale/*/LC_MESSAGES/mondo.mo %s",bkpinfo->scratchdir); 1155 log_msg(4, "command = %s", command); 1156 run_program_and_log_output(command, 1); 1152 1157 1153 1158 sprintf(tmp, "%s/payload.tgz", g_mondo_home); … … 1384 1389 if (scratchLL <= 1) { 1385 1390 sprintf(tmp, 1386 "Your backup will probably occupy a single %s. Maybe two.",1391 _("Your backup will probably occupy a single %s. Maybe two."), 1387 1392 media_descriptor_string(bkpinfo->backup_media_type)); 1388 1393 } else if (scratchLL > 4) { 1389 1394 sprintf(tmp, 1390 "Your backup will occupy one meeeeellion media! (maybe %s)",1395 _("Your backup will occupy one meeeeellion media! (maybe %s)"), 1391 1396 number_to_text((int) (scratchLL + 1))); 1392 1397 } else { 1393 sprintf(tmp, "Your backup will occupy approximately %s media.",1398 sprintf(tmp, _("Your backup will occupy approximately %s media."), 1394 1399 number_to_text((int) (scratchLL + 1))); 1395 1400 }
Note:
See TracChangeset
for help on using the changeset viewer.