feat(locale): add Fluent translations
Default to the platform language with persisted overrides across native and web builds. Refs #630
This commit is contained in:
parent
e102887000
commit
b90b3e3ecf
26 changed files with 1581 additions and 112 deletions
|
|
@ -39,6 +39,9 @@ acadrust = { version = "0.4", features = ["serde"] }
|
|||
dwg-thumbnailer = { path = "crates/dwg-thumbnailer" }
|
||||
flate2 = "1"
|
||||
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "bmp", "tiff"] }
|
||||
i18n-embed = { version = "0.16", features = ["fluent-system"] }
|
||||
i18n-embed-fl = "0.10"
|
||||
rust-embed = "8"
|
||||
inventory = "0.3"
|
||||
truck-shapeops = { version = "0.4", optional = true }
|
||||
rustc-hash = "2"
|
||||
|
|
@ -64,6 +67,7 @@ iced_widget = { git = "https://github.com/iced-rs/iced.git", rev = "23604ff22ab0
|
|||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
ocs_plugin_api = { path = "crates/ocs_plugin_api", features = ["host"] }
|
||||
i18n-embed = { version = "0.16", features = ["desktop-requester"] }
|
||||
rayon = "1"
|
||||
open = "5"
|
||||
printpdf = { version = "0.9.1", default-features = false }
|
||||
|
|
@ -71,6 +75,7 @@ ureq = { version = "3", default-features = false, features = ["rustls", "platfor
|
|||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
ocs_plugin_api = { path = "crates/ocs_plugin_api" }
|
||||
i18n-embed = { version = "0.16", features = ["web-sys-requester"] }
|
||||
console_error_panic_hook = "0.1"
|
||||
log = "0.4"
|
||||
getrandom = { version = "0.3", features = ["wasm_js"] }
|
||||
|
|
|
|||
Loading…
Reference in a new issue