From 7d578e90d25a80c8bd660a21208bb54384600c28 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Wed, 31 May 2023 03:28:47 +0200 Subject: [PATCH] i18n(en): add translations for background fit options --- app/src/pages/desktop/wallpaper.rs | 2 +- i18n/en/cosmic_settings.ftl | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/src/pages/desktop/wallpaper.rs b/app/src/pages/desktop/wallpaper.rs index 48dede1..fa500cb 100644 --- a/app/src/pages/desktop/wallpaper.rs +++ b/app/src/pages/desktop/wallpaper.rs @@ -44,7 +44,7 @@ impl Default for Page { fn default() -> Self { Page { config: wallpaper::Config::default(), - fit_options: vec!["Fit to Screen".into(), "Stretch".into(), "Zoom".into()], + fit_options: vec![fl!("fit-to-screen"), fl!("stretch"), fl!("zoom")], outputs: HashMap::new(), same_background: true, selected_fit: 0, diff --git a/i18n/en/cosmic_settings.ftl b/i18n/en/cosmic_settings.ftl index 5b03a09..7c79fd0 100644 --- a/i18n/en/cosmic_settings.ftl +++ b/i18n/en/cosmic_settings.ftl @@ -54,6 +54,7 @@ panel-behavior-and-position = Behavior and Positions .autohide = Automatically hide panel .position = Position on screen .display = Show on display + panel-top = Top panel-bottom = Bottom panel-left = Left @@ -70,7 +71,7 @@ panel-style = Style .appearance = Appearance .size = Size .background-opacity = Background opacity - + small = Small large = Large @@ -94,6 +95,9 @@ wallpaper = Wallpaper .slide = Slideshow .change = Change image every +fit-to-screen = Fit to Screen +stretch = Stretch +zoom = Zoom ## Desktop: Workspaces