Make Translations public

pull/11/head
Baptiste Gelez 5 years ago
parent 5615407ec4
commit 0f4774cbe0

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

Loading…
Cancel
Save