1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-12 09:56:30 +00:00

Move the logic that decides if untranslated messages need to be added to

help_mp.h into the helper script that generates those messages.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26832 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-05-18 23:33:46 +00:00
parent 955495414e
commit 5f7c758c80
2 changed files with 3 additions and 3 deletions

View File

@ -771,11 +771,8 @@ else
iconv -f UTF-8 -t $(CHARSET) "$(HELP_FILE)" >> help_mp.h
endif
@echo '#endif /* MPLAYER_HELP_MP_H */' >> help_mp.h
ifneq ($(HELP_FILE),help/help_mp-en.h)
@echo '// untranslated messages from the English master file:' >> help_mp.h
@help/help_diff.sh $(HELP_FILE) < help/help_mp-en.h >> help_mp.h
endif

View File

@ -6,6 +6,9 @@
#
# Example: help_diff.sh help_mp-hu.h < help_mp-en.h > missing.h
# Processing the master file, nothing to do.
test $1 = "help/help_mp-en.h" && exit 0
curr=""
while read -r line; do