summaryrefslogtreecommitdiffhomepage
path: root/build/i18n-lua2po.pl
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-14 21:10:40 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-14 21:10:40 +0000
commit4fbecc4874340a2e844a2deecdc49ea2cfa1f620 (patch)
treef2149a323620479f581601ccddb76ae8d67ae2af /build/i18n-lua2po.pl
parent6948b6bc70456ab137463dc1b8520e6abc9480e3 (diff)
build: add "po" target to Makefile
Diffstat (limited to 'build/i18n-lua2po.pl')
-rwxr-xr-xbuild/i18n-lua2po.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/i18n-lua2po.pl b/build/i18n-lua2po.pl
index a9bc3b4f6..4905bb4b1 100755
--- a/build/i18n-lua2po.pl
+++ b/build/i18n-lua2po.pl
@@ -73,9 +73,9 @@ if( open F, "find . -path '*/luasrc/i18n/*' -name '*.$master_lang.lua' |" )
printf "Generating %-40s ",
"$target_dir/$basename.$ext";
- printf T "# %s.%s.po\n# generated from %s\n\nmsgid \"\"\n" .
+ printf T "# %s.%s\n# generated from %s\n\nmsgid \"\"\n" .
"msgstr \"Content-Type: text/plain; charset=UTF-8\"\n\n",
- $basename, $target_lang, $file;
+ $basename, $ext, $file;
while( chomp( my $entry = readline L ) )
{