r498 - trunk/misc

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Feb 20 07:34:17 EST 2008


Author: icculus
Date: 2008-02-20 07:34:16 -0500 (Wed, 20 Feb 2008)
New Revision: 498

Added:
   trunk/misc/find_localizable_strings.sh
Log:
This isn't scientific or anything.  :)
Should probably use xgettext instead, but this was sitting on my hard drive.


Added: trunk/misc/find_localizable_strings.sh
===================================================================
--- trunk/misc/find_localizable_strings.sh	                        (rev 0)
+++ trunk/misc/find_localizable_strings.sh	2008-02-20 12:34:16 UTC (rev 498)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+grep -n '_("' *.[chm] scripts/*.lua |perl -w -p -e 's/\A.*?_\((".*?")\).*?\Z/$1/;' |sort |uniq |perl -w -p -e 'chomp; $_ = "    [$_] = {\n    };\n\n";'
+


Property changes on: trunk/misc/find_localizable_strings.sh
___________________________________________________________________
Name: svn:executable
   + *




More information about the mojosetup-commits mailing list