mirror of
https://github.com/mirror/wget.git
synced 2025-01-06 10:20:56 +08:00
[svn] Gettext-ize previously missed messages.
By Benno Schulenberg.
This commit is contained in:
parent
4f22c2f567
commit
4206f96614
@ -1,6 +1,12 @@
|
||||
2005-06-15 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* ftp-basic.c (ftp_pwd): Handle malformed PWD response.
|
||||
* http.c (gethttp): Also report the system error when the POST
|
||||
data file is missing.
|
||||
|
||||
2005-06-15 Benno Schulenberg <benno@nietvergeten.nl>
|
||||
|
||||
* ftp.c, http.c, connect.c, cookies.c, html-url.c, init.c, res.c:
|
||||
Gettext-ize messages that were previously missed.
|
||||
|
||||
2005-06-15 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
|
@ -344,7 +344,7 @@ connect_to_ip (const ip_address *ip, int port, const char *print)
|
||||
if (sock >= 0)
|
||||
fd_close (sock);
|
||||
if (print)
|
||||
logprintf (LOG_VERBOSE, "failed: %s.\n", strerror (errno));
|
||||
logprintf (LOG_VERBOSE, _("failed: %s.\n"), strerror (errno));
|
||||
errno = save_errno;
|
||||
return -1;
|
||||
}
|
||||
|
@ -862,7 +862,7 @@ cookie_handle_set_cookie (struct cookie_jar *jar,
|
||||
if (!check_domain_match (cookie->domain, host))
|
||||
{
|
||||
logprintf (LOG_NOTQUIET,
|
||||
"Cookie coming from %s attempted to set domain to %s\n",
|
||||
_("Cookie coming from %s attempted to set domain to %s\n"),
|
||||
escnonprint (host), escnonprint (cookie->domain));
|
||||
xfree (cookie->domain);
|
||||
goto copy_domain;
|
||||
@ -1317,7 +1317,7 @@ cookie_jar_load (struct cookie_jar *jar, const char *file)
|
||||
FILE *fp = fopen (file, "r");
|
||||
if (!fp)
|
||||
{
|
||||
logprintf (LOG_NOTQUIET, "Cannot open cookies file `%s': %s\n",
|
||||
logprintf (LOG_NOTQUIET, _("Cannot open cookies file `%s': %s\n"),
|
||||
file, strerror (errno));
|
||||
return;
|
||||
}
|
||||
|
@ -1111,7 +1111,7 @@ ftp_loop_internal (struct url *u, struct fileinfo *f, ccon *con)
|
||||
if (opt.noclobber && file_exists_p (con->target))
|
||||
{
|
||||
logprintf (LOG_VERBOSE,
|
||||
_("File `%s' already there, not retrieving.\n"), con->target);
|
||||
_("File `%s' already there; not retrieving.\n"), con->target);
|
||||
/* If the file is there, we suppose it's retrieved OK. */
|
||||
return RETROK;
|
||||
}
|
||||
|
@ -702,7 +702,7 @@ get_urls_file (const char *file)
|
||||
url = url_parse (url_text, &up_error_code);
|
||||
if (!url)
|
||||
{
|
||||
logprintf (LOG_NOTQUIET, "%s: Invalid URL %s: %s\n",
|
||||
logprintf (LOG_NOTQUIET, _("%s: Invalid URL %s: %s\n"),
|
||||
file, url_text, url_error (up_error_code));
|
||||
xfree (url_text);
|
||||
continue;
|
||||
|
@ -1365,8 +1365,8 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
|
||||
post_data_size = file_size (opt.post_file_name);
|
||||
if (post_data_size == -1)
|
||||
{
|
||||
logprintf (LOG_NOTQUIET, "POST data file missing: %s\n",
|
||||
opt.post_file_name);
|
||||
logprintf (LOG_NOTQUIET, _("POST data file missing: %s (%s)\n"),
|
||||
opt.post_file_name, strerror (errno));
|
||||
post_data_size = 0;
|
||||
}
|
||||
}
|
||||
@ -2040,7 +2040,7 @@ http_loop (struct url *u, char **newloc, char **local_file, const char *referer,
|
||||
/* If opt.noclobber is turned on and file already exists, do not
|
||||
retrieve the file */
|
||||
logprintf (LOG_VERBOSE, _("\
|
||||
File `%s' already there, will not retrieve.\n"), *hstat.local_file);
|
||||
File `%s' already there; not retrieving.\n\n"), *hstat.local_file);
|
||||
/* If the file is there, we suppose it's retrieved OK. */
|
||||
*dt |= RETROKF;
|
||||
|
||||
@ -2440,7 +2440,7 @@ The sizes do not match (local %s) -- retrieving.\n"),
|
||||
else if (!opt.kill_longer) /* meaning we got more than expected */
|
||||
{
|
||||
logprintf (LOG_VERBOSE,
|
||||
_("%s (%s) - `%s' saved [%s/%s])\n\n"),
|
||||
_("%s (%s) - `%s' saved [%s/%s]\n\n"),
|
||||
tms, tmrate, locf,
|
||||
number_to_static_string (hstat.len),
|
||||
number_to_static_string (hstat.contlen));
|
||||
|
Loading…
Reference in New Issue
Block a user