]> sjero.net Git - wget/commitdiff
Translation fixes.
authorPeter Pisar <petr.pisar@atlas.cz>
Sun, 5 Jul 2009 21:35:21 +0000 (14:35 -0700)
committerPeter Pisar <petr.pisar@atlas.cz>
Sun, 5 Jul 2009 21:35:21 +0000 (14:35 -0700)
src/ChangeLog
src/gnutls.c
src/http.c
src/main.c
src/netrc.c

index 45a665721ab6401acdf7017d43b65ff74489a1dd..60a71dbb0a090f0072361d011563fc31d2651fb7 100644 (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.
index 5480cde34392b31b52dd1210e5b901678bdf1e5c..dfbe8bf525fea25d84c14ad6b6aa9e15a72e05ef 100644 (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);
index 974951a1c580357866741f8b0630d6afc138f425..311cb97289537c3bf10e3435f69a536acf88bb16 100644 (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;
index 713b240ac4203759dd0c42b8886122f332a35d81..f7ea1b341b9fe29b007156db5384d595080b72b7 100644 (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\
index e6c0d12c0363cb86d924862224b5c50f7d67e195..73de0d0786f9263c98f5848536f708c56ef9de06 100644 (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;
             }