subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arfre...@apache.org
Subject svn commit: r1157682 - /subversion/trunk/subversion/svn/status.c
Date Sun, 14 Aug 2011 23:06:09 GMT
Author: arfrever
Date: Sun Aug 14 23:06:09 2011
New Revision: 1157682

URL: http://svn.apache.org/viewvc?rev=1157682&view=rev
Log:
Follow-up to r1157537:

* subversion/svn/status.c
  (print_status): Include %s in translated messages to support languages,
   in which "from" / "to" are postpositions.

Modified:
    subversion/trunk/subversion/svn/status.c

Modified: subversion/trunk/subversion/svn/status.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/status.c?rev=1157682&r1=1157681&r2=1157682&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/status.c (original)
+++ subversion/trunk/subversion/svn/status.c Sun Aug 14 23:06:09 2011
@@ -268,8 +268,11 @@ print_status(const char *path,
       SVN_ERR(svn_dirent_get_absolute(&cwd, "", pool));
       relpath = make_relpath(cwd, status->moved_from_abspath, pool, pool);
       relpath = svn_dirent_local_style(relpath, pool);
-      moved_from_line = apr_psprintf(pool, "\n        > %s %s",
-                                     _("moved from"), relpath);
+      moved_from_line = apr_psprintf(pool,
+                                     apr_psprintf(pool,
+                                                  "\n        > %s",
+                                                  _("moved from %s")),
+                                     relpath);
     }
 
   /* Only print an extra moved-to line for the op-root of a move-away.
@@ -285,8 +288,11 @@ print_status(const char *path,
       SVN_ERR(svn_dirent_get_absolute(&cwd, "", pool));
       relpath = make_relpath(cwd, status->moved_to_abspath, pool, pool);
       relpath = svn_dirent_local_style(relpath, pool);
-      moved_to_line = apr_psprintf(pool, "\n        > %s %s",
-                                   _("moved to"), relpath);
+      moved_to_line = apr_psprintf(pool,
+                                   apr_psprintf(pool,
+                                                "\n        > %s",
+                                                _("moved to %s")),
+                                   relpath);
     }
 
   if (detailed)



Mime
View raw message