From bc98771ba82b490809ffa854aa8d97296dadd671 Mon Sep 17 00:00:00 2001 From: Kevin Cunnane Date: Wed, 15 Feb 2017 13:25:29 -0800 Subject: [PATCH] Fix invalid nuget path for loc packages (#240) --- bin/{ => nuget}/mssql.ResX.nupkg | Bin bin/{ => nuget}/mssql.XliffParser.nupkg | Bin .../Localization/sr.Designer.cs | 76 +++++++++++++++++- 3 files changed, 74 insertions(+), 2 deletions(-) rename bin/{ => nuget}/mssql.ResX.nupkg (100%) rename bin/{ => nuget}/mssql.XliffParser.nupkg (100%) diff --git a/bin/mssql.ResX.nupkg b/bin/nuget/mssql.ResX.nupkg similarity index 100% rename from bin/mssql.ResX.nupkg rename to bin/nuget/mssql.ResX.nupkg diff --git a/bin/mssql.XliffParser.nupkg b/bin/nuget/mssql.XliffParser.nupkg similarity index 100% rename from bin/mssql.XliffParser.nupkg rename to bin/nuget/mssql.XliffParser.nupkg diff --git a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.Designer.cs b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.Designer.cs index dbf28fba..d7cf2923 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.Designer.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/Localization/sr.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -namespace Microsoft.SqlTools.ServiceLayer { +namespace Microsoft.SqlTools.ServiceLayer.Localization { using System; using System.Reflection; @@ -38,7 +38,7 @@ namespace Microsoft.SqlTools.ServiceLayer { public static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.SqlTools.ServiceLayer.sr", typeof(sr).GetTypeInfo().Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.SqlTools.ServiceLayer.Localization.sr", typeof(sr).GetTypeInfo().Assembly); resourceMan = temp; } return resourceMan; @@ -446,6 +446,24 @@ namespace Microsoft.SqlTools.ServiceLayer { } } + /// + /// Looks up a localized string similar to Replacement of an empty string by an empty string.. + /// + public static string ErrorEmptyStringReplacement { + get { + return ResourceManager.GetString("ErrorEmptyStringReplacement", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot convert SqlCodeObject Type {0} to Type {1}. + /// + public static string ErrorUnexpectedCodeObjectType { + get { + return ResourceManager.GetString("ErrorUnexpectedCodeObjectType", resourceCulture); + } + } + /// /// Looks up a localized string similar to Message header must separate key and value using ':'. /// @@ -482,6 +500,24 @@ namespace Microsoft.SqlTools.ServiceLayer { } } + /// + /// Looks up a localized string similar to Service of type {0} cannot be created by ExtensionLoader<{1}>. + /// + public static string IncompatibleServiceForExtensionLoader { + get { + return ResourceManager.GetString("IncompatibleServiceForExtensionLoader", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Multiple services found for type {0}, expected only 1. + /// + public static string MultipleServicesFound { + get { + return ResourceManager.GetString("MultipleServicesFound", resourceCulture); + } + } + /// /// Looks up a localized string similar to This feature is currently not supported on Azure SQL DB and Data Warehouse: {0}. /// @@ -833,6 +869,42 @@ namespace Microsoft.SqlTools.ServiceLayer { } } + /// + /// Looks up a localized string similar to Cannot register service for type {0}, one or more services already registered. + /// + public static string ServiceAlreadyRegistered { + get { + return ResourceManager.GetString("ServiceAlreadyRegistered", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Service {0} was not found in the service provider. + /// + public static string ServiceNotFound { + get { + return ResourceManager.GetString("ServiceNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Service of Type {0} is not compatible with registered Type {1}. + /// + public static string ServiceNotOfExpectedType { + get { + return ResourceManager.GetString("ServiceNotOfExpectedType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SetServiceProvider() was not called to establish the required service provider. + /// + public static string ServiceProviderNotSet { + get { + return ResourceManager.GetString("ServiceProviderNotSet", resourceCulture); + } + } + /// /// Looks up a localized string similar to EN_LOCALIZATION. ///