commit 692f4889cfc648e63c431b1d84eaa20a2c2e4130
parent f2153f53dcf9b0fee85ff61c6bea7b9b92478aaa
Author: Fernando LoĢpez Guevara <fernando.lguevara@gmail.com>
Date: Tue, 29 Jul 2025 21:31:36 -0300
update i18n comments for source client options
Co-authored-by: Terry Yiu <963907+tyiu@users.noreply.github.com>
Diffstat:
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
@@ -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"),
}
}
}