mirror of
https://github.com/friendica/friendica
synced 2025-04-23 10:30:11 +00:00
Merge remote-tracking branch 'friendika/master' into newui
This commit is contained in:
commit
9d2afc2d3c
30 changed files with 3182 additions and 484 deletions
|
@ -165,9 +165,11 @@
|
|||
|
||||
$a = get_app();
|
||||
$this->lang=array();
|
||||
foreach ($a->strings as $k=>$v){
|
||||
$k = preg_replace("/[^a-z0-9-]/", "", str_replace(" ","-", strtolower($k)));
|
||||
$this->lang[$k] = $v;
|
||||
if(is_array($a->strings) && count($a->strings)) {
|
||||
foreach ($a->strings as $k=>$v){
|
||||
$k = preg_replace("/[^a-z0-9-]/", "", str_replace(" ","-", strtolower($k)));
|
||||
$this->lang[$k] = $v;
|
||||
}
|
||||
}
|
||||
return $this->lang;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue