gettext: Move comments directly above gettext call

Hopefully they will now be detected by the system.
This commit is contained in:
Sophie Herold 2024-09-12 22:20:50 +02:00
parent 2f13b84d5d
commit 5d1fa3c0fa
3 changed files with 13 additions and 11 deletions

View file

@ -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 <https://en.wikipedia.org/wiki/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 <https://en.wikipedia.org/wiki/F-number>. {} will be replaced with the number
gettext_f(r"\u{192}\u{2215}{}", [field.display_value().to_string()]),
);
}
None