mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-20 23:00:16 -05:00
Use "ID" instead of "Name" and "Display Name" instead of "Title"
This commit is contained in:
parent
510267c7d0
commit
a707ee3eb7
4 changed files with 12 additions and 12 deletions
|
|
@ -66,7 +66,7 @@ class AddNodeForm extends QuickForm
|
|||
protected function addNewProcess()
|
||||
{
|
||||
$this->addElement('text', 'name', array(
|
||||
'label' => $this->translate('Name'),
|
||||
'label' => $this->translate('ID'),
|
||||
'required' => true,
|
||||
'description' => $this->translate(
|
||||
'This is the unique identifier of this process'
|
||||
|
|
@ -74,9 +74,9 @@ class AddNodeForm extends QuickForm
|
|||
));
|
||||
|
||||
$this->addElement('text', 'alias', array(
|
||||
'label' => $this->translate('Title'),
|
||||
'label' => $this->translate('Display Name'),
|
||||
'description' => $this->translate(
|
||||
'Usually this title will be shown for this node. Equals name'
|
||||
'Usually this name will be shown for this node. Equals ID'
|
||||
. ' if not given'
|
||||
),
|
||||
));
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ class BpConfigForm extends BpConfigBaseForm
|
|||
public function setup()
|
||||
{
|
||||
$this->addElement('text', 'name', array(
|
||||
'label' => $this->translate('Name'),
|
||||
'label' => $this->translate('ID'),
|
||||
'required' => true,
|
||||
'validators' => array(
|
||||
array(
|
||||
|
|
@ -36,9 +36,9 @@ class BpConfigForm extends BpConfigBaseForm
|
|||
));
|
||||
|
||||
$this->addElement('text', 'Title', array(
|
||||
'label' => $this->translate('Title'),
|
||||
'label' => $this->translate('Display Name'),
|
||||
'description' => $this->translate(
|
||||
'Usually this title will be shown for this process. Equals name'
|
||||
'Usually this name will be shown for this process. Equals ID'
|
||||
. ' if not given'
|
||||
),
|
||||
));
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ class EditNodeForm extends QuickForm
|
|||
protected function addNewProcess()
|
||||
{
|
||||
$this->addElement('text', 'name', array(
|
||||
'label' => $this->translate('Name'),
|
||||
'label' => $this->translate('ID'),
|
||||
'required' => true,
|
||||
'disabled' => true,
|
||||
'description' => $this->translate(
|
||||
|
|
@ -96,9 +96,9 @@ class EditNodeForm extends QuickForm
|
|||
));
|
||||
|
||||
$this->addElement('text', 'alias', array(
|
||||
'label' => $this->translate('Title'),
|
||||
'label' => $this->translate('Display Name'),
|
||||
'description' => $this->translate(
|
||||
'Usually this title will be shown for this node. Equals name'
|
||||
'Usually this name will be shown for this node. Equals ID'
|
||||
. ' if not given'
|
||||
),
|
||||
));
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class ProcessForm extends QuickForm
|
|||
{
|
||||
if ($this->node === null) {
|
||||
$this->addElement('text', 'name', array(
|
||||
'label' => $this->translate('Name'),
|
||||
'label' => $this->translate('ID'),
|
||||
'required' => true,
|
||||
'description' => $this->translate(
|
||||
'This is the unique identifier of this process'
|
||||
|
|
@ -47,9 +47,9 @@ class ProcessForm extends QuickForm
|
|||
}
|
||||
|
||||
$this->addElement('text', 'alias', array(
|
||||
'label' => $this->translate('Title'),
|
||||
'label' => $this->translate('Display Name'),
|
||||
'description' => $this->translate(
|
||||
'Usually this title will be shown for this node. Equals name'
|
||||
'Usually this name will be shown for this node. Equals ID'
|
||||
. ' if not given'
|
||||
),
|
||||
));
|
||||
|
|
|
|||
Loading…
Reference in a new issue