mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-16 21:38:24 +00:00
core: re-export the tr crate when the tr feature is activated
This commit is contained in:
parent
2bbe5e8786
commit
60d8897c8c
3 changed files with 4 additions and 1 deletions
|
@ -53,7 +53,6 @@ spin_on = { workspace = true }
|
|||
css-color-parser2 = { workspace = true }
|
||||
pyo3-stub-gen = { version = "0.9.0", default-features = false }
|
||||
smol = { version = "2.0.0" }
|
||||
tr = { workspace = true }
|
||||
|
||||
[package.metadata.maturin]
|
||||
python-source = "slint"
|
||||
|
|
|
@ -17,6 +17,7 @@ mod errors;
|
|||
mod models;
|
||||
mod timer;
|
||||
mod value;
|
||||
use i_slint_core::translations::tr;
|
||||
|
||||
fn handle_unraisable(py: Python<'_>, context: String, err: PyErr) {
|
||||
let exception = err.value(py);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue