Skip to content

Commit 2be10eb

Browse files
committed
Add translation for plugin failed to respond & Improve translations for plugin stil initializing
1 parent 297cb5c commit 2be10eb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Flow.Launcher.Core/Plugin/PluginManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ public static async Task<List<Result>> QueryForPluginAsync(PluginPair pair, Quer
429429
{
430430
Result r = new()
431431
{
432-
Title = $"{metadata.Name}: Failed to respond!",
433-
SubTitle = "Select this result for more info",
432+
Title = Localize.pluginFailedToRespond(metadata.Name),
433+
SubTitle = Localize.pluginFailedToRespondSubtitle(),
434434
IcoPath = Constant.ErrorIcon,
435435
PluginDirectory = metadata.PluginDirectory,
436436
ActionKeywordAssigned = query.ActionKeyword,

Flow.Launcher/Languages/en.xaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@
6767
<system:String x:Key="PositionResetToolTip">Reset search window position</system:String>
6868
<system:String x:Key="queryTextBoxPlaceholder">Type here to search</system:String>
6969
<system:String x:Key="pluginStillInitializing">{0}: This plugin is still initializing!</system:String>
70-
<system:String x:Key="pluginStillInitializingSubtitle">Please wait for a while and select this result to requery</system:String>
70+
<system:String x:Key="pluginStillInitializingSubtitle">Select this result to requery</system:String>
71+
<system:String x:Key="pluginFailedToRespond">{0}: Failed to respond!</system:String>
72+
<system:String x:Key="pluginFailedToRespondSubtitle">Select this result for more info</system:String>
7173

7274
<!-- Setting General -->
7375
<system:String x:Key="flowlauncher_settings">Settings</system:String>

0 commit comments

Comments
 (0)