mirror of https://github.com/MISP/MISP
fix: [feeds] i18n some strings
parent
e905817768
commit
175a0b204f
|
@ -125,7 +125,7 @@ class FeedsController extends AppController
|
|||
]);
|
||||
$this->loadModel('Event');
|
||||
$distributionLevels = $this->Event->distributionLevels;
|
||||
$distributionLevels[5] = 'Inherit from feed';
|
||||
$distributionLevels[5] = __('Inherit from feed');
|
||||
$this->set('distributionLevels', $distributionLevels);
|
||||
$this->set('scope', $scope);
|
||||
}
|
||||
|
@ -288,7 +288,7 @@ class FeedsController extends AppController
|
|||
$this->loadModel('Event');
|
||||
$sharingGroups = $this->Event->SharingGroup->fetchAllAuthorised($this->Auth->user(), 'name', 1);
|
||||
$distributionLevels = $this->Event->distributionLevels;
|
||||
$distributionLevels[5] = 'Inherit from feed';
|
||||
$distributionLevels[5] = __('Inherit from feed');
|
||||
if (empty($sharingGroups)) {
|
||||
unset($distributionLevels[4]);
|
||||
}
|
||||
|
@ -427,7 +427,7 @@ class FeedsController extends AppController
|
|||
$this->loadModel('Event');
|
||||
$sharingGroups = $this->Event->SharingGroup->fetchAllAuthorised($this->Auth->user(), 'name', 1);
|
||||
$distributionLevels = $this->Event->distributionLevels;
|
||||
$distributionLevels[5] = 'Inherit from feed';
|
||||
$distributionLevels[5] = __('Inherit from feed');
|
||||
if (empty($sharingGroups)) {
|
||||
unset($distributionLevels[4]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue