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"
|
2021-07-29 18:47:45 +00:00
|
|
|
name = "veloren-voxygen-i18n"
|
2021-05-04 08:55:40 +00:00
|
|
|
description = "Crate for internalization and diagnostic of existing localizations."
|
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"}
|
2022-09-15 18:51:48 +00:00
|
|
|
ron = "0.7"
|
2021-05-03 13:48:46 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
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
|
|
|
|
hashbrown = { version = "0.12", features = ["serde", "nightly"] }
|
|
|
|
deunicode = "1.0"
|
2021-05-10 22:13:00 +00:00
|
|
|
tracing = "0.1"
|
2022-08-09 10:33:34 +00:00
|
|
|
# Bin
|
|
|
|
clap = { version = "3.1.8", features = ["suggestions", "std"], default-features = false, optional = true }
|
|
|
|
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 = []
|