feat: better description for forced verify option (#6088)
This commit is contained in:
parent
0c52b710ad
commit
c16ed41a7d
|
@ -58,16 +58,12 @@ export class ForceVerifyDialog extends EventTarget {
|
||||||
}
|
}
|
||||||
|
|
||||||
static _createMessage(options) {
|
static _createMessage(options) {
|
||||||
let heading = null;
|
|
||||||
let message = null;
|
|
||||||
const { torrents } = options;
|
const { torrents } = options;
|
||||||
if (torrents.length === 1) {
|
const heading =
|
||||||
heading = `Force verify local data of ${torrents[0].getName()}?`;
|
torrents.length === 1
|
||||||
message = `This torrent's progress will be rechecked without any safety checks. Are you sure?`;
|
? `Force verify local data of ${torrents[0].getName()}?`
|
||||||
} else {
|
: `Force verify local data of ${torrents.length} transfers?`;
|
||||||
heading = `Force verify local data of ${torrents.length} transfers?`;
|
const message = `Missing files will be re-downloaded, use the non-forced verify function if you'd like to check for missing files.`;
|
||||||
message = `These torrents' progress will be rechecked without any safety checks. Are you sure?`;
|
|
||||||
}
|
|
||||||
return { heading, message };
|
return { heading, message };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue