From 2f5e229a01c7fa6eba1fe5caeabd5bbc8f460c92 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Thu, 2 Nov 2017 12:29:42 -0400
Subject: [PATCH] Preparing service names for ServiceManager v3.

---
 module/VuFind/src/VuFind/Service/Factory.php       | 2 +-
 module/VuFindTheme/src/VuFindTheme/Initializer.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/module/VuFind/src/VuFind/Service/Factory.php b/module/VuFind/src/VuFind/Service/Factory.php
index 94c779f887d..ee9adec780d 100644
--- a/module/VuFind/src/VuFind/Service/Factory.php
+++ b/module/VuFind/src/VuFind/Service/Factory.php
@@ -948,7 +948,7 @@ class Factory
             return $translator;
         }
         $pm->setService(
-            'extendedini',
+            'ExtendedIni',
             new \VuFind\I18n\Translator\Loader\ExtendedIni(
                 $pathStack, $fallbackLocales
             )
diff --git a/module/VuFindTheme/src/VuFindTheme/Initializer.php b/module/VuFindTheme/src/VuFindTheme/Initializer.php
index e6e97c8c78e..871acc55507 100644
--- a/module/VuFindTheme/src/VuFindTheme/Initializer.php
+++ b/module/VuFindTheme/src/VuFindTheme/Initializer.php
@@ -415,7 +415,7 @@ class Initializer
                 $translator = $this->serviceManager->get('VuFind\Translator');
 
                 $pm = $translator->getPluginManager();
-                $pm->get('extendedini')->addToPathStack($pathStack);
+                $pm->get('ExtendedIni')->addToPathStack($pathStack);
             } catch (\Zend\Mvc\Exception\BadMethodCallException $e) {
                 // This exception likely indicates that translation is disabled,
                 // so we can't proceed.
-- 
GitLab