0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.0.1773: dialog messages are not translated

Problem:    Dialog messages are not translated.
Solution:   Add N_() and _() where needed. (Sergey Alyoshin)
This commit is contained in:
Bram Moolenaar
2018-04-29 12:22:56 +02:00
parent 29ce409bfc
commit c36651b4b9
11 changed files with 26 additions and 19 deletions

View File

@@ -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;