usecrate::{api, LocaleInfo,Result};usetauri::command;/// Thin Tauri-command wrapper around `api::get_locale`, so it can be
/// called from the frontend via `invoke('plugin:sys-locale|get_locale')`.
#[command]pubfnget_locale()->Result<String>{api::get_locale()}/// Thin Tauri-command wrapper around `api::get_locale_info`.
#[command]pubfnget_locale_info()->Result<LocaleInfo>{api::get_locale_info()}