aboutsummaryrefslogtreecommitdiffstats
path: root/util/po2php.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-03-11 00:41:01 +0100
committerfabrixxm <fabrix.xm@gmail.com>2011-03-11 00:41:01 +0100
commite1766b829f059e6e6a288178ee5b72dbd454dbae (patch)
tree4f85fd928966784656dd5884be3ec3ea66aabcb6 /util/po2php.php
parent90eab0fbc3249c327a34db4d1932506186ac606c (diff)
downloadvolse-hubzilla-e1766b829f059e6e6a288178ee5b72dbd454dbae.tar.gz
volse-hubzilla-e1766b829f059e6e6a288178ee5b72dbd454dbae.tar.bz2
volse-hubzilla-e1766b829f059e6e6a288178ee5b72dbd454dbae.zip
Changed 'mo' with 'po'.....
Diffstat (limited to 'util/po2php.php')
-rw-r--r--util/po2php.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/po2php.php b/util/po2php.php
index 15ee1cd2c..171e9f297 100644
--- a/util/po2php.php
+++ b/util/po2php.php
@@ -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;