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>
* bootstrap: Update from gnulib.

View File

@ -5,8 +5,12 @@
# Package source files
lib/error.c
lib/gai_strerror.c
lib/getopt.c
lib/quotearg.c
lib/spawn-pipe.c
lib/w32spawn.h
lib/wait-process.c
lib/xalloc-die.c
src/connect.c
src/convert.c
@ -32,3 +36,4 @@ src/retr.c
src/spider.c
src/url.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>
* gnutls.c (ssl_check_certificate): deinit gnutls_x509_crt_t.

View File

@ -1049,7 +1049,7 @@ main (int argc, char **argv)
}
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);
}
else

View File

@ -323,7 +323,7 @@ fork_to_background (void)
rv = fake_fork_child ();
if (rv < 0)
{
fprintf (stderr, "fake_fork_child() failed\n");
fprintf (stderr, _("fake_fork_child() failed\n"));
abort ();
}
else if (rv == 0)
@ -331,7 +331,7 @@ fork_to_background (void)
/* We're the parent. */
fake_fork ();
/* If fake_fork() returns, it failed. */
fprintf (stderr, "fake_fork() failed\n");
fprintf (stderr, _("fake_fork() failed\n"));
abort ();
}
/* If we get here, we're the child. */
@ -646,7 +646,7 @@ set_windows_fd_as_blocking_socket (int fd)
if(ret)
{
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 ()));
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. */
if (opt.delete_after || opt.spider)
{
logprintf (LOG_VERBOSE, "Removing %s.\n", rfile);
logprintf (LOG_VERBOSE, _("Removing %s.\n"), rfile);
if (unlink (rfile))
logprintf (LOG_NOTQUIET, "unlink: %s\n",
strerror (errno));