mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-31 09:35:39 -05:00
Move managed parser into its own project (test code coverage) (#774)
* Created New ManagedBatchParser project in .NetStandard * Addressing PR Comments * Resolve 'No Repository' warning. * Move batch parser tests to integrations test project * Fix SLN file
This commit is contained in:
381
src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.cs
Normal file
381
src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.cs
Normal file
@@ -0,0 +1,381 @@
|
||||
// WARNING:
|
||||
// This file was generated by the Microsoft DataWarehouse String Resource Tool 1.37.0.0
|
||||
// from information in sr.strings
|
||||
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
||||
//
|
||||
namespace Microsoft.SqlTools.ManagedBatchParser
|
||||
{
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Globalization;
|
||||
|
||||
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class SR
|
||||
{
|
||||
protected SR()
|
||||
{ }
|
||||
|
||||
public static CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.Culture;
|
||||
}
|
||||
set
|
||||
{
|
||||
Keys.Culture = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static string EE_BatchSqlMessageNoProcedureInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_BatchSqlMessageNoProcedureInfo);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_BatchSqlMessageWithProcedureInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_BatchSqlMessageWithProcedureInfo);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_BatchSqlMessageNoLineInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_BatchSqlMessageNoLineInfo);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_BatchError_Exception
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_BatchError_Exception);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_BatchExecutionInfo_RowsAffected
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_BatchExecutionInfo_RowsAffected);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_ExecutionNotYetCompleteError
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_ExecutionNotYetCompleteError);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_ScriptError_Error
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_ScriptError_Error);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_ScriptError_ParsingSyntax
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_ScriptError_ParsingSyntax);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_ScriptError_FatalError
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_ScriptError_FatalError);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_ExecutionInfo_FinalizingLoop
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_ExecutionInfo_FinalizingLoop);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_ExecutionInfo_QueryCancelledbyUser
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_ExecutionInfo_QueryCancelledbyUser);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_BatchExecutionError_Halting
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_BatchExecutionError_Halting);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_BatchExecutionError_Ignoring
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_BatchExecutionError_Ignoring);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_ExecutionInfo_InitializingLoop
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_ExecutionInfo_InitializingLoop);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_ExecutionError_CommandNotSupported
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_ExecutionError_CommandNotSupported);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_ExecutionError_VariableNotFound
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_ExecutionError_VariableNotFound);
|
||||
}
|
||||
}
|
||||
|
||||
public static string BatchParserWrapperExecutionEngineError
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.BatchParserWrapperExecutionEngineError);
|
||||
}
|
||||
}
|
||||
|
||||
public static string BatchParserWrapperExecutionError
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.BatchParserWrapperExecutionError);
|
||||
}
|
||||
}
|
||||
|
||||
public static string BatchParserWrapperExecutionEngineBatchMessage
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchMessage);
|
||||
}
|
||||
}
|
||||
|
||||
public static string BatchParserWrapperExecutionEngineBatchResultSetProcessing
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchResultSetProcessing);
|
||||
}
|
||||
}
|
||||
|
||||
public static string BatchParserWrapperExecutionEngineBatchResultSetFinished
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchResultSetFinished);
|
||||
}
|
||||
}
|
||||
|
||||
public static string BatchParserWrapperExecutionEngineBatchCancelling
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchCancelling);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_ScriptError_Warning
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_ScriptError_Warning);
|
||||
}
|
||||
}
|
||||
|
||||
public static string TroubleshootingAssistanceMessage
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.TroubleshootingAssistanceMessage);
|
||||
}
|
||||
}
|
||||
|
||||
public static string BatchParser_CircularReference
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.BatchParser_CircularReference);
|
||||
}
|
||||
}
|
||||
|
||||
public static string BatchParser_CommentNotTerminated
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.BatchParser_CommentNotTerminated);
|
||||
}
|
||||
}
|
||||
|
||||
public static string BatchParser_StringNotTerminated
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.BatchParser_StringNotTerminated);
|
||||
}
|
||||
}
|
||||
|
||||
public static string BatchParser_IncorrectSyntax
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.BatchParser_IncorrectSyntax);
|
||||
}
|
||||
}
|
||||
|
||||
public static string BatchParser_VariableNotDefined
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.BatchParser_VariableNotDefined);
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class Keys
|
||||
{
|
||||
static ResourceManager resourceManager = new ResourceManager("Microsoft.SqlTools.ManagedBatchParser.Localization.SR", typeof(SR).GetTypeInfo().Assembly);
|
||||
|
||||
static CultureInfo _culture = null;
|
||||
|
||||
|
||||
public const string EE_BatchSqlMessageNoProcedureInfo = "EE_BatchSqlMessageNoProcedureInfo";
|
||||
|
||||
|
||||
public const string EE_BatchSqlMessageWithProcedureInfo = "EE_BatchSqlMessageWithProcedureInfo";
|
||||
|
||||
|
||||
public const string EE_BatchSqlMessageNoLineInfo = "EE_BatchSqlMessageNoLineInfo";
|
||||
|
||||
|
||||
public const string EE_BatchError_Exception = "EE_BatchError_Exception";
|
||||
|
||||
|
||||
public const string EE_BatchExecutionInfo_RowsAffected = "EE_BatchExecutionInfo_RowsAffected";
|
||||
|
||||
|
||||
public const string EE_ExecutionNotYetCompleteError = "EE_ExecutionNotYetCompleteError";
|
||||
|
||||
|
||||
public const string EE_ScriptError_Error = "EE_ScriptError_Error";
|
||||
|
||||
|
||||
public const string EE_ScriptError_ParsingSyntax = "EE_ScriptError_ParsingSyntax";
|
||||
|
||||
|
||||
public const string EE_ScriptError_FatalError = "EE_ScriptError_FatalError";
|
||||
|
||||
|
||||
public const string EE_ExecutionInfo_FinalizingLoop = "EE_ExecutionInfo_FinalizingLoop";
|
||||
|
||||
|
||||
public const string EE_ExecutionInfo_QueryCancelledbyUser = "EE_ExecutionInfo_QueryCancelledbyUser";
|
||||
|
||||
|
||||
public const string EE_BatchExecutionError_Halting = "EE_BatchExecutionError_Halting";
|
||||
|
||||
|
||||
public const string EE_BatchExecutionError_Ignoring = "EE_BatchExecutionError_Ignoring";
|
||||
|
||||
|
||||
public const string EE_ExecutionInfo_InitializingLoop = "EE_ExecutionInfo_InitializingLoop";
|
||||
|
||||
|
||||
public const string EE_ExecutionError_CommandNotSupported = "EE_ExecutionError_CommandNotSupported";
|
||||
|
||||
|
||||
public const string EE_ExecutionError_VariableNotFound = "EE_ExecutionError_VariableNotFound";
|
||||
|
||||
|
||||
public const string BatchParserWrapperExecutionEngineError = "BatchParserWrapperExecutionEngineError";
|
||||
|
||||
|
||||
public const string BatchParserWrapperExecutionError = "BatchParserWrapperExecutionError";
|
||||
|
||||
|
||||
public const string BatchParserWrapperExecutionEngineBatchMessage = "BatchParserWrapperExecutionEngineBatchMessage";
|
||||
|
||||
|
||||
public const string BatchParserWrapperExecutionEngineBatchResultSetProcessing = "BatchParserWrapperExecutionEngineBatchResultSetProcessing";
|
||||
|
||||
|
||||
public const string BatchParserWrapperExecutionEngineBatchResultSetFinished = "BatchParserWrapperExecutionEngineBatchResultSetFinished";
|
||||
|
||||
|
||||
public const string BatchParserWrapperExecutionEngineBatchCancelling = "BatchParserWrapperExecutionEngineBatchCancelling";
|
||||
|
||||
|
||||
public const string EE_ScriptError_Warning = "EE_ScriptError_Warning";
|
||||
|
||||
|
||||
public const string TroubleshootingAssistanceMessage = "TroubleshootingAssistanceMessage";
|
||||
|
||||
|
||||
public const string BatchParser_CircularReference = "BatchParser_CircularReference";
|
||||
|
||||
|
||||
public const string BatchParser_CommentNotTerminated = "BatchParser_CommentNotTerminated";
|
||||
|
||||
|
||||
public const string BatchParser_StringNotTerminated = "BatchParser_StringNotTerminated";
|
||||
|
||||
|
||||
public const string BatchParser_IncorrectSyntax = "BatchParser_IncorrectSyntax";
|
||||
|
||||
|
||||
public const string BatchParser_VariableNotDefined = "BatchParser_VariableNotDefined";
|
||||
|
||||
|
||||
private Keys()
|
||||
{ }
|
||||
|
||||
public static CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return _culture;
|
||||
}
|
||||
set
|
||||
{
|
||||
_culture = value;
|
||||
}
|
||||
}
|
||||
|
||||
public static string GetString(string key)
|
||||
{
|
||||
return resourceManager.GetString(key, _culture);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
236
src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.resx
Normal file
236
src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.resx
Normal file
@@ -0,0 +1,236 @@
|
||||
<?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="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=">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</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="EE_BatchSqlMessageNoProcedureInfo" xml:space="preserve">
|
||||
<value>Msg {0}, Level {1}, State {2}, Line {3}</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_BatchSqlMessageWithProcedureInfo" xml:space="preserve">
|
||||
<value>Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4}</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_BatchSqlMessageNoLineInfo" xml:space="preserve">
|
||||
<value>Msg {0}, Level {1}, State {2}</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_BatchError_Exception" xml:space="preserve">
|
||||
<value>An error occurred while the batch was being processed. The error message is: {0}</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_BatchExecutionInfo_RowsAffected" xml:space="preserve">
|
||||
<value>({0} row(s) affected)</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_ExecutionNotYetCompleteError" xml:space="preserve">
|
||||
<value>The previous execution is not yet complete.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_ScriptError_Error" xml:space="preserve">
|
||||
<value>A scripting error occurred.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_ScriptError_ParsingSyntax" xml:space="preserve">
|
||||
<value>Incorrect syntax was encountered while {0} was being parsed.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_ScriptError_FatalError" xml:space="preserve">
|
||||
<value>A fatal error occurred.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_ExecutionInfo_FinalizingLoop" xml:space="preserve">
|
||||
<value>Batch execution completed {0} times...</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_ExecutionInfo_QueryCancelledbyUser" xml:space="preserve">
|
||||
<value>You cancelled the query.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_BatchExecutionError_Halting" xml:space="preserve">
|
||||
<value>An error occurred while the batch was being executed.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_BatchExecutionError_Ignoring" xml:space="preserve">
|
||||
<value>An error occurred while the batch was being executed, but the error has been ignored.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_ExecutionInfo_InitializingLoop" xml:space="preserve">
|
||||
<value>Beginning execution loop</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_ExecutionError_CommandNotSupported" xml:space="preserve">
|
||||
<value>Command {0} is not supported.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_ExecutionError_VariableNotFound" xml:space="preserve">
|
||||
<value>The variable {0} could not be found.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="BatchParserWrapperExecutionEngineError" xml:space="preserve">
|
||||
<value>SQL Execution error: {0}</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="BatchParserWrapperExecutionError" xml:space="preserve">
|
||||
<value>Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="BatchParserWrapperExecutionEngineBatchMessage" xml:space="preserve">
|
||||
<value>Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1}</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="BatchParserWrapperExecutionEngineBatchResultSetProcessing" xml:space="preserve">
|
||||
<value>Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1}</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="BatchParserWrapperExecutionEngineBatchResultSetFinished" xml:space="preserve">
|
||||
<value>Batch parser wrapper execution engine batch ResultSet finished.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="BatchParserWrapperExecutionEngineBatchCancelling" xml:space="preserve">
|
||||
<value>Canceling batch parser wrapper batch execution.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EE_ScriptError_Warning" xml:space="preserve">
|
||||
<value>Scripting warning.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="TroubleshootingAssistanceMessage" xml:space="preserve">
|
||||
<value>For more information about this error, see the troubleshooting topics in the product documentation.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="BatchParser_CircularReference" xml:space="preserve">
|
||||
<value>File '{0}' recursively included.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="BatchParser_CommentNotTerminated" xml:space="preserve">
|
||||
<value>Missing end comment mark '*/'.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="BatchParser_StringNotTerminated" xml:space="preserve">
|
||||
<value>Unclosed quotation mark after the character string.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="BatchParser_IncorrectSyntax" xml:space="preserve">
|
||||
<value>Incorrect syntax was encountered while parsing '{0}'.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="BatchParser_VariableNotDefined" xml:space="preserve">
|
||||
<value>Variable {0} is not defined.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,84 @@
|
||||
# String resource file
|
||||
#
|
||||
# When processed by the String Resource Tool, this file generates
|
||||
# both a .CS and a .RESX file with the same name as the file.
|
||||
# The .CS file contains a class which can be used to access these
|
||||
# string resources, including the ability to format in
|
||||
# parameters, which are identified with the .NET {x} format
|
||||
# (see String.Format help).
|
||||
#
|
||||
# Comments below assume the file name is SR.strings.
|
||||
#
|
||||
# Lines starting with a semicolon ";" are also treated as comments, but
|
||||
# in a future version they will be extracted and made available in LocStudio
|
||||
# Put your comments to localizers _before_ the string they apply to.
|
||||
#
|
||||
# SMO build specific comment
|
||||
# after generating the .resx file, run srgen on it and get the .resx file
|
||||
# please remember to also check that .resx in, along with the
|
||||
# .strings and .cs files
|
||||
|
||||
[strings]
|
||||
|
||||
|
||||
############################################################################
|
||||
# DacFx Resources
|
||||
|
||||
EE_BatchSqlMessageNoProcedureInfo = Msg {0}, Level {1}, State {2}, Line {3}
|
||||
|
||||
EE_BatchSqlMessageWithProcedureInfo = Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4}
|
||||
|
||||
EE_BatchSqlMessageNoLineInfo = Msg {0}, Level {1}, State {2}
|
||||
|
||||
EE_BatchError_Exception = An error occurred while the batch was being processed. The error message is: {0}
|
||||
|
||||
EE_BatchExecutionInfo_RowsAffected = ({0} row(s) affected)
|
||||
|
||||
EE_ExecutionNotYetCompleteError = The previous execution is not yet complete.
|
||||
|
||||
EE_ScriptError_Error = A scripting error occurred.
|
||||
|
||||
EE_ScriptError_ParsingSyntax = Incorrect syntax was encountered while {0} was being parsed.
|
||||
|
||||
EE_ScriptError_FatalError = A fatal error occurred.
|
||||
|
||||
EE_ExecutionInfo_FinalizingLoop = Batch execution completed {0} times...
|
||||
|
||||
EE_ExecutionInfo_QueryCancelledbyUser = You cancelled the query.
|
||||
|
||||
EE_BatchExecutionError_Halting = An error occurred while the batch was being executed.
|
||||
|
||||
EE_BatchExecutionError_Ignoring = An error occurred while the batch was being executed, but the error has been ignored.
|
||||
|
||||
EE_ExecutionInfo_InitializingLoop = Beginning execution loop
|
||||
|
||||
EE_ExecutionError_CommandNotSupported = Command {0} is not supported.
|
||||
|
||||
EE_ExecutionError_VariableNotFound = The variable {0} could not be found.
|
||||
|
||||
BatchParserWrapperExecutionEngineError = SQL Execution error: {0}
|
||||
|
||||
BatchParserWrapperExecutionError = Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}
|
||||
|
||||
BatchParserWrapperExecutionEngineBatchMessage = Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1}
|
||||
|
||||
BatchParserWrapperExecutionEngineBatchResultSetProcessing = Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1}
|
||||
|
||||
BatchParserWrapperExecutionEngineBatchResultSetFinished = Batch parser wrapper execution engine batch ResultSet finished.
|
||||
|
||||
BatchParserWrapperExecutionEngineBatchCancelling = Canceling batch parser wrapper batch execution.
|
||||
|
||||
EE_ScriptError_Warning = Scripting warning.
|
||||
|
||||
TroubleshootingAssistanceMessage = For more information about this error, see the troubleshooting topics in the product documentation.
|
||||
|
||||
BatchParser_CircularReference = File '{0}' recursively included.
|
||||
|
||||
BatchParser_CommentNotTerminated = Missing end comment mark '*/'.
|
||||
|
||||
BatchParser_StringNotTerminated = Unclosed quotation mark after the character string.
|
||||
|
||||
BatchParser_IncorrectSyntax = Incorrect syntax was encountered while parsing '{0}'.
|
||||
|
||||
BatchParser_VariableNotDefined = Variable {0} is not defined.
|
||||
|
||||
152
src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.xlf
Normal file
152
src/Microsoft.SqlTools.ManagedBatchParser/Localization/sr.xlf
Normal file
@@ -0,0 +1,152 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
|
||||
<file datatype="xml" original="sr.resx" source-language="en">
|
||||
<body>
|
||||
<trans-unit id="EE_BatchSqlMessageNoProcedureInfo">
|
||||
<source>Msg {0}, Level {1}, State {2}, Line {3}</source>
|
||||
<target state="new">Msg {0}, Level {1}, State {2}, Line {3}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_BatchSqlMessageWithProcedureInfo">
|
||||
<source>Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4}</source>
|
||||
<target state="new">Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_BatchSqlMessageNoLineInfo">
|
||||
<source>Msg {0}, Level {1}, State {2}</source>
|
||||
<target state="new">Msg {0}, Level {1}, State {2}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_BatchError_Exception">
|
||||
<source>An error occurred while the batch was being processed. The error message is: {0}</source>
|
||||
<target state="new">An error occurred while the batch was being processed. The error message is: {0}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_BatchExecutionInfo_RowsAffected">
|
||||
<source>({0} row(s) affected)</source>
|
||||
<target state="new">({0} row(s) affected)</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_ExecutionNotYetCompleteError">
|
||||
<source>The previous execution is not yet complete.</source>
|
||||
<target state="new">The previous execution is not yet complete.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_ScriptError_Error">
|
||||
<source>A scripting error occurred.</source>
|
||||
<target state="new">A scripting error occurred.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_ScriptError_ParsingSyntax">
|
||||
<source>Incorrect syntax was encountered while {0} was being parsed.</source>
|
||||
<target state="new">Incorrect syntax was encountered while {0} was being parsed.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_ScriptError_FatalError">
|
||||
<source>A fatal error occurred.</source>
|
||||
<target state="new">A fatal error occurred.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_ExecutionInfo_FinalizingLoop">
|
||||
<source>Batch execution completed {0} times...</source>
|
||||
<target state="new">Batch execution completed {0} times...</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_ExecutionInfo_QueryCancelledbyUser">
|
||||
<source>You cancelled the query.</source>
|
||||
<target state="new">You cancelled the query.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_BatchExecutionError_Halting">
|
||||
<source>An error occurred while the batch was being executed.</source>
|
||||
<target state="new">An error occurred while the batch was being executed.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_BatchExecutionError_Ignoring">
|
||||
<source>An error occurred while the batch was being executed, but the error has been ignored.</source>
|
||||
<target state="new">An error occurred while the batch was being executed, but the error has been ignored.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_ExecutionInfo_InitializingLoop">
|
||||
<source>Beginning execution loop</source>
|
||||
<target state="new">Beginning execution loop</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_ExecutionError_CommandNotSupported">
|
||||
<source>Command {0} is not supported.</source>
|
||||
<target state="new">Command {0} is not supported.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_ExecutionError_VariableNotFound">
|
||||
<source>The variable {0} could not be found.</source>
|
||||
<target state="new">The variable {0} could not be found.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BatchParserWrapperExecutionEngineError">
|
||||
<source>SQL Execution error: {0}</source>
|
||||
<target state="new">SQL Execution error: {0}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BatchParserWrapperExecutionError">
|
||||
<source>Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}</source>
|
||||
<target state="new">Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BatchParserWrapperExecutionEngineBatchMessage">
|
||||
<source>Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1}</source>
|
||||
<target state="new">Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BatchParserWrapperExecutionEngineBatchResultSetProcessing">
|
||||
<source>Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1}</source>
|
||||
<target state="new">Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BatchParserWrapperExecutionEngineBatchResultSetFinished">
|
||||
<source>Batch parser wrapper execution engine batch ResultSet finished.</source>
|
||||
<target state="new">Batch parser wrapper execution engine batch ResultSet finished.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BatchParserWrapperExecutionEngineBatchCancelling">
|
||||
<source>Canceling batch parser wrapper batch execution.</source>
|
||||
<target state="new">Canceling batch parser wrapper batch execution.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EE_ScriptError_Warning">
|
||||
<source>Scripting warning.</source>
|
||||
<target state="new">Scripting warning.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="TroubleshootingAssistanceMessage">
|
||||
<source>For more information about this error, see the troubleshooting topics in the product documentation.</source>
|
||||
<target state="new">For more information about this error, see the troubleshooting topics in the product documentation.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BatchParser_CircularReference">
|
||||
<source>File '{0}' recursively included.</source>
|
||||
<target state="new">File '{0}' recursively included.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BatchParser_CommentNotTerminated">
|
||||
<source>Missing end comment mark '*/'.</source>
|
||||
<target state="new">Missing end comment mark '*/'.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BatchParser_StringNotTerminated">
|
||||
<source>Unclosed quotation mark after the character string.</source>
|
||||
<target state="new">Unclosed quotation mark after the character string.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BatchParser_IncorrectSyntax">
|
||||
<source>Incorrect syntax was encountered while parsing '{0}'.</source>
|
||||
<target state="new">Incorrect syntax was encountered while parsing '{0}'.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BatchParser_VariableNotDefined">
|
||||
<source>Variable {0} is not defined.</source>
|
||||
<target state="new">Variable {0} is not defined.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
Reference in New Issue
Block a user