diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-03-23 20:52:55 +0100 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-04-05 00:31:21 +0200 |
| commit | 1d28fb5599337bf1891ac8cc43b7656975d239d7 (patch) | |
| tree | e75bcfaed71d668c87afa65ca524d1a0338a0ce1 /src/components/preference_pages/map.rs | |
| parent | ef32d65ac1852da581ac75d20f903dbcb2d0b5cd (diff) | |
Use english as the base language
Diffstat (limited to 'src/components/preference_pages/map.rs')
| -rw-r--r-- | src/components/preference_pages/map.rs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/components/preference_pages/map.rs b/src/components/preference_pages/map.rs index 5ec59e1..fb5178c 100644 --- a/src/components/preference_pages/map.rs +++ b/src/components/preference_pages/map.rs @@ -68,7 +68,7 @@ impl SimpleComponent for Map { set_valign: gtk::Align::Start, gtk::Label { - set_label: &tr!("preferences.map.map_style.title"), + set_label: &tr!("Map Style"), add_css_class: "heading", set_halign: gtk::Align::Start, }, @@ -81,7 +81,7 @@ impl SimpleComponent for Map { set_spacing: 10, gtk::Label { - set_label: &tr!("preferences.map.font"), + set_label: &tr!("Font"), }, gtk::FontDialogButton::new(Some(gtk::FontDialog::new())) { @@ -101,7 +101,7 @@ impl SimpleComponent for Map { }, gtk::Label { - set_label: &tr!("preferences.map.export.title"), + set_label: &tr!("Export"), add_css_class: "heading", set_halign: gtk::Align::Start, set_margin_top: 10, @@ -112,11 +112,11 @@ impl SimpleComponent for Map { set_spacing: 10, gtk::Label { - set_label: &tr!("preferences.map.export.default_format"), + set_label: &tr!("Default export format"), }, gtk::DropDown::new(Some(gtk::StringList::new(&[ - &tr!("export_formats.png"), - &tr!("export_formats.svg"), + &tr!("PNG (Raster)"), + &tr!("SVG (Vector)"), ])), None::<gtk::Expression>) { #[watch] #[block_signal(export_handler)] @@ -143,7 +143,7 @@ impl SimpleComponent for Map { ) -> ComponentParts<Self> { let show_background_switch = switch::Switch::builder() .launch(switch::SwitchInit { - label: tr!("preferences.map.map_style.show_background"), + label: tr!("Show map background"), state: init.show_background, }) .forward(sender.input_sender(), move |output| match output { @@ -152,7 +152,7 @@ impl SimpleComponent for Map { let custom_font_switch = switch::Switch::builder() .launch(switch::SwitchInit { - label: tr!("preferences.map.map_style.use_custom_font"), + label: tr!("Use custom font"), state: init.use_custom_font, }) .forward(sender.input_sender(), move |output| match output { @@ -161,7 +161,7 @@ impl SimpleComponent for Map { let smart_label_positioning_switch = switch::Switch::builder() .launch(switch::SwitchInit { - label: tr!("preferences.map.map_style.use_smart_label_positioning"), + label: tr!("Use smart label positioning"), state: init.use_smart_label_positioning, }) .forward(sender.input_sender(), move |output| match output { |