Improve uwu formatting and fix capitalization error

i18n
trivernis 2 years ago
parent 9fb253348a
commit 969ee8feb7
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -22,9 +22,9 @@ pub struct Args {
#[arg(long = "noconfirm", global = true, help = fl!("no-confirm"))]
pub no_confirm: bool,
// not gonna lie the only reason this option is here is because
// i was trying to figure out if paccache had a --noconfirm option.
// so basically, it doesn't, but hey, we might as well have it here
// Not gonna lie the only reason this option is here is because
// I was trying to figure out if paccache had a --noconfirm option.
// So basically, it doesn't, but hey, we might as well have it here
// anyways as some pacman commands can have a --quiet flag passed
// to them.
#[arg(long, short, global = true, help = fl!("quiet"))]

@ -22,17 +22,14 @@ mod sudoloop;
#[macro_export]
macro_rules! uwu {
($x:expr) => {{
let uwu: String = String::from($x);
let uwu = uwu.replace("l", "w");
let uwu = uwu.replace("L", "W");
let uwu = uwu.replace("r", "w");
let uwu = uwu.replace("R", "W");
let uwu = uwu.replace("na", "nya");
let uwu = uwu.replace("Na", "Nya");
let uwu = uwu.replace("NA", "NYA");
uwu
String::from($x)
.replace("l", "w")
.replace("L", "W")
.replace("r", "w")
.replace("R", "W")
.replace("na", "nya")
.replace("Na", "Nya")
.replace("NA", "NYA")
}};
}

Loading…
Cancel
Save