]> git.mxchange.org Git - friendica.git/commitdiff
Changed 'mo' with 'po'.....
authorfabrixxm <fabrix.xm@gmail.com>
Thu, 10 Mar 2011 23:41:01 +0000 (00:41 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Thu, 10 Mar 2011 23:41:01 +0000 (00:41 +0100)
util/po2php.php

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