tikz-gallery-generator

Custum build of stapix for tikz.pablopie.xyz

Commit
0a94966a0fd6f0d177e23aa004a4486af819ab07
Parent
4566081d7722b7a2f27900309cbd9293f7cc2678
Author
Pablo <pablo-escobar@riseup.net>
Date

Tweaked some log messages

Diffstat

1 file changed, 3 insertions, 3 deletions

Status File Name N° Changes Insertions Deletions
Modified src/main.rs 6 3 3
diff --git a/src/main.rs b/src/main.rs
@@ -218,7 +218,7 @@ fn render_gallery(pics: Vec<GalleryEntry>) -> ExitCode {
     );
     let (sender, reciever) = mpsc::channel();
 
-    logln!("Started rendering thumbnails (using {n} threads)", n = num_threads);
+    logln!("Started generating thumbnails (using {n} threads)", n = num_threads);
 
     for pic in &pics {
         let sender = sender.clone();
@@ -235,7 +235,7 @@ fn render_gallery(pics: Vec<GalleryEntry>) -> ExitCode {
         }
     }
 
-    logln!("Done rendering WebP thumbnails!");
+    logln!("Done generating thumbnails!");
 
     // ========================================================================
     log!("Rendering index.html...");
@@ -484,7 +484,7 @@ fn render_thumbnail(pic: GalleryEntry) -> bool {
             .expect("os should support file modification date");
 
         if thumb_mod_date > img_mod_date {
-            warningln!("Skipped rendering the thumbnail for {name:?} (update {path:?} to overwrite)",
+            warningln!("Skipped generating the thumbnail for {name:?} (update {path:?} to overwrite)",
                      name = pic.file_name, path = pic.path);
             return true;
         }