minor fixes to HU and FA translations; updated CHANGELOG

This commit is contained in:
GyulyVGC 2026-06-14 18:25:01 +02:00
parent 7c32877024
commit d2566f8e45
9 changed files with 22 additions and 13 deletions

View file

@ -5,6 +5,7 @@ All Sniffnet releases with the relative changes are documented in this file.
## [UNRELEASED]
- Support CIDR ranges in imported IP blacklists ([#1181](https://github.com/GyulyVGC/sniffnet/pull/1181))
- Show number of IP addresses and CIDR ranges in imported IP blacklists ([#1183](https://github.com/GyulyVGC/sniffnet/pull/1183))
- Added Hungarian translation 🇭🇺 ([#1197](https://github.com/GyulyVGC/sniffnet/pull/1197))
- Updated some of the existing translations to v1.5:
- Ukrainian ([#1039](https://github.com/GyulyVGC/sniffnet/pull/1039))
- German ([#1122](https://github.com/GyulyVGC/sniffnet/pull/1122))
@ -13,6 +14,7 @@ All Sniffnet releases with the relative changes are documented in this file.
- Indonesian ([#1145](https://github.com/GyulyVGC/sniffnet/pull/1145))
- Swedish ([#1068](https://github.com/GyulyVGC/sniffnet/pull/1068))
- Greek ([#1175](https://github.com/GyulyVGC/sniffnet/pull/1175))
- Persian ([#1196](https://github.com/GyulyVGC/sniffnet/pull/1196))
- Fix unseen hosts and services not appearing dimmed in thumbnail mode (fixes [#1142](https://github.com/GyulyVGC/sniffnet/issues/1142))
- Fix `X-AppImage-Version` field in Linux AppImage metadata to correctly reflect the app version ([#1174](https://github.com/GyulyVGC/sniffnet/pull/1174) — fixes [#1003](https://github.com/GyulyVGC/sniffnet/issues/1003))

View file

@ -98,10 +98,12 @@ z
Â
Ä
Å
É
Ê
Î
Ö
×
Ú
Ü
à
á
@ -141,6 +143,7 @@ z
ı
ł
ń
ő
ř
ś
Ş
@ -149,6 +152,7 @@ z
ť
ũ
ů
ű
Ź
ź
ż
@ -351,6 +355,7 @@ z

View file

@ -4,9 +4,9 @@ use iced::widget::scrollable::Direction;
use iced::widget::text::LineHeight;
use iced::widget::text_input::Side;
use iced::widget::tooltip::Position;
use iced::widget::{button, combo_box, text_input, ComboBox, Space, Toggler, Tooltip};
use iced::widget::{Button, Column, Container, Row, Scrollable, Text, TextInput};
use iced::{alignment, Alignment, Element, Length, Padding, Pixels};
use iced::widget::{ComboBox, Space, Toggler, Tooltip, button, combo_box, text_input};
use iced::{Alignment, Element, Length, Padding, Pixels, alignment};
use crate::gui::components::tab::get_pages_tabs;
use crate::gui::components::types::my_modal::MyModal;

View file

@ -2,8 +2,8 @@
use iced::widget::Text;
use crate::translations::types::language::Language;
use crate::StyleType;
use crate::translations::types::language::Language;
// pub fn choose_adapters_translation<'a>(language: Language) -> Text<'a, StyleType> {
// Text::new(match language {
@ -646,7 +646,7 @@ pub fn no_addresses_translation(language: Language) -> &'static str {
}
Language::HU => {
"Nem megfigyelhető a forgalom mivel a kiválasztott adapternek nincs aktív címe...\n\n\
Ha biztos vagy benne, hogy csatlakozva vagy az internethet, próbálj meg egy másik adaptert használni."
Ha biztos vagy benne, hogy csatlakozva vagy az internethez, próbálj meg egy másik adaptert használni."
}
}
}
@ -2449,7 +2449,7 @@ pub fn no_notifications_received_translation<'a>(language: Language) -> Text<'a,
}
Language::HU => {
"Semmi látnivaló...\n\n\
Amint érkezik egy értesítés, azt itt fogod látni."
Amint érkezik egy értesítés, azt itt fogod látni"
}
})
}

View file

@ -356,7 +356,9 @@ pub fn unsupported_link_type_translation(language: Language) -> &'static str {
Language::EL => {
"Ο τύπος σύνδεσης που σχετίζεται με αυτόν τον προσαρμογέα δεν υποστηρίζεται ακόμη από το Sniffnet..."
}
Language::HU => "Az ezzel az adapterrel asszociált link típust még nem támogatja a Sniffnet...",
Language::HU => {
"Az ezzel az adapterrel asszociált link típust még nem támogatja a Sniffnet..."
}
_ => "The link type associated with this adapter is not supported by Sniffnet yet...",
}
}

View file

@ -142,10 +142,10 @@ pub fn reading_from_pcap_translation(language: Language) -> &'static str {
"Čtení paketů ze souuboru...\n\n\
Jste si jistý že vybraný soubor není prázdný?"
}
// Language::FA => {
// "در حال خواندن بسته‌ها از فایل...\n\n\
// مطمئن هستید فایلی که انتخاب کرده‌اید خالی نیست؟"
// }
// Language::FA => {
// "در حال خواندن بسته‌ها از فایل...\n\n\
// مطمئن هستید فایلی که انتخاب کرده‌اید خالی نیست؟"
// }
Language::IT => {
"Lettura pacchetti da file...\n\n\
Sei sicuro che il file che hai selezionato non sia vuoto?"

View file

@ -98,7 +98,7 @@ pub fn blacklisted_transmitted_translation(language: Language) -> &'static str {
match language {
Language::EN => "New data exchanged from a blacklisted IP",
Language::IT => "Nuovi dati scambiati da un IP in blacklist",
// Language::FA => "داده‌های جدیدی از یک IP موجود در لیست سیاه مبادله شد.",
// Language::FA => "داده‌های جدیدی از یک IP موجود در لیست سیاه مبادله شد",
Language::DE => "Neue Daten von einer IP auf der Blacklist ausgetauscht",
Language::ZH => "与黑名单 IP 交换的新数据",
Language::ZH_TW => "與黑名單 IP 交換的新資料",

View file

@ -1,14 +1,14 @@
use std::fmt;
use iced::widget::svg::Handle;
use iced::widget::Svg;
use iced::widget::svg::Handle;
use serde::{Deserialize, Serialize};
use crate::StyleType;
use crate::countries::flags_pictures::{
CN, CZ, DE, ES, FI, FR, GB, GR, HU, ICONS_SIZE_BIG, ID, IT, JP, KR, NL, PL, PT, RO, RU, SE, TR,
TW, UA, UZ, VN,
};
use crate::StyleType;
/// This enum defines the available languages.
#[derive(PartialEq, Eq, Clone, Copy, Debug, Serialize, Deserialize, Hash, Default)]