1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2026-03-14 13:55:44 +01:00

Merge branch 'master' of github.com:24eme/signaturepdf

This commit is contained in:
Gabriel Poma 2025-07-09 19:07:51 +02:00
commit 3ba2f84ac0
41 changed files with 565 additions and 192 deletions

View file

@ -70,16 +70,10 @@ sudo service apache2 restart
## [Deploy with Docker](#docker)
### Building the image
```bash
docker build -t signaturepdf .
```
### Running a container
```bash
docker run -d --name=signaturepdf -p 8080:80 signaturepdf
docker run -d --name=signaturepdf -p 8080:80 xgaia/signaturepdf
```
[localhost:8080](http://localhost:8080)
@ -104,6 +98,17 @@ The following variables can be used to configure the deployment:
docker run -d --name=signaturepdf -p 8080:80 -e SERVERNAME=pdf.example.org -e UPLOAD_MAX_FILESIZE=48M -e POST_MAX_SIZE=48M -e MAX_FILE_UPLOADS=401 -e PDF_STORAGE_PATH=/data signaturepdf
```
### Building the image from source
You can also build the Docker image from source if necessary:
```bash
git clone https://github.com/24eme/signaturepdf.git
cd signaturepdf
docker build -t signaturepdf .
docker run -d --name=signaturepdf -p 8080:80 signaturepdf
```
## [Alpine](#alpine)
Here is a script to install the solution on Linux Alpine (tested with version 3.15).

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"POT-Creation-Date: 2025-07-09 17:39+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"
@ -146,6 +146,9 @@ msgstr ""
msgid "Rotate pages"
msgstr ""
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr ""
@ -243,6 +246,9 @@ msgstr ""
msgid "%s Cancel selection"
msgstr ""
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr ""
@ -266,6 +272,21 @@ msgstr ""
msgid "PDF documents"
msgstr ""
msgid "Close"
msgstr ""
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr ""
@ -465,9 +486,6 @@ msgid ""
"any time."
msgstr ""
msgid "Close"
msgstr ""
msgid "Signed PDF"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"POT-Creation-Date: 2025-07-09 17:39+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/"
@ -149,6 +149,9 @@ msgstr ""
msgid "Rotate pages"
msgstr ""
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr ""
@ -246,6 +249,9 @@ msgstr "%s فك الضغط وتنزيل"
msgid "%s Cancel selection"
msgstr "%s إلغاء التحديد"
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr "%s تنزيل الـ PDF كاملًا"
@ -269,6 +275,21 @@ msgstr "تنزيل المُحدَّدة"
msgid "PDF documents"
msgstr "مستندات PDF"
msgid "Close"
msgstr "إغلاق"
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr "وقِّع أو وقِّع جانبيا أو ضع خاتما أو اكمل مُستَنَدًا"
@ -472,9 +493,6 @@ msgid ""
"any time."
msgstr "بإمكان كل مُوَقِّع تنزيل آخِر نسخة من ملف الـ PDF المُوَقَّع في أي وقت."
msgid "Close"
msgstr "إغلاق"
msgid "Signed PDF"
msgstr "ملف PDF مُوَقَّع"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@ -145,6 +145,9 @@ msgstr ""
msgid "Rotate pages"
msgstr ""
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr ""
@ -242,6 +245,9 @@ msgstr ""
msgid "%s Cancel selection"
msgstr ""
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr ""
@ -265,6 +271,21 @@ msgstr ""
msgid "PDF documents"
msgstr ""
msgid "Close"
msgstr ""
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr ""
@ -464,9 +485,6 @@ msgid ""
"any time."
msgstr ""
msgid "Close"
msgstr ""
msgid "Signed PDF"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"POT-Creation-Date: 2025-07-09 17:39+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/"
@ -150,6 +150,9 @@ msgstr ""
msgid "Rotate pages"
msgstr ""
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr ""
@ -248,6 +251,9 @@ msgstr "%s Extrahieren und herunterladen"
msgid "%s Cancel selection"
msgstr "%s Auswahl aufheben"
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr "%s Vollständiges PDF herunterladen"
@ -271,6 +277,21 @@ msgstr "Auswahl herunterladen"
msgid "PDF documents"
msgstr "PDF-Dokumente"
msgid "Close"
msgstr "Schließen"
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr ""
@ -481,9 +502,6 @@ msgstr ""
"Jeder der Unterzeichner kann jederzeit die neueste Version der "
"unterzeichneten PDF-Datei herunterladen."
msgid "Close"
msgstr "Schließen"
msgid "Signed PDF"
msgstr "PDF unterschrieben"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"POT-Creation-Date: 2025-07-09 17:39+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/"
@ -148,6 +148,9 @@ msgstr ""
msgid "Rotate pages"
msgstr ""
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr ""
@ -245,6 +248,9 @@ msgstr "%s extraer y descargar"
msgid "%s Cancel selection"
msgstr "%s cancelar selección"
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr "%s Descargar el PDF completo"
@ -268,6 +274,21 @@ msgstr "Descargar la selección"
msgid "PDF documents"
msgstr "Documentos PDF"
msgid "Close"
msgstr "Cerrar"
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr "Firmar, rubricar, sellar, cumplimentar un documento"
@ -475,9 +496,6 @@ msgstr ""
"Cada uno de los firmantes puede descargar la última versión del PDF firmado "
"en cualquier momento."
msgid "Close"
msgstr "Cerrar"
msgid "Signed PDF"
msgstr "PDF firmado"

Binary file not shown.

View file

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"PO-Revision-Date: 2025-06-25 23:02+0000\n"
"POT-Creation-Date: 2025-07-09 17:39+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/"
"application/eu/>\n"
@ -136,7 +136,7 @@ msgid "Add a watermark"
msgstr "Gehitu filigrana"
msgid "Redact areas"
msgstr ""
msgstr "Ezabatu eremuak"
msgid "Organize PDFs"
msgstr "Antolatu PDFak"
@ -153,6 +153,9 @@ msgstr "Erauzi orriak"
msgid "Rotate pages"
msgstr "Biratu orriak"
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr "Ezabatu orriak"
@ -250,6 +253,9 @@ msgstr "%s Erauzi eta deskargatu"
msgid "%s Cancel selection"
msgstr "%s Utzi hautaketa"
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr "%s Deskargatu PDF osoa"
@ -273,6 +279,21 @@ msgstr "Deskargatu hautaketa"
msgid "PDF documents"
msgstr "PDF dokumentuak"
msgid "Close"
msgstr "Itxi"
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr "Sinatu, idatzi inizialak, zigilatu, osatu dokumentua"
@ -342,7 +363,7 @@ msgid "%s Check box"
msgstr "%s Kontrol-laukia"
msgid "Redaction area"
msgstr ""
msgstr "Ezabatzeko eremua"
msgid "Watermark"
msgstr "Filigrana"
@ -359,7 +380,7 @@ msgid "Download the signed PDF"
msgstr "Deskargatu sinatutako PDFa"
msgid "The PDF will be flattened"
msgstr ""
msgstr "PDFa lautuko da"
#, php-format
msgid "You are %s to have signed this PDF"
@ -479,9 +500,6 @@ msgstr ""
"Sinatzaile bakoitzak sinatutako PDFaren azken bertsioa deskargatu dezake "
"edozein unetan."
msgid "Close"
msgstr "Itxi"
msgid "Signed PDF"
msgstr "Sinatutako PDFa"
@ -514,19 +532,19 @@ msgstr ""
"Dokumentua (%s) sinatu berri dut: %s"
msgid "Change the color of the selected element"
msgstr ""
msgstr "Aldatu hautatutako elementuaren kolorea"
msgid "Duplicate the element"
msgstr ""
msgstr "Bikoiztu elementua"
msgid "Duplicate on each page"
msgstr ""
msgstr "Bikoiztu orri bakoitzean"
msgid "Duplicate"
msgstr ""
msgstr "Bikoiztu"
msgid "Delete the element"
msgstr ""
msgstr "Ezabatu elementua"
msgid "Text to modify"
msgstr "Moldatzeko testua"

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"POT-Creation-Date: 2025-07-09 17:39+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/"
@ -149,6 +149,9 @@ msgstr "Extraire des pages"
msgid "Rotate pages"
msgstr "Pivoter les pages"
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr "Supprimer des pages"
@ -246,6 +249,9 @@ msgstr "%s Extraire et télécharger"
msgid "%s Cancel selection"
msgstr "%s Annuler la sélection"
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr "%s Télécharger le PDF complet"
@ -269,6 +275,21 @@ msgstr "Télécharger la sélection"
msgid "PDF documents"
msgstr "Documents PDF"
msgid "Close"
msgstr "Fermer"
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr "Signer, parapher, tamponner, compléter un document"
@ -477,9 +498,6 @@ msgstr ""
"Chacun des signataires pourra à tout moment télécharger la dernière version "
"du PDF signé."
msgid "Close"
msgstr "Fermer"
msgid "Signed PDF"
msgstr "PDF signé"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"POT-Creation-Date: 2025-07-09 17:39+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/"
@ -148,6 +148,9 @@ msgstr ""
msgid "Rotate pages"
msgstr ""
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr ""
@ -245,6 +248,9 @@ msgstr "%s Extraer e descargar"
msgid "%s Cancel selection"
msgstr "%s Desbotar selección"
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr "%s Descargar PDF completo"
@ -268,6 +274,21 @@ msgstr "Descargar a selección"
msgid "PDF documents"
msgstr "Documentos PDF"
msgid "Close"
msgstr "Pechar"
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr "Asinar, iniciais, selo, completar un documento"
@ -475,9 +496,6 @@ msgstr ""
"Cada unha das persoas asinantes pode descargar en calquera momento a última "
"versión do PDF asinado."
msgid "Close"
msgstr "Pechar"
msgid "Signed PDF"
msgstr "Asinaches o PDF"

Binary file not shown.

View file

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-01 14:31+0200\n"
"PO-Revision-Date: 2025-07-01 23:01+0000\n"
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
"PO-Revision-Date: 2025-07-04 20:01+0000\n"
"Last-Translator: albanobattistella <albano_battistella@hotmail.com>\n"
"Language-Team: Italian <https://hosted.weblate.org/projects/signature-pdf/"
"application/it/>\n"
@ -148,6 +148,9 @@ msgstr "Estrai pagine"
msgid "Rotate pages"
msgstr "Ruota le pagine"
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr "Elimina pagine"
@ -245,6 +248,9 @@ msgstr "%s Estrai e scarica"
msgid "%s Cancel selection"
msgstr "%s Annulla selezione"
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr "%s Scaricato il PDF completo"
@ -268,6 +274,21 @@ msgstr "Scarica la selezione"
msgid "PDF documents"
msgstr "Documenti PDF"
msgid "Close"
msgstr "Chiudi"
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr "Firma, annota, timbra, completa un documento"
@ -334,7 +355,7 @@ msgstr "Barrato"
#, php-format
msgid "%s Check box"
msgstr "%s Check box"
msgstr "%s Casella di controllo"
msgid "Redaction area"
msgstr "Area di redazione"
@ -474,9 +495,6 @@ msgstr ""
"Ogni firmatario può scaricare l'ultima versione del PDF firmato in qualsiasi "
"momento."
msgid "Close"
msgstr "Chiudi"
msgid "Signed PDF"
msgstr "PDF firmato"
@ -507,6 +525,21 @@ msgstr ""
"\n"
"Ho appena firmato il documento (%s) : %s"
msgid "Change the color of the selected element"
msgstr "Cambia il colore dell'elemento selezionato"
msgid "Duplicate the element"
msgstr "Duplica l'elemento"
msgid "Duplicate on each page"
msgstr "Duplica su ogni pagina"
msgid "Duplicate"
msgstr "Duplicare"
msgid "Delete the element"
msgstr "Elimina l'elemento"
msgid "Text to modify"
msgstr "Testo da modificare"
@ -558,21 +591,6 @@ msgstr "Organizza"
msgid "Metadata"
msgstr "Metadata"
msgid "Change the color of the selected element"
msgstr ""
msgid "Duplicate the element"
msgstr ""
msgid "Duplicate on each page"
msgstr ""
msgid "Duplicate"
msgstr ""
msgid "Delete the element"
msgstr ""
#~ msgid "The PDF must not exceed "
#~ msgstr "Il PDF non deve superare "

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"POT-Creation-Date: 2025-07-09 17:39+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/"
@ -148,6 +148,9 @@ msgstr "Sefsu isebtar"
msgid "Rotate pages"
msgstr "Zzi isebtar"
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr "Kkes isebtar"
@ -245,6 +248,9 @@ msgstr "%s Ssef, tsadreḍ"
msgid "%s Cancel selection"
msgstr "%s Sefsex tafrant"
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr "%s Sader PDF ummid"
@ -268,6 +274,21 @@ msgstr "Sader tafrant"
msgid "PDF documents"
msgstr "Isemliyen n PDF"
msgid "Close"
msgstr "Mdel"
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr "Zmel, zmel deg yidis, err iziwel neɣ smed isemli"
@ -474,9 +495,6 @@ msgid ""
"any time."
msgstr "Yal win izemlen afaylu ad d-isader lqem aneggaru n PDF melmi i yebɣa."
msgid "Close"
msgstr "Mdel"
msgid "Signed PDF"
msgstr "Afaylu PDF yettwasezmel"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@ -145,6 +145,9 @@ msgstr ""
msgid "Rotate pages"
msgstr ""
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr ""
@ -242,6 +245,9 @@ msgstr ""
msgid "%s Cancel selection"
msgstr ""
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr ""
@ -265,6 +271,21 @@ msgstr ""
msgid "PDF documents"
msgstr ""
msgid "Close"
msgstr ""
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr ""
@ -464,9 +485,6 @@ msgid ""
"any time."
msgstr ""
msgid "Close"
msgstr ""
msgid "Signed PDF"
msgstr ""

Binary file not shown.

View file

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-01 14:31+0200\n"
"PO-Revision-Date: 2025-07-03 06:01+0000\n"
"POT-Creation-Date: 2025-07-09 17:39+0200\n"
"PO-Revision-Date: 2025-07-05 07:01+0000\n"
"Last-Translator: Quentin PAGÈS <quentinantonin@free.fr>\n"
"Language-Team: Occitan <https://hosted.weblate.org/projects/signature-pdf/"
"application/oc/>\n"
@ -148,6 +148,9 @@ msgstr "Traire de paginas"
msgid "Rotate pages"
msgstr "Pivotar las paginas"
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr "Suprimir de paginas"
@ -245,6 +248,9 @@ msgstr "%s Extraire e telecargar"
msgid "%s Cancel selection"
msgstr "%s Anullar la seleccion"
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr "%s Telecargar lo PDF complèt"
@ -268,6 +274,21 @@ msgstr "Telecargar la seleccion"
msgid "PDF documents"
msgstr "Documents PDF"
msgid "Close"
msgstr "Tampar"
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr "Signar, parafar, sagelar, completar un document"
@ -477,9 +498,6 @@ msgstr ""
"Cada signatari poirà a tot moment telecargar la darrièra version del PDF "
"signat."
msgid "Close"
msgstr "Tampar"
msgid "Signed PDF"
msgstr "PDF signat"
@ -509,6 +527,21 @@ msgstr ""
"\n"
"Veni de signar lo document (%s) : %s"
msgid "Change the color of the selected element"
msgstr "Cambiar la color de l'element seleccionat"
msgid "Duplicate the element"
msgstr "Duplicar l'element"
msgid "Duplicate on each page"
msgstr "Duplicar sus cada pagina"
msgid "Duplicate"
msgstr "Duplicar"
msgid "Delete the element"
msgstr "Suprimir l'element"
msgid "Text to modify"
msgstr "Tèxt de modificar"
@ -560,21 +593,6 @@ msgstr "Organizar"
msgid "Metadata"
msgstr "Metadonadas"
msgid "Change the color of the selected element"
msgstr ""
msgid "Duplicate the element"
msgstr ""
msgid "Duplicate on each page"
msgstr ""
msgid "Duplicate"
msgstr ""
msgid "Delete the element"
msgstr ""
#~ msgid "The PDF must not exceed "
#~ msgstr "Lo PDF deu pas despassar "

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"POT-Creation-Date: 2025-07-09 17:39+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/"
@ -150,6 +150,9 @@ msgstr ""
msgid "Rotate pages"
msgstr ""
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr ""
@ -247,6 +250,9 @@ msgstr ""
msgid "%s Cancel selection"
msgstr ""
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr ""
@ -270,6 +276,21 @@ msgstr ""
msgid "PDF documents"
msgstr ""
msgid "Close"
msgstr ""
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr ""
@ -469,9 +490,6 @@ msgid ""
"any time."
msgstr ""
msgid "Close"
msgstr ""
msgid "Signed PDF"
msgstr ""

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"POT-Creation-Date: 2025-07-09 17:39+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/"
@ -149,6 +149,9 @@ msgstr ""
msgid "Rotate pages"
msgstr ""
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr ""
@ -246,6 +249,9 @@ msgstr "%s Extrageți și descărcați"
msgid "%s Cancel selection"
msgstr "%s Anulează selecția"
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr "%s Descărcați PDF-ul complet"
@ -269,6 +275,21 @@ msgstr "Descărcați selecția"
msgid "PDF documents"
msgstr "Documente PDF"
msgid "Close"
msgstr "Închide"
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr "Semnează, inițială, ștampilă, completează un document"
@ -478,9 +499,6 @@ msgstr ""
"Fiecare dintre semnatari poate descărca oricând cea mai recentă versiune a "
"PDF-ului semnat."
msgid "Close"
msgstr "Închide"
msgid "Signed PDF"
msgstr "PDF semnat"

Binary file not shown.

View file

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"PO-Revision-Date: 2025-04-20 21:02+0000\n"
"POT-Creation-Date: 2025-07-09 17:39+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/"
"application/ta/>\n"
@ -17,13 +17,13 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.11.1-dev\n"
"X-Generator: Weblate 5.13-dev\n"
msgid "en"
msgstr "ta"
msgid "PDF compression failed"
msgstr ""
msgstr "பி.டி.எஃப் சுருக்க தோல்வியுற்றது"
msgid "Your pdf is already optimized"
msgstr "உங்கள் PDF ஏற்கனவே உகந்ததாக உள்ளது"
@ -71,7 +71,7 @@ msgstr "ஒரு PDF ஐத் தேர்வுசெய்க"
#, php-format
msgid "The PDF must not exceed %s Mb"
msgstr ""
msgstr "PDF %s MB ஐ தாண்டக்கூடாது"
msgid ""
"The PDF will be processed by the server without being retained or stored"
@ -92,76 +92,79 @@ msgstr "உயர் சுருக்க (குறைந்தபட்ச
#, php-format
msgid "%s Mb"
msgstr ""
msgstr "%s எம்பி"
msgid "Compressed at %s%"
msgstr ""
msgstr "%s %இல் சுருக்கப்பட்டது"
msgid "Download the PDF"
msgstr "PDF ஐப் பதிவிறக்கவும்"
msgid "Free open-source software for signing and manipulating PDFs"
msgstr ""
msgstr "PDF களில் கையொப்பமிடுவதற்கும் கையாளுவதற்கும் இலவச திறந்த மூல மென்பொருள்"
msgid "Sign a PDF"
msgstr "ஒரு PDF இல் கையெழுத்திடுகின்றன"
msgid "Add a signature"
msgstr ""
msgstr "ஒரு கையொப்பத்தைச் சேர்க்கவும்"
msgid "Add initials"
msgstr ""
msgstr "முதலெழுத்துகளைச் சேர்க்கவும்"
msgid "Add a stamp"
msgstr ""
msgstr "ஒரு முத்திரை சேர்க்கவும்"
msgid "Type text"
msgstr ""
msgstr "உரையைத் தட்டச்சு செய்க"
msgid "Strike through text"
msgstr ""
msgstr "உரை மூலம் வேலைநிறுத்தம்"
msgid "Allow multiple people to sign via a shared link"
msgstr ""
msgstr "பகிரப்பட்ட இணைப்பு வழியாக பல நபர்களை கையெழுத்திட அனுமதிக்கவும்"
msgid "Sign with the server certificate"
msgstr ""
msgstr "சேவையக சான்றிதழுடன் கையொப்பமிடுங்கள்"
msgid "Add a watermark"
msgstr ""
msgstr "ஒரு வாட்டர்மார்க் சேர்க்கவும்"
msgid "Redact areas"
msgstr ""
msgstr "திருத்தும் பகுதிகள்"
msgid "Organize PDFs"
msgstr ""
msgstr "PDF ஐ ஒழுங்கமைக்கவும்"
msgid "Combine multiple PDF files"
msgstr ""
msgstr "பல PDF கோப்புகளை இணைக்கவும்"
msgid "Reorder pages"
msgstr ""
msgstr "பக்கங்களை மறுவரிசைப்படுத்தவும்"
msgid "Extract pages"
msgstr ""
msgstr "பக்கங்களை பிரித்தெடுக்கவும்"
msgid "Rotate pages"
msgstr "பக்கங்களை சுழற்றுங்கள்"
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr ""
msgstr "பக்கங்களை நீக்கு"
msgid "Convert images to PDF"
msgstr ""
msgstr "படங்களை PDF ஆக மாற்றவும்"
msgid "Edit a PDF"
msgstr ""
msgstr "ஒரு PDF ஐத் திருத்து"
msgid "Add, edit, or remove metadata from a PDF"
msgstr "ஒரு PDF இலிருந்து மெட்டாடேட்டாவைச் சேர்க்கவும், திருத்தவும் அல்லது அகற்றவும்"
msgid "Compress and reduce the size of a PDF"
msgstr ""
msgstr "ஒரு PDF இன் அளவை சுருக்கி குறைக்கவும்"
#, php-format
msgid "%s Edit metadata"
@ -206,7 +209,7 @@ msgid "Merge, sort, rotate, delete, extract pages"
msgstr "ஒன்றிணைக்கவும், வரிசைப்படுத்தவும், சுழற்றவும், நீக்கவும், பக்கங்களை பிரித்தெடுக்கவும்"
msgid "or an image"
msgstr ""
msgstr "அல்லது ஒரு படம்"
msgid "Touch a page to select it"
msgstr "அதைத் தேர்ந்தெடுக்க ஒரு பக்கத்தைத் தொடவும்"
@ -245,6 +248,9 @@ msgstr "%s சாறு மற்றும் பதிவிறக்க"
msgid "%s Cancel selection"
msgstr "%s தேர்வு"
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr "%s முழு PDF ஐ பதிவிறக்கவும்"
@ -268,6 +274,21 @@ msgstr "தேர்வைப் பதிவிறக்கவும்"
msgid "PDF documents"
msgstr "PDF ஆவணங்கள்"
msgid "Close"
msgstr "மூடு"
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr "அடையாளம், ஆரம்ப, முத்திரை, ஒரு ஆவணத்தை முடிக்கவும்"
@ -337,10 +358,10 @@ msgid "%s Check box"
msgstr "%s தேர்வுப்பெட்டி"
msgid "Redaction area"
msgstr ""
msgstr "மறுசீரமைப்பு பகுதி"
msgid "Watermark"
msgstr ""
msgstr "வாட்டர்மார்க்"
#, php-format
msgid "%s Create an element"
@ -354,7 +375,7 @@ msgid "Download the signed PDF"
msgstr "கையொப்பமிடப்பட்ட PDF ஐப் பதிவிறக்கவும்"
msgid "The PDF will be flattened"
msgstr ""
msgstr "PDF தட்டையானது"
#, php-format
msgid "You are %s to have signed this PDF"
@ -474,9 +495,6 @@ msgstr ""
"கையொப்பமிட்டவர்கள் ஒவ்வொன்றும் கையொப்பமிடப்பட்ட PDF இன் அண்மைக் கால பதிப்பை எந்த நேரத்திலும் "
"பதிவிறக்கம் செய்யலாம்."
msgid "Close"
msgstr "மூடு"
msgid "Signed PDF"
msgstr "கையொப்பமிடப்பட்ட PDF"
@ -507,19 +525,19 @@ msgstr ""
" நான் ஆவணத்தில் கையெழுத்திட்டேன் ( %s): %s"
msgid "Change the color of the selected element"
msgstr ""
msgstr "தேர்ந்தெடுக்கப்பட்ட உறுப்பின் நிறத்தை மாற்றவும்"
msgid "Duplicate the element"
msgstr ""
msgstr "உறுப்பு நகல்"
msgid "Duplicate on each page"
msgstr ""
msgstr "ஒவ்வொரு பக்கத்திலும் நகல்"
msgid "Duplicate"
msgstr ""
msgstr "நகல்"
msgid "Delete the element"
msgstr ""
msgstr "உறுப்பை நீக்கு"
msgid "Text to modify"
msgstr "மாற்ற உரை"
@ -558,7 +576,7 @@ msgid "see the source code"
msgstr "மூலக் குறியீட்டைக் காண்க"
msgid "Sign and manipulate PDFs freely"
msgstr ""
msgstr "PDF களை சுதந்திரமாக கையொப்பமிட்டு கையாளவும்"
msgid "Language"
msgstr "மொழி"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-04 15:24+0200\n"
"POT-Creation-Date: 2025-07-09 17:39+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/"
@ -148,6 +148,9 @@ msgstr ""
msgid "Rotate pages"
msgstr ""
msgid "Change or standardize the paper size"
msgstr ""
msgid "Delete pages"
msgstr ""
@ -245,6 +248,9 @@ msgstr "%s Ayıklayın ve indirin"
msgid "%s Cancel selection"
msgstr "%s Seçimi iptal et"
msgid "Printing options"
msgstr ""
#, php-format
msgid "%s Download the full PDF"
msgstr "%s PDF'in tamamını indirin"
@ -268,6 +274,21 @@ msgstr "Seçileni indirin"
msgid "PDF documents"
msgstr "PDF dökümanları"
msgid "Close"
msgstr "Kapat"
msgid "Original format"
msgstr ""
msgid "Most common formats"
msgstr ""
msgid "Other formats"
msgstr ""
msgid "Paper size"
msgstr ""
msgid "Sign, initial, stamp, complete a document"
msgstr "Belgeyi imzalamak, paraflamak, damgalamak, tamamlamak"
@ -478,9 +499,6 @@ msgstr ""
"İmzacıların her biri, imzalanan PDF'nin en son sürümünü istediği zaman "
"indirebilir."
msgid "Close"
msgstr "Kapat"
msgid "Signed PDF"
msgstr "PDF imzala"

View file

@ -206,3 +206,11 @@ html.rtl .file-list-checkbox {
.fullpage {
min-height: calc(100dvh - 95px);
}
.clamp-2-lines {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
}

View file

@ -49,8 +49,8 @@ async function loadPDF(pdfBlob, filename, pdfIndex) {
let pageIndex = pdfLetter + "_" + (page.pageNumber - 1);
pages[pageIndex] = page;
const viewportFormat = page.getViewport({ scale: 1 });
const widthFormat = Math.round(viewportFormat.width * 25.4 / 72);
const heightFormat = Math.round(viewportFormat.height * 25.4 / 72);
const widthFormat = points2mm(viewportFormat.width);
const heightFormat = points2mm(viewportFormat.height);
const format = [widthFormat,heightFormat].sort().join('x')
if(!formats[format]) {
@ -313,19 +313,26 @@ function updateListePDF() {
}
function updateFormats() {
document.querySelector('#list_formats').innerHTML = "";
for (let format in formats) {
document.querySelector('#list_formats').insertAdjacentHTML('beforeend', '<li id="format_' + format + '" class="list-group-item ps-2 pe-5"><span class="ms-2">'+format+' mm : '+formats[format].length+' pages</span> <input class="form-check-input float-end position-absolute file-list-checkbox" type="checkbox" value="'+format+'" /></li>');
document.querySelector('#format_' + format+ ' input[type=checkbox]').addEventListener('change', function(e) {
for(numPage of formats[this.value]) {
let page = document.getElementById('canvas-container-' + numPage);
if(!isPageDeleted(page)) {
selectPage(page, e.target.checked);
}
}
updateGlobalState();
});
const selectFormat = document.querySelector('#select_paper_format');
const selectFormatOptionCurrent = document.querySelector('#select_paper_format_current');
let formatsLabel = [];
for(format in formats) {
if(document.querySelector('#select_paper_format option[value="'+format+'"]')) {
formatsLabel.push(document.querySelector('#select_paper_format option[value="'+format+'"]').innerText);
} else {
formatsLabel.push(format.replace('x', ' x ') + ' mm');
}
}
selectFormatOptionCurrent.innerText = formatsLabel.join(', ');
document.querySelector('#printable_infos').innerText = selectFormat.selectedOptions[0].text;
document.querySelector('#printable_infos').classList.add('text-muted');
document.querySelector('#printable_infos').classList.remove('fw-bold');
if(selectFormat.value) {
document.querySelector('#printable_infos').classList.remove('text-muted');
document.querySelector('#printable_infos').classList.add('fw-bold');
}
document.querySelector('#printable_infos').title = document.querySelector('#printable_infos').innerText;
}
function getPagesSelected() {
@ -497,26 +504,6 @@ function updateFilesState() {
document.querySelector('#file_'+fileIndex+' span').classList.add('text-primary');
}
}
document.querySelectorAll('#list_formats input[type=checkbox]').forEach(function(checkbox) {
let format = checkbox.value;
let numPages = formats[format];
checkbox.checked = false;
checkbox.indeterminate = false;
document.querySelector('#format_'+format).classList.remove('text-primary');
for(numPage of numPages) {
let page = document.getElementById('canvas-container-' + numPage);
if(isPageSelected(page)) {
checkbox.checked = true;
} else if(!isPageDeleted(page) && checkbox.checked) {
checkbox.checked = false;
checkbox.indeterminate = true;
}
}
if(checkbox.checked || checkbox.indeterminate) {
document.querySelector('#format_'+format).classList.add('text-primary');
}
});
}
function updateGlobalState() {
@ -647,9 +634,13 @@ async function save(order) {
const pageOrganize = pagesOrganize[i].split('-')[0];
const rotation = pagesOrganize[i].split('-')[1];
const pdfPage = pages[pageOrganize];
const format = document.querySelector('#select_paper_format').value;
if(rotation) {
pdfPage.setRotation(window['PDFLib'].degrees(parseInt(rotation)));
}
if(format) {
resizePage(pdfPage, mm2points(parseInt(format.split("x")[0])), mm2points(parseInt(format.split("x")[1])));
}
pdf.addPage(pdfPage);
}
@ -659,6 +650,39 @@ async function save(order) {
await download(newPDF, filename+".pdf");
}
function mm2points(mm) {
return mm * 72 / 25.4;
}
function points2mm(points) {
return Math.round(points * 25.4 / 72);
}
function resizePage(page, newWidth, newHeight) {
const oldWidth = page.getSize().width;
const oldHeight = page.getSize().height;
// Calcul des facteurs déchelle
const scaleX = newWidth / oldWidth;
const scaleY = newHeight / oldHeight;
// Utiliser le facteur le plus petit pour garder les proportions
const scale = Math.min(scaleX, scaleY);
// Définir la nouvelle taille
page.setSize(newWidth, newHeight);
// Calculer le décalage pour centrer le contenu
const offsetX = (newWidth - (oldWidth * scale)) / 2;
const offsetY = (newHeight - (oldHeight * scale)) / 2;
// Appliquer la transformation au contenu
page.scaleContent(scale, scale);
page.translateContent(offsetX, offsetY);
}
function cleanPDF(pdf) {
let pagesRef = [];
for(page of pdf.getPages()) {
@ -831,7 +855,9 @@ function createEventsListener() {
}
document.getElementById('btn_cancel_select').click();
});
document.querySelector('#select_paper_format').addEventListener('change', function(event) {
updateFormats();
});
}
async function uploadFromUrl(url) {

View file

@ -41,9 +41,9 @@
<a href="<?php echo $REVERSE_PROXY_URL; ?>/organization" class="list-group-item list-group-item-action"><i class="bi bi-arrows-move"></i> <?php echo _("Reorder pages") ?></a>
<a href="<?php echo $REVERSE_PROXY_URL; ?>/organization" class="list-group-item list-group-item-action"><i class="bi bi-download"></i> <?php echo _("Extract pages") ?></a>
<a href="<?php echo $REVERSE_PROXY_URL; ?>/organization" class="list-group-item list-group-item-action"><i class="bi bi-arrow-clockwise"></i> <?php echo _("Rotate pages") ?></a>
<a href="<?php echo $REVERSE_PROXY_URL; ?>/organization" class="list-group-item list-group-item-action"><i class="bi bi-rulers"></i> <?php echo _("Change or standardize the paper size") ?></a>
<a href="<?php echo $REVERSE_PROXY_URL; ?>/organization" class="list-group-item list-group-item-action"><i class="bi bi-trash"></i> <?php echo _("Delete pages") ?></a>
<a href="<?php echo $REVERSE_PROXY_URL; ?>/organization" class="list-group-item list-group-item-action"><i class="bi bi-images"></i> <?php echo _("Convert images to PDF") ?></a>
</div>
</div>
<div class="card mt-4">

View file

@ -57,14 +57,6 @@
<input id="input_pdf_upload_2" class="form-control d-none" type="file" accept=".pdf,application/pdf,image/png,image/jpeg" multiple="true">
</div>
<hr />
<div id="list_format_container">
<div class="card">
<div class="card-header small">Formats des pages</div>
<ul id="list_formats" class="list-group list-group-flush small" style="max-height: 130px; overflow: auto;">
</ul>
</div>
</div>
<hr />
<div id="container_btn_select" class="opacity-50 card">
<div class="card-header small text-center p-1"><?php echo sprintf(_("%s page(s) selected"), '<span>0</span>'); ?> <button id="btn_cancel_select" type="button" class="btn-close btn-close-white float-end" aria-label="Close"></button></div>
<div class="card-body d-grid gap-2 p-2">
@ -81,6 +73,12 @@
<input id="input_pdf" name="pdf[]" type="file" class="d-none" />
<input id="input_pages" type="hidden" value="" name="pages" />
<div id="btn_container" class="d-grid gap-2 mt-2">
<button type="button" class="btn btn-light btn text-start border position-relative mb-2" data-bs-toggle="modal" data-bs-target="#modalPrintable">
<i class="bi bi-gear position-absolute top-50 end-0 translate-middle-y pe-3 "></i>
<small><?php echo _("Printing options") ?></small>
<div id="printable_infos" class="text-muted small clamp-2-lines"></div>
</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>
</div>
</form>
@ -119,13 +117,61 @@
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel"><?php echo _("PDF documents"); ?></h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="<?php echo _("Close") ?>"></button>
</div>
<div class="modal-body">
</div>
</div>
</div>
</div>
<div class="modal fade" id="modalPrintable" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel"><?php echo _("Printing options"); ?></h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="<?php echo _("Close") ?>"></button>
</div>
<div class="modal-body">
<div class="form-floating">
<select class="form-select" id="select_paper_format">
<optgroup label="<?php echo _("Original format") ?>">
<option id="select_paper_format_current" value="" selected></option>
</optgroup>
<optgroup label="<?php echo _("Most common formats") ?>">
<option value="210x297">A4 (210 × 297 mm)</option>
<option value="216x279">Letter (8.5 × 11 pouces / 216 × 279 mm)</option>
</optgroup>
<optgroup label="<?php echo _("Other formats") ?>">
<option value="841x1189">A0 (841 × 1189 mm)</option>
<option value="594x841">A1 (594 × 841 mm)</option>
<option value="420x594">A2 (420 × 594 mm)</option>
<option value="297x420">A3 (297 × 420 mm)</option>
<option value="210x297">A4 (210 × 297 mm)</option>
<option value="148x210">A5 (148 × 210 mm)</option>
<option value="105x148">A6 (105 × 148 mm)</option>
<option value="250x353">B4 (250 × 353 mm)</option>
<option value="176x250">B5 (176 × 250 mm)</option>
<option value="216x356">Legal (8.5 × 14 pouces / 216 × 356 mm)</option>
<option value="279x432">Tabloid (11 × 17 pouces / 279 × 432 mm)</option>
<!--<option value="custom">Other Custom ...</option>-->
</optgroup>
</select>
<label for="select-format"><?php echo _("Paper size") ?></label>
</div>
<!--<div class="form-floating mt-3">
<select class="form-select" readonly="readonly" id="select-format">
<option selected>Normal</option>
<option>Booklet</option>
</select>
<label for="select-format">PDF Formatting</label>
</div>-->
</div>
<div class="modal-footer">
<button id="btn_printable_validate" type="button" class="btn btn-primary" data-bs-dismiss="modal"><?php echo _("Close") ?></button>
</div>
</div>
</div>
</div>
<?php $loadJs = ['pdf-lib.js' => true, 'pdf.js' => true]; include('components/common.html.php'); ?>
<script src="<?php echo $REVERSE_PROXY_URL; ?>/js/organization.js?<?php echo ($COMMIT) ? $COMMIT : filemtime($ROOT."/public/js/organization.js") ?>"></script>
</body>