Make Translations public
This commit is contained in:
parent
5615407ec4
commit
0f4774cbe0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue