Just that.
Two strings marked up for translation.
* libsvn_subr/opt.c clients/cmdline/log-cmd.c: Two strings marked up for
translation.
Index: libsvn_subr/opt.c
===================================================================
--- libsvn_subr/opt.c (revisión: 12928)
+++ libsvn_subr/opt.c (copia de trabajo)
@@ -234,7 +234,7 @@
opts = apr_psprintf (pool, "--%s", opt->name);
if (opt->has_arg)
- opts = apr_pstrcat (pool, opts, " arg", NULL);
+ opts = apr_pstrcat (pool, opts, _(" arg"), NULL);
if (doc)
opts = apr_psprintf (pool, "%-24s : %s", opts,
Index: clients/cmdline/log-cmd.c
===================================================================
--- clients/cmdline/log-cmd.c (revisión: 12928)
+++ clients/cmdline/log-cmd.c (copia de trabajo)
@@ -214,10 +214,10 @@
if (! lb->omit_log_message)
{
lines = num_lines (msg);
- /*### FIXME: how do we translate this without ngettext?! */
SVN_ERR (svn_cmdline_printf (pool,
- " | %d line%s", lines,
- (lines > 1) ? "s" : ""));
+ (lines == 1) ?
+ _(" | %d line") : _(" | %d lines"),
+ lines));
}
SVN_ERR (svn_cmdline_printf (pool, "\n"));
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 7 04:32:59 2005