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

Finnish translation #310

Merged
merged 3 commits into from
Jul 15, 2023
Merged
Show file tree
Hide file tree
Changes from 2 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
3 changes: 2 additions & 1 deletion src/gui/components/radio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@ pub fn language_radios(
font: Font,
style: StyleType,
) -> Row<'static, Message> {
let mut ret_val = Row::new().spacing(10);
let mut ret_val = Row::new().spacing(10).align_items(Alignment::Center);
for option in collection {
ret_val = ret_val.push(
Row::new().align_items(Alignment::Center).push(
Row::new()
.align_items(Alignment::Center)
.width(Length::Fixed(180.0))
.push(
Radio::new(
Expand Down
5 changes: 4 additions & 1 deletion src/gui/pages/settings_language_page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ pub fn settings_language_page(sniffer: &Sniffer) -> Container<Message> {
language_radios(language_active, &Language::ROW3, font, sniffer.style);
let row_language_radio_4 =
language_radios(language_active, &Language::ROW4, font, sniffer.style);
let row_language_radio_5 =
language_radios(language_active, &Language::ROW5, font, sniffer.style);
let col_language_radio_all = Column::new()
.spacing(10)
.push(row_language_radio_1)
.push(row_language_radio_2)
.push(row_language_radio_3)
.push(row_language_radio_4);
.push(row_language_radio_4)
.push(row_language_radio_5);

let mut content = Column::new()
.align_items(Alignment::Center)
Expand Down
Loading