Make Translations public

This commit is contained in:
Baptiste Gelez 2018-11-21 17:50:44 +01:00
parent 5615407ec4
commit 0f4774cbe0

View file

@ -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| {