Skip to content

Commit

Permalink
Fix some errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jorikfon committed Apr 14, 2024
1 parent b26f3bc commit 1e71313
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Common/Messages/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@
'sf_CustomSounds' => 'Audio files',
'sf_MusicOnHold' => 'Music on hold',
'MIKO_PBX' => 'MIKO PBX',
'PBX is running in Live or Recovery mode' => 'The system is loaded in recovery mode',
'PBX is running in Live or Recovery mode' => 'The system is loaded in recovery mode (Live CD)',
'this_is' => 'This is ',
'Change language' => 'Change language / Смена языка интерфейса',
'Check storage' => 'Check disk for errors',
Expand Down
2 changes: 1 addition & 1 deletion src/Common/Messages/ru.php
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@
'topMenu_SearchPlaceholder' => 'Введите поисковый запрос',
'topMenu_SidebarButton' => 'Меню',
'MIKO_PBX' => 'МИКО PBX',
'PBX is running in Live or Recovery mode' => 'Система загружена в режиме восстановления',
'PBX is running in Live or Recovery mode' => 'Система загружена в режиме восстановления (Live CD)',
'LAN IP address assigned via DHCP' => 'LAN IP назначен через DHCP сервер',
'LAN IP address' => 'LAN IP установлен вручную',
'VLAN IP address assigned via' => 'VLAN IP: работает через',
Expand Down
2 changes: 0 additions & 2 deletions src/Core/System/PBXInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ public function run()
$this->proceedInstallation();
}
}


}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Core/System/PBXRecovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct()
{
$this->fp = fopen('php://stdin', 'r');
$this->storage = new Storage();
$this->DEVICE = $this->storage->getRecoverDiskName();
$this->DEVICE = basename($this->storage->getRecoverDiskName());
$this->VERSION = trim(file_get_contents('/offload/version'));
}

Expand Down
2 changes: 1 addition & 1 deletion src/Core/System/SystemMessages.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ private static function showCredentials(int $lineWidth): string {
$adminUser = PbxSettings::getValueByKey(PbxSettingsConstants::WEB_ADMIN_LOGIN);
$info = self::formatLine("Default web credentials:", $lineWidth);
$info .= PHP_EOL . self::formatLine(" Login: $adminUser", $lineWidth);
$info .= PHP_EOL . self::formatLine(" Password: $cloudInstanceId", $lineWidth);
$info .= PHP_EOL . self::formatLine(" Password: $webAdminPassword", $lineWidth);
return $info;
}
return '';
Expand Down

0 comments on commit 1e71313

Please sign in to comment.