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

Spanish update #203

Merged
merged 4 commits into from
May 30, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
merge upstream/main
  • Loading branch information
GyulyVGC committed May 30, 2023
commit 7916076e307c09dc2fb911de5fae2e505e8ba403
123 changes: 120 additions & 3 deletions src/translations/translations_2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ pub fn new_version_available_translation(language: Language) -> &'static str {
Language::RU => "Новая версия доступна на GitHub",
Language::EL => "Μια νεότερη έκδοση είναι διαθέσιμη στο GitHub",
Language::FA => "یک نسخه جدیدتر روی GitHub موجود است",
Language::SV => "En nyare version finns tillgänglig på GitHub",
Language::DE => "Eine neue Version ist auf GitHub verfügbar",
Language::TR => "Daha yeni bir versiyon GitHub'ta mevcut",
Language::ES => "Hay una nueva versión disponible en GitHub",
_ => "A newer version is available on GitHub",
}
Expand All @@ -34,6 +37,11 @@ pub fn connection_details_translation(language: Language) -> &'static str {
match language {
Language::EN => "Connection details",
Language::IT => "Dettagli della connessione",
Language::RU => "Подробнее о соединении",
Language::SV => "Anslutningsdetaljer",
Language::DE => "Verbindungsdetails",
Language::TR => "Bağlantı detayları",
Language::FA => "مشخصات اتصال",
Language::ES => "Detalles de la Conexión",
_ => "Connection details",
}
Expand All @@ -43,6 +51,11 @@ pub fn dropped_packets_translation(language: Language) -> &'static str {
match language {
Language::EN => "Dropped packets",
Language::IT => "Pacchetti mancati",
Language::RU => "Потеряно пакетов",
Language::SV => "Tappade paket",
Language::DE => "Verlorene Pakete",
Language::TR => "Düşen paketler",
Language::FA => "بسته های رها شده",
Language::ES => "Paquetes perdidos",
_ => "Dropped packets",
}
Expand All @@ -52,6 +65,11 @@ pub fn data_representation_translation(language: Language) -> &'static str {
match language {
Language::EN => "Data representation",
Language::IT => "Rappresentazione dei dati",
Language::RU => "Показывать в виде", // there is selector below: "байтов" or "пакетов"
Language::SV => "Datarepresentation",
Language::DE => "Daten Darstellung",
Language::TR => "Veri gösterimi",
Language::FA => "بازنمایی داده ها", // TODO: or نمایندگی داده ها depending on context
Language::ES => "Representación de los datos",
_ => "Data representation",
}
Expand All @@ -61,6 +79,11 @@ pub fn host_translation(language: Language) -> &'static str {
match language {
Language::EN => "Network host",
Language::IT => "Host di rete",
Language::RU => "Сетевой хост",
Language::SV => "Nätverksvärd",
Language::DE => "Netzwerk-Host",
Language::TR => "Ağ sunucusu",
Language::FA => "میزبان شبکه",
Language::ES => "Host de red",
_ => "Network host",
}
Expand All @@ -70,6 +93,11 @@ pub fn only_top_30_hosts_translation(language: Language) -> &'static str {
match language {
Language::EN => "Only the top 30 hosts are displayed here",
Language::IT => "Solo i maggiori 30 host sono mostrati qui",
Language::RU => "Тут показываются только первые 30 хостов",
Language::SV => "Endast de 30 främsta värdarna visas här",
Language::DE => "Nur die obersten 30 Hosts werden hier angezeigt",
Language::TR => "Sadece ilk 30 sunucu burda gösterilmektedir",
Language::FA => "تنها ۳۰ میزبان برتر در اینجا نمایش داده شده اند",
Language::ES => "Aquí sólo se muestran los 30 mejores anfitriones",
_ => "Only the top 30 hosts are displayed here",
}
Expand All @@ -79,6 +107,11 @@ pub fn sort_by_translation(language: Language) -> &'static str {
match language {
Language::EN => "Sort by",
Language::IT => "Ordina per",
Language::RU => "Сортировка",
Language::SV => "Sortera efter",
Language::DE => "Sortieren nach",
Language::TR => "Şuna göre sırala",
Language::FA => "مرتب سازی بر اساس",
Language::ES => "Ordenar por",
_ => "Sort by",
}
Expand All @@ -88,6 +121,11 @@ pub fn local_translation(language: Language) -> String {
match language {
Language::EN => "Local network",
Language::IT => "Rete locale",
Language::RU => "Локальная сеть",
Language::SV => "Lokalt nätverk",
Language::DE => "Lokales Netzwerk",
Language::TR => "Yerel ağ",
Language::FA => "شبکه محلی",
Language::ES => "Red local",
_ => "Local network",
}
Expand All @@ -98,6 +136,11 @@ pub fn unknown_translation(language: Language) -> String {
match language {
Language::EN => "Unknown location",
Language::IT => "Localizzazione sconosciuta",
Language::RU => "Неизвестный регион",
Language::SV => "Okänd plats",
Language::DE => "Ort unbekannt",
Language::TR => "Bilinmeyen yer",
Language::FA => "محل نامعلوم",
Language::ES => "Localización desconocida",
_ => "Unknown location",
}
Expand All @@ -108,6 +151,11 @@ pub fn your_network_adapter_translation(language: Language) -> String {
match language {
Language::EN => "Your network adapter",
Language::IT => "La tua scheda di rete",
Language::RU => "Ваш сетевой адаптер",
Language::SV => "Din nätverksadapter",
Language::DE => "Dein Netzwerk-Adapter",
Language::TR => "Ağ adaptörün",
Language::FA => "مبدل شبکه شما",
Language::ES => "Su adaptador de red",
_ => "Your network adapter",
}
Expand All @@ -118,6 +166,11 @@ pub fn socket_address_translation(language: Language) -> &'static str {
match language {
Language::EN => "Socket address",
Language::IT => "Indirizzo del socket",
Language::RU => "Адрес сокекта",
Language::SV => "Socketadress",
Language::DE => "Socket Adresse",
Language::TR => "Soket adresi",
Language::FA => "پریز شبکه",
Language::ES => "Dirección del socket",
_ => "Socket address",
}
Expand All @@ -127,6 +180,11 @@ pub fn mac_address_translation(language: Language) -> &'static str {
match language {
Language::EN => "MAC address",
Language::IT => "Indirizzo MAC",
Language::RU => "MAC адрес",
Language::SV => "MAC-adress",
Language::DE => "MAC Adresse",
Language::TR => "MAC adresi",
Language::FA => "آدرس MAC",
Language::ES => "Dirección MAC",
_ => "MAC address",
}
Expand All @@ -136,6 +194,11 @@ pub fn source_translation(language: Language) -> &'static str {
match language {
Language::EN => "Source",
Language::IT => "Sorgente",
Language::RU => "Источник",
Language::SV => "Källa",
Language::DE => "Quelle",
Language::TR => "Kaynak",
Language::FA => "منبع",
Language::ES => "Origen",
_ => "Source",
}
Expand All @@ -145,6 +208,10 @@ pub fn destination_translation(language: Language) -> &'static str {
match language {
Language::EN | Language::SV => "Destination",
Language::IT => "Destinazione",
Language::RU => "Получатель",
Language::DE => "Ziel",
Language::TR => "Hedef",
Language::FA => "مقصد",
Language::ES => "Destino",
_ => "Destination",
}
Expand All @@ -154,24 +221,39 @@ pub fn fqdn_translation(language: Language) -> &'static str {
match language {
Language::EN => "Fully qualified domain name",
Language::IT => "Nome di dominio completo",
Language::RU => "Полное доменное имя",
Language::SV => "Fullständigt domännamn",
Language::DE => "Vollständig qualifizierter Domain Name",
Language::TR => "Tam nitelikli alan adı",
Language::FA => "نام دامنه جامع الشرایط",
Language::ES => "Nombre de dominio completo",
_ => "Fully qualified domain name",
}
}

pub fn administrative_entity_translation(language: Language) -> &'static str {
match language {
Language::EN => "Administrative entity",
Language::IT => "Entità amministrativa",
Language::EN => "Autonomous System name",
Language::IT => "Nome del sistema autonomo",
Language::RU => "Имя автономной системы",
Language::SV => "Administrativ enhet",
Language::DE => "Name des autonomen Systems",
Language::TR => "Yönetim varlığı",
Language::FA => "واحد اجرایی", // TODO: or واحد اداری depending on context
Language::ES => "Entidad Administrativa",
_ => "Administrative entity",
_ => "Autonomous System name",
}
}

pub fn transmitted_data_translation(language: Language) -> &'static str {
match language {
Language::EN => "Transmitted data",
Language::IT => "Dati trasmessi",
Language::RU => "Передано данных",
Language::SV => "Överförd data",
Language::DE => "Übermittelte Daten",
Language::TR => "Aktarılan veri",
Language::FA => "دادهٔ منتقل شده",
Language::ES => "Datos transmitidos",
_ => "Transmitted data",
}
Expand All @@ -181,6 +263,11 @@ pub fn country_translation(language: Language) -> &'static str {
match language {
Language::EN => "Country",
Language::IT => "Paese",
Language::RU => "Страна",
Language::SV => "Land",
Language::DE => "Land",
Language::TR => "Ülke",
Language::FA => "کشور",
Language::ES => "País",
_ => "Country",
}
Expand All @@ -190,6 +277,11 @@ pub fn domain_name_translation(language: Language) -> &'static str {
match language {
Language::EN => "Domain name",
Language::IT => "Nome di dominio",
Language::RU => "Доменное имя",
Language::SV => "Domännamn",
Language::DE => "Domain Name",
Language::TR => "Alan adı",
Language::FA => "نام دامنه",
Language::ES => "Nombre de dominio",
_ => "Domain name",
}
Expand All @@ -199,6 +291,11 @@ pub fn only_show_favorites_translation(language: Language) -> &'static str {
match language {
Language::EN => "Only show favorites",
Language::IT => "Mostra solo i preferiti",
Language::RU => "Показывать только избранные",
Language::SV => "Visa endast favoriter",
Language::DE => "Zeige nur die Favoriten",
Language::TR => "Sadece favorileri göster",
Language::FA => "فقط پسندیده ها را نمایش بده",
Language::ES => "Mostrar solo los favoritos",
_ => "Only show favorites",
}
Expand All @@ -208,6 +305,11 @@ pub fn search_filters_translation(language: Language) -> &'static str {
match language {
Language::EN => "Search filters",
Language::IT => "Filtri di ricerca",
Language::RU => "Фильтры для поиска",
Language::SV => "Sökfilter",
Language::DE => "Filter suchen",
Language::TR => "Arama filtresi",
Language::FA => "صافی های جستجو",
Language::ES => "Filtros de búsqueda",
_ => "Search filters",
}
Expand All @@ -217,6 +319,11 @@ pub fn no_search_results_translation(language: Language) -> &'static str {
match language {
Language::EN => "No result available according to the specified search filters",
Language::IT => "Nessun risultato disponibile secondo i filtri di ricerca specificati",
Language::RU => "После применения выбранных фильтров результат поиска пустой",
Language::SV => "Inga resultat tillgängliga utifrån de angivna sökfilterna",
Language::DE => "Keine Resultate für die spezifizierten Such-Filter verfügbar",
Language::TR => "Belirtilen arama filtrelerine göre herhangi bir sonuç bulunmamaktadır",
Language::FA => "هیچ نتیجه ای بر اساس صافی های جستجوی تعیین شده وجود ندارد",
Language::ES => "No hay resultados disponibles según los filtros de búsqueda especificados",
_ => "No result available according to the specified search filters",
}
Expand All @@ -231,6 +338,11 @@ pub fn showing_results_translation(
match language {
Language::EN => format!("Showing {start}-{end} of {total} total results"),
Language::IT => format!("Sono mostrati {start}-{end} di {total} risultati totali"),
Language::RU => format!("Показываются {start}-{end} из {total} общего числа результатов"),
Language::SV => format!("Visar {start}-{end} av {total} totala resultat"),
Language::DE => format!("{start}-{end} von insgesamt {total} Resultaten werden angezeigt"),
Language::TR => format!("{total} sonuç içinde {start}-{end}"),
Language::FA => format!("نمایش {start}-{end} از تمامی {total} نتیجه"),
Language::ES => format!("Mostrando {start}-{end} de {total} resultados totales"),
_ => format!("Showing {start}-{end} of {total} total results"),
}
Expand All @@ -241,6 +353,11 @@ pub fn color_gradients_translation(language: Language) -> &'static str {
match language {
Language::EN => "Apply color gradients",
Language::IT => "Applica sfumature di colore",
Language::RU => "Применить цветовой градиент", // recheck
Language::SV => "Applicera färggradient",
Language::DE => "Farb-Gradienten anwenden",
Language::TR => "Renk grandyanı uygula",
Language::FA => "اعمال گرادیان های رنگ",
Language::ES => "Aplicar gradientes de color",
_ => "Apply color gradients",
}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.