comparison src/vim.h @ 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 0e9b2971d7c3
children cad480bac9e1
comparison
equal deleted inserted replaced
13801:bc05f0849f3a 13802:378f9f8e6d8f
2184 * BROWSE_FILTER_DEFAULT should start with a "*" pattern. 2184 * BROWSE_FILTER_DEFAULT should start with a "*" pattern.
2185 */ 2185 */
2186 #ifdef FEAT_BROWSE 2186 #ifdef FEAT_BROWSE
2187 # ifdef BACKSLASH_IN_FILENAME 2187 # ifdef BACKSLASH_IN_FILENAME
2188 # define BROWSE_FILTER_MACROS \ 2188 # define BROWSE_FILTER_MACROS \
2189 (char_u *)"Vim macro files (*.vim)\t*.vim\nAll Files (*.*)\t*.*\n" 2189 (char_u *)N_("Vim macro files (*.vim)\t*.vim\nAll Files (*.*)\t*.*\n")
2190 # define BROWSE_FILTER_ALL_FILES (char_u *)"All Files (*.*)\t*.*\n" 2190 # define BROWSE_FILTER_ALL_FILES (char_u *)N_("All Files (*.*)\t*.*\n")
2191 # define BROWSE_FILTER_DEFAULT \ 2191 # define BROWSE_FILTER_DEFAULT \
2192 (char_u *)"All Files (*.*)\t*.*\nC source (*.c, *.h)\t*.c;*.h\nC++ source (*.cpp, *.hpp)\t*.cpp;*.hpp\nVB code (*.bas, *.frm)\t*.bas;*.frm\nVim files (*.vim, _vimrc, _gvimrc)\t*.vim;_vimrc;_gvimrc\n" 2192 (char_u *)N_("All Files (*.*)\t*.*\nC source (*.c, *.h)\t*.c;*.h\nC++ source (*.cpp, *.hpp)\t*.cpp;*.hpp\nVB code (*.bas, *.frm)\t*.bas;*.frm\nVim files (*.vim, _vimrc, _gvimrc)\t*.vim;_vimrc;_gvimrc\n")
2193 # else 2193 # else
2194 # define BROWSE_FILTER_MACROS \ 2194 # define BROWSE_FILTER_MACROS \
2195 (char_u *)"Vim macro files (*.vim)\t*.vim\nAll Files (*)\t*\n" 2195 (char_u *)N_("Vim macro files (*.vim)\t*.vim\nAll Files (*)\t*\n")
2196 # define BROWSE_FILTER_ALL_FILES (char_u *)"All Files (*)\t*\n" 2196 # define BROWSE_FILTER_ALL_FILES (char_u *)N_("All Files (*)\t*\n")
2197 # define BROWSE_FILTER_DEFAULT \ 2197 # define BROWSE_FILTER_DEFAULT \
2198 (char_u *)"All Files (*)\t*\nC source (*.c, *.h)\t*.c;*.h\nC++ source (*.cpp, *.hpp)\t*.cpp;*.hpp\nVim files (*.vim, _vimrc, _gvimrc)\t*.vim;_vimrc;_gvimrc\n" 2198 (char_u *)N_("All Files (*)\t*\nC source (*.c, *.h)\t*.c;*.h\nC++ source (*.cpp, *.hpp)\t*.cpp;*.hpp\nVim files (*.vim, _vimrc, _gvimrc)\t*.vim;_vimrc;_gvimrc\n")
2199 # endif 2199 # endif
2200 # define BROWSE_SAVE 1 /* flag for do_browse() */ 2200 # define BROWSE_SAVE 1 /* flag for do_browse() */
2201 # define BROWSE_DIR 2 /* flag for do_browse() */ 2201 # define BROWSE_DIR 2 /* flag for do_browse() */
2202 #endif 2202 #endif
2203 2203