Skip to content

Commit 3b8f19a

Browse files
committed
git-gui: Correctly cleanup msgfmt '1 message untranslated' output
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 <[email protected]>
1 parent 2cd9ad2 commit 3b8f19a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ ifndef V
6767
QUIET_GEN = $(QUIET)echo ' ' GEN '$@' &&
6868
QUIET_INDEX = $(QUIET)echo ' ' INDEX $(dir $@) &&
6969
QUIET_MSGFMT0 = $(QUIET)printf ' MSGFMT %12s ' $@ && v=`
70-
QUIET_MSGFMT1 = 2>&1` && echo "$$v" | sed -e 's/fuzzy translations/fuzzy/' | sed -e 's/ messages//g'
70+
QUIET_MSGFMT1 = 2>&1` && echo "$$v" | sed -e 's/fuzzy translations/fuzzy/' | sed -e 's/ messages*//g'
7171
QUIET_2DEVNULL = 2>/dev/null
7272

7373
INSTALL_D0 = dir=

0 commit comments

Comments
 (0)