rename a translation file and clear some commented code

This commit is contained in:
Vincent Foulon 2020-12-29 15:57:47 +01:00
parent 4d7b985be1
commit 7150e1f820
2 changed files with 0 additions and 12 deletions

View File

@ -165,18 +165,6 @@ impl Localization {
); );
} }
} }
// Initializes and return a Localization with the given key
// Panics if the Localization cannot be found
// #[track_caller]
// pub fn load_expect(asset_key: &str) -> assets::AssetHandle<Localization> {
// Self::load(asset_key).unwrap_or_else(|err| {
// panic!(
// "Failed loading essential asset: {} (error={:?})",
// asset_key, err
// )
// })
// }
} }
impl From<RawLocalization> for Localization { impl From<RawLocalization> for Localization {
fn from(raw: RawLocalization) -> Self { fn from(raw: RawLocalization) -> Self {