author | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 23 Jan 2008 04:52:07 +0000 (23:52 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 23 Jan 2008 04:52:07 +0000 (23:52 -0500) | ||
commit | 2cd9ad2e71c57b283e8caf03de065bba1dff5f5f | |
tree | e7ae6b8b8c8e00ed9f31047a97696683f95e5bfd | tree | snapshot |
parent | 3470adabad8c02be152a8d536d23df692eb386d6 | commit | diff |
git-gui: Make the statistics of po2msg match those of msgfmt
The strings we were showing from po2msg didn't exactly match those
of msgfmt's --statistics output so we didn't show quite the same
results when building git-gui's message files. Now we're closer
to what msgfmt shows (at least for an en_US locale) so the make
output matches.
I noticed that the fuzzy translation count is off by one for the
current po/zh_cn.po file. Not sure why and I'm not going to try
and debug it at this time as the po2msg is strictly a fallback,
users building from source really should prefer msgfmt.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
The strings we were showing from po2msg didn't exactly match those
of msgfmt's --statistics output so we didn't show quite the same
results when building git-gui's message files. Now we're closer
to what msgfmt shows (at least for an en_US locale) so the make
output matches.
I noticed that the fuzzy translation count is off by one for the
current po/zh_cn.po file. Not sure why and I'm not going to try
and debug it at this time as the po2msg is strictly a fallback,
users building from source really should prefer msgfmt.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
po/po2msg.sh | diff | blob | history |