Subversion Repositories ALCASAR

Rev

Rev 2817 | Rev 2874 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2817 Rev 2853
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: network.php 2817 2020-05-09 09:35:56Z rexy $
2
# $Id: network.php 2853 2020-07-19 21:50:07Z rexy $
3
 
3
 
4
// written by steweb57, Rexy & Tom HOUDAYER
4
// written by steweb57, Rexy & Tom HOUDAYER
5
 
5
 
6
/********************
6
/********************
7
*  READ CONF FILES  *
7
*  READ CONF FILES  *
Line 41... Line 41...
41
$Language = 'en';
41
$Language = 'en';
42
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
42
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
43
	$Langue	  = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
43
	$Langue	  = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
44
	$Language = strtolower(substr(chop($Langue[0]), 0, 2));
44
	$Language = strtolower(substr(chop($Langue[0]), 0, 2));
45
}
45
}
46
if ($Language === 'fr') {	// French
46
if ($Language === 'fr') {
47
	$l_network_title	= "Configuration réseau";
47
	$l_network_title	= "Configuration réseau";
48
	$l_internet_legend	= "INTERNET";
48
	$l_internet_legend	= "INTERNET";
49
	$l_ip_mask		= "Masque";
49
	$l_ip_mask		= "Masque";
50
	$l_ip_router		= "Passerelle";
50
	$l_ip_router		= "Passerelle";
51
	$l_ip_public		= "Adresse IP publique";
51
	$l_ip_public		= "Adresse IP publique";
Line 96... Line 96...
96
	$l_le_api		= "API :";
96
	$l_le_api		= "API :";
97
	$l_le_next_renewal	= "Prochain renouvellement :";
97
	$l_le_next_renewal	= "Prochain renouvellement :";
98
	$l_renew		= "Renouveller";
98
	$l_renew		= "Renouveller";
99
	$l_renew_force		= "Renouveller (forcer)";
99
	$l_renew_force		= "Renouveller (forcer)";
100
	$l_previous_LE_cert	= "Revenir au certificat Let's Encrypt :";
100
	$l_previous_LE_cert	= "Revenir au certificat Let's Encrypt :";
-
 
101
} else if ($Language === 'es') {
-
 
102
	$l_network_title	= "Configuración de Red";
-
 
103
	$l_internet_legend	= "INTERNET";
-
 
104
	$l_ip_mask		= "Máscara";
-
 
105
	$l_ip_router		= "Puerta de enlace";
-
 
106
	$l_ip_public		= "IP Pública";
-
 
107
	$l_ip_dns1		= "DNS n°1";
-
 
108
	$l_ip_dns2		= "DNS n°2";
-
 
109
	$l_dhcp_title		= "Servicio DHCP";
-
 
110
	$l_dhcp_state		= "Modo actual";
-
 
111
	$l_DHCP_on		= "activado";
-
 
112
	$l_DHCP_off		= "desactivado";
-
 
113
	$l_DHCP_off_explain	= "/!\\ Antes de desactivar el servidor DHCP, debe escribir los parámetros externos de DHCP en el archivo de configuración (consulte la Documentación";
-
 
114
	$l_static_dhcp_title	= "Reserva de direcciones IP estáticas (DHCP)";
-
 
115
	$l_mac_address		= "Dirección MAC";
-
 
116
	$l_ip_address		= "Dirección IP";
-
 
117
	$l_host_name		= "Nombre de Host";
-
 
118
	$l_del			= "Borrar de la lista";
-
 
119
	$l_add_to_list		= "Agregar";
-
 
120
	$l_apply		= "Aplicar cambios";
-
 
121
	$l_local_dns		= "Resolución de Nombres Local (DNS)";
-
 
122
	$l_import_cert		= "Importar Certificado";
-
 
123
	$l_private_key		= "Clave Privada (.key) :";
-
 
124
	$l_certificate		= "Certificado (.crt) :";
-
 
125
	$l_server_chain		= "Cadena completa (de ser necesario: .crt) :";
-
 
126
	$l_default_cert		= "Volverl al certificado por defecto";
-
 
127
	$l_import		= "Importar";
-
 
128
	$l_current_certificate  = "Certificado en uso";
-
 
129
	$l_validated		= "Validado por :";
-
 
130
	$l_empty		= "Vacío";
-
 
131
	$l_yes			= "Si";
-
 
132
	$l_no			= "No";
-
 
133
	$l_ssl_title		= "La autenticación de cifrado fluye entre usuarios y ALCASAR";
-
 
134
	$l_cert_expiration	= "Fecha de vencimiento:";
-
 
135
	$l_cert_commonname	= "Common name:";
-
 
136
	$l_cert_organization	= "Organización:";
-
 
137
	$l_upload_certificate	= "Importar un certificado";
-
 
138
	$l_le_integration	= "Integración con Let's Encrypt";
-
 
139
	$l_le_status		= "Estado:";
-
 
140
	$l_disabled		= "Desactivado";
-
 
141
	$l_pending_validation	= "Validación pendiente";
-
 
142
	$l_enabled		= "Activado";
-
 
143
	$l_le_email		= "Email:";
-
 
144
	$l_le_domain_name	= "Nombre de dominio:";
101
} else {			// English
145
	$l_send			= "Enviar";
-
 
146
	$l_le_ask_on		= "Preguntar el:";
-
 
147
	$l_le_dns_entry_txt	= "Entrada DNS TXT:";
-
 
148
	$l_le_challenge		= "Desafío:";
-
 
149
	$l_recheck		= "Verificar";
-
 
150
	$l_cancel		= "Cancelar";
-
 
151
	$l_le_api		= "API:";
-
 
152
	$l_le_next_renewal	= "Siguiente renovación:";
-
 
153
	$l_renew		= "Renovar";
-
 
154
	$l_renew_force		= "Renovar (forzado)";
-
 
155
	$l_previous_LE_cert	= "Volver al certificado de Let's Encrypt :";
-
 
156
} else {
102
	$l_network_title	= "Network configuration";
157
	$l_network_title	= "Network configuration";
103
	$l_internet_legend	= "INTERNET";
158
	$l_internet_legend	= "INTERNET";
104
	$l_ip_mask		= "Mask";
159
	$l_ip_mask		= "Mask";
105
	$l_ip_router		= "Gateway";
160
	$l_ip_router		= "Gateway";
106
	$l_ip_public		= "Public IP address";
161
	$l_ip_public		= "Public IP address";
Line 112... Line 167...
112
	$l_DHCP_off		= "disabled";
167
	$l_DHCP_off		= "disabled";
113
	$l_DHCP_off_explain	= "/!\\ Before disabling the DHCP server, you must write the extern DHCP parameters in the config file (see Documentation)";
168
	$l_DHCP_off_explain	= "/!\\ Before disabling the DHCP server, you must write the extern DHCP parameters in the config file (see Documentation)";
114
	$l_static_dhcp_title	= "Static IP addresses reservation (DHCP)";
169
	$l_static_dhcp_title	= "Static IP addresses reservation (DHCP)";
115
	$l_mac_address		= "MAC address";
170
	$l_mac_address		= "MAC address";
116
	$l_ip_address		= "IP address";
171
	$l_ip_address		= "IP address";
117
	$l_port			= "Port";
-
 
118
	$l_host_name		= "Host name";
172
	$l_host_name		= "Host name";
119
	$l_del			= "Delete from list";
173
	$l_del			= "Delete from list";
120
	$l_add_to_list		= "Add";
174
	$l_add_to_list		= "Add";
121
	$l_apply		= "Apply changes";
175
	$l_apply		= "Apply changes";
122
	$l_local_dns		= "Local name resolution (DNS";
176
	$l_local_dns		= "Local name resolution (DNS";