Password prompt translations
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
export class DecryptFile {
|
export class DecryptFile {
|
||||||
async decryptFile(file) {
|
async decryptFile(file) {
|
||||||
try {
|
try {
|
||||||
const password = prompt('This file is password-protected. Please enter the password:');
|
const password = prompt(`${window.translations.passwordPrompt}`);
|
||||||
|
|
||||||
if (password === null) {
|
if (password === null) {
|
||||||
// User cancelled
|
// User cancelled
|
||||||
|
|||||||
Reference in New Issue
Block a user