From 5d6f1ba6762ae6999368b14b035dd7e71c84e4d1 Mon Sep 17 00:00:00 2001
From: Heiko <61519853+htcfreek@users.noreply.github.com>
Date: Tue, 28 Jun 2022 15:42:32 +0200
Subject: [PATCH] [PT Run][Settings plugin]Update sharing settings (#19035)
* update share settings
* Spelling fix
---
.../Properties/Resources.Designer.cs | 20 ++++++++++++++++++-
.../Properties/Resources.resx | 10 +++++++++-
.../WindowsSettings.json | 16 ++++++++++++++-
3 files changed, 43 insertions(+), 3 deletions(-)
diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.Designer.cs b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.Designer.cs
index 73ab54cad0..a1c5d80c49 100644
--- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.Designer.cs
+++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.Designer.cs
@@ -2148,6 +2148,15 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties {
}
}
+ ///
+ /// Looks up a localized string similar to Nearby share settings.
+ ///
+ internal static string NearbyShareSettings {
+ get {
+ return ResourceManager.GetString("NearbyShareSettings", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to netcpl.cpl.
///
@@ -3283,7 +3292,16 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties {
}
///
- /// Looks up a localized string similar to Shared experiences.
+ /// Looks up a localized string similar to Share across devices.
+ ///
+ internal static string ShareAcrossDevices {
+ get {
+ return ResourceManager.GetString("ShareAcrossDevices", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Shared experience settings.
///
internal static string SharedExperiences {
get {
diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.resx b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.resx
index 7ee53849b7..0aab3b6545 100644
--- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.resx
+++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.resx
@@ -981,6 +981,10 @@
Navigation bar
Area Personalization
+
+ Nearby sharing settings
+ Area System
+
netcpl.cpl
File name, Should not translated
@@ -1443,8 +1447,12 @@
Set up a kiosk
Area UserAccounts
+
+ Share across devices
+ Area System
+
- Shared experiences
+ Shared experience settings
Area System
diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/WindowsSettings.json b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/WindowsSettings.json
index 61a6965b43..0a992d780b 100644
--- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/WindowsSettings.json
+++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/WindowsSettings.json
@@ -988,7 +988,21 @@
"Name": "SharedExperiences",
"Areas": [ "AreaSystem" ],
"Type": "AppSettingsApp",
- "AltNames": [ "Crossdevice" ],
+ "AltNames": [ "Crossdevice", "NearbyShareSettings", "ShareAcrossDevices" ],
+ "Command": "ms-settings:crossdevice"
+ },
+ {
+ "Name": "NearbyShareSettings",
+ "Areas": [ "AreaSystem" ],
+ "Type": "AppSettingsApp",
+ "AltNames": [ "Crossdevice", "ShareAcrossDevices", "SharedExperiences" ],
+ "Command": "ms-settings:crossdevice"
+ },
+ {
+ "Name": "ShareAcrossDevices",
+ "Areas": [ "AreaSystem" ],
+ "Type": "AppSettingsApp",
+ "AltNames": [ "Crossdevice", "NearbyShareSettings", "SharedExperiences" ],
"Command": "ms-settings:crossdevice"
},
{