Skip to content

Commit 96904c2

Browse files
Merge pull request #2350 from VictoriousRaptor/AddShortcutGuide
Add explanation for '@' prefix of custom shortcut
2 parents c1b776d + e09cd0c commit 96904c2

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

Flow.Launcher/CustomShortcutSetting.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@
7575
Text="{DynamicResource customeQueryShortcutTips}"
7676
TextAlignment="Left"
7777
TextWrapping="WrapWithOverflow" />
78+
<TextBlock
79+
Margin="0,20,0,0"
80+
FontSize="14"
81+
Text="{DynamicResource customeQueryShortcutGuide}"
82+
TextAlignment="Left"
83+
TextWrapping="WrapWithOverflow" />
7884
<Image
7985
Width="478"
8086
Margin="0,20,0,0"
19 KB
Loading

Flow.Launcher/Languages/en.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@
290290
<!-- Custom Query Shortcut Dialog -->
291291
<system:String x:Key="customeQueryShortcutTitle">Custom Query Shortcut</system:String>
292292
<system:String x:Key="customeQueryShortcutTips">Enter a shortcut that automatically expands to the specified query.</system:String>
293+
<system:String x:Key="customeQueryShortcutGuide" xml:space="preserve">A shortcut is expanded when it exactly matches the query. &#10;&#10;If you add an '@' prefix while inputting a shortcut, it matches any position in the query. Builtin shortcuts match any position in a query.
294+
</system:String>
293295
<system:String x:Key="duplicateShortcut">Shortcut already exists, please enter a new Shortcut or edit the existing one.</system:String>
294296
<system:String x:Key="emptyShortcut">Shortcut and/or its expansion is empty.</system:String>
295297

0 commit comments

Comments
 (0)