diff --git a/front/php/templates/language/de_de.json b/front/php/templates/language/de_de.json index 19167c84..018ce52c 100755 --- a/front/php/templates/language/de_de.json +++ b/front/php/templates/language/de_de.json @@ -323,17 +323,40 @@ "SYSTEM_TITLE" : "Systeminformationen", "Plugins_Out_of" : "von", "Systeminfo_General" : "Allgemein", + "Systeminfo_General_Full_Date": "Vollständiges Datum:", + "Systeminfo_General_Date": "Datum:", + "Systeminfo_General_Date2" "Datum2:", + "Systeminfo_General_TimeZone": "Zeitzone:", "Systeminfo_This_Client" : "Dieser Mandant", + "Systeminfo_Client_User_Agent": "Benutzeragent:", + "Systeminfo_Client_Resolution": "Browserauflösung:", "Systeminfo_System" : "System", "Systeminfo_Motherboard" : "Hauptplatine", "Systeminfo_CPU" : "CPU", + "Systeminfo_CPU_Vendor": "CPU-Anbieter:", + "Systeminfo_CPU_Name": "CPU-Name:", + "Systeminfo_CPU_Cores": "CPU-Kerne:", + "Systeminfo_CPU_Speed": "CPU-Geschwindigkeit:", + "Systeminfo_CPU_Temp": "CPU-Temp:", "Systeminfo_Memory" : "Speicher", + "Systeminfo_Memory_Usage": "Speichernutzung:", + "Systeminfo_Memory_Usage_Percent": "Speicher %:", + "Systeminfo_Memory_Total_Memory": "Gesamtspeicher:", "Systeminfo_Storage" : "Lagerung", - "Systeminfo_Storage_usage" : "Speicherverwendung", + "Systeminfo_Storage_Mount": "Mountpunkt:", + "Systeminfo_Storage_Device": "Gerät:", + "Systeminfo_Storage_Size": "Größe:", + "Systeminfo_Storage_Type": "Typ:", + "Systeminfo_Storage_Usage" : "Speicherverwendung", + "Systeminfo_Storage_Usage_Mount": "Mountpunkt:", + "Systeminfo_Storage_Usage_Total": "Gesamt:", + "Systeminfo_Storage_Usage_Used": "Verwendet:", + "Systeminfo_Storage_Usage_Free": "Kostenlos:", "Systeminfo_Network" : "Netzwerk", "Systeminfo_Network_Hardware" : "Netzwerk Hardware", "Systeminfo_Services" : "Dienste", + "Systeminfo_Services_Name": "Dienstname", + "Systeminfo_Services_Description": "Dienstbeschreibung", "Systeminfo_USB_Devices" : "USB-Geräte" } } - diff --git a/front/php/templates/language/en_us.json b/front/php/templates/language/en_us.json index b556ce54..edb7323e 100755 --- a/front/php/templates/language/en_us.json +++ b/front/php/templates/language/en_us.json @@ -588,16 +588,40 @@ "API_CUSTOM_SQL_name" : "Custom endpoint", "API_CUSTOM_SQL_description" : "You can specify a custom SQL query which will generate a JSON file and then expose it via the table_custom_endpoint.json file endpoint.", "Systeminfo_General" : "General", + "Systeminfo_General_Full_Date": "Full Date:", + "Systeminfo_General_Date": "Date:", + "Systeminfo_General_Date2": "Date2:", + "Systeminfo_General_TimeZone": "Timezone:", "Systeminfo_This_Client" : "This Client", + "Systeminfo_Client_User_Agent": "User Agent:", + "Systeminfo_Client_Resolution": "Browser Resolution:", "Systeminfo_System" : "System", "Systeminfo_Motherboard" : "Motherboard", "Systeminfo_CPU" : "CPU", + "Systeminfo_CPU_Vendor": "CPU Vendor:", + "Systeminfo_CPU_Name": "CPU Name:", + "Systeminfo_CPU_Cores": "CPU Cores:", + "Systeminfo_CPU_Speed": "CPU Speed:", + "Systeminfo_CPU_Temp": "CPU Temp:", "Systeminfo_Memory" : "Memory", + "Systeminfo_Memory_Usage": "Memory usage:", + "Systeminfo_Memory_Usage_Percent": "Memory %:", + "Systeminfo_Memory_Total_Memory": "Total memory:", "Systeminfo_Storage" : "Storage", - "Systeminfo_Storage_usage" : "Storage usage", + "Systeminfo_Storage_Mount" : "Mount point:", + "Systeminfo_Storage_Device" : "Device:", + "Systeminfo_Storage_Size" : "Size:", + "Systeminfo_Storage_Type" : "Type:", + "Systeminfo_Storage_Usage" : "Storage usage", + "Systeminfo_Storage_Usage_Mount" : "Mount point:", + "Systeminfo_Storage_Usage_Total" : "Total:", + "Systeminfo_Storage_Usage_Used" : "Used:", + "Systeminfo_Storage_Usage_Free" : "Free:", "Systeminfo_Network" : "Network", "Systeminfo_Network_Hardware" : "Network Hardware", "Systeminfo_Services" : "Services", + "Systeminfo_Services_Name" : "Service Name", + "Systeminfo_Services_Description" : "Service Description", "Systeminfo_USB_Devices" : "USB Devices" } } diff --git a/front/php/templates/language/es_es.json b/front/php/templates/language/es_es.json index 06926bad..83493d5b 100755 --- a/front/php/templates/language/es_es.json +++ b/front/php/templates/language/es_es.json @@ -585,16 +585,40 @@ "API_CUSTOM_SQL_name" : "Endpoint personalizado", "API_CUSTOM_SQL_description" : "Puede especificar una consulta SQL personalizada que generará un archivo JSON y luego lo expondrá a través del archivo table_custom_endpoint.json.", "Systeminfo_General" : "General", + "Systeminfo_General_Full_Date": "Fecha completa:", + "Systeminfo_General_Date": "Fecha:", + "Systeminfo_General_Date2": "Fecha2:", + "Systeminfo_General_TimeZone": "Zona horaria:", "Systeminfo_This_Client": "Este cliente", + "Systeminfo_Client_User_Agent": "Agente de usuario:", + "Systeminfo_Client_Resolution": "Resolución del navegador:", "Systeminfo_System": "Sistema", "Systeminfo_Motherboard" : "Placa base", "Systeminfo_CPU" : "CPU", + "Systeminfo_CPU_Vendor": "Proveedor de CPU:", + "Systeminfo_CPU_Name": "Nombre de la CPU:", + "Systeminfo_CPU_Cores": "Núcleos de CPU:", + "Systeminfo_CPU_Speed": "Velocidad de la CPU:", + "Systeminfo_CPU_Temp": "Temperatura de la CPU:", "Systeminfo_Memory": "Memoria", + "Systeminfo_Memory_Usage": "Memoria en uso:", + "Systeminfo_Memory_Usage_Percent": "Memoria %:", + "Systeminfo_Memory_Total_Memory": "Memoria total:", "Systeminfo_Storage": "Almacenamiento", - "Systeminfo_Storage_usage": "Uso de almacenamiento", + "Systeminfo_Storage_Mount": "Punto de montaje:", + "Systeminfo_Storage_Device" : "Dispositivo:", + "Systeminfo_Storage_Size": "Tamaño:", + "Systeminfo_Storage_Type": "Tipo:", + "Systeminfo_Storage_Usage": "Uso de almacenamiento", + "Systeminfo_Storage_Usage_Mount": "Punto de montaje:", + "Systeminfo_Storage_Usage_Total": "Total:", + "Systeminfo_Storage_Usage_Used": "Usado:", + "Systeminfo_Storage_Usage_Free": "Libre:", "Systeminfo_Network": "Red", "Systeminfo_Network_Hardware": "Hardware de red", "Systeminfo_Services": "Servicios", + "Systeminfo_Services_Name": "Nombre del servicio", + "Systeminfo_Services_Description": "Descripción del servicio", "Systeminfo_USB_Devices": "Dispositivos USB" } } diff --git a/front/systeminfo.php b/front/systeminfo.php index 845612b8..abfb0e36 100644 --- a/front/systeminfo.php +++ b/front/systeminfo.php @@ -134,19 +134,19 @@ echo '
-
Full Date:
+
' . lang('Systeminfo_General_Full_Date') . '
' . $formatted_date . '
-
Date:
+
' . lang('Systeminfo_General_Date') . '
' . $formatted_date2 . '
-
Date2:
+
' . lang('Systeminfo_General_Date2') . '
' . $formatted_date3 . '
-
Timezone:
+
' . lang('Systeminfo_General_TimeZone') . '
' . $timeZone . '
@@ -159,11 +159,11 @@ echo '
-
User Agent:
+
' . lang('Systeminfo_Client_User_Agent') . '
' . $_SERVER['HTTP_USER_AGENT'] . '
-
Browser Resolution:
+
' . lang('Systeminfo_Client_Resolution') . '
@@ -240,7 +240,7 @@ echo '
' . $motherboard_bios . '
-
BIOS date_
+
BIOS date:
' . $motherboard_biosdate . '
@@ -257,23 +257,23 @@ echo '
-
CPU Vendor:
+
' . lang('Systeminfo_CPU_Vendor') . '
' . $cpu_vendor . '
-
CPU Name:
+
' . lang('Systeminfo_CPU_Name') . '
' . $stat['cpu_model'] . '
-
CPU Cores:
+
' . lang('Systeminfo_CPU_Cores') . '
' . $stat['cpu'] . '
-
CPU Speed:
+
' . lang('Systeminfo_CPU_Speed') . '
' . $stat['cpu_frequ'] . ' MHz
-
CPU Temp:
+
' . lang('Systeminfo_CPU_Temp') . '
'. $cpu_temp .' °C
'; // Get the number of CPU cores @@ -306,15 +306,15 @@ echo '
-
Memory %:
+
' . lang('Systeminfo_Memory_Usage_Percent') . '
' . $memory_usage_percent . ' %
-
Use memory:
+
' . lang('Systeminfo_Memory_Usage') . '
' . $mem_used . ' MB / ' . $total_memorymb . ' MB
-
Total memory:
+
' . lang('Systeminfo_Memory_Total_Memory') . '
' . $total_memorymb . ' MB (' . $total_memorykb . ' KB)
@@ -344,13 +344,13 @@ for ($x = 0; $x < sizeof($storage_lsblk_line); $x++) { //if (stristr($hdd_devices[$x], '/dev/')) { echo '
'; if (preg_match('~[0-9]+~', $storage_lsblk_line[$x][0])) { - echo '
Mount point "' . $storage_lsblk_line[$x][3] . '"
'; + echo '
"' . lang('Systeminfo_Storage_Mount') . ' ' . $storage_lsblk_line[$x][3] . '"
'; } else { echo '
"' . str_replace('_', ' ', $storage_lsblk_line[$x][3]) . '"
'; } - echo '
Device: /dev/' . $storage_lsblk_line[$x][0] . '
'; - echo '
Size: ' . $storage_lsblk_line[$x][1] . '
'; - echo '
Type: ' . $storage_lsblk_line[$x][2] . '
'; + echo '
' . lang('Systeminfo_Storage_Device') . ' /dev/' . $storage_lsblk_line[$x][0] . '
'; + echo '
' . lang('Systeminfo_Storage_Size') . ' ' . $storage_lsblk_line[$x][1] . '
'; + echo '
' . lang('Systeminfo_Storage_Type') . ' ' . $storage_lsblk_line[$x][2] . '
'; echo '
'; //} } @@ -360,7 +360,7 @@ echo '
// Storage usage ---------------------------------------------------------- echo '
-

' . lang('Systeminfo_Storage_usage') . '

+

' . lang('Systeminfo_Storage_Usage') . '

'; for ($x = 0; $x < sizeof($hdd_devices); $x++) { @@ -369,10 +369,10 @@ for ($x = 0; $x < sizeof($hdd_devices); $x++) { if ($hdd_devices_used[$x] == 0) {$temp_used = 0;} else { $temp_used = number_format(round(($hdd_devices_used[$x] / 1024 / 1024), 2), 2, ',', '.'); $temp_used = trim($temp_total);} if ($hdd_devices_free[$x] == 0) {$temp_free = 0;} else { $temp_free = number_format(round(($hdd_devices_free[$x] / 1024 / 1024), 2), 2, ',', '.'); $temp_free = trim($temp_total);} echo '
'; - echo '
Mount point "' . $hdd_devices_mount[$x] . '"
'; - echo '
Total: ' . $temp_total . ' GB
'; - echo '
Used: ' . $temp_used . ' GB (' . number_format($hdd_devices_percent[$x], 1, ',', '.') . '%)
'; - echo '
Free: ' . $temp_free . ' GB
'; + echo '
"' . lang('Systeminfo_Storage_Usage_Mount') . ' ' . $hdd_devices_mount[$x] . '"
'; + echo '
' . lang('Systeminfo_Storage_Usage_Total') . ' ' . $temp_total . ' GB
'; + echo '
' . lang('Systeminfo_Storage_Usage_Used') . ' ' . $temp_used . ' GB (' . number_format($hdd_devices_percent[$x], 1, ',', '.') . '%)
'; + echo '
' . lang('Systeminfo_Storage_Usage_Free') . ' ' . $temp_free . ' GB
'; echo '
'; } } @@ -491,8 +491,8 @@ exec('systemctl --type=service --state=running', $running_services); echo ''; echo ' - - + + '; $table_color = 'odd';