[PTRun][Settings plugin]Update device and bluetooth results (#27823)

* update settings list json

* add strings

* fix bthprops command
This commit is contained in:
Heiko 2023-08-08 20:33:11 +02:00 committed by GitHub
parent 8e712c6f49
commit 433edb4790
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 102 additions and 4 deletions

View File

@ -150,6 +150,15 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Add devices.
/// </summary>
internal static string AddDevices {
get {
return ResourceManager.GetString("AddDevices", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Add Hardware.
/// </summary>
@ -393,6 +402,15 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Bluetooth &amp; devices.
/// </summary>
internal static string AreaBluetoothAndDevices11 {
get {
return ResourceManager.GetString("AreaBluetoothAndDevices11", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Clock and Region.
/// </summary>
@ -753,6 +771,15 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Bluetooth and other devices.
/// </summary>
internal static string BluetoothAndDevices10 {
get {
return ResourceManager.GetString("BluetoothAndDevices10", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Bluetooth devices.
/// </summary>
@ -1311,6 +1338,15 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Devices.
/// </summary>
internal static string Devices {
get {
return ResourceManager.GetString("Devices", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Devices and printers.
/// </summary>
@ -2157,6 +2193,15 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Manage devices.
/// </summary>
internal static string ManageDevices {
get {
return ResourceManager.GetString("ManageDevices", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Manage known networks.
/// </summary>
@ -3210,6 +3255,15 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Phone Link.
/// </summary>
internal static string PhoneLink {
get {
return ResourceManager.GetString("PhoneLink", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Picture.
/// </summary>

View File

@ -157,6 +157,9 @@
<value>Activity history</value>
<comment>Area Privacy</comment>
</data>
<data name="AddDevices" xml:space="preserve">
<value>Add devices</value>
</data>
<data name="AddHardware" xml:space="preserve">
<value>Add Hardware</value>
<comment>Area Control Panel (legacy settings)</comment>
@ -257,6 +260,10 @@
<data name="AreaApps" xml:space="preserve">
<value>Apps</value>
</data>
<data name="AreaBluetoothAndDevices11" xml:space="preserve">
<value>Bluetooth &amp; devices</value>
<comment>Area Bluetooth&amp;Devices in Win11 Settings app</comment>
</data>
<data name="AreaClockAndRegion" xml:space="preserve">
<value>Clock and Region</value>
</data>
@ -394,6 +401,10 @@
<value>Bluetooth</value>
<comment>Area Device</comment>
</data>
<data name="BluetoothAndDevices10" xml:space="preserve">
<value>Bluetooth and other devices</value>
<comment>Page Bluetooth and devices in Win10 Settings app</comment>
</data>
<data name="BluetoothDevices" xml:space="preserve">
<value>Bluetooth devices</value>
<comment>Area Control Panel (legacy settings)</comment>
@ -623,6 +634,9 @@
<value>Device Manager</value>
<comment>Name of MMC Snap-In.</comment>
</data>
<data name="Devices" xml:space="preserve">
<value>Devices</value>
</data>
<data name="DevicesAndPrinters" xml:space="preserve">
<value>Devices and printers</value>
<comment>Area Control Panel (legacy settings)</comment>
@ -978,6 +992,9 @@
<value>main.cpl</value>
<comment>File name, Should not translated</comment>
</data>
<data name="ManageDevices" xml:space="preserve">
<value>Manage devices</value>
</data>
<data name="ManageKnownNetworks" xml:space="preserve">
<value>Manage known networks</value>
<comment>Area NetworkAndInternet</comment>
@ -1391,6 +1408,9 @@
<value>Phone - Default apps</value>
<comment>Area System</comment>
</data>
<data name="PhoneLink" xml:space="preserve">
<value>Phone Link</value>
</data>
<data name="Picture" xml:space="preserve">
<value>Picture</value>
</data>

View File

@ -183,10 +183,26 @@
"Command": "ms-settings:autoplay"
},
{
"Name": "Bluetooth",
"Name": "BluetoothAndDevices10",
"Areas": [ "AreaDevices" ],
"Type": "AppSettingsApp",
"Command": "ms-settings:bluetooth"
"Command": "ms-settings:bluetooth",
"DeprecatedInBuild": 22000
},
{
"Name": "Devices",
"Areas": [ "AreaBluetoothAndDevices11" ],
"Type": "AppSettingsApp",
"Command": "ms-settings:bluetooth",
"AltNames": ["ManageDevices", "AddDevices", "BluetoothDevices"],
"IntroducedInBuild": 22000
},
{
"Name": "AreaBluetoothAndDevices11",
"Type": "AppSettingsApp",
"Command": "ms-settings:devices",
"AltNames": ["Devices", "BluetoothDevices", "PrintersAndScanners", "PhoneLink", "Camera", "Mouse", "Touchpad", "PenAndWindowsInk", "AutoPlay", "Usb"],
"IntroducedInBuild": 22000
},
{
"Name": "ConnectedDevices",
@ -1334,7 +1350,7 @@
"Name": "BluetoothDevices",
"Areas": [ "AreaHardwareAndSound", "bthprops.cpl" ],
"Type": "AppControlPanel",
"Command": "control /name Microsoft.BluetoothDevices"
"Command": "control /bthprops.cpl"
},
{
"Name": "ColorManagement",
@ -1386,7 +1402,15 @@
"Name": "DevicesAndPrinters",
"Areas": [ "AreaHardwareAndSound" ],
"Type": "AppControlPanel",
"Command": "control /name Microsoft.DevicesAndPrinters"
"Command": "control /name Microsoft.DevicesAndPrinters",
"DeprecatedInBuild": 22000
},
{
"Name": "DevicesAndPrinters",
"Areas": [ "AreaHardwareAndSound" ],
"Type": "AppControlPanel",
"Command": "explorer.exe shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}",
"IntroducedInBuild": 22000
},
{
"Name": "EaseOfAccessCenter",