mirror of
https://github.com/git/git.git
synced 2026-08-10 17:15:14 +00:00
Merge branch 'js/i18n-no-location'
* js/i18n-no-location: gitk: commit translation files without file information
This commit is contained in:
5
Makefile
5
Makefile
@@ -70,7 +70,10 @@ gitk-wish: gitk GIT-TCLTK-VARS
|
||||
$(PO_TEMPLATE): gitk
|
||||
$(XGETTEXT) -kmc -LTcl -o $@ gitk
|
||||
update-po:: $(PO_TEMPLATE)
|
||||
$(foreach p, $(ALL_POFILES), echo Updating $p ; msgmerge -U $p $(PO_TEMPLATE) ; )
|
||||
$(foreach p, $(ALL_POFILES), echo Updating $p ; msgmerge -U --add-location $p $(PO_TEMPLATE) ; )
|
||||
@echo "Before committing changes, ensure that a clean-filter is installed:"; \
|
||||
echo; \
|
||||
echo " git config filter.gettext-no-location.clean \"msgcat --no-location -\""
|
||||
$(ALL_MSGFILES): %.msg : %.po
|
||||
@echo Generating catalog $@
|
||||
$(MSGFMT) --statistics --tcl -l $(basename $(notdir $<)) -d $(dir $@) $<
|
||||
|
||||
1
po/.gitattributes
vendored
Normal file
1
po/.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/*.po filter=gettext-no-location
|
||||
310
po/pt_br.po
310
po/pt_br.po
File diff suppressed because it is too large
Load Diff
314
po/pt_pt.po
314
po/pt_pt.po
File diff suppressed because it is too large
Load Diff
372
po/zh_cn.po
372
po/zh_cn.po
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user