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/editor.rs | |
| parent | ef32d65ac1852da581ac75d20f903dbcb2d0b5cd (diff) | |
Use english as the base language
Diffstat (limited to 'src/components/preference_pages/editor.rs')
| -rw-r--r-- | src/components/preference_pages/editor.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/preference_pages/editor.rs b/src/components/preference_pages/editor.rs index 0c6bda6..b064077 100644 --- a/src/components/preference_pages/editor.rs +++ b/src/components/preference_pages/editor.rs @@ -70,7 +70,7 @@ impl SimpleComponent for Editor { set_spacing: 10, gtk::Label { - set_label: &tr!("preferences.editor.font_size.title"), + set_label: &tr!("Font Size"), add_css_class: "heading", set_halign: gtk::Align::Start, }, @@ -90,7 +90,7 @@ impl SimpleComponent for Editor { format!( "{} ({})", value as i32, - tr!("preferences.editor.default_font_size") + tr!("Default") ) } else { format!("{}", value as i32) @@ -104,7 +104,7 @@ impl SimpleComponent for Editor { }, gtk::Label { - set_label: &tr!("preferences.editor.editor_style.title"), + set_label: &tr!("Editor Style"), add_css_class: "heading", set_halign: gtk::Align::Start, set_margin_top: 10, @@ -118,7 +118,7 @@ impl SimpleComponent for Editor { set_spacing: 10, gtk::Label { - set_label: &tr!("preferences.editor.font"), + set_label: &tr!("Font"), }, gtk::FontDialogButton::new(Some(gtk::FontDialog::new())) { @@ -149,7 +149,7 @@ impl SimpleComponent for Editor { ) -> ComponentParts<Self> { let soft_wrap_switch = switch::Switch::builder() .launch(switch::SwitchInit { - label: tr!("preferences.editor.editor_style.soft_wrap_lines"), + label: tr!("Soft wrap lines"), state: init.soft_wrap, }) .forward(sender.input_sender(), move |output| match output { @@ -158,7 +158,7 @@ impl SimpleComponent for Editor { let custom_font_switch = switch::Switch::builder() .launch(switch::SwitchInit { - label: tr!("preferences.editor.editor_style.use_custom_font"), + label: tr!("Use custom font"), state: init.use_custom_font, }) .forward(sender.input_sender(), move |output| match output { |