build: substitute missing i18n entries with english strings to ease translation
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 18 May 2009 20:29:33 +0000 (20:29 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 18 May 2009 20:29:33 +0000 (20:29 +0000)
build/i18n-lua2po.pl

index d72d2e975549742bd570f564be0399ad2d765fd8..a6eb26cafdc91711134eb770dbfb343051f1eec0 100755 (executable)
@@ -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;
                                        }
                                }