/**
 * File:	include/dhcp-server/helps.ycp
 * Package:	Configuration of dhcp-server
 * Summary:	Help texts of all the dialogs
 * Authors:	Jiri Srain <jsrain@suse.cz>
 *
 * $Id: helps.ycp 21861 2005-02-23 11:49:24Z jsrain $
 */

{

    textdomain "dhcp-server";

    map<string,string> HELPS = $[
	// help text 1/1
	"read" : _("<p><b><big>Initializing DHCP Server Configuration</big></b><br>
Please wait...<br></p>"),

        // help text 1/1
	"write" : _("<p><b><big>Saving DHCP Server Configuration</big></b><br>
Please wait...<br></p>"),

	// help text 1/2
	"interfaces" : _("<p><b><big>Network Interfaces</big></b><br>
Select the network interfaces to which the DHCP server should listen from
<b>Available Interfaces</b>.</p>"),

	// help text 2/2
	"open_firewall" : _("<p><b><big>Firewall Settings</big></b><br>
To open the firewall to allow access to the service from 
remote computers through the selected interface, set
<b>Open Firewall for Selected Interface</b>.<br>
This option is only available if the firewall
is enabled.</p>"),

	// help text 1/5
	"start" : _("<p><b><big>Start DHCP Server</big></b><br>
To run the DHCP server every time your computer is started, set
<b>Start DHCP Server</b>.</p>"),

	// help text 2/5
	"chroot" : _("<p><b><big>Chroot Jail</big></b><br>
To run the DHCP server in chroot jail, set
<b>Run DHCP Server in Chroot Jail</b>. Starting any daemon in a chroot jail
is more secure and strongly recommended.</p>"),

	// help text 3/5
	"ldap_support" : _("<p><b><big>LDAP Support</big></b><br>
To store the DHCP configuration in LDAP,
enable this check box.</p>"),

	// help text 4/5
	"configtree" : _("<p><b><big>Configured Declarations</big></b><br>
To modify an existing declaration, select it and click <b>Edit</b>.
To add a new declaration, select a declaration that should include
the new declaration and click <b>Add</b>.
To delete a declaration, select it and click <b>Delete</b>.</p>")

	// help text 5/5
	+ _("<p><b><big>Advanced Functions</big></b><br>
To display the log of the DHCP server,
change network interfaces to which the DHCP server listens,
or manage TSIG keys that can be used for authentication of Dynamic DNS updates,
use <b>Advanced</b>.</p>"),

	// help text 1/3, alt. 1
	"subnet" : _("<p><b><big>Network Address and Mask</big></b><br>
Set the <b>Network Address</b> and <b>Network Mask</b> of the subnet.</p>"),

	// help text 1/3, alt. 1
	"host" : _("<p><b><big>Host Name</big></b><br>
Set the name of the host for which to set the fixed address or other
special options.</p>"),

	// help text 1/3, alt. 3
	"group" : _("<p><b><big>Group Name</big></b><br>
Set the name of the group of declarations.  It is just for your identification.
The name does not affect behavior of the DHCP server.</p>"),

	// help text 1/3, alt. 4
	"pool" : _("<p><b><big>Pool Name</big></b><br>
Set the name of the pool of addresses. It is just for your identification.
The name does not affect behavior of the DHCP server.</p>"),

	// help text 1/3, alt. 5
	"shared-network" : _("<p><b><big>Shared Network</big></b><br>
Set the name of the shared network. It is just for your identification.
The name does not affect behavior of the DHCP server.</p>"),
	// help text 1/3, alt. 6
	"class" : _("<p><b><big>Class</big></b><br>
Set the name of the class of hosts.</p>"),

	// help text 2/3
	"options_table" : _("<p><b><big>Options</big></b><br>
To edit DHCP options, choose the appropriate
entry of the table then click <b>Edit</b>.
To add a new option, use <b>Add</b>. To remove
an option, select it and click <b>Delete</b>.</p>"),

	// help text 3/3
	"dyn_dns_button" : _("<p><b><big>Dynamic DNS</big></b><br>
To adjust dynamic DNS for hosts of this subnet, use <b>Dynamic DNS</b>.</p>"),

	// help text 1/4
	"enable_ddns" : _("<p><b><big>Enabling Dynamic DNS</big></b><br>
To enable Dynamic DNS updates for this subnet, set
<b>Enable Dynamic DNS for This Subnet</b>.</p>")
	+
	// help text 2/4
	_("<p><b><big>TSIG Key</big></b><br>
To make Dynamic DNS updates, the authentication key must be set. Use
<b>TSIG Key</b> to select the key to use for authentication. The key must
be the same for both DHCP and DNS servers. Specify the key for both forward
and reverse zone.</p>")
	+
	// help text 3/4
	_("<p><b><big>Global DHCP Server Settings</big></b><br>
Global settings of DHCP server must be updated to make Dynamic
DNS work properly. To do it automatically, set
<b>Update Global Dynamic DNS Settings</b>.</p>"),

	// help text 4/4
	"ddns_zones" : _("<p><b><big>Zones to Update</big></b><br>
Specify forward and reverse zones to update. For both, also specify 
their primary name server. If the name server runs on the same host as the DHCP
server, you can leave the fields empty.</p>"),

	// Wizard Installation - Step 1
	"card_selection" : _("<p><b><big>Network Card Selection</big></b><br>
Select one of listed network cards to configure the DHCP to run on it.</p>"),

	// Wizard Installation - Step 2 1/9
	"global_settings" : _("<p><b><big>Global Settings</big></b><br>
Here, make several DHCP settings.</p>") +

	// Wizard Installation - Step 2 2/9
/*_("<p><b>LDAP Support</b><br>To store the DHCP configuration in LDAP,
enable this check box.</p>") +*/

	// Wizard Installation - Step 2 3/9 (2 is removed)
_("<p><b>Domain Name</b> sets for which domain the DHCP server
is leasing IPs to clients.</p>") +

	// Wizard Installation - Step 2 4/9
_("<p><b>Primary Name Server IP</b> and <b>Secondary Name Server IP</b> 
offers these name servers for the DHCP clients.
These values must be IP addresses.</p>") +

	// Wizard Installation - Step 2 5/9
_("<p><b>Default Gateway</b> sets the client's routing table with this
value as the default route.</p>") +

	// Wizard Installation - Step 2 6/9
_("<p><b>Time Server</b> tells clients to use this server
for the time synchronizations.</p>") +

	// Wizard Installation - Step 2 7/9
_("<p><b>Print Server</b> offers this server as the default print server.</p>") +

	// Wizard Installation - Step 2 8/9
_("<p><b>WINS Server</b> offers this server as the WINS server
(Windows Internet Naming Service).</p>") +

	// Wizard Installation - Step 2 9/9
_("<p><b>Default Lease Time</b> sets the time after which the leased IP expires
and the client must ask for an IP again.</p>"),

	// Wizard Installation - Step 3 1/3
	"dynamic_dhcp" : _("<p><b><big>IP Address Range</big></b><br>
Here, set the <b>First IP Address</b> and the <b>Last IP Address</b>
that should leased to the clients.<br>These addresses must match the same netmask.
For instance, 192.168.1.1 and 192.168.1.64</p>") +

	// Wizard Installation - Step 3 2/3
	_("<p><b><big>Lease</big></b><br>
Here, set the default <b>Lease Time</b> for the current IP address range,
which sets the optimal IP refreshing time for clients.<br></p>") +

	// Wizard Installation - Step 3 3/3
	_("<p><b>Max. Lease Time</b>
(optional value) sets the maximum time period
for which this IP is blocked for the client on the DHCP server.</p>"),

	// Help text
	"all_settings_button" : _("<p><b><big>Expert configuration</big></b><br>
To enter complete configuration of the DHCP server, click
<b>Enter DHCP Server Expert Configuration</b>.</p>"),

	// help text 1/2
	"interfaces" : _("<p><b><big>Network Interfaces</big></b><br>
Select the network interfaces to which the DHCP server should listen from
<b>Available Interfaces</b>.</p>"),


	// host management help 1/3
	"host_management" : _("<p><b><big>Host Management</big></b><br>
Use this dialog to edit hosts with static address binding.</p>") +

	// host management help 1/3
_("<p>To add a new new host, set its <b>Name</b>,
<b>Hardware Address</b>, and <b>IP Address</b>
then click <b>Add</b>.</p>
<p>To modify a configured host, select it in the table,
change all values, and click <b>Change in List</b>.</p>") +

	// host management help 1/3
_("<p>To remove a host, select it and click <b>Delete from List</b>.</p>"),

    ];

    /**
      * Get help for declaration type seleciton
      * @param possible list of declarations that can be selected
      * @return string the help
      */
    global define string getSelectDeclarationTypeHelp (list possible) ``{
	// help text 1/7
	string ret = _("<p>Select the type of the declaration to add.</p>");

	if (contains (possible, "subnet"))
	{
	    // help text 2/7, optional
	    ret = ret + _("<p>To add a network declaration,
select <b>Subnet</b>.</p>");
	}
	if (contains (possible, "host"))
	{
	    // help text 3/7, optional
	   ret = ret + _("<p>To add a host that needs special parameters
(usually fixed address), select <b>Host</b>.</p>");
	}
	if (contains (possible, "shared-network"))
	{
	    // help text 4/7, optional
	    ret = ret + _("<p>To add a shared network (physical network with
multiple logical networks), select <b>Shared Network</b>.</p>");
	}
	if (contains (possible, "group"))
	{
	    // help text 5/7, optional
	    ret = ret + _("<p>To add a group of other declarations (usually
if they should share some settings), select <b>Group</b>.</p>");
	}
	if (contains (possible, "pool"))
	{
	    // help text 6/7, optional
	    ret = ret + _("<p>To add a pool of addresses that will be treated
differently than other address pools although they are in the same
subnet, select <b>Pool of Addresses</b>.</p>");
	}
	if (contains (possible, "class"))
	{
	    // help text 7/7, optional
	    ret = ret + _("<p>To create a condition class that can be used for
handling clients differently depending on to which class they belong,
select <b>Class</b>.</p>");
	}
	return ret;
    }


/* EOF */
}
