Author: gstein
Date: Mon Jun  4 21:14:14 2012
New Revision: 1346155

URL: http://svn.apache.org/viewvc?rev=1346155&view=rev
Log:
Fix a couple places where I used N_() incorrectly. I was hoping to say
"don't bother translating this [because it is a developer error rather
than something a user would ever see]". But we don't actually have
such a macro. Just go ahead and translate these strings...

* subversion/libsvn_fs/editor.c:
  (can_modify, add_absent_cb): switch from N_() to _().

Modified:
    subversion/trunk/subversion/libsvn_fs/editor.c

Modified: subversion/trunk/subversion/libsvn_fs/editor.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs/editor.c?rev=1346155&r1=1346154&r2=1346155&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs/editor.c (original)
+++ subversion/trunk/subversion/libsvn_fs/editor.c Mon Jun  4 21:14:14 2012
@@ -214,7 +214,7 @@ can_modify(svn_fs_root_t *txn_root,
   if (!SVN_IS_VALID_REVNUM(revision))
     /* ### use a custom error code?  */
     return svn_error_createf(SVN_ERR_INCORRECT_PARAMS, NULL,
-                             N_("Revision for modifying '%s' is required"),
+                             _("Revision for modifying '%s' is required"),
                              fspath);
 #endif
 
@@ -451,7 +451,7 @@ add_absent_cb(void *baton,
   /* ### use a custom error code  */
   return svn_error_create(
            SVN_ERR_UNSUPPORTED_FEATURE, NULL,
-           N_("The filesystem does not support 'absent' nodes"));
+           _("The filesystem does not support 'absent' nodes"));
 }
 
 


Reply via email to