From faac96872fb92d5648a376050acfc6c40dd7df8b Mon Sep 17 00:00:00 2001 From: Nicolas Domenech Date: Fri, 20 Sep 2024 16:49:13 +0200 Subject: [PATCH] #70 [Trad] fix: trad and dayhourlog for export --- class/exportshortenerdocument.class.php | 2 +- langs/fr_FR/easyurl.lang | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/class/exportshortenerdocument.class.php b/class/exportshortenerdocument.class.php index 5cee000..fe15df0 100644 --- a/class/exportshortenerdocument.class.php +++ b/class/exportshortenerdocument.class.php @@ -69,7 +69,7 @@ public function generateFile() if (!dol_is_dir($uploadDir)) { dol_mkdir($uploadDir); } - $fileName = dol_print_date(dol_now(), 'dayhourxcard') . '_' . $this->element . '.csv'; + $fileName = dol_print_date(dol_now(), 'dayhourlog') . '_' . $this->element . '.csv'; $fp = fopen($uploadDir . '/' . $fileName, 'w'); fputcsv($fp, ['ref', 'label', 'original_url', 'short_url']); foreach ($shorteners as $shortener) { diff --git a/langs/fr_FR/easyurl.lang b/langs/fr_FR/easyurl.lang index 57c52b4..81ce26b 100644 --- a/langs/fr_FR/easyurl.lang +++ b/langs/fr_FR/easyurl.lang @@ -92,7 +92,7 @@ ExportDate = Date export ExportOrigin = URL d'origine ExportConsume = Nombre d'URL consommé ExportGenerating = Export en cours de -ExportSuccess = Export réussi des URLs ! +ExportSuccess = URL(s) exportées avec succès ! ExportError = Erreur lors de la génération de l'URL #