Add localization updates for EditData query changes. (#612)

This commit is contained in:
Cory Rivera
2018-05-02 11:15:29 -07:00
committed by Karl Burtram
parent b81ba929ba
commit c8263d8330
3 changed files with 99 additions and 0 deletions

View File

@@ -637,6 +637,38 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string EditDataMultiTableNotSupported
{
get
{
return Keys.GetString(Keys.EditDataMultiTableNotSupported);
}
}
public static string EditDataAliasesNotSupported
{
get
{
return Keys.GetString(Keys.EditDataAliasesNotSupported);
}
}
public static string EditDataExpressionsNotSupported
{
get
{
return Keys.GetString(Keys.EditDataExpressionsNotSupported);
}
}
public static string EditDataDuplicateColumnsNotSupported
{
get
{
return Keys.GetString(Keys.EditDataDuplicateColumnsNotSupported);
}
}
public static string EE_BatchSqlMessageNoProcedureInfo
{
get
@@ -3714,6 +3746,11 @@ namespace Microsoft.SqlTools.ServiceLayer
return Keys.GetString(Keys.EditDataValueTooLarge, value, columnType);
}
public static string EditDataIncorrectTable(string tableName)
{
return Keys.GetString(Keys.EditDataIncorrectTable, tableName);
}
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Keys
{
@@ -4001,6 +4038,21 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string EditDataValueTooLarge = "EditDataValueTooLarge";
public const string EditDataMultiTableNotSupported = "EditDataMultiTableNotSupported";
public const string EditDataAliasesNotSupported = "EditDataAliasesNotSupported";
public const string EditDataExpressionsNotSupported = "EditDataExpressionsNotSupported";
public const string EditDataDuplicateColumnsNotSupported = "EditDataDuplicateColumnsNotSupported";
public const string EditDataIncorrectTable = "EditDataIncorrectTable";
public const string EE_BatchSqlMessageNoProcedureInfo = "EE_BatchSqlMessageNoProcedureInfo";

View File

@@ -505,6 +505,27 @@
<value>Value {0} is too large to fit in column of type {1}</value>
<comment>.
Parameters: 0 - value (string), 1 - columnType (string) </comment>
</data>
<data name="EditDataMultiTableNotSupported" xml:space="preserve">
<value>EditData queries targeting multiple tables are not supported</value>
<comment></comment>
</data>
<data name="EditDataAliasesNotSupported" xml:space="preserve">
<value>EditData queries with aliased columns are not supported</value>
<comment></comment>
</data>
<data name="EditDataExpressionsNotSupported" xml:space="preserve">
<value>EditData queries with aggregate or expression columns are not supported</value>
<comment></comment>
</data>
<data name="EditDataDuplicateColumnsNotSupported" xml:space="preserve">
<value>EditData queries with duplicate columns are not supported</value>
<comment></comment>
</data>
<data name="EditDataIncorrectTable" xml:space="preserve">
<value>EditData queries must query the originally targeted table '{0}'</value>
<comment>.
Parameters: 0 - tableName (string) </comment>
</data>
<data name="EE_BatchSqlMessageNoProcedureInfo" xml:space="preserve">
<value>Msg {0}, Level {1}, State {2}, Line {3}</value>

View File

@@ -2353,6 +2353,32 @@
<target state="new">File Table</target>
<note></note>
</trans-unit>
<trans-unit id="EditDataMultiTableNotSupported">
<source>EditData queries targeting multiple tables are not supported</source>
<target state="new">EditData queries targeting multiple tables are not supported</target>
<note></note>
</trans-unit>
<trans-unit id="EditDataAliasesNotSupported">
<source>EditData queries with aliased columns are not supported</source>
<target state="new">EditData queries with aliased columns are not supported</target>
<note></note>
</trans-unit>
<trans-unit id="EditDataExpressionsNotSupported">
<source>EditData queries with aggregate or expression columns are not supported</source>
<target state="new">EditData queries with aggregate or expression columns are not supported</target>
<note></note>
</trans-unit>
<trans-unit id="EditDataDuplicateColumnsNotSupported">
<source>EditData queries with duplicate columns are not supported</source>
<target state="new">EditData queries with duplicate columns are not supported</target>
<note></note>
</trans-unit>
<trans-unit id="EditDataIncorrectTable">
<source>EditData queries must query the originally targeted table '{0}'</source>
<target state="new">EditData queries must query the originally targeted table '{0}'</target>
<note>.
Parameters: 0 - tableName (string) </note>
</trans-unit>
</body>
</file>
</xliff>