projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f94872d
)
po2msg: ignore untranslated messages
author
Johannes Schindelin
<Johannes.Schindelin@gmx.de>
Tue, 30 Oct 2007 11:24:53 +0000
(11:24 +0000)
committer
Shawn O. Pearce
<spearce@spearce.org>
Thu, 1 Nov 2007 04:00:31 +0000
(
00:00
-0400)
Do not generate translations when the translated message is empty.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
po/po2msg.sh
patch
|
blob
|
history
diff --git
a/po/po2msg.sh
b/po/po2msg.sh
index 48a2669967c77980f7953c886203e5deee96289b..91d420b4fbda333856dba25e8b112d37e4a0eb0c 100644
(file)
--- a/
po/po2msg.sh
+++ b/
po/po2msg.sh
@@
-62,6
+62,9
@@
proc flush_msg {} {
if {$msgid == ""} {
set prefix "set ::msgcat::header"
} else {
+ if {$msgstr == ""} {
+ return
+ }
set prefix "::msgcat::mcset $lang \"[u2a $msgid]\""
}