From: Jo-Philipp Wich Date: Mon, 18 May 2009 20:29:33 +0000 (+0000) Subject: build: substitute missing i18n entries with english strings to ease translation X-Git-Tag: 0.9.0~439 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cc6b30f8b5210ba3ede437f48a6c72187b97b929;p=oweals%2Fluci.git build: substitute missing i18n entries with english strings to ease translation --- 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; } }