more on AltGr

This commit is contained in:
rustdesk
2022-03-07 20:16:28 +08:00
parent b8f7e347c3
commit dcad90e073
3 changed files with 31 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ mod eo;
#[cfg(not(any(target_os = "android", target_os = "ios")))]
pub fn translate(name: String) -> String {
let locale = sys_locale::get_locale().unwrap_or_default().to_lowercase();
log::debug!("The current locale is {}", locale);
log::trace!("The current locale is {}", locale);
translate_locale(name, &locale)
}