Archived
1
0
Fork 0
forked from Anri/cal8tor

verbose translation to fr

This commit is contained in:
Mylloon 2022-08-23 15:17:12 +02:00
parent 3fe5529842
commit 526cd46747
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -48,27 +48,27 @@ async fn main() {
}; };
println!( println!(
"Fetch the timetable for L{}{}{}...", "Récupération de l'emploi du temps des L{}{}{}...",
year, year,
seperator, seperator,
letter.unwrap_or_default().to_uppercase() letter.unwrap_or_default().to_uppercase()
); );
let timetable = timetable::timetable(year, args.semester, letter).await; let timetable = timetable::timetable(year, args.semester, letter).await;
println!("Fetch informations about the year..."); println!("Récupération des informations par rapport à l'année...");
let info = info::info().await; let info = info::info().await;
if args.export.is_some() { if args.export.is_some() {
// Export the calendar // Export the calendar
let filename = args.export.unwrap(); let filename = args.export.unwrap();
println!("Build the ICS file at {}...", filename); println!("Fichier .ICS construit et exporté ici : {}...", filename);
let builded_timetable = timetable::build(timetable, info); let builded_timetable = timetable::build(timetable, info);
ics::export(builded_timetable, filename); ics::export(builded_timetable, filename);
} else { } else {
// Show the calendar // Show the calendar
println!("Displaying..."); println!("Affichage...");
timetable::display(timetable); timetable::display(timetable);
println!("You may need to turn your terminal emulator in fullscreen if it's not already the case."); println!("Vous devrez peut-être mettre votre terminal en plein écran si ce n'est pas déjà le cas.");
} }
} }