Skip to content

Commit

Permalink
Drop outdated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Jan 16, 2024
1 parent f33057f commit f153650
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion rust/agama-dbus-server/src/l10n/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ pub fn init_locale() -> Result<LocaleCode, Box<dyn std::error::Error>> {
/// Sets the service locale.
///
pub fn set_service_locale(locale: &LocaleCode) {
// Let's force the encoding to be 'UTF-8'.
if setlocale(LocaleCategory::LcAll, locale.to_string()).is_none() {
log::warn!("Could not set the locale");
}
Expand Down
1 change: 0 additions & 1 deletion service/lib/agama/ui_locale.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def initialize(locale_client, &block)
private

def change_locale(locale)
# TODO: check if we can use UTF-8 everywhere including strange arch consoles
language, encoding = locale.split(".")
Yast::WFM.SetLanguage(language, encoding)
# explicitly set ENV to get localization also from libraries like libstorage
Expand Down

0 comments on commit f153650

Please sign in to comment.