From 4b246284090783b94ccd47fcbc9470a31a0393b8 Mon Sep 17 00:00:00 2001 From: Philipp Kiemle Date: Tue, 18 Apr 2023 09:08:41 +0000 Subject: [PATCH] imageView: Add translator comment --- src/widgets/image_view.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/widgets/image_view.rs b/src/widgets/image_view.rs index a185eab..3d8d922 100644 --- a/src/widgets/image_view.rs +++ b/src/widgets/image_view.rs @@ -591,7 +591,14 @@ impl LpImageView { Ok(_) => self .activate_action( "win.show-toast", - Some(&(gettext("Set as background."), 1).to_variant()), + Some( + &( + // Translators: This is a toast notification, informing the user that an image has been set as background. + gettext("Set as background."), + 1, + ) + .to_variant(), + ), ) .unwrap(), Err(err) => {