mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-02-02 00:16:34 +01:00
Password prompt translations
This commit is contained in:
parent
58278c07ff
commit
f2c9549ba1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user