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