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

[PATCH] refactoring of a message for localizability

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

Hi,

This patch refactor a message at subversion/libsvn_repos/dump.c
because the current message can be only partly localized.
With this patch, translators can translate two whole messages correctly.

Thanks,

- nori

Log:
Refactor a message output in executing 'svnadmin dump' for
localizability because the old message can be only partly translated.
Now translators can translate two whole messages correctly.

* subversion/libsvn_repos/dump.c
  (svn_repos_dump_fs2): Divide a message with a conditional expression
    to two complete messages.

Index: subversion/libsvn_repos/dump.c
===================================================================
--- subversion/libsvn_repos/dump.c (revision 13145)
+++ subversion/libsvn_repos/dump.c (working copy)
@@ -1041,8 +1041,10 @@
 
     loop_end:
       SVN_ERR (svn_stream_printf (feedback_stream, pool,
- _("* %s revision %ld.\n"),
- dumping ? "Dumped" : "Verified", to_rev));
+ dumping
+ ? _("* Dumped revision %ld.\n")
+ : _("* Verified revision %ld.\n"),
+ to_rev));
     }
 
   svn_pool_destroy (subpool);

---------------------------------------------------------------------
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:27:40 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.