Add translation for plugin failed to respond & Improve translations for plugin stil initializing

This commit is contained in:
Jack251970 2025-10-02 22:26:28 +08:00
parent 297cb5c3ef
commit 2be10eb4ca
2 changed files with 5 additions and 3 deletions

View file

@ -429,8 +429,8 @@ namespace Flow.Launcher.Core.Plugin
{
Result r = new()
{
Title = $"{metadata.Name}: Failed to respond!",
SubTitle = "Select this result for more info",
Title = Localize.pluginFailedToRespond(metadata.Name),
SubTitle = Localize.pluginFailedToRespondSubtitle(),
IcoPath = Constant.ErrorIcon,
PluginDirectory = metadata.PluginDirectory,
ActionKeywordAssigned = query.ActionKeyword,

View file

@ -67,7 +67,9 @@
<system:String x:Key="PositionResetToolTip">Reset search window position</system:String>
<system:String x:Key="queryTextBoxPlaceholder">Type here to search</system:String>
<system:String x:Key="pluginStillInitializing">{0}: This plugin is still initializing!</system:String>
<system:String x:Key="pluginStillInitializingSubtitle">Please wait for a while and select this result to requery</system:String>
<system:String x:Key="pluginStillInitializingSubtitle">Select this result to requery</system:String>
<system:String x:Key="pluginFailedToRespond">{0}: Failed to respond!</system:String>
<system:String x:Key="pluginFailedToRespondSubtitle">Select this result for more info</system:String>
<!-- Setting General -->
<system:String x:Key="flowlauncher_settings">Settings</system:String>