TranslationDummy: remove unrelated code from form
This commit is contained in:
parent
9be31df544
commit
b87c3bb0f6
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Director;
|
||||
|
||||
use ipl\Translation\TranslationHelper;
|
||||
|
||||
class TranslationDummy
|
||||
{
|
||||
use TranslationHelper;
|
||||
|
||||
protected function dummyForTranslation()
|
||||
{
|
||||
$this->translate('Host');
|
||||
$this->translate('Service');
|
||||
$this->translate('Zone');
|
||||
$this->translate('Command');
|
||||
$this->translate('User');
|
||||
$this->translate('Notification');
|
||||
}
|
||||
}
|
|
@ -1573,14 +1573,4 @@ abstract class DirectorObjectForm extends DirectorForm
|
|||
$set = new TypeFilterSet();
|
||||
return $set->enumAllowedValues();
|
||||
}
|
||||
|
||||
private function dummyForTranslation()
|
||||
{
|
||||
$this->translate('Host');
|
||||
$this->translate('Service');
|
||||
$this->translate('Zone');
|
||||
$this->translate('Command');
|
||||
$this->translate('User');
|
||||
// ... TBC
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue