aboutsummaryrefslogtreecommitdiff
path: root/server/tools/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-06 18:37:14 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-06 18:37:14 +0200
commit6e264a13ecc0284c5073d0fbe92e6d0bfeeee6bb (patch)
tree8fce220a62fc49062aaa45a69b69b469b3204505 /server/tools/src/main.rs
parent5925c4da0d9c0e40203531d2c0c61a653e10824b (diff)
downloadhurrycurry-6e264a13ecc0284c5073d0fbe92e6d0bfeeee6bb.tar
hurrycurry-6e264a13ecc0284c5073d0fbe92e6d0bfeeee6bb.tar.bz2
hurrycurry-6e264a13ecc0284c5073d0fbe92e6d0bfeeee6bb.tar.zst
Prepare for book locale
Diffstat (limited to 'server/tools/src/main.rs')
-rw-r--r--server/tools/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tools/src/main.rs b/server/tools/src/main.rs
index 4a22cf8c..d7e5137a 100644
--- a/server/tools/src/main.rs
+++ b/server/tools/src/main.rs
@@ -39,6 +39,7 @@ use crate::{
};
use anyhow::Result;
use clap::Parser;
+use hurrycurry_locale::FALLBACK_LOCALE;
use hurrycurry_server::data::DataIndex;
#[derive(Parser)]
@@ -106,7 +107,7 @@ fn main() -> Result<()> {
index.reload()?;
let (data, serverdata, _) = index.generate("5star")?;
let book = book(&data, &serverdata)?;
- println!("{}", render_html_book(&data, &book))
+ println!("{}", render_html_book(&data, &book, &FALLBACK_LOCALE))
}
Action::MapDemands { map } => {
let mut index = DataIndex::default();