aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-07-17 09:01:42 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-07-17 09:02:37 -0400
commitb99bbc680e14bb18c54c08786f39a32bc0139695 (patch)
tree5fabe8dcb7b91a78b586055c587308eab50c1ff3
parenteab17e5093687760e67d26696b8cecccb20b364a (diff)
downloadrneovim-b99bbc680e14bb18c54c08786f39a32bc0139695.tar.gz
rneovim-b99bbc680e14bb18c54c08786f39a32bc0139695.tar.bz2
rneovim-b99bbc680e14bb18c54c08786f39a32bc0139695.zip
vim-patch:8.0.0727: message about what register to yank into is not translated
Problem: Message about what register to yank into is not translated. (LemonBoy) Solution: Add _(). https://github.com/vim/vim/commit/60d0e97497f1104b31f711072ef174af533b61fa
-rw-r--r--src/nvim/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index b30be0bada..67171cb27e 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -2514,7 +2514,7 @@ static void op_yank_reg(oparg_T *oap, bool message, yankreg_T *reg, bool append)
if (oap->regname == NUL) {
*namebuf = NUL;
} else {
- vim_snprintf(namebuf, sizeof(namebuf), " into \"%c", oap->regname);
+ vim_snprintf(namebuf, sizeof(namebuf), _(" into \"%c"), oap->regname);
}
// redisplay now, so message is not deleted