traduzione e composer.json
This commit is contained in:
+4
-4
@@ -386,8 +386,8 @@ class Server extends CommonDBTM
|
||||
Dropdown::showFromArray(
|
||||
'protocol',
|
||||
[
|
||||
'http' => 'HTTP',
|
||||
'https' => 'HTTPS',
|
||||
'http' => __('HTTP', 'urbackup'),
|
||||
'https' => __('HTTPS', 'urbackup'),
|
||||
],
|
||||
[
|
||||
'value' => $this->fields['protocol'] ?? 'http',
|
||||
@@ -818,7 +818,7 @@ class Server extends CommonDBTM
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
echo '<div class="alert alert-danger">';
|
||||
echo 'API Error: ' . htmlspecialchars($e->getMessage());
|
||||
echo htmlspecialchars(__('API Error', 'urbackup')) . ': ' . htmlspecialchars($e->getMessage());
|
||||
echo '</div>';
|
||||
return;
|
||||
}
|
||||
@@ -1006,7 +1006,7 @@ class Server extends CommonDBTM
|
||||
echo '<tbody>';
|
||||
|
||||
foreach ($unlinkedClients as $uc) {
|
||||
$clientName = (string) ($uc['name'] ?? 'Unknown');
|
||||
$clientName = (string) ($uc['name'] ?? __('Unknown', 'urbackup'));
|
||||
$clientNameLower = strtolower($clientName);
|
||||
|
||||
$online = $uc['online'] ?? null;
|
||||
|
||||
Reference in New Issue
Block a user