1 --- elinks-0.11.3/src/util/file.c.orig 2007-12-02 01:03:26.631355000 +0100
2 +++ elinks-0.11.3/src/util/file.c 2007-12-02 01:19:06.416911036 +0100
3 @@ -461,16 +461,16 @@ stat_date(struct string *string, struct
5 if (current_time > when + 6L * 30L * 24L * 60L * 60L
6 || current_time < when - 60L * 60L)
8 + fmt = gettext("%b %e %Y");
10 - fmt = "%b %e %H:%M";
11 + fmt = gettext("%b %e %H:%M");
13 add_date_to_string(string, fmt, &when);
14 add_char_to_string(string, ' ');
18 - add_to_string(string, " ");
19 + add_to_string(string, gettext(" "));
23 --- elinks-0.11.3/src/protocol/ftp/ftp.c.orig 2007-12-02 01:03:26.739361000 +0100
24 +++ elinks-0.11.3/src/protocol/ftp/ftp.c 2007-12-02 01:23:34.644196437 +0100
25 @@ -1147,7 +1147,7 @@ display_dir_entry(struct cache_entry *ca
26 time_t when = ftp_info->mtime;
29 - unsigned char date[13];
30 + unsigned char date[MAX_STR_LEN];
33 if (ftp_info->local_time_zone)
34 @@ -1157,20 +1157,19 @@ display_dir_entry(struct cache_entry *ca
36 if (current_time > when + 6L * 30L * 24L * 60L * 60L
37 || current_time < when - 60L * 60L)
39 + fmt = gettext("%b %e %Y");
41 - fmt = "%b %e %H:%M";
42 + fmt = gettext("%b %e %H:%M");
44 - wr = strftime(date, sizeof(date), fmt, when_tm);
46 - while (wr < sizeof(date) - 1) date[wr++] = ' ';
47 - date[sizeof(date) - 1] = '\0';
48 - add_to_string(&string, date);
49 + if (strftime(date, sizeof(date), fmt, when_tm) <= 0)
50 + add_to_string(&string, gettext(" "));
52 + add_to_string(&string, date);
53 + add_char_to_string(&string, ' ');
57 - add_to_string(&string, " ");
59 - add_char_to_string(&string, ' ');
60 + add_to_string(&string, gettext(" "));
62 if (ftp_info->type == FTP_FILE_DIRECTORY && colorize_dir) {
63 add_to_string(&string, "<font color=\"");
64 --- elinks-0.11.3/po/pl.po.orig 2007-04-15 22:51:02.000000000 +0200
65 +++ elinks-0.11.3/po/pl.po 2007-12-02 01:29:45.701341779 +0100
66 @@ -7428,6 +7428,18 @@
67 msgid "Use EPSV instead of EPRT (passive vs active mode, IPv6 only)."
68 msgstr "U¿ywaj EPSV zamiast EPRT (tryb pasywny kontra aktywny, tylko IPv6)."
70 +#: src/protocol/ftp/ftp.c:1160 src/util/file.c:464
74 +#: src/protocol/ftp/ftp.c:1162 src/util/file.c:466
78 +#: src/protocol/ftp/ftp.c:1165 src/protocol/ftp/ftp.c:1172 src/util/file.c:473
83 #: src/protocol/gopher/gopher.c:46