diff --git a/pagetop/Cargo.toml b/pagetop/Cargo.toml index 88787324..86f990e9 100644 --- a/pagetop/Cargo.toml +++ b/pagetop/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pagetop" -version = "0.0.38" +version = "0.0.39" edition = "2021" authors = [ @@ -44,7 +44,7 @@ once_cell = "1.17.1" paste = "1.0.12" substring = "1.4.5" term_size = "0.3.2" -toml = "0.7.3" +toml = "0.7.4" url = "2.3.1" tracing = "0.1.37" diff --git a/pagetop/src/locale.rs b/pagetop/src/locale.rs index 60ac0074..3256ebf8 100644 --- a/pagetop/src/locale.rs +++ b/pagetop/src/locale.rs @@ -126,7 +126,7 @@ static FALLBACK_LANGID: LazyStatic = LazyStatic::new(|| lang /// Almacena el Identificador de Idioma Unicode /// ([Unicode Language Identifier](https://unicode.org/reports/tr35/tr35.html#Unicode_language_identifier)) /// global para la aplicación a partir de `SETTINGS.app.language`. -pub(crate) static DEFAULT_LANGID: LazyStatic<&LanguageIdentifier> = +pub static DEFAULT_LANGID: LazyStatic<&LanguageIdentifier> = LazyStatic::new(|| langid_for(config::SETTINGS.app.language.as_str())); pub fn langid_for(language: &str) -> &LanguageIdentifier {