projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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 d72d2e975549742bd570f564be0399ad2d765fd8..a6eb26cafdc91711134eb770dbfb343051f1eec0 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
;
}
}