From 4657c35e5cab754334423be2381d1f5a3c0532b4 Mon Sep 17 00:00:00 2001 From: Tanaka Zakku <71482215+YamatoSecurity@users.noreply.github.com> Date: Sun, 20 Feb 2022 06:47:39 +0900 Subject: [PATCH] English message update. --- src/main.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main.rs b/src/main.rs index 13094bc7..d46d42b6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -77,11 +77,11 @@ impl App { .is_present("update-rules") { match self.update_rules() { - Ok(_ok) => println!("Rules updated successfully"), + Ok(_ok) => println!("Rules updated successfully."), Err(e) => { AlertMessage::alert( &mut BufWriter::new(std::io::stderr().lock()), - &format!("Failed update rules. {:?} ", e), + &format!("Failed to update rules. {:?} ", e), ) .ok(); } @@ -91,7 +91,7 @@ impl App { if !Path::new("./config").exists() { AlertMessage::alert( &mut BufWriter::new(std::io::stderr().lock()), - &"Hayabusa could not find the config directory.\nPlease run it from the Hayabusa root directory.\nExample: ./bin/hayabusa-1.0.0-windows-x64.exe".to_string() + &"Hayabusa could not find the config directory.\nPlease run it from the Hayabusa root directory.\nExample: ./hayabusa-1.0.0-windows-x64.exe".to_string() ) .ok(); return; @@ -495,10 +495,10 @@ impl App { if rule_repo.is_err() { AlertMessage::alert( &mut BufWriter::new(std::io::stderr().lock()), - &"Failed open git repository. ".to_string(), + &"Failed to open the git repository. ".to_string(), ) .ok(); - println!("Chceking git clone hayabusa-rules to rules folder."); + println!("Attempting to git clone the hayabusa-rules repository into the rules folder."); // レポジトリが開けなかった段階でgit cloneを実施する return self.clone_rules(); } @@ -512,7 +512,7 @@ impl App { .map_err(|e| { AlertMessage::alert( &mut BufWriter::new(std::io::stderr().lock()), - &format!("Failed git fetch to rules folder. {}", e), + &format!("Failed to git fetch into the rules folder. {}", e), ) .ok(); exit_flag = true; @@ -535,7 +535,7 @@ impl App { } else { AlertMessage::alert( &mut BufWriter::new(std::io::stderr().lock()), - &"update-rules option is git Fast-Forward merge only. please check your rules folder." + &"The update-rules option performs a git Fast-Forward merge only. Please check your rules folder." .to_string(), ) .ok(); @@ -550,14 +550,14 @@ impl App { "rules", ) { Ok(_repo) => { - println!("Finished clone hayabusa-rules repository."); + println!("Finished cloning the hayabusa-rules repository."); return Ok(()); } Err(e) => { AlertMessage::alert( &mut BufWriter::new(std::io::stderr().lock()), &format!( - "Failed git clone to rules folder. Please rename rules folder name. {}", + "Failed to git clone into the rules folder. Please rename your rules folder name. {}", e ), )