projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8a0dd33
)
build: substitute missing i18n entries with english strings to ease translation
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 18 May 2009 20:29:33 +0000
(20:29 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 18 May 2009 20:29:33 +0000
(20:29 +0000)
build/i18n-lua2po.pl
patch
|
blob
|
history
diff --git
a/build/i18n-lua2po.pl
b/build/i18n-lua2po.pl
index
d72d2e9
..
a6eb26c
100755
(executable)
--- 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
;
}
}