mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add translation for progress box title
This commit is contained in:
parent
c907c29148
commit
675ee9e395
1 changed files with 2 additions and 1 deletions
|
|
@ -159,8 +159,9 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
|||
var totalBytes = response.Content.Headers.ContentLength ?? -1L;
|
||||
var canReportProgress = totalBytes != -1;
|
||||
|
||||
var prgBoxTitle = $"{Context.API.GetTranslation("plugin_pluginsmanager_downloading_plugin")} {plugin.Name}";
|
||||
if (canReportProgress &&
|
||||
(prgBox = Context.API.ShowProgressBox($"Download {plugin.Name}...", () =>
|
||||
(prgBox = Context.API.ShowProgressBox(prgBoxTitle, () =>
|
||||
{
|
||||
httpClient.CancelPendingRequests();
|
||||
downloadCancelled = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue