1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-23 10:04:21 +00:00

Use the in-game term of "Illustration by"

This commit is contained in:
Steffo 2022-08-07 16:12:18 +02:00
parent 838b88e741
commit 08388c59b3
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -31,7 +31,7 @@ pub fn display_card(card: &Card, mg: &MappedGlobals) -> String {
let description = card.localized_description_text.clone(); let description = card.localized_description_text.clone();
let flavor = format!("<i>{}</i>", &card.localized_flavor_text); let flavor = format!("<i>{}</i>", &card.localized_flavor_text);
let artist = format!(r#"<a href="{}">Art by {}</a>"#, &card.main_art().full_png, &card.artist_name); let artist = format!(r#"<a href="{}">Illustration by {}</a>"#, &card.main_art().full_png, &card.artist_name);
format!( format!(
"{title} {stats}\n{breadcrumbs}\n\n{description}\n\n-----\n{flavor}\n\n{artist}", "{title} {stats}\n{breadcrumbs}\n\n{description}\n\n-----\n{flavor}\n\n{artist}",