Languages fixes
This commit is contained in:
parent
85b9109be1
commit
5fa1fc39cb
@ -15,7 +15,7 @@ class dbLanguage extends dbJSON
|
||||
if(file_exists($filename))
|
||||
{
|
||||
$Tmp = new dbJSON($filename, false);
|
||||
$this->db += $Tmp->db;
|
||||
$this->db = array_merge($this->db, $Tmp->db);
|
||||
}
|
||||
|
||||
// User language
|
||||
@ -23,7 +23,7 @@ class dbLanguage extends dbJSON
|
||||
if(file_exists($filename))
|
||||
{
|
||||
$Tmp = new dbJSON($filename, false);
|
||||
$this->db += $Tmp->db;
|
||||
$this->db = array_merge($this->db, $Tmp->db);
|
||||
}
|
||||
|
||||
$this->data = $this->db['language-data'];
|
||||
@ -57,7 +57,7 @@ class dbLanguage extends dbJSON
|
||||
|
||||
public function add($array)
|
||||
{
|
||||
$this->db += $array;
|
||||
$this->db = array_merge($this->db, $array);
|
||||
}
|
||||
|
||||
// Returns the item from plugin-data.
|
||||
|
@ -77,7 +77,7 @@
|
||||
"plugins": "Плагины",
|
||||
"install-plugin": "Установить плагин",
|
||||
"uninstall-plugin": "Удалить плагин",
|
||||
"new-password": "Новый пароль,
|
||||
"new-password": "Новый пароль",
|
||||
"edit-user": "Редактировать пользователя",
|
||||
"publish-now": "Опубликовать сейчас",
|
||||
"first-name": "Имя",
|
||||
|
Loading…
Reference in New Issue
Block a user