mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 00:04:05 +02:00
TranslationDummy: remove unrelated code from form
This commit is contained in:
parent
9be31df544
commit
b87c3bb0f6
20
library/Director/TranslationDummy.php
Normal file
20
library/Director/TranslationDummy.php
Normal file
@ -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…
x
Reference in New Issue
Block a user