Mercurial > vim
diff src/diff.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 | 6740c499de13 |
children | dc67449d648c |
line wrap: on
line diff
--- 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;