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

[PATCH] add more gettext support for subversion/libsvn_repos/load.c

From: Kobayashi Noritada <nori1_at_dolphin.c.u-tokyo.ac.jp>
Date: 2005-02-25 08:45:56 CET

Hi,

This patch adds more gettext support for subversion/libsvn_repos/load.c.

Thanks,

- nori

Log:
Add more gettext support for subversion/libsvn_repos/load.c.

Index: subversion/libsvn_repos/load.c
===================================================================
--- subversion/libsvn_repos/load.c (revision 13145)
+++ subversion/libsvn_repos/load.c (working copy)
@@ -992,14 +992,14 @@
     case svn_node_action_change:
       {
         SVN_ERR (svn_stream_printf (pb->outstream, pool,
- " * editing path : %s ...",
+ _(" * editing path : %s ..."),
                                     nb->path));
         break;
       }
     case svn_node_action_delete:
       {
         SVN_ERR (svn_stream_printf (pb->outstream, pool,
- " * deleting path : %s ...",
+ _(" * deleting path : %s ..."),
                                     nb->path));
         SVN_ERR (svn_fs_delete (rb->txn_root, nb->path, pool));
         break;
@@ -1007,7 +1007,7 @@
     case svn_node_action_add:
       {
         SVN_ERR (svn_stream_printf (pb->outstream, pool,
- " * adding path : %s ...",
+ _(" * adding path : %s ..."),
                                     nb->path));
 
         SVN_ERR (maybe_add_with_history (nb, rb, pool));
@@ -1016,7 +1016,7 @@
     case svn_node_action_replace:
       {
         SVN_ERR (svn_stream_printf (pb->outstream, pool,
- " * replacing path : %s ...",
+ _(" * replacing path : %s ..."),
                                     nb->path));
 
         SVN_ERR (svn_fs_delete (rb->txn_root, nb->path, pool));
@@ -1162,7 +1162,7 @@
   struct parse_baton *pb = rb->pb;
   apr_size_t len = 7;
 
- SVN_ERR (svn_stream_write (pb->outstream, " done.\n", &len));
+ SVN_ERR (svn_stream_write (pb->outstream, _(" done.\n"), &len));
   
   return SVN_NO_ERROR;
 }

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 25 08:47:27 2005

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