From f1536502c71edf59f040f761026df35e8d487cbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Tue, 16 Jan 2024 09:38:15 +0000 Subject: [PATCH] Drop outdated comments --- rust/agama-dbus-server/src/l10n/helpers.rs | 1 - service/lib/agama/ui_locale.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/rust/agama-dbus-server/src/l10n/helpers.rs b/rust/agama-dbus-server/src/l10n/helpers.rs index 3bccb04a8e..507094cd04 100644 --- a/rust/agama-dbus-server/src/l10n/helpers.rs +++ b/rust/agama-dbus-server/src/l10n/helpers.rs @@ -22,7 +22,6 @@ pub fn init_locale() -> Result> { /// 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"); } diff --git a/service/lib/agama/ui_locale.rb b/service/lib/agama/ui_locale.rb index fc31e8b8a6..4f21dd046e 100644 --- a/service/lib/agama/ui_locale.rb +++ b/service/lib/agama/ui_locale.rb @@ -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