1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Translation fixes.

This commit is contained in:
Peter Pisar 2009-07-05 14:35:21 -07:00
parent ba909b24ec
commit 2524076dd2
5 changed files with 21 additions and 11 deletions

View File

@ -1,3 +1,13 @@
2009-07-05 Peter Pisar <petr.pisar@atlas.cz>
* main.c (print_version): Mark initial line for translation, along
with (env), (user), and (system). Change copyright year to 2009.
* http.c (http_loop): Space after colon.
* gnutls.c (ssl_check_certificate): Use quote function, rather
than explicit quotes.
2009-07-05 Micah Cowan <micah@cowan.name>
* Makefile.am (version.c): Add dependency on configure.ac.

View File

@ -290,8 +290,8 @@ ssl_check_certificate (int fd, const char *host)
if (!gnutls_x509_crt_check_hostname (cert, host))
{
logprintf (LOG_NOTQUIET,
_("The certificate's owner does not match hostname '%s'\n"),
host);
_("The certificate's owner does not match hostname %s\n"),
quote (host));
success = false;
}
gnutls_x509_crt_deinit (cert);

View File

@ -2782,7 +2782,7 @@ Remote file exists.\n\n"));
if (finished)
{
logprintf (LOG_NONVERBOSE,
_("%s URL:%s %2d %s\n"),
_("%s URL: %s %2d %s\n"),
tms, u->url, hstat.statcode,
hstat.message ? quotearg_style (escape_quoting_style, hstat.message) : "");
goto exit;

View File

@ -779,10 +779,10 @@ print_version (void)
int i;
#ifdef __VMS
printf ("GNU Wget %s built on VMS %s %s.\n\n",
printf (_("GNU Wget %s built on VMS %s %s.\n\n"),
version_string, vms_arch(), vms_vers());
#else /* def __VMS */
printf ("GNU Wget %s built on %s.\n\n", version_string, OS_TYPE);
printf (_("GNU Wget %s built on %s.\n\n"), version_string, OS_TYPE);
#endif /* def __VMS */
/* compiled_features is a char*[]. We limit the characters per
line to MAX_CHARS_PER_LINE and prefix each line with a constant
@ -805,17 +805,17 @@ print_version (void)
env_wgetrc = wgetrc_env_file_name ();
if (env_wgetrc && *env_wgetrc)
{
printf (" %s (env)\n", env_wgetrc);
printf (_(" %s (env)\n"), env_wgetrc);
xfree (env_wgetrc);
}
user_wgetrc = wgetrc_user_file_name ();
if (user_wgetrc)
{
printf (" %s (user)\n", user_wgetrc);
printf (_(" %s (user)\n"), user_wgetrc);
xfree (user_wgetrc);
}
#ifdef SYSTEM_WGETRC
printf (" %s (system)\n", SYSTEM_WGETRC);
printf (_(" %s (system)\n"), SYSTEM_WGETRC);
#endif
format_and_print_line (locale_title,
@ -834,7 +834,7 @@ print_version (void)
/* TRANSLATORS: When available, an actual copyright character
(cirle-c) should be used in preference to "(C)". */
fputs (_("\
Copyright (C) 2008 Free Software Foundation, Inc.\n"), stdout);
Copyright (C) 2009 Free Software Foundation, Inc.\n"), stdout);
fputs (_("\
License GPLv3+: GNU GPL version 3 or later\n\
<http://www.gnu.org/licenses/gpl.html>.\n\

View File

@ -388,8 +388,8 @@ parse_netrc (const char *path)
if (premature_token)
{
fprintf (stderr, _("\
%s: %s:%d: warning: \"%s\" token appears before any machine name\n"),
exec_name, path, ln, premature_token);
%s: %s:%d: warning: %s token appears before any machine name\n"),
exec_name, path, ln, quote (premature_token));
premature_token = NULL;
}