From 0f4774cbe0324429dee53cb49f7541371eaa675e Mon Sep 17 00:00:00 2001 From: Baptiste Gelez Date: Wed, 21 Nov 2018 17:50:44 +0100 Subject: [PATCH] Make Translations public --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index ec23b1e..b240782 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -112,7 +112,7 @@ pub struct I18n { pub catalog: Catalog, } -type Translations = Vec<(&'static str, Catalog)>; +pub type Translations = Vec<(&'static str, Catalog)>; pub fn i18n(lang: Vec<&'static str>) -> Translations { lang.iter().fold(Vec::new(), |mut trans, l| {