mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2026-10-24 08:02:12 +00:00
fix: greek byte notification
This commit is contained in:
parent
23e6f30784
commit
920e037a7b
2 changed files with 5 additions and 5 deletions
|
|
@ -242,10 +242,10 @@ fn bytes_notification_log(
|
|||
&(logged_notification.threshold / logged_notification.byte_multiple.get_multiplier())
|
||||
.to_string(),
|
||||
);
|
||||
threshold_str.push_str(&format!(
|
||||
" {}",
|
||||
logged_notification.byte_multiple.get_char()
|
||||
));
|
||||
let char_multiple = logged_notification.byte_multiple.get_char();
|
||||
if !char_multiple.is_empty() {
|
||||
threshold_str.push_str(&format!(" {char_multiple}",));
|
||||
}
|
||||
threshold_str.push_str(&format!(" {}", per_second_translation(language)));
|
||||
let mut incoming_str = " - ".to_string();
|
||||
incoming_str.push_str(incoming_translation(language));
|
||||
|
|
|
|||
|
|
@ -1212,7 +1212,7 @@ pub fn threshold_translation(language: Language) -> String {
|
|||
Language::TR => "Eşik: ".to_string(),
|
||||
Language::RU => "Порог: ".to_string(),
|
||||
Language::PT => "Limite: ".to_string(),
|
||||
Language::EL => "Όριο: ".to_string(),
|
||||
Language::EL => "όριο: ".to_string(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue