subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1581841 - /subversion/trunk/subversion/svnadmin/svnadmin.c
Date Wed, 26 Mar 2014 13:53:56 GMT
Author: julianfoad
Date: Wed Mar 26 13:53:56 2014
New Revision: 1581841

URL: http://svn.apache.org/r1581841
Log:
* subversion/svnadmin/svnadmin.c
  (target_arg_to_dirent, parse_args): Mark error messages for translation.

Modified:
    subversion/trunk/subversion/svnadmin/svnadmin.c

Modified: subversion/trunk/subversion/svnadmin/svnadmin.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnadmin/svnadmin.c?rev=1581841&r1=1581840&r2=1581841&view=diff
==============================================================================
--- subversion/trunk/subversion/svnadmin/svnadmin.c (original)
+++ subversion/trunk/subversion/svnadmin/svnadmin.c Wed Mar 26 13:53:56 2014
@@ -591,7 +591,7 @@ target_arg_to_dirent(const char **dirent
   SVN_ERR(svn_utf_cstring_to_utf8(&path, arg, pool));
   if (svn_path_is_url(path))
     return svn_error_createf(SVN_ERR_CL_ARG_PARSING_ERROR, NULL,
-                             "Path '%s' is not a local path", path);
+                             _("Path '%s' is not a local path"), path);
   *dirent = svn_dirent_internal_style(path, pool);
   return SVN_NO_ERROR;
 }
@@ -620,10 +620,10 @@ parse_args(apr_array_header_t **args,
 
   if ((min_expected >= 0) && (num_args < min_expected))
     return svn_error_create(SVN_ERR_CL_INSUFFICIENT_ARGS, 0,
-                            "Not enough arguments");
+                            _("Not enough arguments"));
   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"));
   if (args)
     {
       *args = apr_array_make(pool, num_args, sizeof(const char *));



Mime
View raw message