Skip to content

Commit c130522

Browse files
committed
Don't mention changeset in abort caption when there is none
1 parent 47797af commit c130522

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

GUI/Main/MainDownload.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private void CacheMods(object? sender, DoWorkEventArgs? e)
7070
dfd = new DownloadsFailedDialog(
7171
Properties.Resources.ModDownloadsFailedMessage,
7272
Properties.Resources.ModDownloadsFailedColHdr,
73-
Properties.Resources.ModDownloadsFailedAbortBtn,
73+
Properties.Resources.ModDownloadsFailedAbortBtnNotInstalling,
7474
k.Exceptions.Select(kvp => new KeyValuePair<object[], Exception>(
7575
modules.Select(m => m.Module).ToArray(), kvp.Value)),
7676
(m1, m2) => (m1 as CkanModule)?.download == (m2 as CkanModule)?.download);

GUI/Properties/Resources.resx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ Or choose "Update repositories on launch" in the settings.</value></data>
453453
<data name="ModDownloadsFailedMessage" xml:space="preserve"><value>The following mods failed to download. You can retry or abort, and if you retry, you can choose to remove some mods (and any mods that depend on them) from the changeset. Mods that share the same download link will automatically be updated to the same choice.</value></data>
454454
<data name="ModDownloadsFailedColHdr" xml:space="preserve"><value>Mod</value></data>
455455
<data name="ModDownloadsFailedAbortBtn" xml:space="preserve"><value>Abort whole changeset</value></data>
456+
<data name="ModDownloadsFailedAbortBtnNotInstalling" xml:space="preserve"><value>Abort download</value></data>
456457
<data name="RepoDownloadsFailedMessage" xml:space="preserve"><value>The following repositories failed to download. You can retry or abort, and if you retry, you can choose to remove some repositories. Note that any repositories you skip will be PERMANENTLY removed from your configuration!</value></data>
457458
<data name="RepoDownloadsFailedColHdr" xml:space="preserve"><value>Repository</value></data>
458459
<data name="RepoDownloadsFailedAbortBtn" xml:space="preserve"><value>Abort whole update</value></data>

0 commit comments

Comments
 (0)