diff --git a/HotKeet/src/companion.rs b/HotKeet/src/companion.rs
index 38db31e..0bfb4b6 100644
--- a/HotKeet/src/companion.rs
+++ b/HotKeet/src/companion.rs
@@ -12,7 +12,7 @@ use tokio::net::TcpStream as TokioTcpStream;
/// Prüft die TCP-Verbindung zum Companion (synchron, kurzer Timeout).
pub fn check_connection(host: &str, port: u16) -> Result<(), String> {
if host.trim().is_empty() {
- return Err("Host leer".to_string());
+ return Err("Host empty".to_string());
}
let addrs: Vec<_> = (host.trim(), port)
.to_socket_addrs()
@@ -20,7 +20,7 @@ pub fn check_connection(host: &str, port: u16) -> Result<(), String> {
.collect();
let addr = addrs
.first()
- .ok_or_else(|| "Host konnte nicht aufgelöst werden".to_string())?;
+ .ok_or_else(|| "Host could not be resolved".to_string())?;
TcpStream::connect_timeout(addr, Duration::from_secs(2)).map_err(|e| e.to_string())?;
Ok(())
}
@@ -40,7 +40,7 @@ pub async fn read_frame(stream: &mut TokioTcpStream) -> std::io::Result