X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=util%2Fextract.php;h=b3aa12ebf0e0a54301ea2551466fef2534e3fdd0;hb=c4d3ab68785122ff070c65a444aaa0833b746b2b;hp=3eb332d4f5acb0c56dade3a596f658c558347514;hpb=09851331a9dc8601919cd0c9200686b92843d235;p=friendica.git diff --git a/util/extract.php b/util/extract.php index 3eb332d4f5..b3aa12ebf0 100644 --- a/util/extract.php +++ b/util/extract.php @@ -1,12 +1,12 @@ strings[' . $a[0] . "] = array(\n"; $s .= "\t0 => ". $a[0]. ",\n"; $s .= "\t1 => ". $a[1]. ",\n"; $s .= ");\n"; } else { - if (substr($a,0,1) == '$') { + if(substr($a,0,1) == '$') continue; - } $s .= '$a->strings[' . $a . '] = '. $a . ';' . "\n"; } } $zones = timezone_identifiers_list(); - foreach ($zones as $zone) { + foreach($zones as $zone) $s .= '$a->strings[\'' . $zone . '\'] = \'' . $zone . '\';' . "\n"; - } echo $s; \ No newline at end of file