can run it now

This commit is contained in:
Priec
2026-05-17 13:59:52 +02:00
parent 9fff6fbf7f
commit f236f655d1
5 changed files with 5987 additions and 3 deletions

View File

@@ -9,7 +9,10 @@ use loco_rs::{
use tracing::info;
const I18N_DIR: &str = "assets/i18n";
const I18N_SHARED: &str = "assets/i18n/shared.ftl";
// Kept outside `I18N_DIR`: fluent-templates >=0.13 scans top-level *.ftl files
// in that dir as locales, and "shared" parses as a langid, so a shared.ftl
// living there would be loaded twice and fail with a duplicate-resource error.
const I18N_SHARED: &str = "assets/i18n_shared/shared.ftl";
#[allow(clippy::module_name_repetitions)]
pub struct ViewEngineInitializer;