From f22eed2783cdcb6a6ff05a091419ff897c6a95ae Mon Sep 17 00:00:00 2001 From: aynsix Date: Tue, 8 Feb 2022 16:14:26 +0300 Subject: [PATCH] add option filename when download check --- .../Controller/MediaAccessorController.php | 4 + .../Controller/Prod/PrinterController.php | 2 + lib/Alchemy/Phrasea/Helper/Record/Printer.php | 10 +++ lib/Alchemy/Phrasea/Out/Module/PDFRecords.php | 28 ++++++- resources/locales/messages.de.xlf | 81 +++++++++++-------- resources/locales/messages.en.xlf | 81 +++++++++++-------- resources/locales/messages.fr.xlf | 81 +++++++++++-------- resources/locales/messages.nl.xlf | 67 +++++++++------ resources/locales/validators.de.xlf | 2 +- resources/locales/validators.en.xlf | 2 +- resources/locales/validators.fr.xlf | 2 +- resources/locales/validators.nl.xlf | 2 +- .../prod/actions/printer_default.html.twig | 11 +++ 13 files changed, 240 insertions(+), 133 deletions(-) diff --git a/lib/Alchemy/Phrasea/Controller/MediaAccessorController.php b/lib/Alchemy/Phrasea/Controller/MediaAccessorController.php index 6ca16d9491..4905740221 100644 --- a/lib/Alchemy/Phrasea/Controller/MediaAccessorController.php +++ b/lib/Alchemy/Phrasea/Controller/MediaAccessorController.php @@ -76,6 +76,10 @@ class MediaAccessorController extends Controller $subRequest->query->set('download', $request->query->get('download')); } + if ($request->query->has('filename')) { + $subRequest->query->set('filename', $request->query->get('filename')); + } + $response = $this->app->handle($subRequest, HttpKernelInterface::SUB_REQUEST, false); // Remove Caption link header as it contains permalink token. $response->headers->remove('link'); diff --git a/lib/Alchemy/Phrasea/Controller/Prod/PrinterController.php b/lib/Alchemy/Phrasea/Controller/Prod/PrinterController.php index 41b26f504f..cfba4d2d33 100644 --- a/lib/Alchemy/Phrasea/Controller/Prod/PrinterController.php +++ b/lib/Alchemy/Phrasea/Controller/Prod/PrinterController.php @@ -56,6 +56,8 @@ class PrinterController extends Controller $downloadSubdef = $request->request->get('print-select-download-subdef'); $urlTtl = $request->request->get('print-download-ttl') ? (int)$request->request->get('print-download-ttl') * (int)$request->request->get('print-download-ttl-unit') : null; $printer->setUrlTtl($urlTtl); + $useTitle = ($request->request->get('print-filename') === 'title') ? true : false; + $printer->setTitleAsDownloadName($useTitle); } foreach ($printer->get_elements() as $record) { diff --git a/lib/Alchemy/Phrasea/Helper/Record/Printer.php b/lib/Alchemy/Phrasea/Helper/Record/Printer.php index de1ff255af..11fdca4f8c 100644 --- a/lib/Alchemy/Phrasea/Helper/Record/Printer.php +++ b/lib/Alchemy/Phrasea/Helper/Record/Printer.php @@ -22,6 +22,7 @@ class Printer extends RecordHelper private $thumbnailName = 'thumbnail'; private $previewName = 'preview'; private $urlTtl = null; + private $titleAsDownloadName = true; /** * @var \ACL @@ -185,6 +186,11 @@ class Printer extends RecordHelper $this->urlTtl = $urlTtl; } + public function setTitleAsDownloadName($titleAsDownloadName) + { + $this->titleAsDownloadName = !!$titleAsDownloadName; + } + public function getUrlTtl() { return $this->urlTtl; @@ -200,5 +206,9 @@ class Printer extends RecordHelper return $this->thumbnailName; } + public function getTitleAsDownloadName() + { + return $this->titleAsDownloadName; + } } diff --git a/lib/Alchemy/Phrasea/Out/Module/PDFRecords.php b/lib/Alchemy/Phrasea/Out/Module/PDFRecords.php index aa31d076d9..d2595b4ac1 100644 --- a/lib/Alchemy/Phrasea/Out/Module/PDFRecords.php +++ b/lib/Alchemy/Phrasea/Out/Module/PDFRecords.php @@ -20,6 +20,8 @@ use \IntlDateFormatter as DateFormatter; class PDFRecords extends PDF { + private static $maxFilenameLength = 256; + /** @var Printer */ private $printer; @@ -285,7 +287,8 @@ class PDFRecords extends PDF if ($this->canDownload && !empty($this->downloadSubdef) && $rec->has_subdef($this->downloadSubdef)) { $sd = $rec->get_subdef($this->downloadSubdef); if ($sd->is_physically_present()) { - $downloadLink = sprintf('%s', (string)$this->urlGenerator->generate($this->app->getAuthenticatedUser(), $sd, $this->printer->getUrlTtl())."?download=1", $rec->get_title()); + $url = $this->getDownloadUrl($sd); + $downloadLink = sprintf('%s', $url, $rec->get_title()); } } @@ -425,11 +428,13 @@ class PDFRecords extends PDF if ($this->canDownload && !empty($this->downloadSubdef) && $rec->has_subdef($this->downloadSubdef)) { $sd = $rec->get_subdef($this->downloadSubdef); if ($sd->is_physically_present()) { - $downloadLink = sprintf('%s', (string)$this->urlGenerator->generate($this->app->getAuthenticatedUser(), $sd, $this->printer->getUrlTtl())."?download=1", $this->app->trans("print:: download")); + $url = $this->getDownloadUrl($sd); + $downloadLink = sprintf('%s', $url, $this->app->trans("print:: download")); $this->pdf->writeHTML($downloadLink, true, false, false, true); } } + $this->pdf->SetY($this->pdf->GetY() + 2); foreach ($rec->get_caption()->get_fields() as $field) { @@ -500,11 +505,13 @@ class PDFRecords extends PDF if ($this->canDownload && !empty($this->downloadSubdef) && $rec->has_subdef($this->downloadSubdef)) { $sd = $rec->get_subdef($this->downloadSubdef); if ($sd->is_physically_present()) { - $downloadLink = sprintf('%s', (string)$this->urlGenerator->generate($this->app->getAuthenticatedUser(), $sd, $this->printer->getUrlTtl())."?download=1", $this->app->trans("print:: download")); + $url = $this->getDownloadUrl($sd); + $downloadLink = sprintf('%s', $url, $this->app->trans("print:: download")); $this->pdf->writeHTML($downloadLink, true, false, false, true); } } + $this->pdf->SetY($this->pdf->GetY() + 2); foreach ($rec->get_caption()->get_fields() as $field) { if ($field->get_databox_field()->get_gui_visible()) { @@ -774,7 +781,8 @@ class PDFRecords extends PDF if ($this->canDownload && !empty($this->downloadSubdef) && $rec->has_subdef($this->downloadSubdef)) { $sd = $rec->get_subdef($this->downloadSubdef); if ($sd->is_physically_present()) { - $downloadLink = sprintf('%s', (string)$this->urlGenerator->generate($this->app->getAuthenticatedUser(), $sd, $this->printer->getUrlTtl())."?download=1", $this->app->trans("print:: download")); + $url = $this->getDownloadUrl($sd); + $downloadLink = sprintf('%s', $url, $this->app->trans("print:: download")); $this->pdf->writeHTML($downloadLink, true, false, false, true); } @@ -992,4 +1000,16 @@ class PDFRecords extends PDF $this->isUserInputPrinted = true; } } + + private function getDownloadUrl(\media_subdef $subdef) + { + $url = (string)$this->urlGenerator->generate($this->app->getAuthenticatedUser(), $subdef, $this->printer->getUrlTtl())."?download=1"; + if ($this->printer->getTitleAsDownloadName()) { + $filename = mb_strtolower(mb_substr($subdef->get_record()->get_title(), 0, self::$maxFilenameLength)); + $infos = pathinfo($subdef->getRealPath()); + $url = $url . "&filename=" . $filename . '.' . $infos['extension']; + } + + return $url; + } } diff --git a/resources/locales/messages.de.xlf b/resources/locales/messages.de.xlf index 5ae5066df3..16046281d5 100644 --- a/resources/locales/messages.de.xlf +++ b/resources/locales/messages.de.xlf @@ -1,14 +1,14 @@ - + - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
- - + + Form/Configuration/EmailFormType.php Form/Login/PhraseaAuthenticationForm.php @@ -196,7 +196,7 @@ Bridge/Dailymotion/element_informations.html.twig - %number% documents<br/>selectionnes + selectionnes]]> ausgewählt]]> Controller/Prod/QueryController.php @@ -2534,7 +2534,7 @@ Form/Configuration/ActionsFormType.php - Display & action settings + Anzeige und Handlung-Einstellungen admin/fields/templates.html.twig @@ -4724,7 +4724,7 @@ None of the selected records can be printed Keine der ausgewählte Datensätze können gedruckt werden - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig None of the selected records can be pushed. @@ -9930,7 +9930,7 @@ boutton::imprimer Drucken - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig boutton::modifier @@ -10559,7 +10559,7 @@ export:: erreur : aucun document selectionne Fehler: kein ausgewähltes Dokument - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig export:: telechargement @@ -11826,7 +11826,7 @@ Controller/Root/AccountController.php - phraseanet::account: << your account can be deleted via admin interface >> + >]]> Ihr Benutzerkonto kann nur durch die Administration Anwendung gelöscht werden. web/account/account.html.twig @@ -12160,6 +12160,11 @@ Feedback Bericht prod/actions/printer_default.html.twig + + print:: choose filename + print:: choose filename + prod/actions/printer_default.html.twig + print:: choose model Eine Druckschablone auswählen @@ -12178,14 +12183,14 @@ print:: download Download-Link - Out/Module/PDFRecords.php - Out/Module/PDFRecords.php - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php + Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print:: element downloadable Wählen Sie die heruntergeladene Unterauflösung aus - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig print:: element printable on preview model @@ -12232,6 +12237,11 @@ Monat prod/actions/printer_default.html.twig + + print:: original media name + print:: original media name + prod/actions/printer_default.html.twig + print:: pdf description Nachricht (optional) @@ -12262,6 +12272,11 @@ Gültigkeitsdauer des Download-Links prod/actions/printer_default.html.twig + + print:: title + print:: title + prod/actions/printer_default.html.twig + print:: warning! Only available image for chosen subdef is printed Wenn die ausgewählte Unterauflösung fehlt, wird sie durch ein Ersatzbild ersetzt @@ -12270,7 +12285,7 @@ print:: warning! Only available media for chosen subdef is downloadable Lassen Sie das Feld für eine dauerhafte Gültigkeit leer (oder auf 0 setzen) - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig print:: week @@ -12280,87 +12295,87 @@ print_feedback:: Document generated on : Drucken erzeugt am - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback active Feedback ist aktiviert - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback expired Feedback ist abgelaufen - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback expiring on : Erlischt am - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback initiated by : Feedback gesendet von - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback initiated on : Feedback Beginn am - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback on basket %name% Feedback auf Sammelkorb %name% - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Non Nein - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Oui Ja - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Participants : Teilnehmer : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Votes : Zustimmung : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: base name: Datenbank - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: document Uuid: Uuid Dokument - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: non voté unausgedrückt - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: originale filename: Originale Dateiname - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: record id: Record id - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: record title: Titel - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php prive @@ -14557,7 +14572,7 @@ Vorsicht: die aktuelle Werte werden durch die neue Werte überschrieben web/thesaurus/thesaurus.html.twig - thesaurus:: Supprimer cette branche ?&#10;(les termes concernes remonteront en candidats a la prochaine indexation) + web/thesaurus/thesaurus.html.twig diff --git a/resources/locales/messages.en.xlf b/resources/locales/messages.en.xlf index 8a0d507501..7ce6035fff 100644 --- a/resources/locales/messages.en.xlf +++ b/resources/locales/messages.en.xlf @@ -1,14 +1,14 @@ - + - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
- - + + Form/Configuration/EmailFormType.php Form/Login/PhraseaAuthenticationForm.php @@ -196,7 +196,7 @@ Bridge/Dailymotion/element_informations.html.twig
- %number% documents<br/>selectionnes + selectionnes]]> selected]]> Controller/Prod/QueryController.php @@ -2537,7 +2537,7 @@ Form/Configuration/ActionsFormType.php
- Display & action settings + Display and action settings admin/fields/templates.html.twig @@ -4727,7 +4727,7 @@ None of the selected records can be printed None of the selected records can be printed - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig None of the selected records can be pushed. @@ -9933,7 +9933,7 @@ boutton::imprimer Print - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig boutton::modifier @@ -10562,7 +10562,7 @@ export:: erreur : aucun document selectionne Error : no document selected - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig export:: telechargement @@ -11829,7 +11829,7 @@ Controller/Root/AccountController.php - phraseanet::account: << your account can be deleted via admin interface >> + >]]> Your rights do not allow to perform this action. Your account can only be deleted via the Administration interface. web/account/account.html.twig @@ -12163,6 +12163,11 @@ Feedback report prod/actions/printer_default.html.twig + + print:: choose filename + print:: choose filename + prod/actions/printer_default.html.twig + print:: choose model Select a printing template @@ -12181,14 +12186,14 @@ print:: download Download link - Out/Module/PDFRecords.php - Out/Module/PDFRecords.php - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php + Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print:: element downloadable Define the downloaded subdefinition - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig print:: element printable on preview model @@ -12235,6 +12240,11 @@ Month prod/actions/printer_default.html.twig + + print:: original media name + print:: original media name + prod/actions/printer_default.html.twig + print:: pdf description Message (optional) @@ -12265,6 +12275,11 @@ Validity period of the download link prod/actions/printer_default.html.twig + + print:: title + print:: title + prod/actions/printer_default.html.twig + print:: warning! Only available image for chosen subdef is printed If the selected sub-definition is missing, it will be replaced by a substitute image @@ -12273,7 +12288,7 @@ print:: warning! Only available media for chosen subdef is downloadable Leave the duration empty or set to 0 for a permanent validity - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig print:: week @@ -12283,87 +12298,87 @@ print_feedback:: Document generated on : Generated on : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback active Feedback session still opened - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback expired Feedback session closed - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback expiring on : Feedback expiring on : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback initiated by : Feedback initiated by : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback initiated on : Feedback initiated on : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback on basket %name% Feedback report on basket : %name% - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Non No - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Oui Yes - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Participants : Participants list : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Votes : Approvals : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: base name: Base Name : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: document Uuid: Document Unique Id : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: non voté Unexpressed - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: originale filename: Original file name : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: record id: Record Id : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: record title: Record Title : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php prive @@ -14565,7 +14580,7 @@ It is possible to place several search areas web/thesaurus/thesaurus.html.twig - thesaurus:: Supprimer cette branche ?&#10;(les termes concernes remonteront en candidats a la prochaine indexation) + web/thesaurus/thesaurus.html.twig diff --git a/resources/locales/messages.fr.xlf b/resources/locales/messages.fr.xlf index 63edb68f9f..9aa519328a 100644 --- a/resources/locales/messages.fr.xlf +++ b/resources/locales/messages.fr.xlf @@ -1,14 +1,14 @@ - + - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
- - + + Form/Configuration/EmailFormType.php Form/Login/PhraseaAuthenticationForm.php @@ -196,7 +196,7 @@ Bridge/Dailymotion/element_informations.html.twig
- %number% documents<br/>selectionnes + selectionnes]]> sélectionnés]]> Controller/Prod/QueryController.php @@ -2534,7 +2534,7 @@ Form/Configuration/ActionsFormType.php
- Display & action settings + Paramétrage d'affichage et d'action admin/fields/templates.html.twig @@ -4724,7 +4724,7 @@ None of the selected records can be printed Aucun des documents sélectionnés ne peut être imprimé - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig None of the selected records can be pushed. @@ -9933,7 +9933,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le boutton::imprimer Imprimer - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig boutton::modifier @@ -10562,7 +10562,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le export:: erreur : aucun document selectionne Erreur : aucun document sélectionné - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig export:: telechargement @@ -11829,7 +11829,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le Controller/Root/AccountController.php - phraseanet::account: << your account can be deleted via admin interface >> + >]]> Vos droits ne vous permettent pas de réaliser cette action, votre compte ne peut être supprimé que via l'interface d'Administration. web/account/account.html.twig @@ -12163,6 +12163,11 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le Rapport de validation prod/actions/printer_default.html.twig + + print:: choose filename + print:: choose filename + prod/actions/printer_default.html.twig + print:: choose model Choisir un gabarit d'impression @@ -12181,14 +12186,14 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le print:: download Lien de téléchargement - Out/Module/PDFRecords.php - Out/Module/PDFRecords.php - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php + Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print:: element downloadable Choisir la sous définition téléchargée - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig print:: element printable on preview model @@ -12235,6 +12240,11 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le Mois prod/actions/printer_default.html.twig + + print:: original media name + print:: original media name + prod/actions/printer_default.html.twig + print:: pdf description Message (optionnel) @@ -12265,6 +12275,11 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le Durée de validité du lien de téléchargement prod/actions/printer_default.html.twig + + print:: title + print:: title + prod/actions/printer_default.html.twig + print:: warning! Only available image for chosen subdef is printed Si la sous définition choisie n'existe pas, elle sera remplacée par une image de substitution @@ -12273,7 +12288,7 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le print:: warning! Only available media for chosen subdef is downloadable Laisser la durée vide (ou 0) pour une validité permanente - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig print:: week @@ -12283,87 +12298,87 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le print_feedback:: Document generated on : Impression générée le : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback active Validation en cours - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback expired Validation Fermée - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback expiring on : Expire le : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback initiated by : Validation envoyée par : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback initiated on : Début de validation le : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback on basket %name% Rapport de validation de : %name% - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Non Non - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Oui Oui - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Participants : Participants : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Votes : Approbations : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: base name: Base : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: document Uuid: Id unique de document : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: non voté Non exprimé - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: originale filename: Nom de fichier : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: record id: Record id: - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: record title: Titre : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php prive @@ -14568,7 +14583,7 @@ Attention: les valeurs actuellement en place seront écrasées par ces nouvelles web/thesaurus/thesaurus.html.twig - thesaurus:: Supprimer cette branche ?&#10;(les termes concernes remonteront en candidats a la prochaine indexation) + web/thesaurus/thesaurus.html.twig diff --git a/resources/locales/messages.nl.xlf b/resources/locales/messages.nl.xlf index c85a02df82..0efe1b88ed 100644 --- a/resources/locales/messages.nl.xlf +++ b/resources/locales/messages.nl.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. @@ -4736,7 +4736,7 @@ None of the selected records can be printed Geen enkele van de geselecteerde records kunnen geprint worden - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig None of the selected records can be pushed. @@ -9942,7 +9942,7 @@ boutton::imprimer Print - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig boutton::modifier @@ -10571,7 +10571,7 @@ export:: erreur : aucun document selectionne Erreur : geen enkel document geslecteerd - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig export:: telechargement @@ -12172,6 +12172,11 @@ print:: basket feedback only prod/actions/printer_default.html.twig + + print:: choose filename + print:: choose filename + prod/actions/printer_default.html.twig + print:: choose model print:: choose model @@ -12190,14 +12195,14 @@ print:: download print:: download - Out/Module/PDFRecords.php - Out/Module/PDFRecords.php - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php + Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print:: element downloadable print:: element downloadable - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig print:: element printable on preview model @@ -12244,6 +12249,11 @@ print:: month prod/actions/printer_default.html.twig + + print:: original media name + print:: original media name + prod/actions/printer_default.html.twig + print:: pdf description print:: pdf description @@ -12274,6 +12284,11 @@ print:: subdef url ttl prod/actions/printer_default.html.twig + + print:: title + print:: title + prod/actions/printer_default.html.twig + print:: warning! Only available image for chosen subdef is printed print:: warning! Only available image for chosen subdef is printed @@ -12282,7 +12297,7 @@ print:: warning! Only available media for chosen subdef is downloadable print:: warning! Only available media for chosen subdef is downloadable - prod/actions/printer_default.html.twig + prod/actions/printer_default.html.twig print:: week @@ -12292,87 +12307,87 @@ print_feedback:: Document generated on : print_feedback:: Document generated on : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback active print_feedback:: Feedback active - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback expired print_feedback:: Feedback expired - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback expiring on : print_feedback:: Feedback expiring on : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback initiated by : print_feedback:: Feedback initiated by : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback initiated on : print_feedback:: Feedback initiated on : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Feedback on basket %name% print_feedback:: Feedback on basket %name% - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Non print_feedback:: Non - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Oui print_feedback:: Oui - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Participants : print_feedback:: Participants : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: Votes : print_feedback:: Votes : - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: base name: print_feedback:: base name: - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: document Uuid: print_feedback:: document Uuid: - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: non voté print_feedback:: non voté - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: originale filename: print_feedback:: originale filename: - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: record id: print_feedback:: record id: - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php print_feedback:: record title: print_feedback:: record title: - Out/Module/PDFRecords.php + Out/Module/PDFRecords.php prive diff --git a/resources/locales/validators.de.xlf b/resources/locales/validators.de.xlf index 2c6c542464..0353f0fff6 100644 --- a/resources/locales/validators.de.xlf +++ b/resources/locales/validators.de.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. diff --git a/resources/locales/validators.en.xlf b/resources/locales/validators.en.xlf index 069489567d..f09f1b5aa1 100644 --- a/resources/locales/validators.en.xlf +++ b/resources/locales/validators.en.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. diff --git a/resources/locales/validators.fr.xlf b/resources/locales/validators.fr.xlf index 17cca4eaf9..ef5a793abb 100644 --- a/resources/locales/validators.fr.xlf +++ b/resources/locales/validators.fr.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. diff --git a/resources/locales/validators.nl.xlf b/resources/locales/validators.nl.xlf index 970e601356..e57a04f57c 100644 --- a/resources/locales/validators.nl.xlf +++ b/resources/locales/validators.nl.xlf @@ -1,6 +1,6 @@ - +
The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message. diff --git a/templates/web/prod/actions/printer_default.html.twig b/templates/web/prod/actions/printer_default.html.twig index e42f650cd8..2616574eb5 100644 --- a/templates/web/prod/actions/printer_default.html.twig +++ b/templates/web/prod/actions/printer_default.html.twig @@ -138,6 +138,17 @@ +
+ + + +