Changeset 507 in MondoRescue for trunk/mondo/mondo/common/libmondo-files.c
- Timestamp:
- Apr 30, 2006, 2:04:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-files.c
r416 r507 13 13 #include "libmondo-files.h" 14 14 15 #include "lib-common-externs.h"16 17 15 #include "libmondo-tools-EXT.h" 18 #include " libmondo-gui-EXT.h"16 #include "newt-specific-EXT.h" 19 17 #include "libmondo-devices-EXT.h" 20 18 #include "libmondo-fork-EXT.h" … … 294 292 while (!kernel[0]) { 295 293 if (!ask_me_yes_or_no 296 ( "Kernel not found or invalid. Choose another?")) {294 (_("Kernel not found or invalid. Choose another?"))) { 297 295 return (1); 298 296 } 299 297 if (!popup_and_get_string 300 ( "Kernel path",301 "What is the full path and filename of your kernel, please?",298 (_("Kernel path"), 299 _("What is the full path and filename of your kernel, please?"), 302 300 kernel, MAX_STR_LEN / 4)) { 303 301 fatal_error … … 489 487 490 488 if (!does_file_exist(filename)) { 491 asprintf(&tmp, "Tring to get last line of nonexistent file (%s)",489 asprintf(&tmp, _("Tring to get last line of nonexistent file (%s)"), 492 490 filename); 493 491 log_it(tmp); … … 884 882 if (res) { 885 883 asprintf(&errorstr, 886 "Please install '%s'. I cannot find it on your system.",884 _("Please install '%s'. I cannot find it on your system."), 887 885 fname); 888 886 log_to_screen(errorstr); 889 887 paranoid_free(errorstr); 890 888 log_to_screen 891 ( "There may be an hyperlink at http://www.mondorescue.org which");892 log_to_screen( "will take you to the relevant (missing) package.");889 (_("There may be an hyperlink at http://www.mondorescue.org which")); 890 log_to_screen(_("will take you to the relevant (missing) package.")); 893 891 return (1); 894 892 } else { … … 998 996 999 997 asprintf(&tmp, "%s/payload.tgz", g_mondo_home); 998 999 /* i18n */ 1000 asprintf(&command, CP_BIN " --parents /usr/share/locale/*/LC_MESSAGES/mondo.mo %s",bkpinfo->scratchdir); 1001 log_msg(4, "command = %s", command); 1002 run_program_and_log_output(command, 1); 1003 paranoid_free(command); 1004 1000 1005 if (does_file_exist(tmp)) { 1001 1006 log_it("Untarring payload %s to scratchdir %s", tmp, … … 1271 1276 if (scratchLL <= 1) { 1272 1277 asprintf(&tmp, 1273 "Your backup will probably occupy a single %s. Maybe two.",1278 _("Your backup will probably occupy a single %s. Maybe two."), 1274 1279 media_descriptor_string(bkpinfo->backup_media_type)); 1275 1280 } else { 1276 asprintf(&tmp, "Your backup will occupy approximately %s media.",1281 asprintf(&tmp, _("Your backup will occupy approximately %s media."), 1277 1282 number_to_text((int) (scratchLL + 1))); 1278 1283 }
Note:
See TracChangeset
for help on using the changeset viewer.