From 1372968ab02d75a8ab41ff1d1dee2f31ffe848cf Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 2 Jul 1996 04:48:32 +0000 Subject: [PATCH] (do_link): Update messages to ease translation. Suggestion from Santiago Vila. --- src/ln.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ln.c b/src/ln.c index ee3e793..a2c37d7 100644 --- a/src/ln.c +++ b/src/ln.c @@ -37,9 +37,9 @@ int symlink (); #endif #ifdef S_ISLNK -# define SYMBOLIC_SPACE_STRING symbolic_link ? _("symbolic ") : "" +# define LINK_TYPE symbolic_link ? _("symbolic link") : _("hard link") #else -# define SYMBOLIC_SPACE_STRING "" +# define LINK_TYPE "" #endif /* Construct a string NEW_DEST by concatenating DEST, a slash, and @@ -289,7 +289,7 @@ do_link (const char *source, const char *dest) } if (verbose) - printf (_("create %slink %s to %s\n"), SYMBOLIC_SPACE_STRING, + printf (_("create %s %s to %s\n"), LINK_TYPE, dest, source); if ((*linkfunc) (source, dest) == 0) @@ -297,8 +297,8 @@ do_link (const char *source, const char *dest) return 0; } - error (0, errno, _("cannot %slink `%s' to `%s'"), SYMBOLIC_SPACE_STRING, - source, dest); + error (0, errno, _("cannot create %s `%s' to `%s'"), LINK_TYPE, + dest, source); if (dest_backup) { -- 2.7.4