diff options
author | Jim Meyering <jim@meyering.net> | 1996-07-02 04:48:32 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-07-02 04:48:32 +0000 |
commit | 1372968ab02d75a8ab41ff1d1dee2f31ffe848cf (patch) | |
tree | 09bab071d85643381374a2f572dc5c28a23a7f20 /src | |
parent | d2b4bca42e4ede9c9e00a4bdf5cf82b4a072df5d (diff) | |
download | coreutils-1372968ab02d75a8ab41ff1d1dee2f31ffe848cf.tar.xz |
(do_link): Update messages to ease translation.
Suggestion from Santiago Vila.
Diffstat (limited to 'src')
-rw-r--r-- | src/ln.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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) { |