mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
rename a translation file and clear some commented code
This commit is contained in:
parent
4d7b985be1
commit
7150e1f820
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user