File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 39
39
<system : String x : Key =" GameMode" >Game Mode</system : String >
40
40
<system : String x : Key =" GameModeToolTip" >Suspend the use of Hotkeys.</system : String >
41
41
<system : String x : Key =" PositionReset" >Position Reset</system : String >
42
- <system : String x : Key =" queryTextBoxSuggestion " >Type here to search</system : String >
42
+ <system : String x : Key =" queryTextBoxPlaceholder " >Type here to search</system : String >
43
43
44
44
<!-- Setting General -->
45
45
<system : String x : Key =" flowlauncher_settings" >Settings</system : String >
203
203
<system : String x : Key =" ShowPlaceholder" >Show placeholder</system : String >
204
204
<system : String x : Key =" ShowPlaceholderTip" >Display placeholder when query is empty</system : String >
205
205
<system : String x : Key =" PlaceholderText" >Placeholder text</system : String >
206
- <system : String x : Key =" PlaceholderTextTip" >Change placeholder text. Input empty will use: Type here to search </system : String >
206
+ <system : String x : Key =" PlaceholderTextTip" >Change placeholder text. Input empty will use: {0} </system : String >
207
207
<system : String x : Key =" KeepMaxResults" >Fixed Window Size</system : String >
208
208
<system : String x : Key =" KeepMaxResultsToolTip" >The window size is not adjustable by dragging.</system : String >
209
209
Original file line number Diff line number Diff line change @@ -265,6 +265,11 @@ public bool ShowPlaceholder
265
265
set => Settings . ShowPlaceholder = value ;
266
266
}
267
267
268
+ public string PlaceholderTextTip
269
+ {
270
+ get => string . Format ( App . API . GetTranslation ( "PlaceholderTextTip" ) , App . API . GetTranslation ( "queryTextBoxPlaceholder" ) ) ;
271
+ }
272
+
268
273
public string PlaceholderText
269
274
{
270
275
get => Settings . PlaceholderText ;
Original file line number Diff line number Diff line change 549
549
<cc : Card
550
550
Title =" {DynamicResource PlaceholderText}"
551
551
Icon ="  "
552
- Sub =" {DynamicResource PlaceholderTextTip}" >
552
+ Sub =" {Binding PlaceholderTextTip}" >
553
553
<TextBox
554
- MinWidth =" 80 "
554
+ MinWidth =" 150 "
555
555
Text =" {Binding PlaceholderText}"
556
556
TextWrapping =" NoWrap" />
557
557
</cc : Card >
You can’t perform that action at this time.
0 commit comments