Changed 'mo' with 'po'.....

This commit is contained in:
fabrixxm 2011-03-11 00:41:01 +01:00
parent 90eab0fbc3
commit e1766b829f
1 changed files with 6 additions and 6 deletions

View File

@ -3,15 +3,15 @@
function po2php_run($argv, $argc) { function po2php_run($argv, $argc) {
if ($argc!=2) { if ($argc!=2) {
print "Usage: ".$argv[0]." <file.mo>\n\n"; print "Usage: ".$argv[0]." <file.po>\n\n";
return; return;
} }
$mofile = $argv[1]; $pofile = $argv[1];
$outfile = dirname($mofile)."/strings.php"; $outfile = dirname($pofile)."/strings.php";
if (!file_exists($mofile)){ if (!file_exists($pofile)){
print "Unable to find '$mofile'\n"; print "Unable to find '$pofile'\n";
return; return;
} }
@ -19,7 +19,7 @@ function po2php_run($argv, $argc) {
$out="<?php\n\n"; $out="<?php\n\n";
$infile = file($mofile); $infile = file($pofile);
$k=""; $k="";
$arr = False; $arr = False;