mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Fix
This commit is contained in:
@@ -164,7 +164,7 @@ impl Format for SearchBook {
|
|||||||
.join("\n");
|
.join("\n");
|
||||||
|
|
||||||
let post_fix = if self.sequences.len() > 5 { "\nи др." } else { "" };
|
let post_fix = if self.sequences.len() > 5 { "\nи др." } else { "" };
|
||||||
format!("Серии:\n{formated_sequences}{post_fix}\n\n")
|
format!("Серии:\n{formated_sequences}{post_fix}\n")
|
||||||
}
|
}
|
||||||
false => "".to_string(),
|
false => "".to_string(),
|
||||||
};
|
};
|
||||||
@@ -252,7 +252,7 @@ impl Format for AuthorBook {
|
|||||||
.join("\n");
|
.join("\n");
|
||||||
|
|
||||||
let post_fix = if self.sequences.len() > 5 { "\nи др." } else { "" };
|
let post_fix = if self.sequences.len() > 5 { "\nи др." } else { "" };
|
||||||
format!("Серии:\n{formated_sequences}{post_fix}\n\n")
|
format!("Серии:\n{formated_sequences}{post_fix}\n")
|
||||||
}
|
}
|
||||||
false => "".to_string(),
|
false => "".to_string(),
|
||||||
};
|
};
|
||||||
@@ -304,7 +304,7 @@ impl Format for TranslatorBook {
|
|||||||
.join("\n");
|
.join("\n");
|
||||||
|
|
||||||
let post_fix = if self.sequences.len() > 5 { "\nи др." } else { "" };
|
let post_fix = if self.sequences.len() > 5 { "\nи др." } else { "" };
|
||||||
format!("Серии:\n{formated_sequences}{post_fix}\n\n")
|
format!("Серии:\n{formated_sequences}{post_fix}\n")
|
||||||
}
|
}
|
||||||
false => "".to_string(),
|
false => "".to_string(),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user