From 175a0b204f857633d35ad3f805588f09667fd7b5 Mon Sep 17 00:00:00 2001 From: iglocska Date: Tue, 30 Nov 2021 15:04:48 +0100 Subject: [PATCH] fix: [feeds] i18n some strings --- app/Controller/FeedsController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Controller/FeedsController.php b/app/Controller/FeedsController.php index 7af81bb0c..90616ac36 100644 --- a/app/Controller/FeedsController.php +++ b/app/Controller/FeedsController.php @@ -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]); }