From b18f654e3789551898f1561d1508a9b53adcf06a Mon Sep 17 00:00:00 2001
From: kytv <kytv@mail.i2p>
Date: Fri, 20 Apr 2012 20:14:59 +0000
Subject: [PATCH] look for ^# so there aren't surprises later (thanks for
 pointing it out, darrob!)

---
 apps/routerconsole/java/bundle-messages.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/routerconsole/java/bundle-messages.sh b/apps/routerconsole/java/bundle-messages.sh
index bdb52c07c1..ad257b167e 100755
--- a/apps/routerconsole/java/bundle-messages.sh
+++ b/apps/routerconsole/java/bundle-messages.sh
@@ -38,7 +38,7 @@ then
 	mkdir -p build
         echo '// Automatically generated pseudo-java for xgettext - do not edit' > $JFILE
 	echo '// Translators may wish to translate a few of these, do not bother to translate all of them!!' >> $JFILE
-	sed -e '/#/d' -e 's/..,\(..*\)/_("\1");/' $CFILE >> $JFILE
+	sed -e '/^#/d' -e 's/..,\(..*\)/_("\1");/' $CFILE >> $JFILE
 fi
 
 # list specific files in core/ and router/ here, so we don't scan the whole tree
-- 
GitLab