mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Change API to set the language with bundle translation
* Change API to set the language with bundle translation Part of #6793
This commit is contained in:
parent
ebd1c2eb09
commit
d68b84a3f1
9 changed files with 140 additions and 57 deletions
|
@ -223,6 +223,7 @@ pub use i_slint_core::model::{
|
|||
};
|
||||
pub use i_slint_core::sharedvector::SharedVector;
|
||||
pub use i_slint_core::timers::{Timer, TimerMode};
|
||||
pub use i_slint_core::translations::{select_bundled_translation, SelectBundledTranslationError};
|
||||
pub use i_slint_core::{format, string::SharedString};
|
||||
|
||||
pub mod private_unstable_api;
|
||||
|
|
|
@ -214,7 +214,7 @@ pub mod re_exports {
|
|||
pub use i_slint_core::slice::Slice;
|
||||
pub use i_slint_core::timers::{Timer, TimerMode};
|
||||
pub use i_slint_core::translations::{
|
||||
set_language_internal, translate_from_bundle, translate_from_bundle_with_plural,
|
||||
set_bundled_languages, translate_from_bundle, translate_from_bundle_with_plural,
|
||||
};
|
||||
pub use i_slint_core::window::{
|
||||
InputMethodRequest, WindowAdapter, WindowAdapterRc, WindowInner,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue