Display Drive detection warning only for multiple drives (#7589)

* indexer drive detection helper code to not show the warning for a single drive

* removed interface from the namespace due to stylecop

* removed interfac which no longer exists

* filter out only fixed drives in the system and ignore the removable drives

* changed text to not all files are indexed, from not all drives are idnexed

* add additional info in the comment
This commit is contained in:
Alekhya
2020-10-29 10:38:15 -07:00
committed by GitHub
parent e30393e18f
commit fdffe20c0b
7 changed files with 54 additions and 12 deletions

View File

@@ -88,7 +88,7 @@ namespace Microsoft.Plugin.Indexer.Properties {
}
/// <summary>
/// Looks up a localized string similar to Warning: Not all drives are indexed..
/// Looks up a localized string similar to Warning: Not all files are indexed..
/// </summary>
public static string Microsoft_plugin_indexer_drivedetectionwarning {
get {

View File

@@ -136,7 +136,7 @@
<value>Path</value>
</data>
<data name="Microsoft_plugin_indexer_drivedetectionwarning" xml:space="preserve">
<value>Warning: Not all drives are indexed.</value>
<value>Warning: Not all files are indexed.</value>
</data>
<data name="Microsoft_plugin_indexer_disable_warning_in_settings" xml:space="preserve">
<value>Click to go to Windows Search settings to fix.</value>