# HG changeset patch # User diego # Date 1211153626 0 # Node ID 3ff3bd9bf0f9823f9dee516ef79a6c9edd0dc268 # Parent 06fa17a9ee01bb503d18d921ed26c5402c29a1fa Move the logic that decides if untranslated messages need to be added to help_mp.h into the helper script that generates those messages. diff -r 06fa17a9ee01 -r 3ff3bd9bf0f9 Makefile --- a/Makefile Sun May 18 23:16:30 2008 +0000 +++ b/Makefile Sun May 18 23:33:46 2008 +0000 @@ -771,11 +771,8 @@ 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 diff -r 06fa17a9ee01 -r 3ff3bd9bf0f9 help/help_diff.sh --- a/help/help_diff.sh Sun May 18 23:16:30 2008 +0000 +++ b/help/help_diff.sh Sun May 18 23:33:46 2008 +0000 @@ -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