string update

This commit is contained in:
zotlabs 2019-06-13 22:23:07 -07:00
parent 95c6d034ec
commit 6ca0abe44e
4 changed files with 8767 additions and 7915 deletions

View file

@ -50,6 +50,9 @@ define ( 'ZOT_REVISION', '6.0' );
define ( 'DB_UPDATE_VERSION', 1232 );
define ( 'PLATFORM_NAME', 'zap' );
define ( 'PLATFORM_ARCHITECTURE', 'zap' );
define ( 'PROJECT_BASE', __DIR__ );
/**
@ -608,16 +611,6 @@ function sys_boot() {
@include('.htconfig.php');
if(defined('NOMADIC')) {
define ( 'PLATFORM_NAME', 'zap' );
define ( 'PLATFORM_ARCHITECTURE', 'zap' );
}
else {
define ( 'PLATFORM_NAME', 'osada' );
define ( 'PLATFORM_ARCHITECTURE', 'osada' );
}
// allow somebody to set some initial settings just in case they can't
// install without special fiddling

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -82,7 +82,7 @@ function po2php_run($argc,$argv) {
}
if (!$arr) {
$arr=True;
$out .= "array(\n";
$out .= "[\n";
}
$match=Array();
preg_match("|\[([0-9]*)\] (.*)|", $l, $match);
@ -106,7 +106,7 @@ function po2php_run($argc,$argv) {
if (substr($l,0,6)=="msgid "){
if ($inv) { $inv = False; $out .= '"'.$v.'"'; }
if ($k!="") $out .= $arr?");\n":";\n";
if ($k!="") $out .= $arr?"];\n":";\n";
$arr=False;
$k = str_replace("msgid ","",$l);
$k = trim_message($k);
@ -133,7 +133,7 @@ function po2php_run($argc,$argv) {
}
if ($inv) { $inv = False; $out .= '"'.$v.'"'; }
if ($k!="") $out .= $arr?");\n":";\n";
if ($k!="") $out .= $arr?"];\n":";\n";
file_put_contents($outfile, $out);