Unverified Commit 138d3ff8 authored by Katharina Fey's avatar Katharina Fey 🏴
Browse files

Updating README and Cargo.toml keys

parent 451cb46c
[package]
name = "traduki"
description = "Integrate translated assets into your application or library"
version = "0.1.1"
version = "0.1.2"
authors = ["Katharina Fey <kookie@spacekookie.de>"]
license = "MIT OR Apache-2.0"
edition = "2018"
readme = "README.md"
repository = "https://git.open-communication.net/spacekookie/traduki"
docs = "https://docs.rs/traduki"
documentation = "https://docs.rs/traduki"
[dependencies]
yaml-rust = "0.4"
\ No newline at end of file
......@@ -93,16 +93,18 @@ assets/
In this example the `clap` directory contains data regarding the CLI,
grouped by subcommand (with `default/` contains general arguments, the
application name, version, disclaimer, etc.
application name, version, disclaimer, etc.)
The manual section doesn't have sub-sections and is a leaf node (with
three languages).
The manual section doesn't have sub-sections and is a simple leaf node
(with three languages).
In your `build.rs` you should add this line
```
```rust
fn main() {
traduki::bootstrap("assets/").unwrap();
set_var("TRADUKI_DEFAULT_LANG", "en_GB");
traduki::bootstrap("assets");
}
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment