Skip to content

Commit

Permalink
Merge pull request #76 from nicolas-eoxia/fix_trad
Browse files Browse the repository at this point in the history
#70 [Trad] fix: trad and dayhourlog for export
  • Loading branch information
nicolas-eoxia authored Sep 20, 2024
2 parents e61fea6 + faac968 commit 6a8c366
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion class/exportshortenerdocument.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion langs/fr_FR/easyurl.lang
Original file line number Diff line number Diff line change
Expand Up @@ -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

#
Expand Down

0 comments on commit 6a8c366

Please sign in to comment.