Update the quakeMode
action name (#10641)
As in #10210. This string was already in the resources (so it should already be localized!) * closes #10210. * I work here * tests? we don't got no stinkin' tests ![image](https://user-images.githubusercontent.com/18356694/125360281-45ddd280-e331-11eb-9798-6f087f33af2f.png)
This commit is contained in:
parent
19f8b9c3ca
commit
59166faa27
|
@ -601,6 +601,14 @@ namespace winrt::Microsoft::Terminal::Settings::Model::implementation
|
|||
|
||||
winrt::hstring GlobalSummonArgs::GenerateName() const
|
||||
{
|
||||
// GH#10210 - Is this action literally the same thing as the `quakeMode`
|
||||
// action? That has a special name.
|
||||
static const auto quakeModeArgs{ std::get<0>(GlobalSummonArgs::QuakeModeFromJson(Json::Value::null)) };
|
||||
if (quakeModeArgs.Equals(*this))
|
||||
{
|
||||
return RS_(L"QuakeModeCommandKey");
|
||||
}
|
||||
|
||||
std::wstringstream ss;
|
||||
ss << std::wstring_view(RS_(L"GlobalSummonCommandKey"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue