verbose translation to fr
This commit is contained in:
parent
3fe5529842
commit
526cd46747
1 changed files with 5 additions and 5 deletions
10
src/main.rs
10
src/main.rs
|
@ -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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue