diff --git a/src/wutil/gettext.rs b/src/wutil/gettext.rs index 131bd6fc9..6f365e803 100644 --- a/src/wutil/gettext.rs +++ b/src/wutil/gettext.rs @@ -7,15 +7,13 @@ #[cfg(feature = "localize-messages")] mod gettext_impl { + use crate::env::{EnvStack, Environment}; + use fish_gettext_maps::CATALOGS; + use once_cell::sync::Lazy; use std::{collections::HashSet, sync::Mutex}; - use once_cell::sync::Lazy; - - use fish_gettext_maps::CATALOGS; type Catalog = &'static phf::Map<&'static str, &'static str>; - use crate::env::{EnvStack, Environment}; - /// Tries to find catalogs for `language`. /// `language` must be an ISO 639 language code, optionally followed by an underscore and an ISO /// 3166 country/territory code.