Languages fixes

This commit is contained in:
dignajar 2015-07-15 22:34:16 -03:00
parent 85b9109be1
commit 5fa1fc39cb
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -77,7 +77,7 @@
"plugins": "Плагины",
"install-plugin": "Установить плагин",
"uninstall-plugin": "Удалить плагин",
"new-password": "Новый пароль,
"new-password": "Новый пароль",
"edit-user": "Редактировать пользователя",
"publish-now": "Опубликовать сейчас",
"first-name": "Имя",