Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Dec 18, 2024
1 parent abccee8 commit ac67fce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/stringtable/src/rapify.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::{Key, Project, ALL_LANGUAGES};
use hemtt_workspace::WorkspacePath;
use tracing::{warn, trace};
use tracing::{trace, warn};

#[derive(Default, Debug)]
pub struct XmlbLayout {
Expand Down Expand Up @@ -140,7 +140,7 @@ pub fn rapify(project: &Project) -> Option<XmlbLayout> {
let unescaped = quick_xml::escape::unescape(phrase.as_str());
if unescaped.is_err() {
warn!("failed to unescape stringtable entry [{}]", phrase);
return None
return None;
}
write_string(&mut translation_buffer, &unescaped.unwrap_or_default());
}
Expand Down

0 comments on commit ac67fce

Please sign in to comment.