feat: add localization for internal widget
This commit is contained in:
parent
f655710d55
commit
0942c67fa2
8 changed files with 86 additions and 12 deletions
|
|
@ -161,6 +161,9 @@ pub(crate) fn iced_settings<App: Application>(
|
|||
pub fn run<App: Application>(settings: Settings, flags: App::Flags) -> iced::Result {
|
||||
let settings = iced_settings::<App>(settings, flags);
|
||||
|
||||
#[cfg(feature = "localization")]
|
||||
crate::localize::localize();
|
||||
|
||||
cosmic::Cosmic::<App>::run(settings)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue