fix init_localization return value being in comment

This commit is contained in:
Vincent Foulon 2020-12-28 12:22:46 +01:00
parent 924c24fa78
commit 70c336c6cb

View File

@ -170,12 +170,8 @@ pub fn init_localization(asset_key: &str) -> Result<Localization, assets::BoxedE
asked_localization.vector_map.extend(localization.read().vector_map.clone());
}
}
// handle folders
// if let Ok(sub_localization) = init_localization(localization_asset.0) {
// asked_localization.string_map.extend(sub_localization.string_map.clone());
// asked_localization.vector_map.extend(sub_localization.vector_map.clone());
// }
// Ok(asked_localization)
// TODO: handle folders
Ok(asked_localization)
}
/// Load all the available languages located in the voxygen asset directory