Merge branch 'master' of github.com:BaptisteGelez/rocket_i18n

pull/16/head
Baptiste Gelez 5 jaren geleden
bovenliggende 3efc3c3c13 9fc10a9aae
commit 72f8e0076e

@ -1,4 +1,4 @@
language: rust
rust:
- nightly
- nightly-2018-12-06
cache: cargo

@ -4,7 +4,7 @@ description = "Rocket fairing for easy internationalization with gettext (also s
license = "GPL-3.0"
name = "rocket_i18n"
readme = "README.md"
repository = "https://github.com/BaptisteGelez/rocket_i18n"
repository = "https://github.com/Plume-org/rocket_i18n"
keywords = ["i18n", "rocket", "gettext", "internationalization", "localization"]
categories = ["internationalization", "localization", "web-programming"]
version = "0.4.0"

@ -1,4 +1,4 @@
# Rocket I18N [![Build Status](https://travis-ci.org/BaptisteGelez/rocket_i18n.svg?branch=master)](https://travis-ci.org/BaptisteGelez/rocket_i18n)
# Rocket I18N [![Build Status](https://travis-ci.org/Plume-org/rocket_i18n.svg?branch=master)](https://travis-ci.org/Plume-Org/rocket_i18n)
A crate to help you internationalize your Rocket or Actix Web applications.
@ -70,6 +70,7 @@ store your catalog.
### Using with Actix Web
First, disable the default features so it doesn't pull in all of Rocket.
```toml
[dependencies.rocket_i18n]
version = "0.4"
@ -78,6 +79,7 @@ features = ["actix-web"]
```
Then add it to your application.
```rust
use gettext_macros::*;
use rocket_i18n::{I18n, Internationalized, Translations};

@ -1 +1 @@
nightly-2018-10-31
nightly-2018-12-06

Laden…
Annuleren
Opslaan