summaryrefslogtreecommitdiff
path: root/src/diff.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-29 12:22:56 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-29 12:22:56 +0200
commitc36651b4b946333dce0a916326d821d2562cf39d (patch)
tree9bda30e7d6d0719595e66c123985c6d064fef793 /src/diff.c
parent29ce409bfca52bb8a07e2975d06fd788458e9861 (diff)
downloadvim-git-c36651b4b946333dce0a916326d821d2562cf39d.tar.gz
patch 8.0.1773: dialog messages are not translatedv8.0.1773
Problem: Dialog messages are not translated. Solution: Add N_() and _() where needed. (Sergey Alyoshin)
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c
index b69b69e31..cc9e6de8f 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -909,7 +909,8 @@ ex_diffpatch(exarg_T *eap)
if (cmdmod.browse)
{
browseFile = do_browse(0, (char_u *)_("Patch file"),
- eap->arg, NULL, NULL, BROWSE_FILTER_ALL_FILES, NULL);
+ eap->arg, NULL, NULL,
+ (char_u *)_(BROWSE_FILTER_ALL_FILES), NULL);
if (browseFile == NULL)
return; /* operation cancelled */
eap->arg = browseFile;