diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-18 20:29:33 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-18 20:29:33 +0000 |
commit | cc6b30f8b5210ba3ede437f48a6c72187b97b929 (patch) | |
tree | 988e54ab1bd5de7d49ed0511634657c578babfce | |
parent | 8a0dd339fbc4b2bcc96cc6f5081d428dc30519f8 (diff) |
build: substitute missing i18n entries with english strings to ease translation
-rwxr-xr-x | build/i18n-lua2po.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/i18n-lua2po.pl b/build/i18n-lua2po.pl index d72d2e975..a6eb26caf 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; } } |