Skip to content

Commit

Permalink
🚧 chwd: dont expose localization
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Oct 27, 2024
1 parent cb831fc commit 924af6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ pub mod consts;
pub mod data;
pub mod device;
pub mod hwd_misc;
pub mod localization;
pub mod profile;
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
pub mod args;
pub mod console_writer;
pub mod device_misc;
pub mod localization;
pub mod logger;
pub mod misc;
pub mod profile_misc;
Expand All @@ -38,7 +39,7 @@ use subprocess::{Exec, Redirection};

fn main() -> anyhow::Result<()> {
let requested_languages = DesktopLanguageRequester::requested_languages();
let localizer = chwd::localization::localizer();
let localizer = crate::localization::localizer();
if let Err(error) = localizer.select(&requested_languages) {
eprintln!("Error while loading languages for library_fluent {}", error);
}
Expand Down

0 comments on commit 924af6f

Please sign in to comment.