Skip to content
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
2 changes: 2 additions & 0 deletions resources/fonts/full/subset_characters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ z
à
á
â
ã
ä
ç
è
Expand All @@ -112,6 +113,7 @@ z
ñ
ó
ô
õ
ö
ù
ú
Expand Down
Binary file modified resources/fonts/subset/sarasa-mono-sc-bold.subset.ttf
Binary file not shown.
Binary file modified resources/fonts/subset/sarasa-mono-sc-regular.subset.ttf
Binary file not shown.
21 changes: 2 additions & 19 deletions src/gui/pages/settings_language_page.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use iced::alignment::Horizontal;
use iced::widget::{Column, Container, Row, Text};
use iced::widget::{Column, Container, Row};
use iced::Length::Fixed;
use iced::{Alignment, Length};
use iced_native::widget::vertical_space;
Expand Down Expand Up @@ -57,24 +56,8 @@ pub fn settings_language_page(sniffer: &Sniffer) -> Container<Message> {
.font(font)
.size(FONT_SIZE_SUBTITLE),
)
.push(vertical_space(Fixed(20.0)))
.push(row_language_radio)
.push(vertical_space(Fixed(30.0)))
.push(
Container::new(
Text::new(
"Would you like to add support for your native language?\n\n\
Give a look at Sniffnet issues on GitHub.",
)
.horizontal_alignment(Horizontal::Center)
.width(Length::Fixed(500.0))
.font(font),
)
.padding(10)
.style(<StyleTuple as Into<iced::theme::Container>>::into(
StyleTuple(sniffer.style, ElementType::BorderedRound),
)),
);
.push(row_language_radio);

Container::new(content)
.height(Fixed(400.0))
Expand Down
Loading