2021-05-03 13:48:46 +00:00
|
|
|
[package]
|
2022-07-27 18:32:17 +00:00
|
|
|
authors = ["juliancoffee <lightdarkdaughter@gmail.com>"]
|
2022-01-26 13:13:05 +00:00
|
|
|
edition = "2021"
|
2022-09-27 12:09:20 +00:00
|
|
|
name = "veloren-client-i18n"
|
|
|
|
description = "Optional crate for internalization and diagnostic of existing localizations for frontends to consume"
|
2022-07-27 18:32:17 +00:00
|
|
|
version = "0.13.0"
|
2021-05-03 13:48:46 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-05-07 11:24:37 +00:00
|
|
|
# Assets
|
|
|
|
common-assets = {package = "veloren-common-assets", path = "../../common/assets"}
|
2024-01-09 10:06:31 +00:00
|
|
|
common-i18n = { package = "veloren-common-i18n", path = "../../common/i18n" }
|
2023-05-10 08:33:01 +00:00
|
|
|
serde = { workspace = true }
|
2022-07-27 18:32:17 +00:00
|
|
|
# Localization
|
|
|
|
unic-langid = { version = "0.9"}
|
2022-08-07 11:39:04 +00:00
|
|
|
intl-memoizer = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
|
|
|
fluent = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
|
|
|
fluent-bundle = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
2022-07-27 18:32:17 +00:00
|
|
|
# Utility
|
2023-05-10 08:33:01 +00:00
|
|
|
hashbrown = { workspace = true }
|
2022-07-27 18:32:17 +00:00
|
|
|
deunicode = "1.0"
|
2023-05-10 08:33:01 +00:00
|
|
|
tracing = { workspace = true }
|
2022-08-09 10:33:34 +00:00
|
|
|
# Bin
|
2023-05-10 08:33:01 +00:00
|
|
|
clap = { workspace = true, optional = true }
|
2022-08-09 10:33:34 +00:00
|
|
|
fluent-syntax = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "i18n-check"
|
|
|
|
required-features = ["bin"]
|
|
|
|
|
2022-08-25 11:13:28 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "i18n-csv"
|
|
|
|
required-features = ["stat"]
|
|
|
|
|
2022-08-09 10:33:34 +00:00
|
|
|
[features]
|
|
|
|
bin = ["clap"]
|
|
|
|
stat = []
|