working after renaming to _shared
This commit is contained in:
5981
ht_booking/Cargo.lock
generated
Normal file
5981
ht_booking/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,9 @@ use loco_rs::{
|
|||||||
use tracing::info;
|
use tracing::info;
|
||||||
|
|
||||||
const I18N_DIR: &str = "assets/i18n";
|
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)]
|
#[allow(clippy::module_name_repetitions)]
|
||||||
pub struct ViewEngineInitializer;
|
pub struct ViewEngineInitializer;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user