diff src/quickfix.c @ 13802:378f9f8e6d8f v8.0.1773

patch 8.0.1773: dialog messages are not translated commit https://github.com/vim/vim/commit/c36651b4b946333dce0a916326d821d2562cf39d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 29 12:22:56 2018 +0200 patch 8.0.1773: dialog messages are not translated Problem: Dialog messages are not translated. Solution: Add N_() and _() where needed. (Sergey Alyoshin)
author Christian Brabandt <cb@256bit.org>
date Sun, 29 Apr 2018 12:30:09 +0200
parents e4dc4ede9ef8
children 31bb8e1f7625
line wrap: on
line diff
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -4115,7 +4115,8 @@ ex_cfile(exarg_T *eap)
     if (cmdmod.browse)
     {
 	char_u *browse_file = do_browse(0, (char_u *)_("Error file"), eap->arg,
-				   NULL, NULL, BROWSE_FILTER_ALL_FILES, NULL);
+				   NULL, NULL,
+				   (char_u *)_(BROWSE_FILTER_ALL_FILES), NULL);
 	if (browse_file == NULL)
 	    return;
 	set_string_option_direct((char_u *)"ef", -1, browse_file, OPT_FREE, 0);