mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-12 02:58:35 -05:00
Create MS.SqlTools.Credentials project (#249)
* Initial credential service files * Clean-up hostloader * Update build scripts to build credentials archive * Move hosting files to new assembly * Add credentials files to MS.SqlTools.Credentials * Remove duplicate files * Update namespace in program.cs * Fix test build breaks * Update extensions visibility. * Remove unused resource strings * Add xproj files to SLN for appveyor builds * Fix appveyor build break in test project * Fix extensibility tests * Fix various typos in latest iteration * Add settings for Integration build * Fix codecoverage.bat to use full pdb for new projects * Fix bug when packing in folder with native images * Fix typos in xproj * Reset XLF to fix build.cmd
This commit is contained in:
1867
src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs
Normal file → Executable file
1867
src/Microsoft.SqlTools.ServiceLayer/Localization/sr.cs
Normal file → Executable file
File diff suppressed because it is too large
Load Diff
@@ -1,96 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
@@ -105,19 +27,5 @@
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="TestLocalizationConstant" xml:space="preserve">
|
||||
<value>ES_LOCALIZATION</value>
|
||||
</data>
|
||||
</root>
|
||||
<resheader name="resmimetype"><value>text/microsoft-resx</value></resheader><resheader name="version"><value>1.3</value></resheader><resheader name="reader"><value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader><resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader><data name="TestLocalizationConstant"><value>ES_LOCALIZATION</value></data>
|
||||
</root>
|
||||
1084
src/Microsoft.SqlTools.ServiceLayer/Localization/sr.resx
Normal file → Executable file
1084
src/Microsoft.SqlTools.ServiceLayer/Localization/sr.resx
Normal file → Executable file
File diff suppressed because it is too large
Load Diff
@@ -48,50 +48,11 @@ ConnectionParamsValidateNullServerName = ServerName cannot be null or empty
|
||||
|
||||
ConnectionParamsValidateNullSqlAuth(string component) = {0} cannot be null or empty when using SqlLogin authentication
|
||||
|
||||
############################################################################
|
||||
# Credentials Service
|
||||
|
||||
CredentialsServiceInvalidCriticalHandle = Invalid CriticalHandle!
|
||||
|
||||
CredentialsServicePasswordLengthExceeded = The password has exceeded 512 bytes
|
||||
|
||||
CredentialsServiceTargetForDelete = Target must be specified to delete a credential
|
||||
|
||||
CredentialsServiceTargetForLookup = Target must be specified to check existance of a credential
|
||||
|
||||
CredentialServiceWin32CredentialDisposed = Win32Credential object is already disposed
|
||||
|
||||
############################################################################
|
||||
# Extensibility
|
||||
|
||||
ServiceAlreadyRegistered = Cannot register service for type {0}, one or more services already registered
|
||||
|
||||
MultipleServicesFound = Multiple services found for type {0}, expected only 1
|
||||
|
||||
IncompatibleServiceForExtensionLoader = Service of type {0} cannot be created by ExtensionLoader<{1}>
|
||||
|
||||
ServiceProviderNotSet = SetServiceProvider() was not called to establish the required service provider
|
||||
|
||||
ServiceNotFound = Service {0} was not found in the service provider
|
||||
|
||||
ServiceNotOfExpectedType = Service of Type {0} is not compatible with registered Type {1}
|
||||
|
||||
############################################################################
|
||||
# Formatter
|
||||
|
||||
ErrorUnexpectedCodeObjectType = Cannot convert SqlCodeObject Type {0} to Type {1}
|
||||
|
||||
############################################################################
|
||||
# Hosting
|
||||
|
||||
HostingUnexpectedEndOfStream = MessageReader's input stream ended unexpectedly, terminating
|
||||
|
||||
HostingHeaderMissingColon = Message header must separate key and value using ':'
|
||||
|
||||
HostingHeaderMissingContentLengthHeader = Fatal error: Content-Length header must be provided
|
||||
|
||||
HostingHeaderMissingContentLengthValue = Fatal error: Content-Length value is not an integer
|
||||
|
||||
############################################################################
|
||||
# Query Execution Service
|
||||
|
||||
|
||||
@@ -56,51 +56,6 @@
|
||||
<note>.
|
||||
Parameters: 0 - component (string) </note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CredentialsServiceInvalidCriticalHandle">
|
||||
<source>Invalid CriticalHandle!</source>
|
||||
<target state="new">Invalid CriticalHandle!</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CredentialsServicePasswordLengthExceeded">
|
||||
<source>The password has exceeded 512 bytes</source>
|
||||
<target state="new">The password has exceeded 512 bytes</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CredentialsServiceTargetForDelete">
|
||||
<source>Target must be specified to delete a credential</source>
|
||||
<target state="new">Target must be specified to delete a credential</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CredentialsServiceTargetForLookup">
|
||||
<source>Target must be specified to check existance of a credential</source>
|
||||
<target state="new">Target must be specified to check existance of a credential</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CredentialServiceWin32CredentialDisposed">
|
||||
<source>Win32Credential object is already disposed</source>
|
||||
<target state="new">Win32Credential object is already disposed</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="HostingUnexpectedEndOfStream">
|
||||
<source>MessageReader's input stream ended unexpectedly, terminating</source>
|
||||
<target state="new">MessageReader's input stream ended unexpectedly, terminating</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="HostingHeaderMissingColon">
|
||||
<source>Message header must separate key and value using ':'</source>
|
||||
<target state="new">Message header must separate key and value using ':'</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="HostingHeaderMissingContentLengthHeader">
|
||||
<source>Fatal error: Content-Length header must be provided</source>
|
||||
<target state="new">Fatal error: Content-Length header must be provided</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="HostingHeaderMissingContentLengthValue">
|
||||
<source>Fatal error: Content-Length value is not an integer</source>
|
||||
<target state="new">Fatal error: Content-Length value is not an integer</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="QueryServiceCancelAlreadyCompleted">
|
||||
<source>The query has already completed, it cannot be cancelled</source>
|
||||
<target state="new">The query has already completed, it cannot be cancelled</target>
|
||||
@@ -469,36 +424,6 @@
|
||||
<target state="new">EN_LOCALIZATION</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ServiceAlreadyRegistered">
|
||||
<source>Cannot register service for type {0}, one or more services already registered</source>
|
||||
<target state="new">Cannot register service for type {0}, one or more services already registered</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="MultipleServicesFound">
|
||||
<source>Multiple services found for type {0}, expected only 1</source>
|
||||
<target state="new">Multiple services found for type {0}, expected only 1</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="IncompatibleServiceForExtensionLoader">
|
||||
<source>Service of type {0} cannot be created by ExtensionLoader<{1}></source>
|
||||
<target state="new">Service of type {0} cannot be created by ExtensionLoader<{1}></target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ServiceProviderNotSet">
|
||||
<source>SetServiceProvider() was not called to establish the required service provider</source>
|
||||
<target state="new">SetServiceProvider() was not called to establish the required service provider</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ServiceNotFound">
|
||||
<source>Service {0} was not found in the service provider</source>
|
||||
<target state="new">Service {0} was not found in the service provider</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ServiceNotOfExpectedType">
|
||||
<source>Service of Type {0} is not compatible with registered Type {1}</source>
|
||||
<target state="new">Service of Type {0} is not compatible with registered Type {1}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ErrorUnexpectedCodeObjectType">
|
||||
<source>Cannot convert SqlCodeObject Type {0} to Type {1}</source>
|
||||
<target state="new">Cannot convert SqlCodeObject Type {0} to Type {1}</target>
|
||||
@@ -595,6 +520,12 @@
|
||||
<note>.
|
||||
Parameters: 0 - typeName (string) </note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ConnectionServiceDbErrorDefaultNotConnected">
|
||||
<source>Specified URI '{0}' does not have a default connection</source>
|
||||
<target state="new">Specified URI '{0}' does not have a default connection</target>
|
||||
<note>.
|
||||
Parameters: 0 - uri (string) </note>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
Reference in New Issue
Block a user