[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Strings marked for translation

From: Nicolás Lichtmaier <nick_at_panoptico.reloco.com.ar>
Date: 2005-02-07 04:31:09 CET

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.