mirror of
https://github.com/neovim/neovim.git
synced 2026-04-02 13:49:27 +00:00
vim-patch:2844765: translation: do not add message location as comments into vim.pot (#38587)
Let's add the --no-location to the xgettext command line call, so that
the generated vim.pot file does not contain the message location. Those
will get out of date soon and we don't want to update vim.pot just
because the location in a comment changes.
2844765e90
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -57,6 +57,7 @@ if(HAVE_WORKING_LIBINTL AND GETTEXT_FOUND AND XGETTEXT_PRG AND ICONV_PRG)
|
||||
OUTPUT ${NVIM_POT}
|
||||
COMMAND ${XGETTEXT_PRG} -o ${NVIM_POT} --default-domain=nvim
|
||||
--add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2
|
||||
--no-location
|
||||
-D ${CMAKE_CURRENT_SOURCE_DIR} -D ${CMAKE_CURRENT_BINARY_DIR}
|
||||
${NVIM_RELATIVE_SOURCES} ${PROJECT_SOURCE_DIR}/runtime/scripts/optwin.lua
|
||||
VERBATIM
|
||||
|
||||
Reference in New Issue
Block a user