Skip to content

Commit 675ee9e

Browse files
committed
Add translation for progress box title
1 parent c907c29 commit 675ee9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,9 @@ internal async Task InstallOrUpdateAsync(UserPlugin plugin)
159159
var totalBytes = response.Content.Headers.ContentLength ?? -1L;
160160
var canReportProgress = totalBytes != -1;
161161

162+
var prgBoxTitle = $"{Context.API.GetTranslation("plugin_pluginsmanager_downloading_plugin")} {plugin.Name}";
162163
if (canReportProgress &&
163-
(prgBox = Context.API.ShowProgressBox($"Download {plugin.Name}...", () =>
164+
(prgBox = Context.API.ShowProgressBox(prgBoxTitle, () =>
164165
{
165166
httpClient.CancelPendingRequests();
166167
downloadCancelled = true;

0 commit comments

Comments
 (0)