// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.Windows.ApplicationModel.Resources; namespace Microsoft.PowerToys.Settings.UI.Helpers { internal static class ResourceExtensions { private static readonly ResourceLoader ResLoader = ResourceLoaderInstance.ResourceLoader; public static string GetLocalized(this string resourceKey) { return ResLoader.GetString(resourceKey); } } }