mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
Add usage for remove-dead-translations build tool
This commit is contained in:
@@ -59,6 +59,12 @@ function parse_language_file(string $path, string $file) : ?array{
|
||||
}
|
||||
return $lang;
|
||||
}
|
||||
|
||||
if(count($argv) !== 2){
|
||||
fwrite(STDERR, "Usage: php remove-dead-translations.php <translations folder>\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
$base = parse_language_file($argv[1], "eng.ini");
|
||||
|
||||
$fileList = scandir($argv[1]);
|
||||
|
Reference in New Issue
Block a user