[luci] Regenerating pot files lua source
Jo-Philipp Wich
xm at subsignal.org
Sat Sep 18 07:45:12 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi.
> I'm trying to make some improvements to the luci-polipo module, and I
> can't for the life of me figure out how to regenerate the pot files
> add the new fields that need translation. What am I missing?
You need to checkout the LuCI tree and use the "i18n-scan.pl" script in
build/. Use that to scan the subdir containing the code and it will
output the *.pot code to STDOUT:
$ ./build/i18n-scan.pl applications/luci-polipo/
msgid "enable"
msgstr ""
#. Polipo
msgid "polipo"
msgstr "Polipo"
msgid "enable"
msgstr ""
#. Polipo
msgid "polipo"
msgstr "Polipo"
~ Jow
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkyUUegACgkQdputYINPTPPmfQCdGjmdf4L5QcUYPBjrsraXzgR6
hg0AmgIJK7ew5ZC9XcgwMeQIGY8qJgif
=5NEs
-----END PGP SIGNATURE-----
More information about the luci
mailing list