--- main/edl.c 2004-08-27 20:46:05.000000000 -0400 +++ main.working/edl.c 2004-09-12 20:52:01.000000000 -0400 @@ -30,7 +30,7 @@ if ((fd = fopen(edl_filename, "r")) == NULL) { mp_msg(MSGT_CPLAYER, MSGL_WARN, - "Invalid EDL file, cant open '%s' for reading!\n", + MSGTR_CannotOpenEDLFile, edl_filename); return (EDL_ERROR); } else @@ -47,7 +47,7 @@ } else { mp_msg(MSGT_CPLAYER, MSGL_WARN, - "Invalid EDL line: %s\n", line); + MSGTR_InvalidEDLLine, line); return (EDL_ERROR); } @@ -85,7 +85,7 @@ != 3) { mp_msg(MSGT_CPLAYER, MSGL_WARN, - "Badly formated EDL line [%d]. Discarding!\n", + MSGTR_DiscardingBadlyFormattedEDLLine, lineCount + 1, line); continue; } else @@ -95,10 +95,10 @@ if (start <= (next_edl_record - 1)->stop_sec) { mp_msg(MSGT_CPLAYER, MSGL_WARN, - "Invalid EDL line [%d]: %s", + MSGTR_InvalidEDLLineNumbered, lineCount, line); mp_msg(MSGT_CPLAYER, MSGL_WARN, - "Last stop position was [%f]; next start is [%f]. Entries must be in chronological order and cannot overlap. Discarding!\n", + MSGTR_DiscardingNonChronologicalEDLEntry, (next_edl_record - 1)->stop_sec, start); continue; } @@ -106,10 +106,10 @@ if (stop <= start) { mp_msg(MSGT_CPLAYER, MSGL_WARN, - "Invalid EDL line [%d]: %s", lineCount, + MSGTR_InvalidEDLLineNumbered, lineCount, line); mp_msg(MSGT_CPLAYER, MSGL_WARN, - "Stop time must follow start time. Discarding!\n"); + MSGTR_DiscardingNegativeLengthEDLEntry); continue; } next_edl_record->action = action;