summaryrefslogtreecommitdiffhomepage
path: root/build
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-18 20:29:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-18 20:29:33 +0000
commitcc6b30f8b5210ba3ede437f48a6c72187b97b929 (patch)
tree988e54ab1bd5de7d49ed0511634657c578babfce /build
parent8a0dd339fbc4b2bcc96cc6f5081d428dc30519f8 (diff)
build: substitute missing i18n entries with english strings to ease translation
Diffstat (limited to 'build')
-rwxr-xr-xbuild/i18n-lua2po.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/i18n-lua2po.pl b/build/i18n-lua2po.pl
index d72d2e9755..a6eb26cafd 100755
--- a/build/i18n-lua2po.pl
+++ b/build/i18n-lua2po.pl
@@ -103,7 +103,7 @@ if( open F, "find . -path '*/luasrc/i18n/*' -name '*.$master_lang.lua' |" )
printf T "#: %s:%d\n#. %s\nmsgid \"%s\"\nmsgstr \"%s\"\n\n",
$file, $., $v, $k,
( $target_strings{$basename} && $target_strings{$basename}{$k} )
- ? $target_strings{$basename}{$k} : "";
+ ? $target_strings{$basename}{$k} : $v;
}
}