Skip to content

Commit

Permalink
Merge pull request #72 from siketyan/feat/i18n
Browse files Browse the repository at this point in the history
feat: Initial implementation of i18n
  • Loading branch information
siketyan authored Oct 2, 2022
2 parents 65e459c + 6155ce8 commit 1e93c6b
Show file tree
Hide file tree
Showing 5 changed files with 276 additions and 17 deletions.
233 changes: 230 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,20 @@ authors = [
readme = "README.md"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.i18n]
available-locales = ["en", "ja"]
default-locale = "en"

[dependencies]
apdu = "0.2"
clap = { version = "4.0", features = ["derive"] }
dialoguer = "0.10"
hex = "0.4"
jpki = { version = "=0.4.0", path = "../core", features = ["pcsc", "serde"] }
once_cell = "1.15"
pcsc = "2.7"
ring = "0.17.0-alpha.10"
rust-i18n = "0.6"
serde_json = "1.0"
thiserror = "1.0"
tracing = "0.1"
Expand Down
Loading

0 comments on commit 1e93c6b

Please sign in to comment.