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

[PATCH] svnadmin- Change error strings to one that is already translated.

From: Noorul Islam K M <noorul_at_collab.net>
Date: Tue, 12 Jul 2011 16:30:49 +0530

Log
[[[

* subversion/svnadmin/main.c
  (parse_args): Change error strings to one that is already translated
    in the po files. Also use _().

Patch by: Noorul Islam K M <noorul{_AT_}collab.net>
]]]

Thanks and Regards
Noorul

Index: subversion/svnadmin/main.c
===================================================================
--- subversion/svnadmin/main.c (revision 1145479)
+++ subversion/svnadmin/main.c (working copy)
@@ -552,10 +552,10 @@
 
   if ((min_expected >= 0) && (num_args < min_expected))
     return svn_error_create(SVN_ERR_CL_INSUFFICIENT_ARGS, 0,
- "Not enough arguments");
+ _("Not enough arguments given"));
   if ((max_expected >= 0) && (num_args > max_expected))
     return svn_error_create(SVN_ERR_CL_ARG_PARSING_ERROR, 0,
- "Too many arguments");
+ _("Too many arguments given"));
   if (args)
     {
       *args = apr_array_make(pool, num_args, sizeof(const char *));
Received on 2011-07-12 13:03:09 CEST

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