mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add Window Title for empty property
This commit is contained in:
parent
9e24c59fa8
commit
f2399da50d
2 changed files with 9 additions and 1 deletions
|
|
@ -30,7 +30,14 @@ public partial class HotkeyControl2Dialog : ContentDialog
|
|||
|
||||
public HotkeyControl2Dialog(string hotkey, string windowTitle = "")
|
||||
{
|
||||
WindowTitle = windowTitle;
|
||||
if (windowTitle == string.Empty)
|
||||
{
|
||||
WindowTitle = InternationalizationManager.Instance.GetTranslation("hotkeyRegTitle");
|
||||
}
|
||||
else
|
||||
{
|
||||
WindowTitle = windowTitle;
|
||||
}
|
||||
CurrentHotkey = new HotkeyModel(hotkey);
|
||||
SetKeysToDisplay(CurrentHotkey);
|
||||
|
||||
|
|
|
|||
|
|
@ -309,6 +309,7 @@
|
|||
<system:String x:Key="hotkeyIsNotUnavailable">Hotkey is unavailable, please select a new hotkey</system:String>
|
||||
<system:String x:Key="invalidPluginHotkey">Invalid plugin hotkey</system:String>
|
||||
<system:String x:Key="update">Update</system:String>
|
||||
<system:String x:Key="hotkeyRegTitle">Binding Hotkey</system:String>
|
||||
<system:String x:Key="hotkeyUnavailable">It's unavailable hotkey.</system:String>
|
||||
<system:String x:Key="hotkeyRegGuide">Press the keys you want to use for this function.</system:String>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue