mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-05 01:25:45 -05:00
Create remote file browser service (#448)
* code refactoring * Add filebrowser service and tests * change dataset reference * Address pr comments * add more tests * address pr comments * address pr comments and added more tests * minor change * minor fix * Fix test break and add dataset result check
This commit is contained in:
@@ -3285,6 +3285,22 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string BackupPathIsFolderError
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.BackupPathIsFolderError);
|
||||
}
|
||||
}
|
||||
|
||||
public static string InvalidBackupPathError
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.InvalidBackupPathError);
|
||||
}
|
||||
}
|
||||
|
||||
public static string TaskInProgress
|
||||
{
|
||||
get
|
||||
@@ -3493,6 +3509,14 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string InvalidPathError
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.InvalidPathError);
|
||||
}
|
||||
}
|
||||
|
||||
public static string ConnectionServiceListDbErrorNotConnected(string uri)
|
||||
{
|
||||
return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri);
|
||||
@@ -4834,6 +4858,12 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string BackupTaskName = "BackupTaskName";
|
||||
|
||||
|
||||
public const string BackupPathIsFolderError = "BackupPathIsFolderError";
|
||||
|
||||
|
||||
public const string InvalidBackupPathError = "InvalidBackupPathError";
|
||||
|
||||
|
||||
public const string TaskInProgress = "TaskInProgress";
|
||||
|
||||
|
||||
@@ -4912,6 +4942,9 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string ScriptTaskName = "ScriptTaskName";
|
||||
|
||||
|
||||
public const string InvalidPathError = "InvalidPathError";
|
||||
|
||||
|
||||
private Keys()
|
||||
{ }
|
||||
|
||||
|
||||
@@ -1815,6 +1815,14 @@
|
||||
<value>Backup Database</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="BackupPathIsFolderError" xml:space="preserve">
|
||||
<value>The provided path specifies a directory but a file path is required: {0}</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="InvalidBackupPathError" xml:space="preserve">
|
||||
<value> Cannot verify the existence of the backup file location: {0}</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="TaskInProgress" xml:space="preserve">
|
||||
<value>In progress</value>
|
||||
<comment></comment>
|
||||
@@ -1919,4 +1927,8 @@
|
||||
<value>scripting</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="InvalidPathError" xml:space="preserve">
|
||||
<value>Cannot access the specified path on the server: {0}</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -807,6 +807,10 @@ prototype_file_noApplicableFileGroup = No Applicable Filegroup
|
||||
# Backup Service
|
||||
BackupTaskName = Backup Database
|
||||
|
||||
# Backup File Validation Errors
|
||||
BackupPathIsFolderError = The provided path specifies a directory but a file path is required: {0}
|
||||
InvalidBackupPathError = Cannot verify the existence of the backup file location: {0}
|
||||
|
||||
############################################################################
|
||||
# Task Service
|
||||
TaskInProgress = In progress
|
||||
@@ -840,4 +844,8 @@ TheLastBackupTaken = The last backup taken ({0})
|
||||
|
||||
############################################################################
|
||||
# Generate Script
|
||||
ScriptTaskName = scripting
|
||||
ScriptTaskName = scripting
|
||||
|
||||
############################################################################
|
||||
# File Browser Validation Errors
|
||||
InvalidPathError = Cannot access the specified path on the server: {0}
|
||||
@@ -2250,6 +2250,21 @@
|
||||
<target state="new">scripting</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="BackupPathIsFolderError">
|
||||
<source>The provided path specifies a directory but a file path is required: {0}</source>
|
||||
<target state="new">The file name specified is also a directory name: {0}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidBackupPathError">
|
||||
<source> Cannot verify the existence of the backup file location: {0}</source>
|
||||
<target state="new"> Cannot verify the existence of the backup file location: {0}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidPathError">
|
||||
<source>Cannot access the specified path on the server: {0}</source>
|
||||
<target state="new">Cannot access the specified path on the server: {0}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
Reference in New Issue
Block a user