From 692f4889cfc648e63c431b1d84eaa20a2c2e4130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Lo=CC=81pez=20Guevara?= Date: Tue, 29 Jul 2025 21:31:36 -0300 Subject: [PATCH] update i18n comments for source client options Co-authored-by: Terry Yiu <963907+tyiu@users.noreply.github.com> --- crates/notedeck_columns/src/ui/settings.rs | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/crates/notedeck_columns/src/ui/settings.rs b/crates/notedeck_columns/src/ui/settings.rs index 71d16d14..5386f4e2 100644 --- a/crates/notedeck_columns/src/ui/settings.rs +++ b/crates/notedeck_columns/src/ui/settings.rs @@ -75,21 +75,9 @@ impl ShowSourceClientOption { fn label<'a>(&self, i18n: &'a mut Localization) -> String { match self { - ShowSourceClientOption::Hide => tr!( - i18n, - "Hide", - "Option in settings section to hide the source client label in note display" - ), - ShowSourceClientOption::Top => tr!( - i18n, - "Top", - "Option in settings section to show the source client label at the top of the note" - ), - ShowSourceClientOption::Bottom => tr!( - i18n, - "Bottom", - "Option in settings section to show the source client label at the bottom of the note" - ), + Self::Hide => tr!(i18n, "Hide", "Option in settings section to hide the source client label in note display"), + Self::Top => tr!(i18n, "Top", "Option in settings section to show the source client label at the top of the note"), + Self::Bottom => tr!(i18n, "Bottom", "Option in settings section to show the source client label at the bottom of the note"), } } }