termux-packages/packages/newsboat/rust-libnewsboat-src-cliargsparser.rs.patch
2022-05-05 12:10:44 +05:30

17 lines
675 B
Diff

--- a/rust/libnewsboat/src/cliargsparser.rs
+++ b/rust/libnewsboat/src/cliargsparser.rs
@@ -1,4 +1,3 @@
-use gettextrs::gettext;
use lexopt::{Parser, ValueExt};
use libc::{EXIT_FAILURE, EXIT_SUCCESS};
use std::ffi::{OsStr, OsString};
@@ -205,7 +204,7 @@
}
Err(()) => {
return Err(CliParseError::InvalidLogLevel(fmt!(
- &gettext("%s: %s: invalid loglevel value"),
+ "%s: %s: invalid loglevel value",
&args.program_name,
log_level_str.to_string_lossy().to_string()
)));