[PTRun] Windows Terminal plugin: Add option to open profiles in quake window (#19960)

* Run/Windows Terminal: Add option to open profiles in quake window

* Typo

* Incorporate review feedback
This commit is contained in:
Floris Westerman
2022-09-11 22:25:29 +02:00
committed by GitHub
parent 922d21f9f1
commit 73590c3ea9
5 changed files with 65 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsTerminal.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", "16.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 {
@@ -69,6 +69,24 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsTerminal.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Open profiles in the quake window.
/// </summary>
internal static string open_quake {
get {
return ResourceManager.GetString("open_quake", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Windows Terminal supports a &quot;quake&quot; feature where a terminal window is accessible using a global hotkey. Enable this option to open profiles in this window..
/// </summary>
internal static string open_quake_description {
get {
return ResourceManager.GetString("open_quake_description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open Windows Terminal profiles..
/// </summary>

View File

@@ -120,6 +120,14 @@
<data name="open_new_tab" xml:space="preserve">
<value>Open profiles in a new tab</value>
</data>
<data name="open_quake" xml:space="preserve">
<value>Open profiles in the quake window</value>
<comment>Quake is a well-known computer game. Don't localize. See https://en.wikipedia.org/wiki/Quake_(video_game)</comment>
</data>
<data name="open_quake_description" xml:space="preserve">
<value>Windows Terminal supports a "quake" feature where a terminal window is accessible using a global hotkey. Enable this option to open profiles in a new tab in this window.</value>
<comment>Quake is a well-known computer game. Don't localize. See https://en.wikipedia.org/wiki/Quake_(video_game)</comment>
</data>
<data name="plugin_description" xml:space="preserve">
<value>Open Windows Terminal profiles.</value>
</data>
@@ -135,4 +143,4 @@
<data name="show_hidden_profiles" xml:space="preserve">
<value>Show hidden profiles</value>
</data>
</root>
</root>