mirror of
https://github.com/24eme/signaturepdf
synced 2026-03-14 13:55:44 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
46c80d717a
36 changed files with 85 additions and 28 deletions
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
@ -525,6 +525,9 @@ msgstr ""
|
|||
msgid "Delete the element"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: 2023-11-18 05:03+0000\n"
|
||||
"Last-Translator: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>\n"
|
||||
"Language-Team: Arabic <https://hosted.weblate.org/projects/signature-pdf/"
|
||||
|
|
@ -532,6 +532,9 @@ msgstr ""
|
|||
msgid "Delete the element"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr "النص الذي تودّ تعديله"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: Automatically generated\n"
|
||||
"Language-Team: none\n"
|
||||
|
|
@ -524,6 +524,9 @@ msgstr ""
|
|||
msgid "Delete the element"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: 2025-06-08 19:07+0000\n"
|
||||
"Last-Translator: Ettore Atalan <atalanttore@googlemail.com>\n"
|
||||
"Language-Team: German <https://hosted.weblate.org/projects/signature-pdf/"
|
||||
|
|
@ -541,6 +541,9 @@ msgstr ""
|
|||
msgid "Delete the element"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr "Zu ändernder Text"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: 2024-10-22 18:15+0000\n"
|
||||
"Last-Translator: gallegonovato <fran-carro@hotmail.es>\n"
|
||||
"Language-Team: Spanish <https://hosted.weblate.org/projects/signature-pdf/"
|
||||
|
|
@ -542,6 +542,9 @@ msgstr ""
|
|||
msgid "Delete the element"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr "Texto a modificar"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: 2025-07-05 22:01+0000\n"
|
||||
"Last-Translator: xabirequejo <xabi.rn@gmail.com>\n"
|
||||
"Language-Team: Basque <https://hosted.weblate.org/projects/signature-pdf/"
|
||||
|
|
@ -546,6 +546,9 @@ msgstr "Bikoiztu"
|
|||
msgid "Delete the element"
|
||||
msgstr "Ezabatu elementua"
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr "Moldatzeko testua"
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: 2025-07-04 13:36+0000\n"
|
||||
"Last-Translator: 24ème <equipe@24eme.fr>\n"
|
||||
"Language-Team: French <https://hosted.weblate.org/projects/signature-pdf/"
|
||||
|
|
@ -544,6 +544,9 @@ msgstr "Dupliquer"
|
|||
msgid "Delete the element"
|
||||
msgstr "Supprimer l'élément"
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr "Êtes vous sûr de vouloir supprimer ce PDF ainsi que les signatures associées ?"
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr "Texte à modifier"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: 2024-10-14 07:49+0000\n"
|
||||
"Last-Translator: 24ème <equipe@24eme.fr>\n"
|
||||
"Language-Team: Galician <https://hosted.weblate.org/projects/signature-pdf/"
|
||||
|
|
@ -539,6 +539,9 @@ msgstr ""
|
|||
msgid "Delete the element"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr "Texto a modificar"
|
||||
|
||||
|
|
|
|||
|
|
@ -591,6 +591,9 @@ msgstr "Organizza"
|
|||
msgid "Metadata"
|
||||
msgstr "Metadata"
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "The PDF must not exceed "
|
||||
#~ msgstr "Il PDF non deve superare "
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: 2025-06-03 16:01+0000\n"
|
||||
"Last-Translator: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>\n"
|
||||
"Language-Team: Kabyle <https://hosted.weblate.org/projects/signature-pdf/"
|
||||
|
|
@ -539,6 +539,9 @@ msgstr ""
|
|||
msgid "Delete the element"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr "Aḍris ara yettuṣeggmen"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: Automatically generated\n"
|
||||
"Language-Team: none\n"
|
||||
|
|
@ -524,6 +524,9 @@ msgstr ""
|
|||
msgid "Delete the element"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -593,6 +593,9 @@ msgstr "Organizar"
|
|||
msgid "Metadata"
|
||||
msgstr "Metadonadas"
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "The PDF must not exceed "
|
||||
#~ msgstr "Lo PDF deu pas despassar "
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: 2025-06-02 13:01+0000\n"
|
||||
"Last-Translator: Armando Bastoni <weblate@sabato.anonaddy.com>\n"
|
||||
"Language-Team: Polish <https://hosted.weblate.org/projects/signature-pdf/"
|
||||
|
|
@ -529,6 +529,9 @@ msgstr ""
|
|||
msgid "Delete the element"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: 2024-01-02 19:08+0000\n"
|
||||
"Last-Translator: Alexandru-Ionut Chiuta <chiuta@gmail.com>\n"
|
||||
"Language-Team: Romanian <https://hosted.weblate.org/projects/signature-pdf/"
|
||||
|
|
@ -538,6 +538,9 @@ msgstr ""
|
|||
msgid "Delete the element"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr "Text de modificat"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: 2025-07-06 20:04+0000\n"
|
||||
"Last-Translator: தமிழ்நேரம் <anishprabu.t@gmail.com>\n"
|
||||
"Language-Team: Tamil <https://hosted.weblate.org/projects/signature-pdf/"
|
||||
|
|
@ -539,6 +539,9 @@ msgstr "நகல்"
|
|||
msgid "Delete the element"
|
||||
msgstr "உறுப்பை நீக்கு"
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr "மாற்ற உரை"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
|
||||
"POT-Creation-Date: 2025-07-10 12:08+0200\n"
|
||||
"PO-Revision-Date: 2023-12-06 14:10+0000\n"
|
||||
"Last-Translator: Metin Gür <gurmetin@gmail.com>\n"
|
||||
"Language-Team: Turkish <https://hosted.weblate.org/projects/signature-pdf/"
|
||||
|
|
@ -538,6 +538,9 @@ msgstr ""
|
|||
msgid "Delete the element"
|
||||
msgstr ""
|
||||
|
||||
msgid "Are you sure you want to delete this PDF and the associated signatures?"
|
||||
msgstr ""
|
||||
|
||||
msgid "Text to modify"
|
||||
msgstr "Değiştirilecek metin"
|
||||
|
||||
|
|
|
|||
|
|
@ -526,7 +526,8 @@ function updateGlobalState() {
|
|||
document.querySelector('#top_bar_action_selection').classList.add('d-none');
|
||||
document.querySelector('#bottom_bar_action').classList.remove('d-none');
|
||||
document.querySelector('#bottom_bar_action_selection').classList.add('d-none');
|
||||
document.querySelector('#save').removeAttribute('disabled');
|
||||
document.querySelector('#save').classList.remove('d-none');
|
||||
document.querySelector('#save_select').classList.add('d-none');
|
||||
|
||||
if(isSelectionMode()) {
|
||||
document.querySelector('#container_btn_select .card-header span').innerText = document.querySelectorAll('.canvas-container .input-select:checked').length;
|
||||
|
|
@ -548,7 +549,8 @@ function updateGlobalState() {
|
|||
document.querySelector('#top_bar_action').classList.add('d-none');
|
||||
document.querySelector('#bottom_bar_action_selection').classList.remove('d-none');
|
||||
document.querySelector('#bottom_bar_action').classList.add('d-none');
|
||||
document.querySelector('#save').setAttribute('disabled', 'disabled');
|
||||
document.querySelector('#save').classList.add('d-none');
|
||||
document.querySelector('#save_select').classList.remove('d-none');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -757,17 +759,23 @@ function getPDFTags(node) {
|
|||
}
|
||||
|
||||
function createEventsListener() {
|
||||
document.getElementById('save-select_mobile').addEventListener('click', async function(event) {
|
||||
document.getElementById('save_select_mobile').addEventListener('click', async function(event) {
|
||||
event.preventDefault();
|
||||
startProcessingMode(document.getElementById('save-select_mobile'));
|
||||
startProcessingMode(document.getElementById('save_select_mobile'));
|
||||
await saveAll();
|
||||
endProcessingMode(document.getElementById('save-select_mobile'));
|
||||
endProcessingMode(document.getElementById('save_select_mobile'));
|
||||
});
|
||||
document.getElementById('save-select').addEventListener('click', async function(event) {
|
||||
document.getElementById('btn_extract_select').addEventListener('click', async function(event) {
|
||||
event.preventDefault();
|
||||
startProcessingMode(document.getElementById('save-select'));
|
||||
startProcessingMode(document.getElementById('btn_extract_select'));
|
||||
await saveAll();
|
||||
endProcessingMode(document.getElementById('save-select'));
|
||||
endProcessingMode(document.getElementById('btn_extract_select'));
|
||||
});
|
||||
document.getElementById('save_select').addEventListener('click', async function(event) {
|
||||
event.preventDefault();
|
||||
startProcessingMode(document.getElementById('save_select'));
|
||||
await saveAll();
|
||||
endProcessingMode(document.getElementById('save_select'));
|
||||
});
|
||||
document.getElementById('save').addEventListener('click', async function(e) {
|
||||
e.preventDefault();
|
||||
|
|
@ -850,7 +858,7 @@ function createEventsListener() {
|
|||
document.querySelector('#btn_liste_pdf').click();
|
||||
});
|
||||
document.querySelector('body').addEventListener('click', function(event) {
|
||||
if(!event.originalTarget.classList.contains('offcanvas-header') && !event.originalTarget.classList.contains('offcanvas-body') && event.originalTarget.id != 'container-pages' && event.originalTarget.id != 'sidebarToolsLabel' && event.originalTarget.id != 'btn_container') {
|
||||
if(!event.originalTarget.classList.contains('offcanvas-header') && !event.originalTarget.classList.contains('offcanvas-body') && event.originalTarget.id != 'container-pages' && event.originalTarget.id != 'sidebarTools' && event.originalTarget.id != 'sidebarToolsLabel' && event.originalTarget.id != 'btn_container') {
|
||||
return;
|
||||
}
|
||||
document.getElementById('btn_cancel_select').click();
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
<button id="btn_rotate_select" disabled="disabled" type="button" class="btn btn-sm btn-outline-secondary"><?php echo sprintf(_("%s Rotate 90°"), '<i class="bi bi-arrow-clockwise"></i>'); ?></button>
|
||||
<button id="btn_drag_select" disabled="disabled" type="button" class="btn btn-sm btn-outline-secondary"><?php echo sprintf(_("%s Move"), '<i class="bi bi-arrows-move"></i>'); ?></button>
|
||||
<button id="btn_delete_select" disabled="disabled" type="button" class="btn btn-sm btn-outline-secondary"><?php echo sprintf(_("%s Delete"), '<i class="bi bi-trash"></i>'); ?></button>
|
||||
<button id="save-select" class="btn btn-sm btn-outline-secondary" disabled="disabled" form="form_pdf" type="submit"><?php echo sprintf(_("%s Extract and download"), '<i class="bi bi-download"></i>'); ?></button>
|
||||
<button id="btn_extract_select" class="btn btn-sm btn-outline-secondary" disabled="disabled" form="form_pdf" type="submit"><?php echo sprintf(_("%s Extract and download"), '<i class="bi bi-download"></i>'); ?></button>
|
||||
</div>
|
||||
<div class="card-footer d-none small text-center p-1 border-primary bg-primary bg-opacity-25"><a id="btn_cancel_select_footer" type="button" aria-label="Close" style="text-decoration: none;" class="text-primary"><?php echo sprintf(_("%s Cancel selection"), '<i class="bi bi-x-lg"></i>'); ?></a></div>
|
||||
</div>
|
||||
|
|
@ -80,6 +80,7 @@
|
|||
</button>
|
||||
|
||||
<button class="btn btn-primary" type="submit" id="save"><?php echo sprintf(_("%s Download the full PDF"), '<i class="bi bi-download"></i>'); ?></button>
|
||||
<button id="save_select" class="btn btn-outline-primary d-none" type="submit"><i class="bi bi-download"></i> <?php echo _("Download the selection"); ?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
@ -108,7 +109,7 @@
|
|||
<button class="btn btn-primary" type="submit" id="save_mobile"><?php echo sprintf(_("%s Download the full PDF"), '<i class="bi bi-download"></i>'); ?></button>
|
||||
</div>
|
||||
<div id="bottom_bar_action_selection" class="d-grid gap-2 d-none">
|
||||
<button id="save-select_mobile" class="btn btn-outline-primary" type="submit" form="form_pdf"><i class="bi bi-download"></i> <?php echo _("Download the selection"); ?></button>
|
||||
<button id="save_select_mobile" class="btn btn-outline-primary" type="submit" form="form_pdf"><i class="bi bi-download"></i> <?php echo _("Download the selection"); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -329,15 +329,15 @@
|
|||
document.getElementById('text_document_name').appendChild(icon)
|
||||
|
||||
icon.addEventListener('click', async function () {
|
||||
if (confirm("Êtes vous sûr de vouloir supprimer ce PDF ainsi que les signatures associées ?")) {
|
||||
if (confirm("<?php echo _("Are you sure you want to delete this PDF and the associated signatures?") ?>")) {
|
||||
try {
|
||||
const response = await fetch('/signature/'+pdfHash+'/delete/'+adminKey);
|
||||
const response = await fetch('<?php echo $REVERSE_PROXY_URL; ?>/signature/'+pdfHash+'/delete/'+adminKey);
|
||||
if (!response.ok) {
|
||||
throw new Error(`Response status: ${response.status}`);
|
||||
}
|
||||
|
||||
localStorage.removeItem(pdfHash+'.adminKey')
|
||||
window.location.replace('/signature')
|
||||
window.location.replace('<?php echo $REVERSE_PROXY_URL; ?>/signature')
|
||||
} catch (error) {
|
||||
console.error(error.message);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue