mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- network_setup.cpp: add more suitable hints to hostname-setup
This commit is contained in:
@@ -1318,6 +1318,8 @@ networkmenu.dhcp DHCP
|
|||||||
networkmenu.error_no_address Keine %s-Adresse angegeben!
|
networkmenu.error_no_address Keine %s-Adresse angegeben!
|
||||||
networkmenu.gateway Standard Gateway
|
networkmenu.gateway Standard Gateway
|
||||||
networkmenu.hostname Hostname
|
networkmenu.hostname Hostname
|
||||||
|
networkmenu.hostname_hint1 Geben sie den Hostnamen ein
|
||||||
|
networkmenu.hostname_hint2 Eine Änderung benötigt einen Neustart
|
||||||
networkmenu.inactive_network Netzwerk nicht aktiviert!
|
networkmenu.inactive_network Netzwerk nicht aktiviert!
|
||||||
networkmenu.ipaddress IP
|
networkmenu.ipaddress IP
|
||||||
networkmenu.mount Netzwerkfreigaben bearbeiten
|
networkmenu.mount Netzwerkfreigaben bearbeiten
|
||||||
|
@@ -1318,6 +1318,8 @@ networkmenu.dhcp DHCP
|
|||||||
networkmenu.error_no_address Missing %s-address!
|
networkmenu.error_no_address Missing %s-address!
|
||||||
networkmenu.gateway default gateway
|
networkmenu.gateway default gateway
|
||||||
networkmenu.hostname Hostname
|
networkmenu.hostname Hostname
|
||||||
|
networkmenu.hostname_hint1 enter hostname
|
||||||
|
networkmenu.hostname_hint2 need reboot after change
|
||||||
networkmenu.inactive_network Network inactiv!
|
networkmenu.inactive_network Network inactiv!
|
||||||
networkmenu.ipaddress IP address
|
networkmenu.ipaddress IP address
|
||||||
networkmenu.mount Edit network shares
|
networkmenu.mount Edit network shares
|
||||||
|
@@ -238,7 +238,7 @@ int CNetworkSetup::showNetworkSetup()
|
|||||||
CIPInput networkSettings_NameServer(LOCALE_NETWORKMENU_NAMESERVER, network_nameserver, LOCALE_IPSETUP_HINT_1, LOCALE_IPSETUP_HINT_2);
|
CIPInput networkSettings_NameServer(LOCALE_NETWORKMENU_NAMESERVER, network_nameserver, LOCALE_IPSETUP_HINT_1, LOCALE_IPSETUP_HINT_2);
|
||||||
|
|
||||||
//hostname
|
//hostname
|
||||||
CStringInputSMS networkSettings_Hostname(LOCALE_NETWORKMENU_HOSTNAME, &network_hostname, 30, LOCALE_NETWORKMENU_NTPSERVER_HINT1, LOCALE_NETWORKMENU_NTPSERVER_HINT2, "abcdefghijklmnopqrstuvwxyz0123456789-. ");
|
CStringInputSMS networkSettings_Hostname(LOCALE_NETWORKMENU_HOSTNAME, &network_hostname, 30, LOCALE_NETWORKMENU_HOSTNAME_HINT1, LOCALE_NETWORKMENU_HOSTNAME_HINT2, "abcdefghijklmnopqrstuvwxyz0123456789-. ");
|
||||||
|
|
||||||
//auto start
|
//auto start
|
||||||
CMenuOptionChooser* o1 = new CMenuOptionChooser(LOCALE_NETWORKMENU_SETUPONSTARTUP, &network_automatic_start, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
|
CMenuOptionChooser* o1 = new CMenuOptionChooser(LOCALE_NETWORKMENU_SETUPONSTARTUP, &network_automatic_start, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
|
||||||
|
@@ -1345,6 +1345,8 @@ typedef enum
|
|||||||
LOCALE_NETWORKMENU_ERROR_NO_ADDRESS,
|
LOCALE_NETWORKMENU_ERROR_NO_ADDRESS,
|
||||||
LOCALE_NETWORKMENU_GATEWAY,
|
LOCALE_NETWORKMENU_GATEWAY,
|
||||||
LOCALE_NETWORKMENU_HOSTNAME,
|
LOCALE_NETWORKMENU_HOSTNAME,
|
||||||
|
LOCALE_NETWORKMENU_HOSTNAME_HINT1,
|
||||||
|
LOCALE_NETWORKMENU_HOSTNAME_HINT2,
|
||||||
LOCALE_NETWORKMENU_INACTIVE_NETWORK,
|
LOCALE_NETWORKMENU_INACTIVE_NETWORK,
|
||||||
LOCALE_NETWORKMENU_IPADDRESS,
|
LOCALE_NETWORKMENU_IPADDRESS,
|
||||||
LOCALE_NETWORKMENU_MOUNT,
|
LOCALE_NETWORKMENU_MOUNT,
|
||||||
|
@@ -1345,6 +1345,8 @@ const char * locale_real_names[] =
|
|||||||
"networkmenu.error_no_address",
|
"networkmenu.error_no_address",
|
||||||
"networkmenu.gateway",
|
"networkmenu.gateway",
|
||||||
"networkmenu.hostname",
|
"networkmenu.hostname",
|
||||||
|
"networkmenu.hostname_hint1",
|
||||||
|
"networkmenu.hostname_hint2",
|
||||||
"networkmenu.inactive_network",
|
"networkmenu.inactive_network",
|
||||||
"networkmenu.ipaddress",
|
"networkmenu.ipaddress",
|
||||||
"networkmenu.mount",
|
"networkmenu.mount",
|
||||||
|
Reference in New Issue
Block a user