From 712810e1fd995720047832ee689f804185ea69d6 Mon Sep 17 00:00:00 2001 From: Elitsa Marinovska Date: Fri, 14 Oct 2022 10:30:34 +0200 Subject: [PATCH] pluginLangFileSources includes the localPluginFileSources --- .../DependencyInjection/UmbracoBuilder.LocalizedText.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilder.LocalizedText.cs b/src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilder.LocalizedText.cs index 9d677bce6660..14b727b12fb2 100644 --- a/src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilder.LocalizedText.cs +++ b/src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilder.LocalizedText.cs @@ -37,8 +37,6 @@ private static IUmbracoBuilder AddSupplemenataryLocalizedTextFileSources(this IU IFileProvider webFileProvider = webHostEnvironment.WebRootFileProvider; IFileProvider contentFileProvider = webHostEnvironment.ContentRootFileProvider; - IEnumerable localPluginFileSources = GetPluginLanguageFileSources(contentFileProvider, Cms.Core.Constants.SystemDirectories.AppPlugins, false); - // gets all langs files in /app_plugins real or virtual locations IEnumerable pluginLangFileSources = GetPluginLanguageFileSources(webFileProvider, Cms.Core.Constants.SystemDirectories.AppPlugins, false); @@ -53,8 +51,7 @@ private static IUmbracoBuilder AddSupplemenataryLocalizedTextFileSources(this IU .Select(x => new LocalizedTextServiceSupplementaryFileSource(x, true)); return - localPluginFileSources - .Concat(pluginLangFileSources) + pluginLangFileSources .Concat(userLangFileSources); }