Skip to content

Commit

Permalink
Implement get_locale for GTK
Browse files Browse the repository at this point in the history
  • Loading branch information
luleyleo authored and cmyr committed Apr 3, 2020
1 parent cd65aab commit 92df460
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions druid-shell/src/platform/gtk/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ impl Application {
}

pub fn get_locale() -> String {
//TODO ahem
"en-US".into()
glib::get_language_names()[0].as_str().into()
}
}

Expand Down

0 comments on commit 92df460

Please sign in to comment.