summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-01-23 04:56:15 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2008-01-23 04:56:15 (GMT)
commit3b8f19a02c3dd6043a7a6bdd65de2d4610c26b81 (patch)
treed91a0da771665c6abac7d76d6feb5aeb2d40bdf5 /Makefile
parent2cd9ad2e71c57b283e8caf03de065bba1dff5f5f (diff)
downloadgit-3b8f19a02c3dd6043a7a6bdd65de2d4610c26b81.zip
git-3b8f19a02c3dd6043a7a6bdd65de2d4610c26b81.tar.gz
git-3b8f19a02c3dd6043a7a6bdd65de2d4610c26b81.tar.bz2
git-gui: Correctly cleanup msgfmt '1 message untranslated' outputgitgui-0.9.2
In the multiple message case we remove the word "messages" from the statistics output of msgfmt as it looks cleaner on the tty when you are watching the build process. However we failed to strip the word "message" when only 1 message was found to be untranslated or fuzzy, as msgfmt does not produce the 's' suffix. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5f1023e..34438cd 100644
--- a/Makefile
+++ b/Makefile
@@ -67,7 +67,7 @@ ifndef V
QUIET_GEN = $(QUIET)echo ' ' GEN '$@' &&
QUIET_INDEX = $(QUIET)echo ' ' INDEX $(dir $@) &&
QUIET_MSGFMT0 = $(QUIET)printf ' MSGFMT %12s ' $@ && v=`
- QUIET_MSGFMT1 = 2>&1` && echo "$$v" | sed -e 's/fuzzy translations/fuzzy/' | sed -e 's/ messages//g'
+ QUIET_MSGFMT1 = 2>&1` && echo "$$v" | sed -e 's/fuzzy translations/fuzzy/' | sed -e 's/ messages*//g'
QUIET_2DEVNULL = 2>/dev/null
INSTALL_D0 = dir=