1 --- elinks-0.11.3/src/util/file.h.orig 2007-12-02 01:03:26.631355000 +0100
2 +++ elinks-0.11.3/src/util/file.h 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/po/pl.po.orig 2007-04-15 22:51:02.000000000 +0200
24 +++ elinks-0.11.3/po/pl.po 2007-12-02 01:29:45.701341779 +0100
25 @@ -7428,6 +7428,18 @@
26 msgid "Use EPSV instead of EPRT (passive vs active mode, IPv6 only)."
27 msgstr "U¿ywaj EPSV zamiast EPRT (tryb pasywny kontra aktywny, tylko IPv6)."
29 +#: src/protocol/ftp/ftp.c:1160 src/util/file.c:464
33 +#: src/protocol/ftp/ftp.c:1162 src/util/file.c:466
37 +#: src/protocol/ftp/ftp.c:1165 src/protocol/ftp/ftp.c:1172 src/util/file.c:473
42 #: src/protocol/gopher/gopher.c:46
44 --- elinks-0.12pre1/src/protocol/ftp/ftp.c.old 2008-07-01 18:51:59.000000000 +0200
45 +++ elinks-0.12pre1/src/protocol/ftp/ftp.c 2008-07-01 18:59:09.000000000 +0200
46 @@ -1185,7 +1185,7 @@ display_dir_entry(struct cache_entry *ca
47 /* LC_TIME=fi_FI.UTF_8 can generate "elo___ 31 23:59"
48 * where each _ denotes U+00A0 encoded as 0xC2 0xA0,
49 * thus needing a 19-byte buffer. */
50 - unsigned char date[80];
51 + unsigned char date[MAX_STR_LEN];
54 if (ftp_info->local_time_zone)
55 @@ -1195,16 +1195,16 @@ display_dir_entry(struct cache_entry *ca
57 if (current_time > when + 6L * 30L * 24L * 60L * 60L
58 || current_time < when - 60L * 60L)
60 + fmt = gettext("%b %e %Y");
62 - fmt = "%b %e %H:%M";
63 + fmt = gettext("%b %e %H:%M");
65 wr = strftime(date, sizeof(date), fmt, when_tm);
66 add_cp_html_to_string(&string, format->libc_codepage,
70 - add_to_string(&string, " ");
71 + add_to_string(&string, gettext(" "));
72 /* TODO: Above, the number of spaces might not match the width
73 * of the string generated by strftime. It depends on the
74 * locale. So if ELinks knows the timestamps of some FTP
75 @@ -1218,8 +1218,6 @@ display_dir_entry(struct cache_entry *ca
76 * Any solution chosen here should also be applied to the
77 * file: protocol handler. */
79 - add_char_to_string(&string, ' ');
81 if (ftp_info->type == FTP_FILE_DIRECTORY && format->colorize_dir) {
82 add_to_string(&string, "<font color=\"");
83 add_to_string(&string, format->dircolor);