mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-18 09:35:38 -05:00
simplify drop object request handler (#1953)
* simplify drop object request handler * fix test cases * fix issues * update strings * fix error * fix error
This commit is contained in:
@@ -10150,6 +10150,11 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
return Keys.GetString(Keys.UnsupportedModelType, type);
|
||||
}
|
||||
|
||||
public static string ObjectNotRenamable(string urn)
|
||||
{
|
||||
return Keys.GetString(Keys.ObjectNotRenamable, urn);
|
||||
}
|
||||
|
||||
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class Keys
|
||||
{
|
||||
@@ -14043,6 +14048,9 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string ErrorConnectionNotFound = "ErrorConnectionNotFound";
|
||||
|
||||
|
||||
public const string ObjectNotRenamable = "ObjectNotRenamable";
|
||||
|
||||
|
||||
public const string DefaultLanguagePlaceholder = "DefaultLanguagePlaceholder";
|
||||
|
||||
|
||||
|
||||
@@ -5386,6 +5386,11 @@ The Query Processor estimates that implementing the following index could improv
|
||||
<value>The connection could not be found</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="ObjectNotRenamable" xml:space="preserve">
|
||||
<value>The object could not be renamed. URN: '{0}'.</value>
|
||||
<comment>.
|
||||
Parameters: 0 - urn (string) </comment>
|
||||
</data>
|
||||
<data name="DefaultLanguagePlaceholder" xml:space="preserve">
|
||||
<value><default></value>
|
||||
<comment></comment>
|
||||
|
||||
@@ -2443,6 +2443,7 @@ GetUserDefinedObjectsFromModelFailed = Failed to get user defined objects from m
|
||||
|
||||
#ObjectManagement Service
|
||||
ErrorConnectionNotFound = The connection could not be found
|
||||
ObjectNotRenamable(string urn) = The object could not be renamed. URN: '{0}'.
|
||||
|
||||
############################################################################
|
||||
# Security Service
|
||||
|
||||
@@ -6576,6 +6576,12 @@ The Query Processor estimates that implementing the following index could improv
|
||||
<target state="new">Reset password for the login while unlocking.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ObjectNotRenamable">
|
||||
<source>The object could not be renamed. URN: '{0}'.</source>
|
||||
<target state="new">The object could not be renamed. URN: '{0}'.</target>
|
||||
<note>.
|
||||
Parameters: 0 - urn (string) </note>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
Reference in New Issue
Block a user