Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix & add some Uzbek words #385

Merged
merged 5 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/gui/components/radio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub fn language_radios(
Row::new().align_items(Alignment::Center).push(
Row::new()
.align_items(Alignment::Center)
.width(Length::Fixed(180.0))
.width(Length::Fixed(200.0))
.push(
Radio::new(
format!("{} ({:?})", option.get_radio_label(), option),
Expand All @@ -91,7 +91,7 @@ pub fn language_radios(
.font(font)
.size(15),
)
.push(horizontal_space(Length::Fixed(8.0)))
.push(horizontal_space(Length::Fixed(15.0)))
.push(option.get_flag()),
),
);
Expand Down
9 changes: 5 additions & 4 deletions src/gui/pages/settings_language_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@ pub fn settings_language_page(sniffer: &Sniffer) -> Container<Message, Renderer<
let row_language_radio_3 = language_radios(language_active, &Language::ROW3, font);
let row_language_radio_4 = language_radios(language_active, &Language::ROW4, font);
let row_language_radio_5 = language_radios(language_active, &Language::ROW5, font);
let row_language_radio_6 = language_radios(language_active, &Language::ROW6, font);
let col_language_radio_all = Column::new()
.spacing(10)
.spacing(12)
.align_items(Alignment::Center)
.push(row_language_radio_1)
.push(vertical_space(0))
.push(row_language_radio_2)
.push(row_language_radio_3)
.push(row_language_radio_4)
.push(row_language_radio_5);
.push(row_language_radio_5)
.push(row_language_radio_6);

let mut content = Column::new()
.align_items(Alignment::Center)
Expand All @@ -59,7 +60,7 @@ pub fn settings_language_page(sniffer: &Sniffer) -> Container<Message, Renderer<
.push(col_language_radio_all);

if [Language::EL, Language::PT].contains(&sniffer.language) {
content = content.push(vertical_space(Fixed(40.0))).push(
content = content.push(vertical_space(Fixed(20.0))).push(
Container::new(
Text::new("The selected language is not fully updated to version 1.2").font(font),
)
Expand Down
Loading
Loading