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 d72d2e9..a6eb26c 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;
                                        }
                                }