translation: do not add message location as comments into vim.pot
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. Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -268,7 +268,8 @@ $(PACKAGE).pot: $(PO_INPUTLIST) $(PO_VIM_INPUTLIST)
|
|||||||
@ cat ./vim_to_js >> ./allfiles
|
@ cat ./vim_to_js >> ./allfiles
|
||||||
# Create vim.pot.
|
# Create vim.pot.
|
||||||
$(XGETTEXT) --default-domain=$(PACKAGE) --output=$(PACKAGE).pot \
|
$(XGETTEXT) --default-domain=$(PACKAGE) --output=$(PACKAGE).pot \
|
||||||
--add-comments $(XGETTEXT_KEYWORDS) --files-from=./allfiles
|
--add-comments $(XGETTEXT_KEYWORDS) --files-from=./allfiles \
|
||||||
|
--no-location
|
||||||
# Fix Vim scripts names, so that "gf" works.
|
# Fix Vim scripts names, so that "gf" works.
|
||||||
$(VIMPROG) -u NONE --not-a-term -S fixfilenames.vim $(PACKAGE).pot \
|
$(VIMPROG) -u NONE --not-a-term -S fixfilenames.vim $(PACKAGE).pot \
|
||||||
$(PO_VIM_INPUTLIST)
|
$(PO_VIM_INPUTLIST)
|
||||||
|
3062
src/po/vim.pot
generated
3062
src/po/vim.pot
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user