fixed bugs when not using shorturl

This commit is contained in:
2025-06-27 16:46:32 +02:00
parent 8f90ea74d4
commit 6ff9cafc34
9 changed files with 67 additions and 26 deletions
+25
View File
@@ -24,6 +24,19 @@ macro_rules! rs_errln {
}
#[macro_export]
macro_rules! rs_warnln {
($($arg:tt)*) => {
println!("{}WARNING{} RS - {}{}",
"\x1b[33m",
"\x1b[0m\x1b[31m",
format!($($arg)*),
"\x1b[0m"
);
};
}
#[macro_export]
macro_rules! errln {
($($arg:tt)*) => {
@@ -37,6 +50,18 @@ macro_rules! errln {
}
#[macro_export]
macro_rules! warnln {
($($arg:tt)*) => {
println!("{}WARNING{} - {}",
"\x1b[33m",
"\x1b[0m",
format!($($arg)*)
);
};
}
#[macro_export]
macro_rules! lang {
($key:expr) => {