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

Mark more strings for translation

This commit is contained in:
Nguyễn Thái Ngọc Duy 2012-09-02 16:33:09 +07:00 committed by Giuseppe Scrivano
parent e2cb2fa2e3
commit 74f6cb8884
6 changed files with 20 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2012-09-02 Nguyễn Thái Ngọc Duy <pclouds@gmail.com> (tiny change)
* po/POTFILES.in: Add more files.
2012-07-08 Giuseppe Scrivano <gscrivano@gnu.org> 2012-07-08 Giuseppe Scrivano <gscrivano@gnu.org>
* bootstrap: Update from gnulib. * bootstrap: Update from gnulib.

View File

@ -5,8 +5,12 @@
# Package source files # Package source files
lib/error.c lib/error.c
lib/gai_strerror.c
lib/getopt.c lib/getopt.c
lib/quotearg.c lib/quotearg.c
lib/spawn-pipe.c
lib/w32spawn.h
lib/wait-process.c
lib/xalloc-die.c lib/xalloc-die.c
src/connect.c src/connect.c
src/convert.c src/convert.c
@ -32,3 +36,4 @@ src/retr.c
src/spider.c src/spider.c
src/url.c src/url.c
src/utils.c src/utils.c
src/warc.c

View File

@ -1,3 +1,9 @@
2012-09-02 Nguyễn Thái Ngọc Duy <pclouds@gmail.com> (tiny change)
* src/main.c (main): mark more strings for translation.
* src/mswindows.c (fork_to_background): Likewise.
* src/recur.c (download_child_p): Likewise.
2012-08-28 Tim Ruehsen <tim.ruehsen@gmx.de> 2012-08-28 Tim Ruehsen <tim.ruehsen@gmx.de>
* gnutls.c (ssl_check_certificate): deinit gnutls_x509_crt_t. * gnutls.c (ssl_check_certificate): deinit gnutls_x509_crt_t.

View File

@ -1049,7 +1049,7 @@ main (int argc, char **argv)
} }
if (!userrc_ret) if (!userrc_ret)
{ {
fprintf (stderr, "Exiting due to error in %s\n", optarg); fprintf (stderr, _("Exiting due to error in %s\n"), optarg);
exit (2); exit (2);
} }
else else

View File

@ -323,7 +323,7 @@ fork_to_background (void)
rv = fake_fork_child (); rv = fake_fork_child ();
if (rv < 0) if (rv < 0)
{ {
fprintf (stderr, "fake_fork_child() failed\n"); fprintf (stderr, _("fake_fork_child() failed\n"));
abort (); abort ();
} }
else if (rv == 0) else if (rv == 0)
@ -331,7 +331,7 @@ fork_to_background (void)
/* We're the parent. */ /* We're the parent. */
fake_fork (); fake_fork ();
/* If fake_fork() returns, it failed. */ /* If fake_fork() returns, it failed. */
fprintf (stderr, "fake_fork() failed\n"); fprintf (stderr, _("fake_fork() failed\n"));
abort (); abort ();
} }
/* If we get here, we're the child. */ /* If we get here, we're the child. */
@ -646,7 +646,7 @@ set_windows_fd_as_blocking_socket (int fd)
if(ret) if(ret)
{ {
fprintf (stderr, fprintf (stderr,
"ioctl() failed. The socket could not be set as blocking.\n" ); _("ioctl() failed. The socket could not be set as blocking.\n") );
DEBUGP (("Winsock error: %d\n", WSAGetLastError ())); DEBUGP (("Winsock error: %d\n", WSAGetLastError ()));
abort (); abort ();
} }

View File

@ -641,7 +641,7 @@ download_child_p (const struct urlpos *upos, struct url *parent, int depth,
files after downloading or we're just running a spider. */ files after downloading or we're just running a spider. */
if (opt.delete_after || opt.spider) if (opt.delete_after || opt.spider)
{ {
logprintf (LOG_VERBOSE, "Removing %s.\n", rfile); logprintf (LOG_VERBOSE, _("Removing %s.\n"), rfile);
if (unlink (rfile)) if (unlink (rfile))
logprintf (LOG_NOTQUIET, "unlink: %s\n", logprintf (LOG_NOTQUIET, "unlink: %s\n",
strerror (errno)); strerror (errno));