working after renaming to _shared

This commit is contained in:
Priec
2026-05-15 18:24:43 +02:00
parent b230ff0b5a
commit 0c25fa5d11
3 changed files with 5984 additions and 1 deletions

5981
ht_booking/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -9,7 +9,9 @@ use loco_rs::{
use tracing::info;
const I18N_DIR: &str = "assets/i18n";
const I18N_SHARED: &str = "assets/i18n/shared.ftl";
// Filename intentionally prefixed with `_` so `fluent-templates` does not
// mistake the stem (`_shared`) for a locale code and load it twice.
const I18N_SHARED: &str = "assets/i18n/_shared.ftl";
#[allow(clippy::module_name_repetitions)]
pub struct ViewEngineInitializer;