mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
[CmdPal] Extension string updates (#43269)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Feedback from the design team: - Reduce any redundant or long text strings for better readability and localization - `Verb + noun` for most extensions - Sentence casing according to the Windows Writing Guidelines <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] Closes: #xxx - [ ] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed, or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed --------- Co-authored-by: Michael Jolley <mike@baldbeardedbuilder.com> Co-authored-by: Jiří Polášek <me@jiripolasek.com>
This commit is contained in:
@@ -21,7 +21,7 @@ public sealed partial class BuiltInsCommandProvider : CommandProvider
|
||||
|
||||
public override ICommandItem[] TopLevelCommands() =>
|
||||
[
|
||||
new CommandItem(openSettings) { Subtitle = Properties.Resources.builtin_open_settings_subtitle },
|
||||
new CommandItem(openSettings) { },
|
||||
new CommandItem(_newExtension) { Title = _newExtension.Title, Subtitle = Properties.Resources.builtin_new_extension_subtitle },
|
||||
];
|
||||
|
||||
|
||||
@@ -117,11 +117,8 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="builtin_open_settings_subtitle" xml:space="preserve">
|
||||
<value>Open Command Palette settings</value>
|
||||
</data>
|
||||
<data name="builtin_new_extension_subtitle" xml:space="preserve">
|
||||
<value>Creates a project for a new Command Palette extension</value>
|
||||
<value>Generate a new Command Palette extension project</value>
|
||||
</data>
|
||||
<data name="builtin_quit_subtitle" xml:space="preserve">
|
||||
<value>Exit Command Palette</value>
|
||||
@@ -157,10 +154,10 @@
|
||||
<value>Open</value>
|
||||
</data>
|
||||
<data name="builtin_create_extension_title" xml:space="preserve">
|
||||
<value>Create a new extension</value>
|
||||
<value>Create extension</value>
|
||||
</data>
|
||||
<data name="builtin_open_settings_name" xml:space="preserve">
|
||||
<value>Open Settings</value>
|
||||
<value>Open Command Palette settings</value>
|
||||
</data>
|
||||
<data name="builtin_create_extension_success" xml:space="preserve">
|
||||
<value>Successfully created your new extension!</value>
|
||||
|
||||
@@ -25,7 +25,7 @@ public class QueryTests : CommandPaletteUnitTestBase
|
||||
[DataRow("hibernate", "Hibernate")]
|
||||
[DataRow("open recycle", "Open Recycle Bin")]
|
||||
[DataRow("empty recycle", "Empty Recycle Bin")]
|
||||
[DataRow("uefi", "UEFI Firmware Settings")]
|
||||
[DataRow("uefi", "UEFI firmware settings")]
|
||||
public void TopLevelPageQueryTest(string input, string matchedTitle)
|
||||
{
|
||||
var settings = new Settings();
|
||||
@@ -143,6 +143,6 @@ public class QueryTests : CommandPaletteUnitTestBase
|
||||
Assert.IsNotNull(result);
|
||||
var firstItem = result.FirstOrDefault();
|
||||
var firstItemIsUefiCommand = firstItem?.Title.Contains("UEFI", StringComparison.OrdinalIgnoreCase) ?? false;
|
||||
Assert.AreEqual(hasCommand, firstItemIsUefiCommand, $"Expected to match (or not match) 'UEFI Firmware Settings' but got '{firstItem?.Title}'");
|
||||
Assert.AreEqual(hasCommand, firstItemIsUefiCommand, $"Expected to match (or not match) 'UEFI firmware settings' but got '{firstItem?.Title}'");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ namespace Microsoft.CmdPal.Ext.TimeDate.UnitTests
|
||||
|
||||
// Assert
|
||||
Assert.IsFalse(string.IsNullOrEmpty(subtitle));
|
||||
Assert.IsTrue(subtitle.Contains("Provides time and date values in different formats"));
|
||||
Assert.IsTrue(subtitle.Contains("Show time and date values in different formats"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,8 +49,8 @@ public class BasicTests : CommandPaletteTestBase
|
||||
{
|
||||
SetSearchBox("time and date");
|
||||
|
||||
var searchFileItem = this.Find<NavigationViewItem>("Time and Date");
|
||||
Assert.AreEqual(searchFileItem.Name, "Time and Date");
|
||||
var searchFileItem = this.Find<NavigationViewItem>("Time and date");
|
||||
Assert.AreEqual(searchFileItem.Name, "Time and date");
|
||||
searchFileItem.DoubleClick();
|
||||
|
||||
SetTimeAndDaterExtensionSearchBox("year");
|
||||
@@ -63,8 +63,8 @@ public class BasicTests : CommandPaletteTestBase
|
||||
{
|
||||
SetSearchBox("Windows Terminal");
|
||||
|
||||
var searchFileItem = this.Find<NavigationViewItem>("Open Windows Terminal Profiles");
|
||||
Assert.AreEqual(searchFileItem.Name, "Open Windows Terminal Profiles");
|
||||
var searchFileItem = this.Find<NavigationViewItem>("Open Windows Terminal profiles");
|
||||
Assert.AreEqual(searchFileItem.Name, "Open Windows Terminal profiles");
|
||||
searchFileItem.DoubleClick();
|
||||
|
||||
// SetSearchBox("PowerShell");
|
||||
@@ -74,10 +74,10 @@ public class BasicTests : CommandPaletteTestBase
|
||||
[TestMethod]
|
||||
public void BasicWindowsSettingsTest()
|
||||
{
|
||||
SetSearchBox("Windows Settings");
|
||||
SetSearchBox("Windows settings");
|
||||
|
||||
var searchFileItem = this.Find<NavigationViewItem>("Windows Settings");
|
||||
Assert.AreEqual(searchFileItem.Name, "Windows Settings");
|
||||
var searchFileItem = this.Find<NavigationViewItem>("Windows settings");
|
||||
Assert.AreEqual(searchFileItem.Name, "Windows settings");
|
||||
searchFileItem.DoubleClick();
|
||||
|
||||
SetSearchBox("power");
|
||||
|
||||
@@ -35,7 +35,6 @@ public partial class AllAppsCommandProvider : CommandProvider
|
||||
|
||||
_listItem = new(_page)
|
||||
{
|
||||
Subtitle = Resources.search_installed_apps,
|
||||
MoreCommands = [new CommandContextItem(AllAppsSettings.Instance.Settings.SettingsPage)],
|
||||
};
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Microsoft.CmdPal.Ext.Apps.Properties {
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "18.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
@@ -61,7 +61,7 @@ namespace Microsoft.CmdPal.Ext.Apps.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to All Apps.
|
||||
/// Looks up a localized string similar to Search apps.
|
||||
/// </summary>
|
||||
internal static string all_apps {
|
||||
get {
|
||||
@@ -313,16 +313,7 @@ namespace Microsoft.CmdPal.Ext.Apps.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Search installed apps.
|
||||
/// </summary>
|
||||
internal static string search_installed_apps {
|
||||
get {
|
||||
return ResourceManager.GetString("search_installed_apps", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Search installed apps....
|
||||
/// Looks up a localized string similar to Search apps....
|
||||
/// </summary>
|
||||
internal static string search_installed_apps_placeholder {
|
||||
get {
|
||||
|
||||
@@ -124,14 +124,11 @@
|
||||
<data name="installed_apps" xml:space="preserve">
|
||||
<value>Installed apps</value>
|
||||
</data>
|
||||
<data name="search_installed_apps" xml:space="preserve">
|
||||
<value>Search installed apps</value>
|
||||
</data>
|
||||
<data name="all_apps" xml:space="preserve">
|
||||
<value>All Apps</value>
|
||||
<value>Search apps</value>
|
||||
</data>
|
||||
<data name="search_installed_apps_placeholder" xml:space="preserve">
|
||||
<value>Search installed apps...</value>
|
||||
<value>Search apps...</value>
|
||||
</data>
|
||||
<data name="open_path_in_console" xml:space="preserve">
|
||||
<value>Open path in console</value>
|
||||
|
||||
@@ -120,7 +120,6 @@ internal sealed partial class FallbackOpenFileItem : FallbackCommandItem, System
|
||||
var indexerPage = new IndexerPage(query, _searchEngine, _queryCookie, results);
|
||||
Title = string.Format(CultureInfo.CurrentCulture, fallbackItemSearchPageTitleCompositeFormat, query);
|
||||
Icon = Icons.FileExplorerIcon;
|
||||
Subtitle = Resources.Indexer_Subtitle;
|
||||
Command = indexerPage;
|
||||
|
||||
return;
|
||||
|
||||
@@ -33,7 +33,6 @@ public partial class IndexerCommandsProvider : CommandProvider
|
||||
new CommandItem(new IndexerPage())
|
||||
{
|
||||
Title = Resources.Indexer_Title,
|
||||
Subtitle = Resources.Indexer_Subtitle,
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
@@ -68,7 +68,6 @@ internal sealed partial class IndexerPage : DynamicListPage, IDisposable
|
||||
_noSearchEmptyContent = new CommandItem(new NoOpCommand())
|
||||
{
|
||||
Icon = Icon,
|
||||
Title = Resources.Indexer_Subtitle,
|
||||
Subtitle = Resources.Indexer_NoSearchQueryMessageTip,
|
||||
};
|
||||
|
||||
|
||||
@@ -295,15 +295,6 @@ namespace Microsoft.CmdPal.Ext.Indexer.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Search files on this device.
|
||||
/// </summary>
|
||||
internal static string Indexer_Subtitle {
|
||||
get {
|
||||
return ResourceManager.GetString("Indexer_Subtitle", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Search files.
|
||||
/// </summary>
|
||||
|
||||
@@ -171,9 +171,6 @@
|
||||
<data name="Indexer_Settings_FallbackCommand_FilePathExist" xml:space="preserve">
|
||||
<value>Only when file path exist</value>
|
||||
</data>
|
||||
<data name="Indexer_Subtitle" xml:space="preserve">
|
||||
<value>Search files on this device</value>
|
||||
</data>
|
||||
<data name="Indexer_Title" xml:space="preserve">
|
||||
<value>Search files</value>
|
||||
</data>
|
||||
|
||||
@@ -25,8 +25,7 @@ public partial class RegistryCommandsProvider : CommandProvider
|
||||
return [
|
||||
new CommandItem(new RegistryListPage(_settingsManager))
|
||||
{
|
||||
Title = "Registry",
|
||||
Subtitle = "Navigate the Windows registry",
|
||||
Title = "Browse the Windows registry",
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace Microsoft.CmdPal.Ext.Shell.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Executes commands (e.g. 'ping', 'cmd').
|
||||
/// Looks up a localized string similar to Execute system commands like 'ping' and 'cmd'.
|
||||
/// </summary>
|
||||
public static string cmd_plugin_description {
|
||||
get {
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
<value>Run commands</value>
|
||||
</data>
|
||||
<data name="cmd_plugin_description" xml:space="preserve">
|
||||
<value>Executes commands (e.g. 'ping', 'cmd')</value>
|
||||
<value>Execute system commands like 'ping' and 'cmd'</value>
|
||||
</data>
|
||||
<data name="cmd_has_been_executed_times" xml:space="preserve">
|
||||
<value>this command has been executed {0} times</value>
|
||||
|
||||
@@ -160,7 +160,7 @@ namespace Microsoft.CmdPal.Ext.System {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Adapter Details.
|
||||
/// Looks up a localized string similar to Adapter details.
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_ext_adapter_details {
|
||||
get {
|
||||
@@ -169,7 +169,7 @@ namespace Microsoft.CmdPal.Ext.System {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Connection Details.
|
||||
/// Looks up a localized string similar to Connection details.
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_ext_connection_details {
|
||||
get {
|
||||
@@ -187,7 +187,7 @@ namespace Microsoft.CmdPal.Ext.System {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Open System Command.
|
||||
/// Looks up a localized string similar to Open system command.
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_ext_fallback_display_title {
|
||||
get {
|
||||
@@ -205,7 +205,7 @@ namespace Microsoft.CmdPal.Ext.System {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to System Commands.
|
||||
/// Looks up a localized string similar to System commands.
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_ext_system_page_name {
|
||||
get {
|
||||
@@ -214,7 +214,7 @@ namespace Microsoft.CmdPal.Ext.System {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Windows System Commands.
|
||||
/// Looks up a localized string similar to Windows system commands.
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_ext_system_page_title {
|
||||
get {
|
||||
@@ -628,7 +628,7 @@ namespace Microsoft.CmdPal.Ext.System {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You are about to restart this computer, are you sure?.
|
||||
/// Looks up a localized string similar to You are about to restart this computer. Are you sure?.
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_sys_restart_computer_confirmation {
|
||||
get {
|
||||
@@ -790,7 +790,7 @@ namespace Microsoft.CmdPal.Ext.System {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to DNS Suffix.
|
||||
/// Looks up a localized string similar to DNS suffix.
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_sys_Suffix {
|
||||
get {
|
||||
@@ -817,7 +817,7 @@ namespace Microsoft.CmdPal.Ext.System {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to UEFI Firmware Settings.
|
||||
/// Looks up a localized string similar to UEFI firmware settings.
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_sys_uefi {
|
||||
get {
|
||||
@@ -826,7 +826,7 @@ namespace Microsoft.CmdPal.Ext.System {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You are about to reboot this computer into UEFI Firmware Settings menu, are you sure?.
|
||||
/// Looks up a localized string similar to You are about to reboot this computer into UEFI firmware settings menu, are you sure?.
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_sys_uefi_confirmation {
|
||||
get {
|
||||
@@ -835,7 +835,7 @@ namespace Microsoft.CmdPal.Ext.System {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Reboot computer into UEFI Firmware Settings (Requires administrative permissions.).
|
||||
/// Looks up a localized string similar to Reboot computer into UEFI firmware Settings (requires administrative permissions.).
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_sys_uefi_description {
|
||||
get {
|
||||
|
||||
@@ -149,10 +149,10 @@
|
||||
<value>Shutdown</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_ext_connection_details" xml:space="preserve">
|
||||
<value>Connection Details</value>
|
||||
<value>Connection details</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_ext_adapter_details" xml:space="preserve">
|
||||
<value>Adapter Details</value>
|
||||
<value>Adapter details</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_ext_copy" xml:space="preserve">
|
||||
<value>Copy to clipboard</value>
|
||||
@@ -161,10 +161,10 @@
|
||||
<value>Hide disconnected network info</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_ext_system_page_title" xml:space="preserve">
|
||||
<value>Windows System Commands</value>
|
||||
<value>Windows system commands</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_ext_system_page_name" xml:space="preserve">
|
||||
<value>System Commands</value>
|
||||
<value>System commands</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_AdapterName" xml:space="preserve">
|
||||
<value>Adapter name</value>
|
||||
@@ -327,7 +327,7 @@
|
||||
<comment>This should align to the action in Windows of a restarting your computer.</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_restart_computer_confirmation" xml:space="preserve">
|
||||
<value>You are about to restart this computer, are you sure?</value>
|
||||
<value>You are about to restart this computer. Are you sure?</value>
|
||||
<comment>This should align to the action in Windows of a restarting your computer.</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_restart_computer_description" xml:space="preserve">
|
||||
@@ -381,7 +381,7 @@
|
||||
<value>State</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_Suffix" xml:space="preserve">
|
||||
<value>DNS Suffix</value>
|
||||
<value>DNS suffix</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_TunnelConnection" xml:space="preserve">
|
||||
<value>Tunnel</value>
|
||||
@@ -391,15 +391,15 @@
|
||||
<comment>Means type like category. Here it means network interface type (ethernet, wifi, ...).</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_uefi" xml:space="preserve">
|
||||
<value>UEFI Firmware Settings</value>
|
||||
<value>UEFI firmware settings</value>
|
||||
<comment>This should align to the action in Windows Recovery Environment that restart into uefi settings.</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_uefi_confirmation" xml:space="preserve">
|
||||
<value>You are about to reboot this computer into UEFI Firmware Settings menu, are you sure?</value>
|
||||
<value>You are about to reboot this computer into UEFI firmware settings menu, are you sure?</value>
|
||||
<comment>This should align to the action in Windows Recovery Environment that restart into uefi settings.</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_uefi_description" xml:space="preserve">
|
||||
<value>Reboot computer into UEFI Firmware Settings (Requires administrative permissions.)</value>
|
||||
<value>Reboot computer into UEFI firmware Settings (requires administrative permissions.)</value>
|
||||
<comment>This should align to the action in Windows Recovery Environment that restart into uefi settings.</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_Unknown" xml:space="preserve">
|
||||
@@ -415,7 +415,7 @@
|
||||
<value>Sleep</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_ext_fallback_display_title" xml:space="preserve">
|
||||
<value>Open System Command</value>
|
||||
<value>Execute system commands</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_RestartShell" xml:space="preserve">
|
||||
<value>Restart Windows Explorer</value>
|
||||
|
||||
@@ -17,11 +17,6 @@ public sealed partial class TimeDateCalculator
|
||||
/// </summary>
|
||||
private const string InputDelimiter = "::";
|
||||
|
||||
/// <summary>
|
||||
/// A list of conjunctions that we ignore on search
|
||||
/// </summary>
|
||||
private static readonly string[] _conjunctionList = Resources.Microsoft_plugin_timedate_Search_ConjunctionList.Split("; ");
|
||||
|
||||
/// <summary>
|
||||
/// Searches for results
|
||||
/// </summary>
|
||||
|
||||
@@ -349,7 +349,7 @@ namespace Microsoft.CmdPal.Ext.TimeDate {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Time and Date.
|
||||
/// Looks up a localized string similar to Time and date.
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_timedate_main_page_title {
|
||||
get {
|
||||
@@ -448,7 +448,7 @@ namespace Microsoft.CmdPal.Ext.TimeDate {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Provides time and date values in different formats.
|
||||
/// Looks up a localized string similar to Show time and date values in different formats.
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_timedate_plugin_description {
|
||||
get {
|
||||
@@ -484,7 +484,7 @@ namespace Microsoft.CmdPal.Ext.TimeDate {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Time and Date.
|
||||
/// Looks up a localized string similar to Time and date.
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_timedate_plugin_name {
|
||||
get {
|
||||
@@ -501,15 +501,6 @@ namespace Microsoft.CmdPal.Ext.TimeDate {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to "for; and; nor; but; or; so".
|
||||
/// </summary>
|
||||
public static string Microsoft_plugin_timedate_Search_ConjunctionList {
|
||||
get {
|
||||
return ResourceManager.GetString("Microsoft_plugin_timedate_Search_ConjunctionList", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Date and time; Time and Date; Custom format.
|
||||
/// </summary>
|
||||
|
||||
@@ -202,7 +202,7 @@
|
||||
<comment>'UTC' means here 'Universal Time Convention'</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_timedate_plugin_description" xml:space="preserve">
|
||||
<value>Provides time and date values in different formats</value>
|
||||
<value>Show time and date values in different formats</value>
|
||||
<comment>Do not translate the placeholders like '{0}' because it will be replaced in code.</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_timedate_plugin_description_example_calendarWeek" xml:space="preserve">
|
||||
@@ -215,7 +215,7 @@
|
||||
<value>Time</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_timedate_plugin_name" xml:space="preserve">
|
||||
<value>Time and Date</value>
|
||||
<value>Time and date</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_timedate_Rfc1123" xml:space="preserve">
|
||||
<value>RFC1123</value>
|
||||
@@ -252,10 +252,6 @@
|
||||
<value>Current Time; Now</value>
|
||||
<comment>Don't change order</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_timedate_Search_ConjunctionList" xml:space="preserve">
|
||||
<value>for; and; nor; but; or; so</value>
|
||||
<comment>List of conjunctions. We don't add 'yet' because this can be a synonym of 'now' which might be problematic on localized searches.</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_timedate_Second" xml:space="preserve">
|
||||
<value>Second</value>
|
||||
</data>
|
||||
@@ -358,7 +354,7 @@
|
||||
<value>Error: Invalid input</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_timedate_main_page_title" xml:space="preserve">
|
||||
<value>Time and Date</value>
|
||||
<value>Time and date</value>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_timedate_InvalidInput_SupportedInput" xml:space="preserve">
|
||||
<value>A {0}format name{0}, a {0}valid date or time value{0}, or a {0}prefixed number{0}. To search for a format in a specific date/time please use the syntax {0}format::date/time/number{0}.{1}Supported prefixes:{2}'{0}u{0}' for Unix Timestamp{2}'{0}ums{0}' for Unix Timestamp in milliseconds{2}'{0}ft{0}' for Windows file time{2}'{0}oa{0}' for OLE Automation Date{2}'{0}exc{0}' for Excel's 1900 date value{2}'{0}exf{0}' for Excel's 1904 date value</value>
|
||||
|
||||
@@ -124,16 +124,7 @@ namespace Microsoft.CmdPal.Ext.WinGet.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Search for extensions on WinGet.
|
||||
/// </summary>
|
||||
public static string winget_install_extensions_subtitle {
|
||||
get {
|
||||
return ResourceManager.GetString("winget_install_extensions_subtitle", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Install Command Palette extensions.
|
||||
/// Looks up a localized string similar to Add Command Palette extensions from WinGet.
|
||||
/// </summary>
|
||||
public static string winget_install_extensions_title {
|
||||
get {
|
||||
@@ -205,7 +196,7 @@ namespace Microsoft.CmdPal.Ext.WinGet.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Search WinGet.
|
||||
/// Looks up a localized string similar to Find apps on WinGet.
|
||||
/// </summary>
|
||||
public static string winget_page_name {
|
||||
get {
|
||||
@@ -268,7 +259,7 @@ namespace Microsoft.CmdPal.Ext.WinGet.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Search for extensions in the Store.
|
||||
/// Looks up a localized string similar to Add Command Palette extensions from the Microsoft Store.
|
||||
/// </summary>
|
||||
public static string winget_search_store_title {
|
||||
get {
|
||||
|
||||
@@ -127,19 +127,15 @@
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="winget_install_extensions_title" xml:space="preserve">
|
||||
<value>Install Command Palette extensions</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="winget_install_extensions_subtitle" xml:space="preserve">
|
||||
<value>Search for extensions on WinGet</value>
|
||||
<value>Add Command Palette extensions from WinGet</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="winget_search_store_title" xml:space="preserve">
|
||||
<value>Search for extensions in the Store</value>
|
||||
<value>Add Command Palette extensions from the Microsoft Store</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="winget_page_name" xml:space="preserve">
|
||||
<value>Search WinGet</value>
|
||||
<value>Find apps on WinGet</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="winget_create_catalog_error" xml:space="preserve">
|
||||
|
||||
@@ -27,7 +27,6 @@ public partial class WinGetExtensionCommandsProvider : CommandProvider
|
||||
new WinGetExtensionPage(WinGetExtensionPage.ExtensionsTag) { Title = Properties.Resources.winget_install_extensions_title })
|
||||
{
|
||||
Title = Properties.Resources.winget_install_extensions_title,
|
||||
Subtitle = Properties.Resources.winget_install_extensions_subtitle,
|
||||
},
|
||||
|
||||
new ListItem(
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace Microsoft.CmdPal.Ext.WindowWalker.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to On all Desktops.
|
||||
/// Looks up a localized string similar to On all desktops.
|
||||
/// </summary>
|
||||
public static string VirtualDesktopHelper_AllDesktops {
|
||||
get {
|
||||
@@ -196,7 +196,7 @@ namespace Microsoft.CmdPal.Ext.WindowWalker.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Not Responding.
|
||||
/// Looks up a localized string similar to Not responding.
|
||||
/// </summary>
|
||||
public static string windowwalker_NotResponding {
|
||||
get {
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
<value>When disabled, windows will be sorted by title</value>
|
||||
</data>
|
||||
<data name="windowwalker_NotResponding" xml:space="preserve">
|
||||
<value>Not Responding</value>
|
||||
<value>Not responding</value>
|
||||
</data>
|
||||
<data name="window_walker_top_level_command_title" xml:space="preserve">
|
||||
<value>Switch between open windows</value>
|
||||
@@ -218,7 +218,7 @@
|
||||
<value>Switch to</value>
|
||||
</data>
|
||||
<data name="VirtualDesktopHelper_AllDesktops" xml:space="preserve">
|
||||
<value>On all Desktops</value>
|
||||
<value>On all desktops</value>
|
||||
</data>
|
||||
<data name="VirtualDesktopHelper_Desktop" xml:space="preserve">
|
||||
<value>Desktop {0}</value>
|
||||
|
||||
@@ -23,8 +23,7 @@ public partial class WindowsServicesCommandsProvider : CommandProvider
|
||||
return [
|
||||
new CommandItem(new ServicesListPage())
|
||||
{
|
||||
Title = "Windows Services",
|
||||
Subtitle = "Manage Windows Services",
|
||||
Title = "Manage Windows services",
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace Microsoft.CmdPal.Ext.WindowsTerminal.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Open Windows Terminal Profiles.
|
||||
/// Looks up a localized string similar to Open Windows Terminal profiles.
|
||||
/// </summary>
|
||||
internal static string list_item_title {
|
||||
get {
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
<value>Settings</value>
|
||||
</data>
|
||||
<data name="list_item_title" xml:space="preserve">
|
||||
<value>Open Windows Terminal Profiles</value>
|
||||
<value>Open Windows Terminal profiles</value>
|
||||
</data>
|
||||
<data name="preferred_channel" xml:space="preserve">
|
||||
<value>Preferred channel</value>
|
||||
|
||||
@@ -74,7 +74,7 @@ namespace Microsoft.PowerToys.Run.Plugin.System.UnitTests
|
||||
var result = main.Object.Query(expectedQuery).FirstOrDefault().SubTitle;
|
||||
|
||||
// Assert
|
||||
Assert.AreEqual("Reboot computer into UEFI Firmware Settings (Requires administrative permissions.)", result);
|
||||
Assert.AreEqual("Reboot computer into UEFI firmware settings (Requires administrative permissions.)", result);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Microsoft.PowerToys.Run.Plugin.System.Properties {
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "18.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
@@ -682,7 +682,7 @@ namespace Microsoft.PowerToys.Run.Plugin.System.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to You are about to reboot this computer into UEFI Firmware Settings menu, are you sure?.
|
||||
/// Looks up a localized string similar to You are about to reboot this computer into UEFI firmware settings menu, are you sure?.
|
||||
/// </summary>
|
||||
internal static string Microsoft_plugin_sys_uefi_confirmation {
|
||||
get {
|
||||
@@ -691,7 +691,7 @@ namespace Microsoft.PowerToys.Run.Plugin.System.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Reboot computer into UEFI Firmware Settings (Requires administrative permissions.).
|
||||
/// Looks up a localized string similar to Reboot computer into UEFI firmware settings (Requires administrative permissions.).
|
||||
/// </summary>
|
||||
internal static string Microsoft_plugin_sys_uefi_description {
|
||||
get {
|
||||
|
||||
@@ -362,15 +362,15 @@
|
||||
<comment>Means type like category. Here it means network interface type (ethernet, wifi, ...).</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_uefi" xml:space="preserve">
|
||||
<value>UEFI Firmware Settings</value>
|
||||
<value>UEFI firmware settings</value>
|
||||
<comment>This should align to the action in Windows Recovery Environment that restart into uefi settings.</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_uefi_confirmation" xml:space="preserve">
|
||||
<value>You are about to reboot this computer into UEFI Firmware Settings menu, are you sure?</value>
|
||||
<value>You are about to reboot this computer into UEFI firmware settings menu, are you sure?</value>
|
||||
<comment>This should align to the action in Windows Recovery Environment that restart into uefi settings.</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_uefi_description" xml:space="preserve">
|
||||
<value>Reboot computer into UEFI Firmware Settings (Requires administrative permissions.)</value>
|
||||
<value>Reboot computer into UEFI firmware settings (Requires administrative permissions.)</value>
|
||||
<comment>This should align to the action in Windows Recovery Environment that restart into uefi settings.</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_sys_Unknown" xml:space="preserve">
|
||||
|
||||
@@ -208,7 +208,7 @@
|
||||
<comment>'UTC' means here 'Universal Time Convention'</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_timedate_plugin_description" xml:space="preserve">
|
||||
<value>Provides time and date values for the system time or a custom time stamp (e.g.'{0}', '{1}', '{2}', '{3}')</value>
|
||||
<value>Shows time and date values for the system time or a custom time stamp (e.g.'{0}', '{1}', '{2}', '{3}')</value>
|
||||
<comment>Do not translate the placeholders like '{0}' because it will be replaced in code.</comment>
|
||||
</data>
|
||||
<data name="Microsoft_plugin_timedate_plugin_description_example_calendarWeek" xml:space="preserve">
|
||||
|
||||
Reference in New Issue
Block a user