Password prompt translations

This commit is contained in:
Reece Browne 2024-12-06 20:53:16 +00:00
parent 58278c07ff
commit f2c9549ba1

View File

@ -1,7 +1,7 @@
export class DecryptFile {
async decryptFile(file) {
try {
const password = prompt('This file is password-protected. Please enter the password:');
const password = prompt(`${window.translations.passwordPrompt}`);
if (password === null) {
// User cancelled