diff --git a/src/metadata.rs b/src/metadata.rs index 3be7d87..6846670 100644 --- a/src/metadata.rs +++ b/src/metadata.rs @@ -248,11 +248,10 @@ impl Metadata { .as_ref() .and_then(|exif| exif.get_field(exif::Tag::FNumber, exif::In::PRIMARY)) { - // Translators: Display of the f-number . {} will be replaced with the number - return Some(gettext_f( - r"\u{192}\u{2215}{}", - [field.display_value().to_string()], - )); + return Some( + // Translators: Display of the f-number . {} will be replaced with the number + gettext_f(r"\u{192}\u{2215}{}", [field.display_value().to_string()]), + ); } None diff --git a/src/widgets/properties_view.rs b/src/widgets/properties_view.rs index 213baca..c59c8ab 100644 --- a/src/widgets/properties_view.rs +++ b/src/widgets/properties_view.rs @@ -281,11 +281,13 @@ mod imp { _ => { let (width, height) = image.image_size(); if width > 0 && height > 0 { - // Translators: Image " x " - Some(gettext_f( - r"{}\u{202F}\u{D7}\u{202F}{}", - [width.to_string(), height.to_string()], - )) + Some( + // Translators: Image " x " + gettext_f( + r"{}\u{202F}\u{D7}\u{202F}{}", + [width.to_string(), height.to_string()], + ), + ) } else { None } diff --git a/src/widgets/sliding_view.rs b/src/widgets/sliding_view.rs index c83e829..75232df 100644 --- a/src/widgets/sliding_view.rs +++ b/src/widgets/sliding_view.rs @@ -620,7 +620,8 @@ impl LpSlidingView { *self.imp().position_tracking.borrow_mut() = PositionTracking::StackedCards(StackedCards::new(prev_page, backward)); - // Set current page here as well, to make sure it's set when animation completes for disabled animations + // Set current page here as well, to make sure it's set when animation completes + // for disabled animations self.set_current_page(Some(page)); animation.play(); }