Language file generator tweaked
Now checking if every language has defined all strings!
This commit is contained in:
parent
8ff414d408
commit
533c3e4e1a
@ -73,6 +73,7 @@ foreach ($cz as $k=>$v) {
|
||||
foreach ($langs as $lang) {
|
||||
$out .= "const char MSG".strtoupper($lang)."${counter}[] PROGMEM = { ".${$lang}[$k]." }; //$k\n";
|
||||
$outa[$lang].="MSG".strtoupper($lang)."$counter, //$k\n";
|
||||
if (${$lang}[$k] == "") echo "ERR: In language: ".strtoupper($lang)." string \"".$k."\" NOT FOUND !\n";
|
||||
}
|
||||
//$out .= "const char MSGCZ${counter}[] PROGMEM = { $v }; //$k\n";
|
||||
//$out .= "const char MSGEN${counter}[] PROGMEM = {".$en[$k]."}; //$k\n";
|
||||
|
Loading…
Reference in New Issue
Block a user