summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.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/ex_docmd.c
parent29ce409bfca52bb8a07e2975d06fd788458e9861 (diff)
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/ex_docmd.c')
-rw-r--r--src/ex_docmd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 29270ad488..66d2ad6d7b 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -9619,7 +9619,8 @@ ex_redir(exarg_T *eap)
browseFile = do_browse(BROWSE_SAVE,
(char_u *)_("Save Redirection"),
- fname, NULL, NULL, BROWSE_FILTER_ALL_FILES, curbuf);
+ fname, NULL, NULL,
+ (char_u *)_(BROWSE_FILTER_ALL_FILES), curbuf);
if (browseFile == NULL)
return; /* operation cancelled */
vim_free(fname);
@@ -9845,7 +9846,8 @@ ex_mkrc(
eap->cmdidx == CMD_mksession ? (char_u *)_("Save Session") :
# endif
(char_u *)_("Save Setup"),
- fname, (char_u *)"vim", NULL, BROWSE_FILTER_MACROS, NULL);
+ fname, (char_u *)"vim", NULL,
+ (char_u *)_(BROWSE_FILTER_MACROS), NULL);
if (browseFile == NULL)
goto theend;
fname = browseFile;